[slurm-users] Debian dist-upgrade?

Stephane Vaillant Stephane.Vaillant at obspm.fr
Tue Jan 24 14:53:03 UTC 2023


Le 24/01/2023 à 10:09, Steffen Grunewald a écrit :
> Hello,
> 
> is there anyone using plain Debian with Slurm (as provided by the OS repository),
> who might have suggestions for our upgrade from Buster to Bullseye?
> Of course we'd like to keep the database (user definitions and job history), but
> We're now running version 18.08.5.2 (Buster's version) while Bullseye comes with
> 20.11.x, which is beyond the 2-version upgrade range. Is there hope (and how to
> verify that) that a dist-upgrade would do the right thing?
> 
> Thanks,
>   Steffen
> 

Hello,

I've done an upgrade from Debian 7 (slurm 2.3.4) to Debian 8 (slurm 
14.03.9). I've prepared the upgrade with a small setup in virtualbox and 
experienced the fact that dist-upgrade failed.

The actual upgrade process of the front node was:
  - stop slurm and backup the data (/var/lib/slurm and the mysql database)
  - uninstall slurm
  - do the debian upgrade
  - download and compile an intermediary version (2.4.5)
   - start slurmdbd and wait for the mysql database to be updated
   - start slurmctld and wait for the data in /var/lib/slurm to be updated
  - redo the same for another intermediary version (2.6.9)
  - finally install slurm from Debian 8 (14.03.9)
  - check that all the user data and job history are preserved 
(sacctmgr, sacct, sreport)

Preparing the upgrade procedure on an experimental setup was time 
consuming but rewarding.

Regards,
-- 
Stéphane Vaillant
https://www.imcce.fr
https://www.obspm.fr




More information about the slurm-users mailing list