Changes between Version 51 and Version 52 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-2
- Timestamp:
- 08/20/12 14:57:53 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-2
v51 v52 131 131 $ omni.py listresources -a ig-utah IG-EXP-2-exp1 --api-version 2 -t GENI 3 -o 132 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"/> 133 <login authentication="ssh-keys" hostname="pcvm5-2.utah.geniracks.net" port="22" username="lnevers"/> </services> </node> 134 <login authentication="ssh-keys" hostname="pcvm5-3.utah.geniracks.net" port="22" username="lnevers"/> </services> </node> 135 135 136 }}} 136 137 137 138 == Step 7. Log in to each of the systems, and send traffic to the other system sharing a VLAN == 138 139 139 Login to first host, verify address assignment and send traffic to the remote: 140 {{{ 141 $ $ ssh pc3.utah.geniracks.net -p 30778 142 [lnevers@host1 ~]$ /sbin/ifconfig | egrep "inet addr" 143 inet addr:172.17.3.3 Bcast:172.31.255.255 Mask:255.240.0.0 140 Login to first host using the hostname that has been allocated on the control network (155.98.34.0), verify address assignment and send traffic to the remote: 141 {{{ 142 $ ssh pcvm5-2.utah.geniracks.net 143 Warning: Permanently added 'pcvm5-2.utah.geniracks.net,155.98.34.130' (RSA) to the list of known hosts. 144 [lnevers@host1 ~]$ /sbin/ifconfig | egrep "inet addr" 145 inet addr:155.98.34.130 Bcast:155.98.34.255 Mask:255.255.255.0 144 146 inet addr:127.0.0.1 Mask:255.0.0.0 145 147 inet addr:10.10.1.1 Bcast:10.10.1.255 Mask:255.255.255.0 146 148 inet addr:10.10.2.1 Bcast:10.10.2.255 Mask:255.255.255.0 147 [lnevers@host1 ~]$ ping 10.10.2.2 -c 5 148 PING 10.10.2.2 (10.10.2.2) 56(84) bytes of data. 149 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 154 149 [lnevers@host1 ~]$ ping 10.10.2.2 -c 5 150 PING 10.10.2.2 (10.10.2.2) 56(84) bytes of data. 151 64 bytes from 10.10.2.2: icmp_req=1 ttl=64 time=0.033 ms 152 64 bytes from 10.10.2.2: icmp_req=2 ttl=64 time=0.026 ms 153 64 bytes from 10.10.2.2: icmp_req=3 ttl=64 time=0.026 ms 154 64 bytes from 10.10.2.2: icmp_req=4 ttl=64 time=0.026 ms 155 64 bytes from 10.10.2.2: icmp_req=5 ttl=64 time=0.026 ms 155 156 --- 10.10.2.2 ping statistics --- 156 5 packets transmitted, 5 received, 0% packet loss, time 4000ms157 rtt min/avg/max/mdev = 0.026/0. 187/0.826/0.319ms157 5 packets transmitted, 5 received, 0% packet loss, time 3999ms 158 rtt min/avg/max/mdev = 0.026/0.027/0.033/0.005 ms 158 159 }}} 159 160 160 161 Login to the second host verify address assignment and exchange traffic: 161 162 {{{ 162 $ ssh pc3.utah.geniracks.net -p 30779 163 [lnevers@host2 ~]$ /sbin/ifconfig | egrep "inet addr" 164 inet addr:172.17.3.4 Bcast:172.31.255.255 Mask:255.240.0.0 163 $ ssh pcvm5-3.utah.geniracks.net 164 Warning: Permanently added 'pcvm5-3.utah.geniracks.net,155.98.34.131' (RSA) to the list of known hosts. 165 [lnevers@host2 ~]$ /sbin/ifconfig | egrep "inet addr" 166 inet addr:155.98.34.131 Bcast:155.98.34.255 Mask:255.255.255.0 165 167 inet addr:127.0.0.1 Mask:255.0.0.0 166 168 inet addr:10.10.1.2 Bcast:10.10.1.255 Mask:255.255.255.0 … … 168 170 [lnevers@host2 ~]$ ping 10.10.2.1 -c 5 169 171 PING 10.10.2.1 (10.10.2.1) 56(84) bytes of data. 170 64 bytes from 10.10.2.1: icmp_req=1 ttl=64 time=0. 037ms172 64 bytes from 10.10.2.1: icmp_req=1 ttl=64 time=0.808 ms 171 173 64 bytes from 10.10.2.1: icmp_req=2 ttl=64 time=0.026 ms 172 174 64 bytes from 10.10.2.1: icmp_req=3 ttl=64 time=0.027 ms 173 175 64 bytes from 10.10.2.1: icmp_req=4 ttl=64 time=0.027 ms 174 64 bytes from 10.10.2.1: icmp_req=5 ttl=64 time=0.027 ms 175 176 64 bytes from 10.10.2.1: icmp_req=5 ttl=64 time=0.026 ms 176 177 --- 10.10.2.1 ping statistics --- 177 5 packets transmitted, 5 received, 0% packet loss, time 3999ms178 rtt min/avg/max/mdev = 0.026/0. 028/0.037/0.007ms178 5 packets transmitted, 5 received, 0% packet loss, time 4000ms 179 rtt min/avg/max/mdev = 0.026/0.182/0.808/0.313 ms 179 180 }}} 180 181 181 182 == Step 8. Using root privileges on one of the VMs load a Kernel module. == 183 182 184 Loading a kernel module is expected to not work on shared OpenVZ nodes, testing will proceed past this step. 183 185 … … 220 222 As experimenter lnevers1@bbn.com requested the list of available resources as follows: 221 223 {{{ 222 $ ./src/omni.py -a insta-utah listresources --available --api-version 2 -t GENI 3 --available -o224 $ omni.py -a ig-utah listresources --available --api-version 2 -t GENI 3 --available -o 223 225 }}} 224 226 225 227 == Step 12. Define a request RSpec for two physical nodes, both using the uploaded GPO Ubuntu images == 226 228 227 Created a 2 raw-pc RSpec using the Customized OS image . Add RSpec link to add here.229 Created a 2 raw-pc RSpec using the Customized OS image named [[http://groups.geni.net/geni/browser/trunk/GENIRacks/InstaGENI/Spiral4/RSpecs/AcceptanceTests/IG-EXP-2/IG-EXP-2-exp2.rspec IG-EXP-2-exp2.rspec]. 228 230 229 231 == Step 13. Create the second slice == 230 The following command was used: 231 {{{ 232 $ ./src/omni.py createslice lnubuntu12b 232 233 The following command was used to create the second slice: 234 {{{ 235 $ ./src/omni.py createslice IG-EXP-2-exp2 233 236 }}} 234 237 235 238 == Step 14. Create a sliver in the second slice, using the RSpec defined in step 12 == 236 The following commands were used to create the sliver and determine the host assignement: 237 {{{ 238 $ ./src/omni.py createsliver -a insta-utah --api-version 2 -t GENI 3 lnubuntu12b ./instarspec/insta-2rawpc-ubuntu12.rspec 239 $ ./src/omni.py sliverstatus -a insta-utah --api-version 2 -t GENI 3 lnubuntu12b -o 240 $ egrep "hostname|port" lnubuntu12b-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.json 239 240 The following commands were used to create the sliver: 241 {{{ 242 $ omni.py createsliver IG-EXP-2-exp2 -a ig-utah --api-version 2 -t GENI 3 IG-EXP-2-exp2.rspec 243 }}} 244 Verified that sliver was ready: 245 {{{ 246 $ omni.py sliverstatus IG-EXP-2-exp2 -a ig-utah --api-version 2 -t GENI 3 247 }}} 248 249 Determine the host assignment for the sliver: 250 {{{ 251 $ omni.py listresources IG-EXP-2-exp2 -a ig-utah --api-version 2 -t GENI 3 -o 252 $ egrep "hostname|port" IG-EXP-2-exp2-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.json 253 'hostname': 'pc2.utah.geniracks.net', 254 'port': 22, 255 'hostname': 'pc4.utah.geniracks.net', 256 'port': 22, 257 241 258 }}} 242 259 … … 670 687 As user lnevers@bbn.com issued the following: 671 688 {{{ 672 $ ./src/omni.py deletesliver -a insta-utah ig-exp2-2vm --api-version 2 689 $ omni.py deletesliver -a ig-utah IG-EXP-2-exp1 --api-version 2 690 $ omni.py deletesliver -a ig-utah IG-EXP-2-exp1 --api-version 2 691 #$ ./src/omni.py deletesliver -a insta-utah ig-exp2-2vm --api-version 2 673 692 }}} 674 693