Changes between Version 48 and Version 49 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-2


Ignore:
Timestamp:
08/20/12 12:49:03 (7 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-2

    v48 v49  
    5353}}}
    5454GPO ProtoGENI user credentials used: lnevers@bbn.com used for Experimenter1, and lnevers1@bbn.com used for Experimenter2.
     55
    5556== Step 1. As Experimenter1, request !ListResources from Utah InstaGENI ==
    5657
     
    9394
    9495== Step 4. Define a request RSpec for two VMs, each with a GPO Ubuntu image ==
     96
     97This test case could not be executed as originally planned, modifications were required.  Using advertised Ubuntu or FreeBSD images is not supported for sliver_type emulab-openvz. The containers con only support Fedora.  This does not allow the execution of step 4 in the IG-EXP-2 InstaGENI Single Site test case, found at [http://groups.geni.net/geni/wiki/GENIRacksHome/AcceptanceTests/InstageniAcceptanceTestsPlan#IG-EXP-2:InstaGENISingleSiteAcceptanceTest]
     98
     99Two options available:
     100
     101    (a) Modify step 4 to assume default image is used (Fedora15).
     102
     103    (b) Modify step 4 to assume a raw-pc is used to load the custom image, which duplicates later step 12 in the procedure.
     104
     105Choosing option (a) for the execution of step 4, which implies that RSpec is modified to use default OpenVZ image.
     106
    95107Test is also to request a publically routable IP address and public TCP/UDP port mapping for the control interface on each node
    96108
    97 '''Issue:'''
    98 
    99 Using advertised Ubuntu or FreeBSD images is not supported for sliver_type emulab-openvz. This does not allow the execution of step 4 in the IG-EXP-2 InstaGENI Single Site test case, found at [http://groups.geni.net/geni/wiki/GENIRacksHome/AcceptanceTests/InstageniAcceptanceTestsPlan#IG-EXP-2:InstaGENISingleSiteAcceptanceTest]
    100 
    101 Two options available:
    102 
    103     (a) Modify step 4 to assume default image is used (Fedora15).
    104 
    105     (b) Modify step 4 to assume a raw-pc is used to load the custom image, which duplicates later step 12 in the procedure.
    106 
    107 Choosing option (a) for the execution of step 4, which implies that RSpec is modified to use default OpenVZ image.
    108109
    109110== Step 5. Create the first slice ==
     111
    110112Created the slice as follows:
    111113{{{
    112 $ ./src/omni.py createslice ig-exp2-2vm
     114$ omni.py createslice IG-EXP2-exp1
    113115}}}
    114116
    115117== Step 6. Create a sliver in the first slice, using the "modified" RSpec as defined in step 4 ==
    116 Created a 2 VM sliver, checked sliver status for completion, and determine assigned host from the sliverstatus sliver manifest:
    117 {{{
    118 $ ./src/omni.py createsliver -a insta-utah ig-exp2-2vm --api-version 2 -t GENI 3 ./instarspec/insta-2vm-v3.rspec
    119 $ ./src/omni.py sliverstatus -a insta-utah ig-exp2-2vm --api-version 2 -t GENI 3 -o
    120 $ egrep "hostname|port" ig-exp2-2vm-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.json
    121 }}}
    122 The RSpec used to create the sliver ig-exp2-2vm can be found [http://groups.geni.net/geni/browser/trunk/GENIRacks/InstaGENI/Spiral4/RSpecs/AcceptanceTests/IG-EXP-2 here]
     118
     119Created a 2 VMs sliver using the RSpec [http://groups.geni.net/geni/browser/trunk/GENIRacks/InstaGENI/Spiral4/RSpecs/AcceptanceTests/IG-EXP-2/IG-EXP-2-exp1.rspec IG-EXP-2-exp1.rspec]: 
     120{{{
     121$ omni.py createsliver -a ig-utah IG-EXP-2-exp1 --api-version 2 -t GENI 3 IG-EXP-2-exp1.rspec
     122}}}
     123
     124Checked sliver status to verify that the node allocation and provisioning has been completed, by checking the 'pg_status' is 'ready':
     125{{{
     126 $ omni.py sliverstatus -a ig-utah IG-EXP-2-exp1 --api-version 2 -t GENI 3
     127}}}
     128
     129Once the nodes are allocated and provisioned, determine the assigned hosts that are assigned to the experiment:
     130{{{
     131 $ omni.py listresources -a ig-utah IG-EXP-2-exp1 --api-version 2 -t GENI 3 -o
     132 $ egrep "hostname|port" IG-EXP-2-exp1-rspec-utah-geniracks-net-protogeni.xml   
     133   <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30778" username="lnevers"/> 
     134   <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30779" username="lnevers"/>   
     135}}}
    123136
    124137== Step 7. Log in to each of the systems, and send traffic to the other system sharing a VLAN ==
    125 First host:
    126 {{{
    127 lnevers@arendia:~$ ssh pc5.utah.geniracks.net -p 30010
    128 Last login: Fri May 25 19:30:25 2012 from arendia.gpolab.bbn.com
     138
     139Login to first host, verify address assignment and send traffic to the remote:
     140{{{
     141$ $ ssh pc3.utah.geniracks.net -p 30778
    129142[lnevers@host1 ~]$ /sbin/ifconfig | egrep "inet addr"
    130           inet addr:172.17.5.1  Bcast:172.31.255.255  Mask:255.240.0.0
     143          inet addr:172.17.3.3  Bcast:172.31.255.255  Mask:255.240.0.0
    131144          inet addr:127.0.0.1  Mask:255.0.0.0
    132145          inet addr:10.10.1.1  Bcast:10.10.1.255  Mask:255.255.255.0
     
    134147[lnevers@host1 ~]$ ping 10.10.2.2 -c 5
    135148PING 10.10.2.2 (10.10.2.2) 56(84) bytes of data.
    136 64 bytes from 10.10.2.2: icmp_req=1 ttl=64 time=0.037 ms
    137 64 bytes from 10.10.2.2: icmp_req=2 ttl=64 time=0.027 ms
    138 64 bytes from 10.10.2.2: icmp_req=3 ttl=64 time=0.028 ms
    139 64 bytes from 10.10.2.2: icmp_req=4 ttl=64 time=0.028 ms
    140 64 bytes from 10.10.2.2: icmp_req=5 ttl=64 time=0.027 ms
     14964 bytes from 10.10.2.2: icmp_req=1 ttl=64 time=0.826 ms
     15064 bytes from 10.10.2.2: icmp_req=2 ttl=64 time=0.026 ms
     15164 bytes from 10.10.2.2: icmp_req=3 ttl=64 time=0.027 ms
     15264 bytes from 10.10.2.2: icmp_req=4 ttl=64 time=0.027 ms
     15364 bytes from 10.10.2.2: icmp_req=5 ttl=64 time=0.032 ms
    141154
    142155--- 10.10.2.2 ping statistics ---
    143 5 packets transmitted, 5 received, 0% packet loss, time 3999ms
    144 rtt min/avg/max/mdev = 0.027/0.029/0.037/0.006 ms
    145 [lnevers@host1 ~]$
    146 }}}
    147 
    148 Second host:
    149 {{{
    150 lnevers@arendia:~$ ssh pc5.utah.geniracks.net -p 30011
     1565 packets transmitted, 5 received, 0% packet loss, time 4000ms
     157rtt min/avg/max/mdev = 0.026/0.187/0.826/0.319 ms
     158}}}
     159
     160Login to the second host verify address assignment and exchange traffic:
     161{{{
     162$ ssh pc3.utah.geniracks.net -p 30779
    151163[lnevers@host2 ~]$ /sbin/ifconfig | egrep "inet addr"
    152           inet addr:172.17.5.2  Bcast:172.31.255.255  Mask:255.240.0.0
     164          inet addr:172.17.3.4  Bcast:172.31.255.255  Mask:255.240.0.0
    153165          inet addr:127.0.0.1  Mask:255.0.0.0
    154166          inet addr:10.10.1.2  Bcast:10.10.1.255  Mask:255.255.255.0
     
    157169PING 10.10.2.1 (10.10.2.1) 56(84) bytes of data.
    15817064 bytes from 10.10.2.1: icmp_req=1 ttl=64 time=0.037 ms
    159 64 bytes from 10.10.2.1: icmp_req=2 ttl=64 time=0.027 ms
    160 64 bytes from 10.10.2.1: icmp_req=3 ttl=64 time=0.028 ms
     17164 bytes from 10.10.2.1: icmp_req=2 ttl=64 time=0.026 ms
     17264 bytes from 10.10.2.1: icmp_req=3 ttl=64 time=0.027 ms
    16117364 bytes from 10.10.2.1: icmp_req=4 ttl=64 time=0.027 ms
    16217464 bytes from 10.10.2.1: icmp_req=5 ttl=64 time=0.027 ms
     
    164176--- 10.10.2.1 ping statistics ---
    1651775 packets transmitted, 5 received, 0% packet loss, time 3999ms
    166 rtt min/avg/max/mdev = 0.027/0.029/0.037/0.005 ms
    167 [lnevers@host2 ~]$
     178rtt min/avg/max/mdev = 0.026/0.028/0.037/0.007 ms
    168179}}}
    169180
     
    188199TCP window size: 16.0 KByte (default)
    189200------------------------------------------------------------
    190 [  3] local 10.10.1.1 port 42950 connected with 10.10.1.2 port 5001
     201[  3] local 10.10.1.1 port 55845 connected with 10.10.1.2 port 5001
    191202[ ID] Interval       Transfer     Bandwidth
    192203[  3]  0.0-10.0 sec   116 MBytes  97.5 Mbits/sec
     204
    193205}}}
    194206On host2:
     
    199211TCP window size: 85.3 KByte (default)
    200212------------------------------------------------------------
    201 [  4] local 10.10.1.2 port 5001 connected with 10.10.1.1 port 42950
     213[  4] local 10.10.1.2 port 5001 connected with 10.10.1.1 port 55845
    202214[ ID] Interval       Transfer     Bandwidth
    203215[  4]  0.0-10.2 sec   116 MBytes  95.7 Mbits/sec