Changes between Version 48 and Version 49 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-2
- Timestamp:
- 08/20/12 12:49:03 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-2
v48 v49 53 53 }}} 54 54 GPO ProtoGENI user credentials used: lnevers@bbn.com used for Experimenter1, and lnevers1@bbn.com used for Experimenter2. 55 55 56 == Step 1. As Experimenter1, request !ListResources from Utah InstaGENI == 56 57 … … 93 94 94 95 == Step 4. Define a request RSpec for two VMs, each with a GPO Ubuntu image == 96 97 This 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 99 Two 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 105 Choosing option (a) for the execution of step 4, which implies that RSpec is modified to use default OpenVZ image. 106 95 107 Test is also to request a publically routable IP address and public TCP/UDP port mapping for the control interface on each node 96 108 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.108 109 109 110 == Step 5. Create the first slice == 111 110 112 Created the slice as follows: 111 113 {{{ 112 $ ./src/omni.py createslice ig-exp2-2vm114 $ omni.py createslice IG-EXP2-exp1 113 115 }}} 114 116 115 117 == 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 119 Created 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 124 Checked 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 129 Once 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 }}} 123 136 124 137 == 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 139 Login to first host, verify address assignment and send traffic to the remote: 140 {{{ 141 $ $ ssh pc3.utah.geniracks.net -p 30778 129 142 [lnevers@host1 ~]$ /sbin/ifconfig | egrep "inet addr" 130 inet addr:172.17. 5.1Bcast:172.31.255.255 Mask:255.240.0.0143 inet addr:172.17.3.3 Bcast:172.31.255.255 Mask:255.240.0.0 131 144 inet addr:127.0.0.1 Mask:255.0.0.0 132 145 inet addr:10.10.1.1 Bcast:10.10.1.255 Mask:255.255.255.0 … … 134 147 [lnevers@host1 ~]$ ping 10.10.2.2 -c 5 135 148 PING 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. 037ms137 64 bytes from 10.10.2.2: icmp_req=2 ttl=64 time=0.02 7ms138 64 bytes from 10.10.2.2: icmp_req=3 ttl=64 time=0.02 8ms139 64 bytes from 10.10.2.2: icmp_req=4 ttl=64 time=0.02 8ms140 64 bytes from 10.10.2.2: icmp_req=5 ttl=64 time=0.0 27ms149 64 bytes from 10.10.2.2: icmp_req=1 ttl=64 time=0.826 ms 150 64 bytes from 10.10.2.2: icmp_req=2 ttl=64 time=0.026 ms 151 64 bytes from 10.10.2.2: icmp_req=3 ttl=64 time=0.027 ms 152 64 bytes from 10.10.2.2: icmp_req=4 ttl=64 time=0.027 ms 153 64 bytes from 10.10.2.2: icmp_req=5 ttl=64 time=0.032 ms 141 154 142 155 --- 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 156 5 packets transmitted, 5 received, 0% packet loss, time 4000ms 157 rtt min/avg/max/mdev = 0.026/0.187/0.826/0.319 ms 158 }}} 159 160 Login to the second host verify address assignment and exchange traffic: 161 {{{ 162 $ ssh pc3.utah.geniracks.net -p 30779 151 163 [lnevers@host2 ~]$ /sbin/ifconfig | egrep "inet addr" 152 inet addr:172.17. 5.2Bcast:172.31.255.255 Mask:255.240.0.0164 inet addr:172.17.3.4 Bcast:172.31.255.255 Mask:255.240.0.0 153 165 inet addr:127.0.0.1 Mask:255.0.0.0 154 166 inet addr:10.10.1.2 Bcast:10.10.1.255 Mask:255.255.255.0 … … 157 169 PING 10.10.2.1 (10.10.2.1) 56(84) bytes of data. 158 170 64 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.02 7ms160 64 bytes from 10.10.2.1: icmp_req=3 ttl=64 time=0.02 8ms171 64 bytes from 10.10.2.1: icmp_req=2 ttl=64 time=0.026 ms 172 64 bytes from 10.10.2.1: icmp_req=3 ttl=64 time=0.027 ms 161 173 64 bytes from 10.10.2.1: icmp_req=4 ttl=64 time=0.027 ms 162 174 64 bytes from 10.10.2.1: icmp_req=5 ttl=64 time=0.027 ms … … 164 176 --- 10.10.2.1 ping statistics --- 165 177 5 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 ~]$ 178 rtt min/avg/max/mdev = 0.026/0.028/0.037/0.007 ms 168 179 }}} 169 180 … … 188 199 TCP window size: 16.0 KByte (default) 189 200 ------------------------------------------------------------ 190 [ 3] local 10.10.1.1 port 42950connected with 10.10.1.2 port 5001201 [ 3] local 10.10.1.1 port 55845 connected with 10.10.1.2 port 5001 191 202 [ ID] Interval Transfer Bandwidth 192 203 [ 3] 0.0-10.0 sec 116 MBytes 97.5 Mbits/sec 204 193 205 }}} 194 206 On host2: … … 199 211 TCP window size: 85.3 KByte (default) 200 212 ------------------------------------------------------------ 201 [ 4] local 10.10.1.2 port 5001 connected with 10.10.1.1 port 42950213 [ 4] local 10.10.1.2 port 5001 connected with 10.10.1.1 port 55845 202 214 [ ID] Interval Transfer Bandwidth 203 215 [ 4] 0.0-10.2 sec 116 MBytes 95.7 Mbits/sec