| Summary: | Migrating databases | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | David Rhey <drhey> |
| Component: | Database | Assignee: | Nate Rini <nate> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | CC: | nate |
| Version: | 18.08.0 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | University of Michigan | Slinky Site: | --- |
| Alineos Sites: | --- | Atos/Eviden Sites: | --- |
| Confidential Site: | --- | Coreweave sites: | --- |
| Cray Sites: | --- | DS9 clusters: | --- |
| Google sites: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | NoveTech Sites: | --- |
| Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Tzag Elita Sites: | --- |
| Linux Distro: | --- | Machine Name: | |
| CLE Version: | Version Fixed: | ||
| Target Release: | --- | DevPrio: | --- |
| Emory-Cloud Sites: | --- | ||
|
Description
David Rhey
2018-11-26 07:53:05 MST
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 |