Add or Remove Nodes to Cluster¶
Omnia supports addition and removal of Slurm compute nodes from an existing cluster using BuildStreaM. Add new nodes to an existing cluster and deploy images to them without affecting previously provisioned nodes. Remove nodes from the cluster by updating the PXE mapping file.
Warning
Addition of a new slurm_control_node is not supported.
Overview¶
When you need to expand or modify your cluster by adding or removing nodes, use the PXE mapping file and deploy pipeline. This approach ensures that previously provisioned nodes remain unaffected during the deployment process.
Prerequisites¶
- Existing cluster with deployed nodes
- For adding nodes: New nodes are powered on and accessible via BMC
- Build pipeline has completed successfully and images are available
Procedure¶
Add Nodes to Cluster¶
-
Update the
pxe_mapping_file.csvfile in GitLab with the details of the new nodes and commit the changes.pxe_mapping_file.csvbmc_ip,hostname,service_tag,role 172.17.107.50,new-node1,79WWJ95,compute 172.17.107.51,new-node2,79WWJ96,compute
This automatically triggers the deploy pipeline. The system PXE boots only the newly added nodes, without impacting previously successful nodes.
For more details on triggering or monitoring the pipeline, see Execute Deploy Pipeline.
Remove Nodes from Cluster¶
To remove nodes from the cluster:
-
Update the
pxe_mapping_file.csvfile in GitLab by removing the entries for the nodes you want to remove. -
Commit the changes to trigger the deploy pipeline. For more details, see Execute Deploy Pipeline.
The removed nodes are removed from the cluster, but existing deployments on those nodes remain unchanged.
Verification¶
After the deploy pipeline completes:
- For added nodes: Verify that the new nodes have restarted and are accessible.
- For added nodes: Log in to the new nodes to verify the correct image is loaded.
- Check the BuildStreaM API for deployment status and confirm the node inventory matches your expectations.
Next Steps¶
- Cleanup Operations -- Remove old Image Groups
Troubleshooting¶
- For additional issues, see BuildStreaM Troubleshooting.