Changes between Version 36 and Version 37 of GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-4
- Timestamp:
- 10/17/12 11:21:59 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-4
v36 v37 4 4 This page captures status for the test case EG-EXP-4, which verifies the ability to support basic operations of VMs and data flows between two racks. For overall status see the [wiki:GENIRacksHome/ExogeniRacks/AcceptanceTestStatus ExoGENI Acceptance Test Status] page. 5 5 6 ''Last update: 07/27/12''6 ''Last update: 10/17/12'' 7 7 8 8 … … 43 43 = Test Plan Steps = 44 44 45 This test case is modified to use ExoSM to request resources across sites. The nickname: 46 {{{ 47 exosm=,https://geni.renci.org:11443/orca/xmlrpc 48 }}} 49 is used in place of individual site's SM for each experiment in this test case: 50 {{{ 51 exo-bbn=,https://bbn-hn.exogeni.net:11443/orca/xmlrpc 52 exo-rci=,https://rci-hn.exogeni.net:11443/orca/xmlrpc 53 }}} 54 55 Also, for initial test run only VMs used. 45 This test case is modified to use ExoSM to request resources across sites. The omni commands shown in this test use nicknames nick_names for aggregates, which are: 46 {{{ 47 eg-sm=,https://geni.renci.org:11443/orca/xmlrpc 48 }}} 49 is used in place of individual site's aggregates: 50 {{{ 51 eg-gpo=,https://bbn-hn.exogeni.net:11443/orca/xmlrpc 52 eg-renci=,https://rci-hn.exogeni.net:11443/orca/xmlrpc 53 }}} 54 56 55 57 56 == Step 1. As Experimenter1, Request !ListResources RENCI ExoGENI == 58 57 59 Using the credentials lnevers 1@bbn.com, request listresources from ExoSM, to determine which resources can be requested for the first experiment:60 61 {{{ 62 $ omni.py -a e xosm listresources -o58 Using the credentials lnevers@bbn.com, request listresources from ExoSM, to determine which resources can be requested for the first experiment: 59 60 {{{ 61 $ omni.py -a eg-sm listresources -o 63 62 }}} 64 63 The above command generates a file named ''rspec-geni-renci-org-11443-orca.xml''. … … 80 79 81 80 == Step 5. Create a sliver == 81 82 82 Using the ExoSM and the RSpecs defined above create a sliver with one VM at BBN and one VM at RENCI: 83 83 {{{ 84 $ omni.py createsliver -a e xosm EG-EXP-4-exp1 EG-EXP-4-exp1.rspec84 $ omni.py createsliver -a eg-sm EG-EXP-4-exp1 EG-EXP-4-exp1.rspec 85 85 }}} 86 86 87 87 Verify that sliver status is ready: 88 88 {{{ 89 $ omni.py sliverstatus -a e xosm EG-EXP-4-exp189 $ omni.py sliverstatus -a eg-sm EG-EXP-4-exp1 90 90 }}} 91 91 When sliverstatus reports ''geni_status'' as ''ready'', you can collect a listresource for the sliver to determined which VMs are allocated to the sliver: 92 92 {{{ 93 $ omni.py listresources -a e xosm EG-EXP-4-exp1 -o93 $ omni.py listresources -a eg-sm EG-EXP-4-exp1 -o 94 94 $ egrep hostname EG-EXP-4-exp1-rspec-geni-renci-org-11443-orca.xml 95 95 <login authentication="ssh-keys" hostname="152.54.14.34" port="22" username="root"/> 96 96 <login authentication="ssh-keys" hostname="192.1.242.12" port="22" username="root"/> 97 97 }}} 98 99 Also can determine login information as follows: 100 {{{ 101 $ examples/readyToLogin.py -a eg-sm EG-EXP-4-exp1 102 ..... 103 104 XXXXX 98 105 99 106 == Step 6. Log in to each of the systems, and send traffic to the other system, leave traffic running == … … 125 132 == Step 7. As Experimenter2, Request !ListResources from RENCI ExoGENI == 126 133 127 Using the credentials lnevers @bbn.com, request listresources from ExoSM, to determine which resources can be requested:128 {{{ 129 $ omni.py -a e xosm listresources -o134 Using the credentials lnevers2@bbn.com, request listresources from ExoSM, to determine which resources can be requested: 135 {{{ 136 $ omni.py -a eg-sm listresources -o 130 137 }}} 131 138 … … 153 160 Using the ExoSM and the RSpecs defined in step 8 create a sliver: 154 161 {{{ 155 $ omni.py createsliver -a e xosm EG-EXP-4-exp2 EG-EXP-4-exp2.rspec162 $ omni.py createsliver -a eg-sm EG-EXP-4-exp2 EG-EXP-4-exp2.rspec 156 163 }}} 157 164 158 165 Verify that sliver status is ready: 159 166 {{{ 160 $ omni.py sliverstatus -a e xosm EG-EXP-4-exp2167 $ omni.py sliverstatus -a eg-sm EG-EXP-4-exp2 161 168 }}} 162 169 Determined which nodes (VMs and bare metal) are allocated to this sliver: 163 170 {{{ 164 $ omni.py listresources -a e xosm EG-EXP-4-exp2 -o171 $ omni.py listresources -a eg-sm EG-EXP-4-exp2 -o 165 172 $ egrep hostname EG-EXP-4-exp2-rspec-geni-renci-org-11443-orca.xml 166 173 <login authentication="ssh-keys" hostname="192.1.242.13" port="22" username="root"/> … … 169 176 <login authentication="ssh-keys" hostname="152.54.14.37" port="22" username="root"/> 170 177 }}} 178 179 Also can determine login information as follows: 180 {{{ 181 $ examples/readyToLogin.py -a eg-sm EG-EXP-4-exp2 182 ..... 183 184 XXXX 171 185 172 186 == Step 11. Log in to each of the end-point systems, and send traffic to the other end-point system which shares the same VLAN == … … 309 323 }}} 310 324 311 == Step 13. Construct and send a non-IP ethernet packet over the data plane interface. == 312 313 Working on program to send non-IP traffic, to be executed later. 314 325 == Step 13. Construct and send a non-IP Ethernet packet over the data plane interface. == 326 327 On two ExoGENI hosts in the BBN rack, installed and compiled the the GPO package PingPlus, which is available at the [http://software.geni.net/local-sw/ GPO Software Repository] to generate a non-IP Ethernet packet. 328 329 Determined interface information on each host. Host1: 330 {{{ 331 root@debian:~/pingPlus-0.2# ifconfig eth1 332 eth1 Link encap:Ethernet HWaddr 52:54:00:9c:3f:8a 333 inet addr:172.16.1.1 Bcast:172.16.255.255 Mask:255.255.0.0 334 inet6 addr: fe80::5054:ff:fe9c:3f8a/64 Scope:Link 335 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 336 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 337 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 338 collisions:0 txqueuelen:1000 339 RX bytes:1128 (1.1 KiB) TX bytes:398 (398.0 B) 340 }}} 341 Host2: 342 {{{ 343 eth1 Link encap:Ethernet HWaddr 52:54:00:0e:e5:a1 344 inet addr:172.16.1.2 Bcast:172.16.255.255 Mask:255.255.0.0 345 inet6 addr: fe80::5054:ff:fe0e:e5a1/64 Scope:Link 346 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 347 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 348 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 349 collisions:0 txqueuelen:1000 350 RX bytes:916 (916.0 B) TX bytes:398 (398.0 B) 351 }}} 352 353 Started the pingPlusListener on host1: 354 {{{ 355 $ sudo ./pingPlusListener 10111 356 }}} 357 358 Started tcpdump on host1: 359 {{{{ 360 $ sudo tcpdump ether host 52:54:00:0e:e5:a1 361 }}}} 362 363 On host 2 sent 10 packets with !pingPlus to host1: 364 {{{ 365 $ sudo ./pingPlus 52:54:00:9c:3f:8a eth0 10111 12 366 }}} 367 368 Packets were received on host1: 369 {{{ 370 371 }}} 372 373 TCPdump captured the content of the Ethernet packet: 374 {{{ 375 376 }}} 315 377 == Step 14. Review baseline monitoring statistics == 316 378