Changes between Version 28 and Version 29 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-2
- Timestamp:
- 05/25/12 12:11:43 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-2
v28 v29 124 124 (b) Modify step 4 to assume a raw-pc is used to load the custom image, which duplicates later step 12 in the procedure. 125 125 126 Choosing option (a) for the execution of step 4 .126 Choosing option (a) for the execution of step 4, which implies that RSpec is modified to use default OpenVZ image. 127 127 128 128 == 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 129 Created 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 == 135 Created 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 138 nstarspec/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 }}} 132 142 == Step 7. Log in to each of the systems, and send traffic to the other system sharing a VLAN == 143 First host: 144 {{{ 145 lnevers@arendia:~$ ssh pc5.utah.geniracks.net -p 30011 146 Last 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 153 PING 10.10.2.2 (10.10.2.2) 56(84) bytes of data. 154 64 bytes from 10.10.2.2: icmp_req=1 ttl=64 time=0.037 ms 155 64 bytes from 10.10.2.2: icmp_req=2 ttl=64 time=0.027 ms 156 64 bytes from 10.10.2.2: icmp_req=3 ttl=64 time=0.028 ms 157 64 bytes from 10.10.2.2: icmp_req=4 ttl=64 time=0.028 ms 158 64 bytes from 10.10.2.2: icmp_req=5 ttl=64 time=0.027 ms 159 160 --- 10.10.2.2 ping statistics --- 161 5 packets transmitted, 5 received, 0% packet loss, time 3999ms 162 rtt min/avg/max/mdev = 0.027/0.029/0.037/0.006 ms 163 [lnevers@host1 ~]$ 164 }}} 165 166 Second host: 167 {{{ 168 lnevers@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 175 PING 10.10.2.1 (10.10.2.1) 56(84) bytes of data. 176 64 bytes from 10.10.2.1: icmp_req=1 ttl=64 time=0.037 ms 177 64 bytes from 10.10.2.1: icmp_req=2 ttl=64 time=0.027 ms 178 64 bytes from 10.10.2.1: icmp_req=3 ttl=64 time=0.028 ms 179 64 bytes from 10.10.2.1: icmp_req=4 ttl=64 time=0.027 ms 180 64 bytes from 10.10.2.1: icmp_req=5 ttl=64 time=0.027 ms 181 182 --- 10.10.2.1 ping statistics --- 183 5 packets transmitted, 5 received, 0% packet loss, time 3999ms 184 rtt min/avg/max/mdev = 0.027/0.029/0.037/0.005 ms 185 [lnevers@host2 ~]$ 186 }}} 133 187 134 188 == Step 8. Using root privileges on one of the VMs load a Kernel module. == 135 Loading a kernel module is expected to 189 Loading a kernel module is expected to not work on shared OpenVZ nodes, testing will proceed past this step. 136 190 137 191 == Step 9. Run a netcat listener and bind to port XYZ on each of the VMs in the Utah rack == 138 192 193 Modified test to use iperf. Started iperf server on host2: 194 {{{ 195 [lnevers@host2 ~]$ /usr/bin/iperf -s 196 }}} 197 139 198 == 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 == 199 Started iperf on host1 to send to host2, with the following results: 200 201 On host1: 202 {{{ 203 [lnevers@host1 ~]$ /usr/bin/iperf -c 10.10.1.2 204 ------------------------------------------------------------ 205 Client connecting to 10.10.1.2, TCP port 5001 206 TCP 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 }}} 212 On host2: 213 {{{ 214 [lnevers@host2 ~]$ /usr/bin/iperf -s 215 ------------------------------------------------------------ 216 Server listening on TCP port 5001 217 TCP 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 }}} 140 223 141 224 == Step 11. As Experimenter2, request !ListResources from Utah InstaGENI == 142 225 226 As 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 143 231 == Step 12. Define a request RSpec for two physical nodes, both using the uploaded GPO Ubuntu images == 144 232 145 Created a 2 raw-pc RSpec using the Customized OS image. Rspec link to add here.233 Created a 2 raw-pc RSpec using the Customized OS image. Add RSpec link to add here. 146 234 147 235 == Step 13. Create the second slice == 148 236 The following command was used: 149 237 {{{ 150 $ ./src/omni.py createslice lnubuntu12 238 $ ./src/omni.py createslice lnubuntu12b 151 239 }}} 152 240 … … 154 242 The following commands were used: 155 243 {{{ 156 $ ./src/omni.py createsliver -a insta-utah --api-version 2 -t GENI 3 lnubuntu12 ./instarspec/insta-2rawpc-ubuntu12.rspec157 $ ./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 158 246 }}} 159 247 … … 162 250 Logged in to the first assigned host: 163 251 {{{ 164 $ ssh pc1.utah.geniracks.net252 lnevers1@sendaria:~/gcf-1.6.2$ ssh pc1.utah.geniracks.net 165 253 Welcome to Ubuntu 12.04 LTS (GNU/Linux 2.6.38.7-1.0emulab x86_64) 166 254 167 255 * 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 256 Last login: Fri May 25 10:06:21 2012 from sendaria.gpolab.bbn.com 177 257 hostx:~% cat /etc/issue 178 258 Ubuntu 12.04 LTS \n \l 259 260 hostx:~% 179 261 }}} 180 262 Logged in to the second host: 181 263 {{{ 182 $ ssh pc4.utah.geniracks.net264 lnevers1@sendaria:~/gcf-1.6.2$ ssh pc4.utah.geniracks.net 183 265 Welcome to Ubuntu 12.04 LTS (GNU/Linux 2.6.38.7-1.0emulab x86_64) 184 266 185 267 * 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 268 Last login: Fri May 25 10:07:13 2012 from sendaria.gpolab.bbn.com 195 269 hosty:~% cat /etc/issue 196 270 Ubuntu 12.04 LTS \n \l 271 272 hosty:~% 197 273 }}} 198 274 … … 202 278 203 279 == Step 18. Verify that each VM has a distinct MAC address for that interface == 204 280 On the first host: 281 {{{ 282 hosty:~% ifconfig -a|grep HW 283 eth0 Link encap:Ethernet HWaddr e8:39:35:b1:ec:9c 284 eth1 Link encap:Ethernet HWaddr e8:39:35:b1:ec:9e 285 eth2 Link encap:Ethernet HWaddr e8:39:35:b1:ec:d0 286 eth3 Link encap:Ethernet HWaddr e8:39:35:b1:ec:d2 287 }}} 288 On the second host: 289 {{{ 290 hostx:~% ifconfig -a|grep HW 291 eth0 Link encap:Ethernet HWaddr e8:39:35:b1:0f:94 292 eth1 Link encap:Ethernet HWaddr e8:39:35:b1:0f:96 293 eth2 Link encap:Ethernet HWaddr e8:39:35:b1:0f:64 294 eth3 Link encap:Ethernet HWaddr e8:39:35:b1:0f:66 295 hostx:~% 296 }}} 205 297 == Step 19. Verify that VMs' MAC addresses are learned on the data plane switch == 206 298