docs: add fallback guide for downgrading HyperPod clusters from Slurm 25.11 to 24.11#1107
Open
hossamazon wants to merge 2 commits into
Open
docs: add fallback guide for downgrading HyperPod clusters from Slurm 25.11 to 24.11#1107hossamazon wants to merge 2 commits into
hossamazon wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a runbook for customers who need to downgrade a SageMaker HyperPod cluster from Slurm 25.11 to Slurm 24.11.
HyperPod AMIs ship with both versions pre-installed (
/opt/slurm-24.11/and/opt/slurm-25.11/), so downgrading is a matter of switching the/opt/slurmsymlink and ensuring the correct binaries are active before the Slurm daemonsstart. This document covers both paths depending on whether a new AMI is available.
New file:
LifecycleScripts/base-config/hotfix/fallback-to-slurm-24.mdWhat's covered
patching-backup.shscript, positioned before both options so it applies to bothlifecycle_script.pyto copy configs and switch the symlink to/opt/slurm-24.11before Slurm services start, then trigger Update Cluster Software; mirrors the same approach used in the enableSlurm 25.11 guide but in reverse; includes diffs for both the "replacing existing 25.11 lines" and "adding version switch for the first time" cases
sinfoversion mismatch after the symlink switch)/opt/slurm-24.11/etc/on all nodes in parallelslurmdbd(if accounting is enabled) beforeslurmctldto avoid library version mismatchslurmctldon the head node, thenslurmdon all worker nodes in that orderTesting
Validated the symlink-switch approach and daemon restart order on a live HyperPod cluster running Slurm 25.11.