Show Menu

ROCKS Cluster Commands Cheat Sheet by

Commands to make managing a ROCKS cluster easier. Developed for ROCKS 6.2.
hpc     centos     rocks

CREATE

rocks create distro
Rebuilds the distri­bution (cd /expor­t/r­ock­s/i­nstall/ first)
rocks create package /opt/foo foo --vers­ion=0.1
Create v 0.1 of foo.rpm with contents of /opt/foo

LIST

rocks list host attr
List all attributes of head and compute nodes
rocks list roll
List available rolls (name,­ver­,ar­ch,­ena­bled)

RUN

rocks run host compute "foo -bar"
Run the command "foo -bar" on all compute nodes
rocks run host comput­e-0-1 "foo -bar"
Run the command "foo -bar" only on comput­e-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­/ki­cks­tar­t/c­lus­ter­-ki­cks­tar­t-pxe'
Reboot and rebuild every compute node

SYNC

rocks sync users
Sync user and group inform­ation to all nodes
rocks sync config
Update all config files, restart relevant services
rocks sync slurm

Download the ROCKS Cluster Commands Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/brie_rocks-cluster-commands.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

            YUM Command Cheat Sheet by Red Hat
          CentOS Cheat Sheet