Changes between Version 127 and Version 128 of GIMIv1.0Tutorial
- Timestamp:
- 07/06/12 22:04:54 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIMIv1.0Tutorial
v127 v128 176 176 * The node names will be automatically set to the correct names by a post boot script (defined in Flukes). The code snippet below shows the section of the post boot script that performs this step (for the case of node A) : 177 177 {{{ 178 hostname nodeA178 hostname gimiXX-tutorial-nodeA 179 179 }}} 180 180 * The experiment name has to be set to the unique slice name of your ExoGENI request. This is already done in the post boot for this tutorial. 181 181 182 182 * If you want to perform a measurement on a different slice, we here outline the steps to adapt the post boot script for that scenario. 183 * Change the post boot script option to add ''slice name'' as the ''experiment name''. Therefore change the existing experiment name "gec14-gimi01" in line five to the experiment that includes your account name. E.g., if your account name is "gimi05" the experiment name has to be changed to "gimi05- gec14"!!183 * Change the post boot script option to add ''slice name'' as the ''experiment name''. Therefore change the existing experiment name "gec14-gimi01" in line five to the experiment that includes your account name. E.g., if your account name is "gimi05" the experiment name has to be changed to "gimi05-tutorial"!! 184 184 {{{ 185 185 curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o 186 186 /etc/omf-resctl-5.4/omf-resctl.yaml 187 187 188 perl -i.bak -pe "s/\:slice\:/\:slice\: gimi0 1-gec14/g"188 perl -i.bak -pe "s/\:slice\:/\:slice\: gimi05-tutorial/g" 189 189 /etc/omf-resctl-5.4/omf-resctl.yaml 190 190 }}} … … 197 197 omf_create_psnode-5.4 "XMPP Server" mkslice "slice_name" "list_of_nodenames" 198 198 199 E.g., omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimiXX- gec14nodeA nodeB nodeC199 E.g., omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimiXX-tutorial nodeA nodeB nodeC 200 200 }}} 201 201 If this succeeds you should see an output similar to the one below … … 218 218 }}} 219 219 220 And you should see the following lines towards the endof the log file:220 And you should see the following as the last two lines of the log file: 221 221 {{{ 222 222 2012-06-30 23:49:10 DEBUG nodeAgent::OMFPubSubTransport: Listening on '/OMF/dilip-testing/resources/nodeA' at 'emmy9.casa.umass.edu' … … 233 233 234 234 The latest version of OML offers the capability of executing a script after the measurement has finished. In OML terminology this is called a "hook". The following shows the hook script we execute on the OML server which pushes measurement results into iRODS. 235 236 235 {{{ 237 236 }}} … … 245 244 1.5.3 We start the experiment running the following command from the user workspace terminal: 246 245 {{{ 247 248 omf-5.4 exec --no-cmc -S "slice_name" "ED file name" -- --source1 "hostname" --sink "hostname"246 cd ~/Tutorials/GIMI/common/tcp_iperf.rb 247 omf-5.4 exec --no-cmc -S <slice_name> <ED file name> -- --source1 <hostname> --sink <hostname> 249 248 250 249 Eg., omf-5.4 exec --no-cmc -S gimiXX-gec14 tcp_iperf.rb -- --source1 nodeA --sink nodeC