Re: [slurm-users] Slurm reservation for migrating user home directories

2021-04-27 Thread Ole Holm Nielsen
On 4/16/21 4:21 PM, Ole Holm Nielsen wrote: I'm thinking of a reservation something like this: scontrol create reservation starttime=...  duration=12:00:00 ReservationName=migrate_physics nodes=ALL Accounts=-physics For the record: The idea of creating a Slurm reservation for excluding spec

[slurm-users] Slurm reservation for migrating user home directories

2021-04-16 Thread Ole Holm Nielsen
I need to migrate several sets of user home directories from an old NFS file server to a new NFS file server. Each group of users belong to specific Slurm accounts organized in a hierarchical tree. I want to make the migration while the cluster is in full production mode for all the other acc

Re: [slurm-users] Slurm reservation for migrating user home directories

2021-04-16 Thread Ole Holm Nielsen
Hi Niels Carl, On 16-04-2021 14:41, Niels Carl Hansen wrote: For each account do sacctmgr modify account name= set GrpJobs=0 After sync'ing, resume with sacctmgr modify account name= set GrpJobs=-1 Yes, but this would block all jobs from immediately. If this account had a week-

Re: [slurm-users] Slurm reservation for migrating user home directories

2021-04-16 Thread Tina Friedrich
Had to do home directory migrations a couple of times without 'full' downtimes. Similar process, only I don't think we ever bothered disabling users in LDAP or blocking their jobs. Generally, we told them we'd move their directory at time X and would they please log out everywhere; at time X, w

Re: [slurm-users] Slurm reservation for migrating user home directories

2021-04-16 Thread Ward Poelmans
Hi Ole, On 16/04/2021 14:23, Ole Holm Nielsen wrote: > Question:  Does anyone have experiences with this type of scenario?  Any > good ideas or suggestions for other methods for data migration? We once did something like that. Basically it did something like that: - Process is kicked off per use