Changes between Version 153 and Version 154 of GIMIv1.0Tutorial


Ignore:
Timestamp:
07/08/12 15:08:09 (7 years ago)
Author:
zink@cs.umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.0Tutorial

    v153 v154  
    5959  * First of all copy the template iRODS configuration file to .irodsEnv with the following command:
    6060{{{
    61 cp ~/.irods/gimiIrodsEnv ~/.irods/.irodsEnv
     61$ cp ~/.irods/gimiIrodsEnv ~/.irods/.irodsEnv
    6262}}}
    6363 * Open ~/.irods/.irodsEnv with your favorite text editor (we recommend ''nano'') and change gimiXX to your assigned username (e.g., gimi04).
    6464 * Register with iRODS server by issuing the following command (more details on iRODS will be given shortly):
    6565{{{
    66 iinit
     66$ iinit
    6767}}}
    6868 
     
    8989
    9090{{{
    91 cd ~/Tutorials/GIMI/gimiXX
    92 wget http://emmy9.casa.umass.edu/RDFs/gimiXX.rdf
     91$ cd ~/Tutorials/GIMI/gimiXX
     92$ wget http://emmy9.casa.umass.edu/RDFs/gimiXX.rdf
    9393}}}
    9494 
     
    192192  * 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) :
    193193{{{
    194 hostname gimiXX-tutorial-nodeA
     194$ hostname gimiXX-tutorial-nodeA
    195195}}}
    196196  * The experiment name has to be set to the unique slice name of your ExoGENI request.
     
    223223   * 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.
    224224{{{
    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"
    226226
    227227E.g., omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimiXX-tutorial gimiXX-tutorial-nodeA gimiXX-tutorial-nodeB gimiXX-tutorial-nodeC
     
    244244   * Login to nodes A, B, and C through Flukes and start the RC daemon by issuing the following command:
    245245{{{
    246 /etc/init.d/omf-resctl.5.4 restart
     246$ /etc/init.d/omf-resctl.5.4 restart
    247247}}}
    248248   * Finally, verify that the RC has been brought up and is listening to the XMPP server by checking the RC log.
    249249{{{
    250 cat /var/log/omf-resctl.log
     250$ cat /var/log/omf-resctl.log
    251251}}}
    252252
     
    269269
    270270{{{
    271 oml2-server --listen=3003 --data-dir=~ --logfile=oml_server.log -H ~/oml2-2.8.0/server/oml2-server-hook.sh
     271$ oml2-server --listen=3003 --data-dir=~ --logfile=oml_server.log -H ~/oml2-2.8.0/server/oml2-server-hook.sh
    272272}}}
    273273
     
    282282   1.5.3 We start the experiment running the following command from the user workspace terminal:
    283283{{{
    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>
     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>
    286286
    287287Eg., omf-5.4 exec --no-cmc -S gimiXX-gec14 tcp_iperf.rb -- --source1 gimiXX-tutorial-nodeA --sink gimiXX-tutorial-nodeC
     
    333333
    334334{{{
    335 cd ~/Tutorials/GIMI/common
    336 ./tutorial_viz.sh gimiXX-tutorial
     335$ cd ~/Tutorials/GIMI/common
     336$ ./tutorial_viz.sh gimiXX-tutorial
    337337}}}
    338338
     
    353353  * 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.
    354354{{{
    355 iinit
     355$ iinit
    356356}}}
    357357You will be prompted for a password. Please enter the one given on the paper handout.
     
    382382  * Retrieve file from your iRODS home directory into user workspace.
    383383{{{
    384 iget <file_name>
     384$ iget <file_name>
    385385}}}
    386386
    387387  Assuming you wanted to retrieve a file called gimitesting.sq3 the command would look as follows:
    388388{{{
    389 iget gimitesting.sq3
     389$ iget gimitesting.sq3
    390390}}}
    391391
    392392  * Store data from user workspace into your iRODS home directory.
    393393{{{
    394 iput <file_name>
     394$ iput <file_name>
    395395}}}
    396396