ROCKS Cluster Commands Cheat Sheet by brie
Commands to make managing a ROCKS cluster easier. Developed for ROCKS 6.2.
hpc 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 sync users
Sync user and group information to all nodes
rocks sync config
Update all config files, restart relevant services
rocks sync slurm
Download the ROCKS Cluster Commands Cheat Sheet
Like this cheat sheet? Check out our sponsors!
Readability-Score.com is a collection of tools to make your writing better. More readabile content means higher conversion rates and better reader engagement. Measure website and document readability, measure keyword density and more!
Click Here To Get Started!