All omf commands are run on the testbed consoles. You must have an active reservation for the particular testbed to use them.
This cheat sheet contains a quick reference for the most common commands. More detailed help is available while on a console by adding --help to the end of the command.
Check the status of all nodes in a testbed:
omf stat -t all
Check the status of specific nodes within the testbed (eg. node1-1 and node1-2):
omf stat -t node1-1,node1-2
Turn nodes on (if it isn't already on):
omf tell -a on -t node1-1,node1-2
Turn nodes off:
omf tell -a off -t node1-1,node1-2
Reset a node (same as pressing the reset button on a desktop):
omf tell -a reset -t node1-1,node1-2
Load default "baseline" image (no added software like UHD, etc.):
omf load -t ndoe1-1,node1-2
Load a specific disk image:
omf load -i baseline_uhd.ndz -t node1-1,node1-2
Load a specific disk image and resize the final partition to 40GB:
omf load -t baseline_uhd.ndz -t node1-1,node1-2 -r 40
Save the disk image of a specific node.
First run connect to the node and run:
/root/prepare.sh
If you skip the above step, the disk image will not work when loaded onto another node.
Then on the console run:
omf save -t node1-1.sb1.cosmos-lab.org
You must always specify the complete FQDN of the node.