ROCKS Cluster Commands Cheat Sheet by brie
Commands to make managing a ROCKS cluster easier. Developed for ROCKS 6.2.
linux hpc computing centos rocks
rocks create distro
Rebuilds the distribution (cd /export/rocks/install/ first)
rocks create package /opt/foo foo --version=0.1
Create v 0.1 of foo.rpm with contents of /opt/foo
rocks list host attr
List all attributes of head and compute nodes
rocks list roll
List available rolls (name,ver,arch,enabled)
rocks run host compute "foo -bar"
Run the command "foo -bar" on all compute nodes
rocks run host compute-0-1 "foo -bar"
Run the command "foo -bar" only on compute-0-1
rocks run host compute "foo" delay=10
Run the command "foo" on all compute nodes, wait 10 seconds between each
rocks run host compute "/boot/kickstart/cluster-kickstart-pxe"
Reboot and rebuild every compute node
rocks run host compute "uptime" collate=on
Run the command "uptime" on each compute node and include the node name in the results
rocks sync users
Sync user and group information to all nodes
rocks sync config
Update all config files, restart relevant services
rocks sync slurm
Sync SLURM configuration files to compute nodes
Download the ROCKS Cluster Commands Cheat Sheet
Your Download Will Begin Automatically in 5 Seconds.