wiki:JOhrenSandbox/GIMINotes8.1.2012

Version 1 (modified by Jeanne Ohren, 9 years ago) (diff)

--

1. Establish test/experiment environment

User Workspace

  • Using the GEC14 Tutorial VM
  • Inputs:
    • GENI certificate
      • installed in $HOME/.ssl
      • location configured in omni_config
      • stripped the passphrase for automation
    • SSH key pair
      • installed in $HOME/.ssh
      • location configured in omni_config
      • key added to ssh-agent
    • iRODS account
      • username configured in $HOME/.irods/.irodsEnv
      • password stored using iinit
  • All credentials configured using credconfig.sh script
  • Outputs:
    • omni.py ready to use
    • i-commands ready to use
    • ready to log into nodes in the slice

iRODS server

  • iRODS server on emmy8 was down so I set up my own on pc41.emulab.net

OML server

  • Set up my own OML server on pc41.emulab.net
  • I was not able to get the oml2-server to use the hook script when started as a service (/etc/init.d/oml2-server start) - only when started on the command line:
    $ oml2-server --listen=3003 --data-dir=/users/johren/gimi --logfile=/users/johren/oml_server.log -H /users/johren/oml2-server-hook.sh
    
  • Configured hook script to use my iRODS server

2. Obtain slice of GENI resources, install and configure GIMI I&M tools

  • Used omni to create the slice and the sliver on ExoSM aggregate
    • rspec link here
  • Rspec includes an execute service for each node that downloads gimi-postboot.sh from the web server (on pc41.emulab.net) and runs it with the slicename and nodeid parameters
        <services>
          <execute command="wget -q -P /tmp http://pc41.emulab.net/gimi-postboot.sh ;chmod +x /tmp/gimi-postboot.sh;/tmp/gimi-postboot.sh %SLICENAME% NodeB > /tmp/gimi-postboot.log" shell="/bin/sh"/>
        </services>
    

3. Run and orchestrate GIMI I&M tools and reference/actual experiment

  • Run the tcp_iperf.rb script using the EC on the UW VM
    $ omf-5.4 exec --no-cmc -S johGIM1208011452 tcp_iperf.rb -- --source1 johGIM1208011452-NodeA --sink johGIM1208011452-NodeC
    

4. Push I&M measurement results to iRODS archive service

6. Pull I&M measurement results from iRODS archive service to UW

5. Observe I&M measurement results on GIMI presentation service

7. Release resources, and cleanup

Attachments (1)

Download all attachments as: .zip