Changes between Version 1 and Version 2 of Internal/newTutorials/0-2
- Timestamp:
- Jan 23, 2018, 8:36:31 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/newTutorials/0-2
v1 v2 21 21 22 22 [[BR]] 23 == Accessing==23 == Connecting to a testbed == 24 24 TODO 25 25 26 {{{ssh yourUserName@sb7.orbit-lab.org}}} 26 All 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 28 For example, connecting via SSH to {{{yourUserName@sb7.orbit-lab.org}}} will connect you to the console machine of "Sandbox 7". 27 29 28 30 [[BR]] … … 35 37 {{{omf load -i baseline.ndz -r -t node1-1}}} 36 38 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. 39 For 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 41 After imaging completes successfully, the nodes will be turned off. They must be turned on before you can SSH into them. 38 42 39 43 Command help output: … … 80 84 {{{omf tell -a on -t node1-1}}} 81 85 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 82 88 To turn off ''node1-1'' as if you held down the power button (ie. hard off): 83 89 84 90 {{{omf tell -a offh -t node1-1}}} 85 91 86 To turnreset ''node1-1'' as if your pressed the reset button:92 To reset ''node1-1'' as if your pressed the reset button: 87 93 88 94 {{{omf tell -a reset -t node1-1}}} … … 125 131 {{{ssh root@node1-1}}} 126 132 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. 128 134 129 135 [[BR]] 130 136 == Saving a node's disk image == 131 137 TODO 138 139 If 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. 132 140 133 141 '''Example:''' Suppose we want to save the disk image of ''node1-1'' on the ''grid'' testbed. … … 136 144 {{{/root/prepare.sh}}} 137 145 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.''' 139 147 140 148 Then on the console run: 141 149 {{{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.150 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. 143 151 144 152 Command help output: … … 159 167 omf save -n node1-1.sb2.orbit-lab.org 160 168 }}} 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