User Tools

Site Tools


rocks_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rocks_commands [2009/09/26 09:56] – created 172.26.0.166rocks_commands [2010/05/22 14:19] (current) – external edit 127.0.0.1
Line 1: Line 1:
-===== rocks commands =====+===== Rocks commands ===== 
 +Rocks 5.0 includes a command line tool ''rocks'' to handle most system administration tasks.
  
-  * Instruct a node to rebuild itself on the next reboot by removing its boot action +===== Boot-related commands ===== 
-<code># rocks remove host boot compute-0-6</code> + 
-# rocks list host boot | grep 0-6 +==== Reinstall a node ==== 
-# rocks sync config</code>+Nodes' BIOS should be set to boot from PXE (network) first and then the local hard drives.  The PXE server changes the PXE configs depending on what ''bootaction'' you've set for the node in the rocks database.  To instruct a node to reinstall on the next boot
 + 
 +<code># rocks set host boot compute-0-6 action="install" 
 +# rocks set host installaction compute-0-6 action="install ilri" 
 +# rocks run host compute-0-6 'reboot'</code> 
 + 
 +==== Run memtest ==== 
 +<code># rocks set host runaction compute-0-8 action="memtest" 
 +# rocks set host boot compute-0-8 action="os" 
 +# rocks run host compute-0-8 'reboot'</code> 
 + 
 +==== Monitor installation progress ==== 
 +You can monitor a node's progress during the installation using VNC.  Make sure you're inside X on the head node, or logged in via SSH with X forwarding: 
 +<code>$ sudo rocks-console compute-0-8</code>
rocks_commands.1253959010.txt.gz · Last modified: 2010/05/22 14:19 (external edit)