Hello, We have a situation where we might need to move the DBD entirely from one host to another, and we don't want to lose any historic data. I've found bugs 2826 and 5891, which seem to indicate that changing the StateSaveLocation shouldn't be an issue. We are thinking that we'd shutdown the DBD, do the dump, restore the dump to the new host, update the slurm.conf to account for the new storage host location and restart the daemons. Does this seem acceptable? Are there any caveats or things we're missing/overlooking? Thanks, as always! David
David Will the install of Mysql/Maria stay the same version? --Nate
Nate, Yes, the version of MariaDB/MySQL will remain the same. Although you bring up an interesting point that I hadn't thought of viz. upgrading databases at the package level (i.e. an RPM update of MariaDB). Thanks! David
(In reply to David Rhey from comment #2) > Yes, the version of MariaDB/MySQL will remain the same. Although you bring > up an interesting point that I hadn't thought of viz. upgrading databases at > the package level (i.e. an RPM update of MariaDB). Care needs to be taken when upgrading SQL during a migration along the lines you have planned. (In reply to David Rhey from comment #0) > We are thinking that we'd shutdown the DBD, do the dump, restore the dump to > the new host, update the slurm.conf to account for the new storage host > location and restart the daemons. > > Does this seem acceptable? Are there any caveats or things we're > missing/overlooking? Please make sure to leave the old slurmdbd and Maria server down, but unchanged, until you are sure there are no issues. You will also want to check the slurmctld and slurmdbd logs for any warnings or errors during startup. Beyond that, I see no issues with your plan. --Nate
Thanks, Nate! I have no plans to actually do an immediate upgrade after a migration, but it did beg the question on whether or not it could be done at some point. I think we can call this one closed. David
(In reply to David Rhey from comment #4) > it did beg the question on whether or not it could be done at some point. There is no reason a Mysql upgrade won't work. Just make sure to take backups in case there are any issues with the upgrade itself and avoid doing multiple upgrades/changes at once. --Nate