Changes between Version 28 and Version 29 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-2


Ignore:
Timestamp:
05/25/12 12:11:43 (7 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v28 v29  
    124124    (b) Modify step 4 to assume a raw-pc is used to load the custom image, which duplicates later step 12 in the procedure.
    125125
    126 Choosing option (a) for the execution of step 4.
     126Choosing option (a) for the execution of step 4, which implies that RSpec is modified to use default OpenVZ image.
    127127
    128128== Step 5. Create the first slice ==
    129 
    130 == Step 6. Create a sliver in the first slice, using the RSpec defined in step 4 ==
    131 
     129Created the slice as follows:
     130{{{
     131$ ./src/omni.py createslice 2vm 
     132}}}
     133
     134== Step 6. Create a sliver in the first slice, using the "modified" RSpec as defined in step 4 ==
     135Created a 2 VM sliver, checked sliver status for completion, and determine assigned host from the sliverstatus sliver manifest:
     136{{{
     137$ ./src/omni.py createsliver -a insta-utah 2vm --api-version 2 -t GENI 3 ./i
     138nstarspec/insta-2vm-v3.rspec
     139$ ./src/omni.py sliverstatus -a insta-utah 2vm --api-version 2 -t GENI 3 -o
     140$ egrep "hostname|port" 2vm-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.json
     141}}}
    132142== Step 7. Log in to each of the systems, and send traffic to the other system sharing a VLAN ==
     143First host:
     144{{{
     145lnevers@arendia:~$ ssh pc5.utah.geniracks.net -p 30011
     146Last login: Fri May 25 19:30:25 2012 from arendia.gpolab.bbn.com
     147[lnevers@host1 ~]$ /sbin/ifconfig | egrep "inet addr"
     148          inet addr:172.17.5.1  Bcast:172.31.255.255  Mask:255.240.0.0
     149          inet addr:127.0.0.1  Mask:255.0.0.0
     150          inet addr:10.10.1.1  Bcast:10.10.1.255  Mask:255.255.255.0
     151          inet addr:10.10.2.1  Bcast:10.10.2.255  Mask:255.255.255.0
     152[lnevers@host1 ~]$ ping 10.10.2.2 -c 5
     153PING 10.10.2.2 (10.10.2.2) 56(84) bytes of data.
     15464 bytes from 10.10.2.2: icmp_req=1 ttl=64 time=0.037 ms
     15564 bytes from 10.10.2.2: icmp_req=2 ttl=64 time=0.027 ms
     15664 bytes from 10.10.2.2: icmp_req=3 ttl=64 time=0.028 ms
     15764 bytes from 10.10.2.2: icmp_req=4 ttl=64 time=0.028 ms
     15864 bytes from 10.10.2.2: icmp_req=5 ttl=64 time=0.027 ms
     159
     160--- 10.10.2.2 ping statistics ---
     1615 packets transmitted, 5 received, 0% packet loss, time 3999ms
     162rtt min/avg/max/mdev = 0.027/0.029/0.037/0.006 ms
     163[lnevers@host1 ~]$
     164}}}
     165
     166Second host:
     167{{{
     168lnevers@arendia:~$ ssh pc5.utah.geniracks.net -p 30011
     169[lnevers@host2 ~]$ /sbin/ifconfig | egrep "inet addr"
     170          inet addr:172.17.5.2  Bcast:172.31.255.255  Mask:255.240.0.0
     171          inet addr:127.0.0.1  Mask:255.0.0.0
     172          inet addr:10.10.1.2  Bcast:10.10.1.255  Mask:255.255.255.0
     173          inet addr:10.10.2.2  Bcast:10.10.2.255  Mask:255.255.255.0
     174[lnevers@host2 ~]$ ping 10.10.2.1 -c 5
     175PING 10.10.2.1 (10.10.2.1) 56(84) bytes of data.
     17664 bytes from 10.10.2.1: icmp_req=1 ttl=64 time=0.037 ms
     17764 bytes from 10.10.2.1: icmp_req=2 ttl=64 time=0.027 ms
     17864 bytes from 10.10.2.1: icmp_req=3 ttl=64 time=0.028 ms
     17964 bytes from 10.10.2.1: icmp_req=4 ttl=64 time=0.027 ms
     18064 bytes from 10.10.2.1: icmp_req=5 ttl=64 time=0.027 ms
     181
     182--- 10.10.2.1 ping statistics ---
     1835 packets transmitted, 5 received, 0% packet loss, time 3999ms
     184rtt min/avg/max/mdev = 0.027/0.029/0.037/0.005 ms
     185[lnevers@host2 ~]$
     186}}}
    133187
    134188== Step 8. Using root privileges on one of the VMs load a Kernel module. ==
    135 Loading a kernel module is expected to  not work on shared OpenVZ nodes, testing will proceed past this step.
     189Loading a kernel module is expected to not work on shared OpenVZ nodes, testing will proceed past this step.
    136190
    137191== Step 9. Run a netcat listener and bind to port XYZ on each of the VMs in the Utah rack ==
    138192
     193Modified test to use iperf.  Started iperf server on host2:
     194{{{
     195[lnevers@host2 ~]$ /usr/bin/iperf -s
     196}}}
     197
    139198== Step 10. Send traffic to port XYZ on each of the VMs in the Utah rack over the control network from any commodity Internet host ==
     199Started iperf on host1 to send to host2, with the following results:
     200
     201On host1:
     202{{{
     203[lnevers@host1 ~]$ /usr/bin/iperf -c 10.10.1.2
     204------------------------------------------------------------
     205Client connecting to 10.10.1.2, TCP port 5001
     206TCP window size: 16.0 KByte (default)
     207------------------------------------------------------------
     208[  3] local 10.10.1.1 port 42950 connected with 10.10.1.2 port 5001
     209[ ID] Interval       Transfer     Bandwidth
     210[  3]  0.0-10.0 sec   116 MBytes  97.5 Mbits/sec
     211}}}
     212On host2:
     213{{{
     214[lnevers@host2 ~]$ /usr/bin/iperf -s
     215------------------------------------------------------------
     216Server listening on TCP port 5001
     217TCP window size: 85.3 KByte (default)
     218------------------------------------------------------------
     219[  4] local 10.10.1.2 port 5001 connected with 10.10.1.1 port 42950
     220[ ID] Interval       Transfer     Bandwidth
     221[  4]  0.0-10.2 sec   116 MBytes  95.7 Mbits/sec
     222}}}
    140223
    141224== Step 11. As Experimenter2, request !ListResources from Utah InstaGENI ==
    142225
     226As experimenter lnevers1@bbn.com requested the list of available resources as follows:
     227{{{
     228 $ ./src/omni.py -a insta-utah listresources --available --api-version 2 -t GENI 3 --available -o
     229}}}
     230
    143231== Step 12. Define a request RSpec for two physical nodes, both using the uploaded GPO Ubuntu images ==
    144232
    145 Created a 2 raw-pc RSpec using the Customized OS image. Rspec link to add here.
     233Created a 2 raw-pc RSpec using the Customized OS image. Add RSpec link to add here.
    146234
    147235== Step 13. Create the second slice ==
    148236The following command was used:
    149237{{{
    150  $ ./src/omni.py createslice lnubuntu12
     238 $ ./src/omni.py createslice lnubuntu12b
    151239}}}
    152240
     
    154242The following commands were used:
    155243{{{
    156  $ ./src/omni.py createsliver -a insta-utah --api-version 2 -t GENI 3 lnubuntu12 ./instarspec/insta-2rawpc-ubuntu12.rspec
    157  $ ./src/omni.py sliverstatus -a insta-utah --api-version 2 -t GENI 3 lnubuntu12
     244 $ ./src/omni.py createsliver -a insta-utah --api-version 2 -t GENI 3 lnubuntu12b ./instarspec/insta-2rawpc-ubuntu12.rspec
     245 $ ./src/omni.py sliverstatus -a insta-utah --api-version 2 -t GENI 3 lnubuntu12b
    158246}}}
    159247
     
    162250Logged in to the first assigned host:
    163251{{{
    164 $ ssh pc1.utah.geniracks.net
     252lnevers1@sendaria:~/gcf-1.6.2$ ssh pc1.utah.geniracks.net
    165253Welcome to Ubuntu 12.04 LTS (GNU/Linux 2.6.38.7-1.0emulab x86_64)
    166254
    167255 * Documentation:  https://help.ubuntu.com/
    168 
    169 The programs included with the Ubuntu system are free software;
    170 the exact distribution terms for each program are described in the
    171 individual files in /usr/share/doc/*/copyright.
    172 
    173 Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
    174 applicable law.
    175 
    176 Last login: Thu May 24 09:53:35 2012 from arendia.gpolab.bbn.com
     256Last login: Fri May 25 10:06:21 2012 from sendaria.gpolab.bbn.com
    177257hostx:~% cat /etc/issue
    178258Ubuntu 12.04 LTS \n \l
     259
     260hostx:~%
    179261}}}
    180262Logged in to the second host:
    181263{{{
    182 $ ssh pc4.utah.geniracks.net
     264lnevers1@sendaria:~/gcf-1.6.2$ ssh pc4.utah.geniracks.net
    183265Welcome to Ubuntu 12.04 LTS (GNU/Linux 2.6.38.7-1.0emulab x86_64)
    184266
    185267 * Documentation:  https://help.ubuntu.com/
    186 
    187 The programs included with the Ubuntu system are free software;
    188 the exact distribution terms for each program are described in the
    189 individual files in /usr/share/doc/*/copyright.
    190 
    191 Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
    192 applicable law.
    193 
    194 Last login: Thu May 24 09:53:06 2012 from arendia.gpolab.bbn.com
     268Last login: Fri May 25 10:07:13 2012 from sendaria.gpolab.bbn.com
    195269hosty:~% cat /etc/issue
    196270Ubuntu 12.04 LTS \n \l
     271
     272hosty:~%
    197273}}}
    198274
     
    202278
    203279== Step 18. Verify that each VM has a distinct MAC address for that interface ==
    204 
     280On the first host:
     281{{{
     282hosty:~% ifconfig -a|grep HW
     283eth0      Link encap:Ethernet  HWaddr e8:39:35:b1:ec:9c 
     284eth1      Link encap:Ethernet  HWaddr e8:39:35:b1:ec:9e 
     285eth2      Link encap:Ethernet  HWaddr e8:39:35:b1:ec:d0 
     286eth3      Link encap:Ethernet  HWaddr e8:39:35:b1:ec:d2 
     287}}}
     288On the second host:
     289{{{
     290hostx:~% ifconfig -a|grep HW
     291eth0      Link encap:Ethernet  HWaddr e8:39:35:b1:0f:94 
     292eth1      Link encap:Ethernet  HWaddr e8:39:35:b1:0f:96 
     293eth2      Link encap:Ethernet  HWaddr e8:39:35:b1:0f:64 
     294eth3      Link encap:Ethernet  HWaddr e8:39:35:b1:0f:66 
     295hostx:~%
     296}}}
    205297== Step 19. Verify that VMs' MAC addresses are learned on the data plane switch ==
    206298