Changes between Version 1 and Version 2 of Internal/newTutorials/0-2


Ignore:
Timestamp:
Jan 23, 2018, 8:36:31 PM (7 years ago)
Author:
jkol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/newTutorials/0-2

    v1 v2  
    2121
    2222[[BR]]
    23 == Accessing ==
     23== Connecting to a testbed ==
    2424TODO
    2525
    26  {{{ssh yourUserName@sb7.orbit-lab.org}}}
     26All access to a testbed is done through the testbed's console machine. During the time slot of your approved reservation, you can connect to the console via SSH.
     27
     28For example, connecting via SSH to {{{yourUserName@sb7.orbit-lab.org}}} will connect you to the console machine of "Sandbox 7".
    2729
    2830[[BR]]
     
    3537 {{{omf load -i baseline.ndz -r -t node1-1}}}
    3638
    37 For the "topology" (-t), you can specify a single node such as "node1-1", a set of nodes sucha as "node1-1,node1-3,node1-4", or even a range of nodes such as "[1..2,7..9]" which in this case is equivalent to "node1-7,node1-8,node1-9,node2-7,node2-8,node2-9". See the command's help output for more possibilities.
     39For the "topology" listed after '''-t''', you can specify a single node such as "node1-1", a set of nodes such as "node1-1,node1-3,node1-4", or even a range of nodes such as "[1..2,7..9]" which in this case is equivalent to "node1-7,node1-8,node1-9,node2-7,node2-8,node2-9".
     40
     41After imaging completes successfully, the nodes will be turned off. They must be turned on before you can SSH into them.
    3842
    3943Command help output:
     
    8084 {{{omf tell -a on -t node1-1}}}
    8185
     86'''NOTE:''' Just like a normal computer, it can take several minutes for a node to finish booting up. Please wait before trying to SSH into it.
     87
    8288To turn off ''node1-1'' as if you held down the power button (ie. hard off):
    8389
    8490 {{{omf tell -a offh -t node1-1}}}
    8591
    86 To turn reset ''node1-1'' as if your pressed the reset button:
     92To reset ''node1-1'' as if your pressed the reset button:
    8793
    8894 {{{omf tell -a reset -t node1-1}}}
     
    125131 {{{ssh root@node1-1}}}
    126132
    127 If you see an error or warning message while trying to SSH into a node, please read the message. Often times the message has to do with host keys on the node having changed from what the console expects (this is typically normal) because every image has a different host key, therefore it will change depending on what node and image you happen to be using. Follow the instructions in the message to resolve this.
     133'''NOTE:''' If you see an error or warning message while trying to SSH into a node, please read the message. Often times the message has to do with host keys on the node having changed from what the console expects (this is typically normal) because every image has a different host key, therefore it will change depending on what node and image you happen to be using. Follow the instructions in the message to resolve this.
    128134
    129135[[BR]]
    130136== Saving a node's disk image ==
    131137TODO
     138
     139If you wish to save a node's disk image for future use, it is important to do so BEFORE your reservation is over because it takes several minutes to complete and there is no guarantee what the next user will do to the node.
    132140
    133141'''Example:''' Suppose we want to save the disk image of ''node1-1'' on the ''grid'' testbed.
     
    136144 {{{/root/prepare.sh}}}
    137145
    138 '''NOTE: If you do not run prepare.sh on the node, the disk image WILL NOT WORK when loaded onto another node.'''
     146'''If you do not run prepare.sh on the node, the disk image WILL NOT WORK when loaded onto another node.'''
    139147
    140148Then on the console run:
    141149 {{{omf save -n node1-1.grid.orbit-lab.org}}}
    142 It will take several minutes to complete the save. Once finished, take note of the filename the disk image was saved to (the format of which is username-node-nodename-date-time.ndz) so that you can use it later when loading the disk image again.
     150It will take several minutes to complete the save. Once finished, take note of the filename the disk image was saved to (the format of which is ''username-node-nodename-date-time.ndz'') so that you can use it later when loading the disk image again.
    143151
    144152Command help output:
     
    159167                    omf save -n node1-1.sb2.orbit-lab.org
    160168}}}
    161 
    162 [[BR]]
    163 == Accessing the list of node images ==
    164  {{{ ssh userName@gw.orbit-lab.org }}}
    165 
    166  {{{ ssh repository1 }}}
    167 
    168 Go to the disk images folder {{{ cd /export/omf/omf-images/ }}}
    169 
    170 TODO