Changes between Version 20 and Version 21 of GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-2
- Timestamp:
- 07/05/12 06:55:56 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-2
v20 v21 75 75 1. Bare Metal nodes are available via EXoSM only. 76 76 2. Bare Metal node only support one version at this time. 77 3. 1 Bare metal at BBN and 1 at RENCI.77 3. Current test uses 1 Bare metal at BBN and 1 at RENCI. 78 78 79 79 == Step 1. As Experimenter1, request !ListResources from BBN ExoGENI == … … 95 95 == Step 4. Define a request RSpec for two VMs, each with a GPO Ubuntu image == 96 96 97 Create the Rspec and place copy here. Add link for location to store RSpec. 98 97 Create the RSpec for the two VMs. 99 98 100 99 == Step 5. Create the first slice == 101 100 102 101 {{{ 103 $ ./src/omni.py createslice experiment1102 $ ./src/omni.py createslice EG-EXP-2-exp1 104 103 }}} 105 104 106 105 == Step 6. Create a sliver in the first slice, using the RSpec defined in step 4. == 107 106 {{{ 108 $ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc createsliver experiment1 exorspec/exo-2vm-1lan.rspec107 $ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc createsliver EG-EXP-2-exp1 EG-EXP-2-exp1.rspec 109 108 }}} 110 109 111 110 Verify that the sliver creation was completed, by looking for "'geni_status': 'ready'" in the output of the sliverstatus command: 112 111 {{{ 113 $ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc sliverstatus experiment1112 $ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc sliverstatus EG-EXP-2-exp1 114 113 }}} 115 114 116 115 Once sliver is ready, determine which hosts were assigned: 117 116 {{{ 118 $ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc listresources experiment1 117 $ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc listresources EG-EXP-2-exp1 118 $ egrep hostname EG-EXP-2-exp1-rspec-bbn-hn-exogeni-net-11443-orca.xml 119 119 }}} 120 120 … … 129 129 == Step 8. Using root privileges on one of the VMs load a Kernel module. == 130 130 131 Once logged in, show current modules loaded: 132 {{{ 133 root@debian:~# lsmod| 134 }}} 135 Install module XXX 136 {{{ 137 which module?? 138 }}} 139 140 Check the list modules to verify that the module is installed: 141 {{{ 142 root@debian:~# lsmod|egrep XXX 143 }}} 131 Once logged in, show current modules loaded, load a module, and then remove the mofule: 144 132 145 133 == Step 9. As Experimenter2, request !ListResources from BBN ExoGENI. == … … 147 135 User account lnevers1 will be used for this tests, and the listresources is requested as follows from the BBN ExoGENI rack Head Node: 148 136 {{{ 149 $ ./src/omni.py -a https:// bbn-hn.exogeni.net:11443/orca/xmlrpc listresources --available -o137 $ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc listresources --available -o 150 138 }}} 151 139 152 140 == Step 10. Define a request RSpec for two bare metal nodes, both using the uploaded GPO Ubuntu images. == 153 141 154 Create the Rspec and place copy here. Add link for location to store RSpec. 142 Create the RSpec the 2 Bare metal nodes. This test is currently modified due to bare metal 143 node availability. The RSpec used has 1 bare metal node at BBN ExoGENI and one at RENCI ExoGENI. 155 144 156 145 == Step 11. Create the second slice. == 157 146 {{{ 158 $ ./src/omni.py createslice experiment2147 $ ./src/omni.py createslice EG-EXP-2-exp2 159 148 }}} 160 149 161 150 == Step 12. Create a sliver in the second slice, using the RSpec defined in step 10. == 162 151 {{{ 163 $ ./src/omni.py -a https:// bbn-hn.exogeni.net:11443/orca/xmlrpc createsliver experiment2 exo-2vm-1lan.rspec152 $ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc createsliver EG-EXP-2-exp2 exo-2vm-1lan.rspec 164 153 }}} 165 154 166 155 == Step 13. Log in to each of the systems, and send traffic to the other system. == 156 Verify that the sliver creation was completed, by looking for "'geni_status': 'ready'" in the output of the sliverstatus command: 157 {{{ 158 $ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc sliverstatus EG-EXP-2-exp2 159 }}} 160 161 Once sliver is ready, determine which hosts were assigned: 162 {{{ 163 $ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc listresources EG-EXP-2-exp2.rspec 164 $ egrep hostname EG-EXP-2-exp2-rspec-geni-renci-org-11443-orca.xml 165 }}} 167 166 168 167 == Step 14. Verify that experimenters 1 and 2 cannot use the control plane to access each other's resources == 169 168 (e.g. via unauthenticated SSH, shared writable filesystem mount) 170 169 170 Attempt to login into other experiment fails and not able to mount other experiment file system. 171 171 172 == Step 15. Review system statistics and VM isolation and network isolation on data plane. == 172 173 174 Verify that the two experiments cannot interact. Review usage statistics. 173 175 174 176 == Step 16. Verify that each VM has a distinct MAC address for that interface. == 177 Issue ifconfig and verified that each host has unique MAC address. 175 178 176 179 177 180 == Step 17. Verify that VMs' MAC addresses are learned on the data plane switch. == 181 182 Ability to exchange traffic shows that the mac addresses are learned. 178 183 179 184 180 185 == Step 18. Stop traffic and delete slivers. == 186 187 Stopped traffic and deleted sliver at the ExoSM: 188 {{{ 189 $ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc deletesliver EG-EXP-2-exp2 190 }}} 191