-
GEMINI Testing executed on 8/22/2012
- 1. Establish test/experiment environment
- 2. Obtain slice of GENI resources, install and configure GEMINI I&M tools
- 3. Run and orchestrate GEMINI I&M tools and reference/actual experiment
- 4. Observe I&M measurement results on GEMINI presentation service
- 5. Push I&M measurement and analysis results to iRODS archive service
- 6. Release resources, and cleanup
GEMINI Testing executed on 8/22/2012
Step | Status | Open Tickets |
1. Establish test/experiment environment | Color(green, Pass)? | |
2. Obtain slice of GENI resources, install and configure GEMINI I&M tools | Color(green, Pass)? | |
3. Run and orchestrate GEMINI I&M tools and reference/actual experiment | Color(yellow, Provisionally Pass)? | SSH config to get setup_netem_user.sh to work |
4. Observe I&M measurement results on GEMINI presentation service | Color(yellow, Provisionally Pass)? | VNC doesn't work through Passive UI |
5. Push I&M measurement and analysis results to iRODS archive service | Color(green, Pass)? | |
6. Release resources, and cleanup | Color(green, Pass)? |
1. Establish test/experiment environment
Color(pink,Insert image here)?
User Workspace
- Using the GEC14 Tutorial VM
- Inputs:
- GENI certificate
- Two formats: PEM and PKC12
- installed in $HOME/.ssl
- location of PEM file configured in omni_config
- stripped the passphrase for automation
- created the password file to be used by instrumentize.py
- 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
- GENI certificate
- All credentials configured using credconfig.sh script
- GENI pkc12 certificate installed in the Firefox browser
- Outputs:
- omni.py ready to use
- i-commands ready to use
- ready to log into nodes in the slice
iRODS server
- irodswes.netlab.uky.edu
UNIS server
LAMP CA
2. Obtain slice of GENI resources, install and configure GEMINI I&M tools
- Used omni to create the slice and the sliver on UKY Protogeni aggregate
- Rspec includes an execute service for each node that downloads phoebus_install.sh from a web server and runs it to install the phoebus software for the reference experiment
- Made sure I could ssh in to all of the nodes without a password
- Rspec includes an execute service for each node that downloads phoebus_install.sh from a web server and runs it to install the phoebus software for the reference experiment
- Run instrumentize.py to install and configure GEMINI tools on the nodes in the slice
- Inputs:
- Output:
- slice manifest
- slice login information
- portal username and password
- all nodes are ready to run the experiment
- phoebus installed
- GEMINI tools installed
- able to log into the GEMINI portal
3. Run and orchestrate GEMINI I&M tools and reference/actual experiment
Configure active measurements
The tutorial directs me to configure one-way (OWAMP) and round-trip (Ping) latency regular tests according to the following diagram.
- Accessed psConfig UI
- Enabled services on pca, pcb, and pcc and pushed configuration to UNIS
- Configured regular active measurements according to diagram (above) and pushed configuration to UNIS
- Applied configuration to the nodes
Execute the reference experiment
- Started the iperf server on PCC
[johren@PCC ~]$ iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------
- Started the iperf client on PCA
[johren@PCA ~]$ iperf -c pcc -t 120 -i 12
- Started the Phoebus gateway on PCB
[johren@PCB ~]$ sudo /etc/init.d/phoebus start [johren@PCB ~]$ tail -f /var/log/phoebus.log
- Introduced network impairments
- For this step I had to create an SSH key pair for user johren and install them in ~/.ssh/authorized_keys on PCA and PCB
- I also had to set the SSH config in ~/.ssh/config to use the new private key when contacting these hosts:
Host PCA IdentityFile ~/.ssh/phoebus Host PCB IdentityFile ~/.ssh/phoebus
- I then ran the "user" version of the setup_netem script
[johren@PCA ~]$ sh /tmp/setup_netem_user.sh Setting PCA->PCB link to 5ms latency and .01% loss Setting PCB->PCC link to 50ms latency and no loss done
- Again, ran the iperf client on PCA
- Enabled phoebus gateway on PCB
[johren@PCA ~]$ setenv LD_PRELOAD /usr/lib64/libxsp_phoebuswrapper.so [johren@PCA ~]$ setenv XSP_PATH pcb/5006
- Again, ran the iperf client on PCA
- Stopped phoebus service on PCB and iperf server on PCC
[johren@PCB ~]$ sudo /etc/init.d/phoebus stop
4. Observe I&M measurement results on GEMINI presentation service
Observe passive measurements
Observe passive measurements for each node
- For each node (PCA, PCB, PCC)...
- click on node in Map view
- select graphs individually and make graphs show up on the left
- select All Graphs and make sure all graphs show up in separate tab
- Select VNC and make sure I can log in to the node
Observe passive measurements via Passive UI on MC
- Access the Passive UI on MC node
- For each node (PCA, PCB, PCC)...
- View all graphs
- View all tables (compare to command line results; ifconfig, arp, lsmod, etc.)
- Connect VNC
- VNC connection does not appear
Observe active measurements
- Access the perfAdmin UI
- Pull registered services from UNIS
- Observe graph for PingER service between PCC and PCA
- Observe graph for OWAMP service running between PCB and PCC
- Observe graph for OWAMP service running between PCB and PCA
- Inputs:
- None
- Outputs:
- Graphs and tables viewable in the GEMINI portal
5. Push I&M measurement and analysis results to iRODS archive service
- Go to archive section of GEMINI portal
- NOTE: It requires me to log in again when I click on the Archive button
- Enter iRODS login information and select "Archive to iRODS"
- Click on "View IRODS Archive" and log into iRODS UI
- Find the set of data that was just pushed and view some of the graphs and table
- Inputs:
- graphs, tables, databases, manifest from experiment
- Outputs:
- images and data viewable in iRODS
6. Release resources, and cleanup
- Used omni to delete the sliver
geniuser@UserWorkspace:~/Tutorials/GEMINI/common$ omni.py -a pg-ky deletesliver johGEM1208221147 INFO:omni:Loading config file /home/geniuser/.gcf/omni_config INFO:omni:Using control framework pg INFO:omni:Substituting AM nickname pg-ky with URL https://www.uky.emulab.net/protogeni/xmlrpc/am, URN unspecified_AM_URN INFO:omni:Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1208221147 on unspecified_AM_URN at https://www.uky.emulab.net/protogeni/xmlrpc/am INFO:omni: ------------------------------------------------------------ INFO:omni: Completed deletesliver: Options as run: aggregate: pg-ky framework: pg native: True Args: deletesliver johGEM1208221147 Result Summary: Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1208221147 on unspecified_AM_URN at https://www.uky.emulab.net/protogeni/xmlrpc/am INFO:omni: ============================================================
- Inputs:
- slice name
- Outputs:
- sliver has been deleted
Last modified 12 years ago
Last modified on 08/22/12 19:11:33
Attachments (18)
- GEMINIPortal.png (835.1 KB) - added by 12 years ago.
- latency-tests.png (16.5 KB) - added by 12 years ago.
- GEMINIPortalMap.png (289.9 KB) - added by 12 years ago.
- GEMINIEnableServices.png (104.1 KB) - added by 12 years ago.
- GEMINIScheduleTests.png (91.9 KB) - added by 12 years ago.
- GEMINIApplyConfig.png (124.0 KB) - added by 12 years ago.
- GEMINIPhoebusLog.png (93.5 KB) - added by 12 years ago.
- GEMINIActivePingERGraph.png (41.3 KB) - added by 12 years ago.
- GEMINIActiveOWAMPGraphC.png (39.1 KB) - added by 12 years ago.
- GEMINIActiveOWAMPGraphA.png (44.5 KB) - added by 12 years ago.
- GEMINIPassiveAllGraphs.png (100.4 KB) - added by 12 years ago.
- GEMINIPassiveVNC1.png (22.0 KB) - added by 12 years ago.
- GEMINIPassiveSideGraphs.png (766.4 KB) - added by 12 years ago.
- GEMINIPassiveVNC2.png (14.9 KB) - added by 12 years ago.
- GEMINIPassiveTables.png (110.2 KB) - added by 12 years ago.
- GEMINIArchiveButton.png (29.8 KB) - added by 12 years ago.
- GEMINIArchiveToIRODS.png (72.8 KB) - added by 12 years ago.
- GEMINIIRODSGraph.png (98.9 KB) - added by 12 years ago.