Changes between Version 153 and Version 154 of GIMIv1.0Tutorial
- Timestamp:
- 07/08/12 15:08:09 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIMIv1.0Tutorial
v153 v154 59 59 * First of all copy the template iRODS configuration file to .irodsEnv with the following command: 60 60 {{{ 61 cp ~/.irods/gimiIrodsEnv ~/.irods/.irodsEnv61 $ cp ~/.irods/gimiIrodsEnv ~/.irods/.irodsEnv 62 62 }}} 63 63 * Open ~/.irods/.irodsEnv with your favorite text editor (we recommend ''nano'') and change gimiXX to your assigned username (e.g., gimi04). 64 64 * Register with iRODS server by issuing the following command (more details on iRODS will be given shortly): 65 65 {{{ 66 iinit66 $ iinit 67 67 }}} 68 68 … … 89 89 90 90 {{{ 91 cd ~/Tutorials/GIMI/gimiXX92 wget http://emmy9.casa.umass.edu/RDFs/gimiXX.rdf91 $ cd ~/Tutorials/GIMI/gimiXX 92 $ wget http://emmy9.casa.umass.edu/RDFs/gimiXX.rdf 93 93 }}} 94 94 … … 192 192 * 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) : 193 193 {{{ 194 hostname gimiXX-tutorial-nodeA194 $ hostname gimiXX-tutorial-nodeA 195 195 }}} 196 196 * The experiment name has to be set to the unique slice name of your ExoGENI request. … … 223 223 * First the ExoGENI instances and the experiment slice should be registered with the XMPP server. You can achieve this using the OMF AM by issuing the following command from a terminal in the user workspace. In the following command, please change "gimiXX" to the user name provided to you. 224 224 {{{ 225 omf_create_psnode-5.4 "XMPP Server" mkslice "slice_name" "list_of_nodenames"225 $ omf_create_psnode-5.4 "XMPP Server" mkslice "slice_name" "list_of_nodenames" 226 226 227 227 E.g., omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimiXX-tutorial gimiXX-tutorial-nodeA gimiXX-tutorial-nodeB gimiXX-tutorial-nodeC … … 244 244 * Login to nodes A, B, and C through Flukes and start the RC daemon by issuing the following command: 245 245 {{{ 246 /etc/init.d/omf-resctl.5.4 restart246 $ /etc/init.d/omf-resctl.5.4 restart 247 247 }}} 248 248 * Finally, verify that the RC has been brought up and is listening to the XMPP server by checking the RC log. 249 249 {{{ 250 cat /var/log/omf-resctl.log250 $ cat /var/log/omf-resctl.log 251 251 }}} 252 252 … … 269 269 270 270 {{{ 271 oml2-server --listen=3003 --data-dir=~ --logfile=oml_server.log -H ~/oml2-2.8.0/server/oml2-server-hook.sh271 $ oml2-server --listen=3003 --data-dir=~ --logfile=oml_server.log -H ~/oml2-2.8.0/server/oml2-server-hook.sh 272 272 }}} 273 273 … … 282 282 1.5.3 We start the experiment running the following command from the user workspace terminal: 283 283 {{{ 284 cd ~/Tutorials/GIMI/common/tcp_iperf.rb285 omf-5.4 exec --no-cmc -S <slice_name> <ED file name> -- --source1 <hostname> --sink <hostname>284 $ cd ~/Tutorials/GIMI/common/tcp_iperf.rb 285 $ omf-5.4 exec --no-cmc -S <slice_name> <ED file name> -- --source1 <hostname> --sink <hostname> 286 286 287 287 Eg., omf-5.4 exec --no-cmc -S gimiXX-gec14 tcp_iperf.rb -- --source1 gimiXX-tutorial-nodeA --sink gimiXX-tutorial-nodeC … … 333 333 334 334 {{{ 335 cd ~/Tutorials/GIMI/common336 ./tutorial_viz.sh gimiXX-tutorial335 $ cd ~/Tutorials/GIMI/common 336 $ ./tutorial_viz.sh gimiXX-tutorial 337 337 }}} 338 338 … … 353 353 * If you have not done so far use [https://www.irods.org/index.php/iinit iinit] to create a file that contains your iRODS password in a scrambled form. This will then be used automatically by the [https://www.irods.org/index.php/icommands icommands] for authentication with the server. 354 354 {{{ 355 iinit355 $ iinit 356 356 }}} 357 357 You will be prompted for a password. Please enter the one given on the paper handout. … … 382 382 * Retrieve file from your iRODS home directory into user workspace. 383 383 {{{ 384 iget <file_name>384 $ iget <file_name> 385 385 }}} 386 386 387 387 Assuming you wanted to retrieve a file called gimitesting.sq3 the command would look as follows: 388 388 {{{ 389 iget gimitesting.sq3389 $ iget gimitesting.sq3 390 390 }}} 391 391 392 392 * Store data from user workspace into your iRODS home directory. 393 393 {{{ 394 iput <file_name>394 $ iput <file_name> 395 395 }}} 396 396