| 1 | = GR-EXP-2: GRAM Single Site Acceptance Test = |
| 2 | |
| 3 | This page captures status for the test case GR-EXP-2. For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusDec2013 Acceptance Test Status - December 2013] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation. |
| 4 | |
| 5 | |
| 6 | |
| 7 | ''Last Update: 2013/12/16" |
| 8 | |
| 9 | || '''Step''' || '''State''' ||''' Notes ''' || '''Tickets''' || |
| 10 | || Step 1 ||[[span(Pass, style=background-color: green )]] || || || |
| 11 | || Step 2 ||[[span(Pass, style=background-color: green )]] || || || |
| 12 | || Step 3 ||[[span(Pass, style=background-color: green )]] || || || |
| 13 | || Step 4 ||[[span(Pass, style=background-color: green )]] || || || |
| 14 | || Step 5 ||[[span(Pass, style=background-color: green )]] || || || |
| 15 | || Step 6 ||[[span(Pass, style=background-color: green )]] || || || |
| 16 | || Step 7 ||[[span(Pass, style=background-color: green )]] || || || |
| 17 | || Step 8 ||[[span(Pass, style=background-color: green )]] || || || |
| 18 | || Step 9 ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| || || |
| 19 | || Step 10 ||[[span(Pass, style=background-color: green )]]|| || || |
| 20 | || Step 11 ||[[span(Pass, style=background-color: green )]]|| || || |
| 21 | || Step 11 ||[[span(Pass, style=background-color: green )]]|| || || |
| 22 | || Step 12 ||[[span(Pass, style=background-color: green )]]|| || || |
| 23 | || Step 13 ||[[span(Pass, style=background-color: green )]]|| || || |
| 24 | || Step 14 ||[[span(Pass, style=background-color: green )]]|| || || |
| 25 | || Step 15 ||[[span(Pass, style=background-color: green )]]|| || || |
| 26 | || Step 16 ||[[span(Pass, style=background-color: green )]]|| || || |
| 27 | || Step 17 ||[[span(Pass, style=background-color: green )]]|| || || |
| 28 | || Step 18 ||[[span(Pass, style=background-color: green )]]|| || || |
| 29 | || Step 19 ||[[span(Pass, style=background-color: green )]]|| || || |
| 30 | || Step 20 ||[[span(Pass, style=background-color: green )]]|| || || |
| 31 | |
| 32 | [[BR]] |
| 33 | || '''State Legend''' || '''Description''' || |
| 34 | ||[[span(Pass, style=background-color: green )]] || Test completed and met all criteria || |
| 35 | ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented || |
| 36 | ||[[span(Fail, style=background-color: red)]] || Test completed and failed to meet criteria. || |
| 37 | ||[[span(Complete, style=background-color: yellow)]] || Test completed but will require re-execution due to expected changes || |
| 38 | ||[[span(Blocked, style=background-color: orange)]] || Blocked by ticketed issue(s). || |
| 39 | ||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test. || |
| 40 | |
| 41 | = Test Plan Steps = |
| 42 | This test case uses the following aggregate nick_names: |
| 43 | {{{ |
| 44 | gram=,https://128.89.91.170:5001 |
| 45 | }}} |
| 46 | |
| 47 | ''Evaluation Note:'' Custom images being developed, may be ready soon. (#50) |
| 48 | |
| 49 | == Step 1. As Experimenter1, request !ListResources from GRAM == |
| 50 | |
| 51 | As experimenter "lnevers", issued a listresources command to determine available compute resources: |
| 52 | {{{ |
| 53 | lnevers@arendia:~/gcf-2.4.1$ omni.py listresources -a gram1 -V3 |
| 54 | 11:05:19 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 55 | 11:05:19 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 56 | 11:05:19 INFO omni: Using control framework portal |
| 57 | 11:05:19 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 58 | 11:05:19 INFO omni: Listed advertised resources at 1 out of 1 possible aggregates. |
| 59 | 11:05:19 INFO omni: <?xml version="1.0" ?> |
| 60 | 11:05:19 INFO omni: <!-- Resources at AM: |
| 61 | URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 62 | URL: https://128.89.72.112:5001 |
| 63 | --> |
| 64 | 11:05:19 INFO omni: <rspec type="advertisement" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/ad.xsd http://www.geni.net/resources/rspec/ext/opstate/1 http://www.geni.net/resources/rspec/ext/opstate/1/ad.xsd"> |
| 65 | <node component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-1" exclusive="false"> |
| 66 | <sliver_type name="m1.tiny"> |
| 67 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 68 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 69 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 70 | </sliver_type> |
| 71 | <sliver_type name="m1.small"> |
| 72 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 73 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 74 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 75 | </sliver_type> |
| 76 | <sliver_type name="m1.medium"> |
| 77 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 78 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 79 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 80 | </sliver_type> |
| 81 | <sliver_type name="m1.large"> |
| 82 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 83 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 84 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 85 | </sliver_type> |
| 86 | <sliver_type name="m1.xlarge"> |
| 87 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 88 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 89 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 90 | </sliver_type> |
| 91 | </node> |
| 92 | |
| 93 | <node component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-2" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-2" exclusive="false"> |
| 94 | <sliver_type name="m1.tiny"> |
| 95 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 96 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 97 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 98 | </sliver_type> |
| 99 | <sliver_type name="m1.small"> |
| 100 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 101 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 102 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 103 | </sliver_type> |
| 104 | <sliver_type name="m1.medium"> |
| 105 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 106 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 107 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 108 | </sliver_type> |
| 109 | <sliver_type name="m1.large"> |
| 110 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 111 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 112 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 113 | </sliver_type> |
| 114 | <sliver_type name="m1.xlarge"> |
| 115 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 116 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 117 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 118 | </sliver_type> |
| 119 | </node> |
| 120 | |
| 121 | <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_NOT_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1"> |
| 122 | <sliver_type name="m1.tiny"/> |
| 123 | <sliver_type name="m1.small"/> |
| 124 | <sliver_type name="m1.medium"/> |
| 125 | <sliver_type name="m1.large"/> |
| 126 | <sliver_type name="m1.xlarge"/> |
| 127 | <state name="OPSTATE_GENI_NOT_READY"> |
| 128 | <action name="geni_start" next="OPSTATE_GENI_READY"> |
| 129 | <description> Boot the node </description> |
| 130 | </action> |
| 131 | <description> VMs begin powered down or inactive. They must be explicitly booted before use. </description> |
| 132 | </state> |
| 133 | </rspec_opstate> |
| 134 | |
| 135 | <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1"> |
| 136 | <sliver_type name="m1.tiny"/> |
| 137 | <sliver_type name="m1.small"/> |
| 138 | <sliver_type name="m1.medium"/> |
| 139 | <sliver_type name="m1.large"/> |
| 140 | <sliver_type name="m1.xlarge"/> |
| 141 | <state name="OPSTATE_GENI_READY"> |
| 142 | <action name="geni_restart" next="OPSTATE_GENI_READY"> |
| 143 | <description> Reboot the node </description> |
| 144 | </action> |
| 145 | <action name="geni_stop" next="OPSTATE_GENI_READY"> |
| 146 | <description> The state of the VM </description> |
| 147 | </action> |
| 148 | <description> The VM has been booted and is ready </description> |
| 149 | </state> |
| 150 | </rspec_opstate> |
| 151 | </rspec> |
| 152 | 11:05:19 INFO omni: ------------------------------------------------------------ |
| 153 | 11:05:19 INFO omni: Completed listresources: |
| 154 | Args: listresources |
| 155 | |
| 156 | Result Summary: Queried resources from 1 of 1 aggregate(s). |
| 157 | |
| 158 | 11:05:19 INFO omni: ============================================================ |
| 159 | }}} |
| 160 | |
| 161 | The above Manifest passes rspeclint. |
| 162 | |
| 163 | == Step 2. Review advertisement RSpec for a list of OS images which can be loaded, and identify available resources. == |
| 164 | |
| 165 | The OS available are: |
| 166 | {{{ |
| 167 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 168 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 169 | }}} |
| 170 | |
| 171 | Both were loaded successfully with various sliver_types: m1.small, m1.medium, m1.large. |
| 172 | |
| 173 | == Step 3. Verify that the GPO Ubuntu customized image is available in the advertisement RSpec. == |
| 174 | |
| 175 | Used instructions found in [https://superior.bbn.com/trac/bbn-rack/wiki/UserGuide#CustomImages Custom Images] section of the [https://superior.bbn.com/trac/bbn-rack/wiki/UserGuide User Guide]. |
| 176 | |
| 177 | Using a 5 VM slices, customized VM-3 by installing software and creating files in various system and user paths. Defined the following option file: |
| 178 | {{{ |
| 179 | { |
| 180 | "vm_name": "VM-3", |
| 181 | "snapshot_name": "LN-Ubuntu-custom" |
| 182 | } |
| 183 | |
| 184 | }}} |
| 185 | |
| 186 | Created an Ubuntu custom image: |
| 187 | {{{ |
| 188 | lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 create_snapshot --options ./optionfile1 |
| 189 | 15:13:22 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 190 | 15:13:22 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 191 | 15:13:22 INFO omni: Using control framework portal |
| 192 | 15:13:22 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 193 | 15:13:23 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC |
| 194 | 15:13:23 INFO omni: PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at https://128.89.72.112:5001 |
| 195 | 15:15:17 INFO omni: PerformOperationalAction result for create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at AM URL https://128.89.72.112:5001 |
| 196 | 15:15:17 INFO omni: '' |
| 197 | 15:15:17 INFO omni: ------------------------------------------------------------ |
| 198 | 15:15:17 INFO omni: Completed performoperationalaction: |
| 199 | Args: performoperationalaction 5vm-1lan20 create_snapshot |
| 200 | |
| 201 | Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC |
| 202 | PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful. |
| 203 | |
| 204 | 15:15:17 INFO omni: ============================================================ |
| 205 | }}} |
| 206 | |
| 207 | Verified that new Ubuntu custom image was part of GRAM listresources: |
| 208 | {{{ |
| 209 | <node component_id="" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false"> |
| 210 | <sliver_type name="" > |
| 211 | <disk_image name="ubby" description=custom/> |
| 212 | <disk_image name="LN-Ubuntu-custom" description=custom/> |
| 213 | </sliver_type> |
| 214 | </node> |
| 215 | }}} |
| 216 | |
| 217 | Created a Slice with 2 VM that used the custom image: |
| 218 | {{{ |
| 219 | lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py createsliver -a gram ln-ubuntu-cust ./gram-2vm-ubuntu-cust.rspec |
| 220 | 13:11:40 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 221 | 13:11:40 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 222 | 13:11:40 INFO omni: Using control framework portal |
| 223 | 13:11:40 INFO omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 224 | 13:11:41 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ubuntu-cust expires on 2013-12-23 18:04:38 UTC |
| 225 | 13:11:41 INFO omni: Creating sliver(s) from rspec file ./gram-2vm-ubuntu-cust.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ubuntu-cust |
| 226 | 13:24:16 INFO omni: Got return from CreateSliver for slice ln-ubuntu-cust at https://128.89.72.112:5002: |
| 227 | 13:24:16 INFO omni: <?xml version="1.0" ?> |
| 228 | 13:24:16 INFO omni: <!-- Reserved resources for: |
| 229 | Slice: ln-ubuntu-cust |
| 230 | at AM: |
| 231 | URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 232 | URL: https://128.89.72.112:5002 |
| 233 | --> |
| 234 | 13:24:16 INFO omni: |
| 235 | <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd"> |
| 236 | <node client_id="VM-1" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vmf989c00e-bb4e-4c6d-af19-e073b5902f57"> |
| 237 | <interface client_id="VM-1:if0" mac_address="fa:16:3e:21:f7:d6" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface966397be-da63-4f61-b95f-3a2d90bf2c4a"> |
| 238 | <ip address="172.16.1.1" type="ip"/> |
| 239 | </interface> |
| 240 | <sliver_type name="m1.small"> |
| 241 | <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Ubuntu-custom" os="Linux" version="12"/> |
| 242 | </sliver_type> |
| 243 | <services> |
| 244 | <login authentication="ssh-keys" hostname="128.89.72.121" port="3000" username="lnevers"/> |
| 245 | </services> |
| 246 | <host name="VM-1"/> |
| 247 | </node> |
| 248 | <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+link82eb8336-2f4a-4784-85bf-7b4fd6e29d35" vlantag="1001"> |
| 249 | <interface_ref client_id="VM-1:if0"/> |
| 250 | <interface_ref client_id="VM-2:if0"/> |
| 251 | <property dest_id="VM-2:if0" source_id="VM-1:if0"/> |
| 252 | <property dest_id="VM-1:if0" source_id="VM-2:if0"/> |
| 253 | </link> |
| 254 | <node client_id="VM-2" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vmd1d9e863-73d0-4a4e-bade-21d9cd15888d"> |
| 255 | <interface client_id="VM-2:if0" mac_address="fa:16:3e:f3:78:a3" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface84a4adee-0ab1-45d4-a9ea-d5b22c612faf"> |
| 256 | <ip address="172.16.1.2" type="ip"/> |
| 257 | </interface> |
| 258 | <sliver_type name="m1.small"> |
| 259 | <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Ubuntu-custom" os="Linux" version="12"/> |
| 260 | </sliver_type> |
| 261 | <services> |
| 262 | <login authentication="ssh-keys" hostname="128.89.72.121" port="3001" username="lnevers"/> |
| 263 | </services> |
| 264 | <host name="VM-2"/> |
| 265 | </node> |
| 266 | </rspec> |
| 267 | |
| 268 | 13:24:16 INFO omni: ------------------------------------------------------------ |
| 269 | 13:24:16 INFO omni: Completed createsliver: |
| 270 | Args: createsliver ln-ubuntu-cust ./gram-2vm-ubuntu-cust.rspec |
| 271 | |
| 272 | Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram |
| 273 | 13:24:16 INFO omni: ============================================================ |
| 274 | |
| 275 | }}} |
| 276 | Logged in to new hosts and found that all changes part of custom image were available on the newly created sliver. |
| 277 | {{{ |
| 278 | lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 delete_snapshot --options ./optionfile-ubu |
| 279 | 15:50:17 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 280 | 15:50:17 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 281 | 15:50:17 INFO omni: Using control framework portal |
| 282 | 15:50:17 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 283 | 15:50:18 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC |
| 284 | 15:50:18 INFO omni: PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at https://128.89.72.112:5001 |
| 285 | 15:52:41 INFO omni: PerformOperationalAction result for delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at AM URL https://128.89.72.112:5001 |
| 286 | 15:52:41 INFO omni: '' |
| 287 | 15:52:41 INFO omni: ------------------------------------------------------------ |
| 288 | 15:52:41 INFO omni: Completed performoperationalaction: |
| 289 | Args: performoperationalaction 5vm-1lan20 delete_snapshot |
| 290 | |
| 291 | Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC |
| 292 | PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful. |
| 293 | |
| 294 | 15:52:41 INFO omni: ============================================================ |
| 295 | |
| 296 | }}} |
| 297 | |
| 298 | Once test was completed, deleted custom image: |
| 299 | {{{ |
| 300 | $ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 delete_snapshot --options ./optionfile-ubu |
| 301 | 15:50:17 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 302 | 15:50:17 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 303 | 15:50:17 INFO omni: Using control framework portal |
| 304 | 15:50:17 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 305 | 15:50:18 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC |
| 306 | 15:50:18 INFO omni: PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at https://128.89.72.112:5001 |
| 307 | 15:52:41 INFO omni: PerformOperationalAction result for delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at AM URL https://128.89.72.112:5001 |
| 308 | 15:52:41 INFO omni: '' |
| 309 | 15:52:41 INFO omni: ------------------------------------------------------------ |
| 310 | 15:52:41 INFO omni: Completed performoperationalaction: |
| 311 | Args: performoperationalaction 5vm-1lan20 delete_snapshot |
| 312 | |
| 313 | Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC |
| 314 | PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful. |
| 315 | |
| 316 | 15:52:41 INFO omni: ============================================================ |
| 317 | }}} |
| 318 | |
| 319 | Verified removal of custom ubuntu image from the listresources. |
| 320 | |
| 321 | |
| 322 | Created a Fedora custom image: |
| 323 | {{{ |
| 324 | $ omni.py -a gram1 -V3 performoperationalaction lnfed create_snapshot --options ./optionfile-fed |
| 325 | 15:26:15 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 326 | 15:26:15 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 327 | 15:26:15 INFO omni: Using control framework portal |
| 328 | 15:26:15 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 329 | 15:26:16 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed expires on 2013-12-18 18:49:58 UTC |
| 330 | 15:26:16 INFO omni: PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed at https://128.89.72.112:5001 |
| 331 | 15:28:05 INFO omni: PerformOperationalAction result for create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed at AM URL https://128.89.72.112:5001 |
| 332 | 15:28:05 INFO omni: '' |
| 333 | 15:28:05 INFO omni: ------------------------------------------------------------ |
| 334 | 15:28:05 INFO omni: Completed performoperationalaction: |
| 335 | Args: performoperationalaction lnfed create_snapshot |
| 336 | |
| 337 | Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed expires on 2013-12-18 18:49:58 UTC |
| 338 | PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed was successful. |
| 339 | |
| 340 | 15:28:05 INFO omni: ============================================================ |
| 341 | lnevers@arendia:~/gcf-2.4.1/gramrspec$ |
| 342 | }}} |
| 343 | |
| 344 | Verified that new Fedora custom image was part of GRAM listresources: |
| 345 | {{{ |
| 346 | <node component_id="" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false"> |
| 347 | <sliver_type name=""> |
| 348 | <disk_image description="custom" name="ubby"/> |
| 349 | <disk_image description="custom" name="LN_Ubuntu-custom_image"/> |
| 350 | <disk_image description="custom" name="LN-Fedora-custom"/> |
| 351 | <disk_image description="custom" name="ubby2"/> |
| 352 | <disk_image description="custom" name="LN-Ubuntu-custom"/> |
| 353 | </sliver_type> |
| 354 | </node> |
| 355 | |
| 356 | }}} |
| 357 | |
| 358 | Created sliver with Fedora custom image: |
| 359 | {{{ |
| 360 | $ omni.py createsliver lnfed-cust -a gram ./gram-2vm-fedora-cust.rspec |
| 361 | 15:46:13 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 362 | 15:46:13 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 363 | 15:46:13 INFO omni: Using control framework portal |
| 364 | 15:46:13 INFO omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 365 | 15:46:13 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed-cust expires on 2013-12-23 20:45:49 UTC |
| 366 | 15:46:13 INFO omni: Creating sliver(s) from rspec file ./gram-2vm-fedora-cust.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed-cust |
| 367 | 16:00:38 INFO omni: Got return from CreateSliver for slice lnfed-cust at https://128.89.72.112:5002: |
| 368 | 16:00:38 INFO omni: <?xml version="1.0" ?> |
| 369 | 16:00:38 INFO omni: <!-- Reserved resources for: |
| 370 | Slice: lnfed-cust |
| 371 | at AM: |
| 372 | URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 373 | URL: https://128.89.72.112:5002 |
| 374 | --> |
| 375 | 16:00:38 INFO omni: |
| 376 | <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd"> |
| 377 | <node client_id="VM-1" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vm6b037352-0bf1-4331-8907-bb8c07eaaeba"> |
| 378 | <interface client_id="VM-1:if0" mac_address="fa:16:3e:f5:0e:c4" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface8a4bf13e-6978-4887-9bed-83520641a20a"> |
| 379 | <ip address="172.16.1.1" type="ip"/> |
| 380 | </interface> |
| 381 | <sliver_type name="m1.large"> |
| 382 | <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Fedora-custom" os="Linux" version="12"/> |
| 383 | </sliver_type> |
| 384 | <services> |
| 385 | <login authentication="ssh-keys" hostname="128.89.72.121" port="3007" username="lnevers"/> |
| 386 | </services> |
| 387 | <host name="VM-1"/> |
| 388 | </node> |
| 389 | <node client_id="VM-2" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-2" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vm14d51e07-786b-456e-9ce4-189330b676f4"> |
| 390 | <interface client_id="VM-2:if0" mac_address="fa:16:3e:6a:4d:42" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interfacee0c11c25-f113-4884-98a2-1cbb0210acb0"> |
| 391 | <ip address="172.16.1.2" type="ip"/> |
| 392 | </interface> |
| 393 | <sliver_type name="m1.large"> |
| 394 | <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Fedora-custom" os="Linux" version="12"/> |
| 395 | </sliver_type> |
| 396 | <services> |
| 397 | <login authentication="ssh-keys" hostname="128.89.72.121" port="3008" username="lnevers"/> |
| 398 | </services> |
| 399 | <host name="VM-2"/> |
| 400 | </node> |
| 401 | <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+linka2d6d988-c0d2-410b-910b-419bd175d462" vlantag="1004"> |
| 402 | <interface_ref client_id="VM-1:if0"/> |
| 403 | <interface_ref client_id="VM-2:if0"/> |
| 404 | <property dest_id="VM-2:if0" source_id="VM-1:if0"/> |
| 405 | <property dest_id="VM-1:if0" source_id="VM-2:if0"/> |
| 406 | </link> |
| 407 | </rspec> |
| 408 | |
| 409 | 16:00:38 INFO omni: ------------------------------------------------------------ |
| 410 | 16:00:38 INFO omni: Completed createsliver: |
| 411 | Args: createsliver lnfed-cust ./gram-2vm-fedora-cust.rspec |
| 412 | |
| 413 | Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram |
| 414 | 16:00:38 INFO omni: ============================================================ |
| 415 | }}} |
| 416 | |
| 417 | Verified presence of customizations. |
| 418 | |
| 419 | == Step 4. Define a request RSpec for two VMs with the default Ubuntu image and request a publically routable IP address == |
| 420 | |
| 421 | Created the following RSpec which includes each of the two supported syntax described at https://superior.bbn.com/trac/bbn-rack/wiki/UserGuide#RspecExtenstions: |
| 422 | {{{ |
| 423 | <rspec type="request" |
| 424 | xmlns="http://www.geni.net/resources/rspec/3" |
| 425 | xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" |
| 426 | xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" |
| 427 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 428 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 429 | http://www.geni.net/resources/rspec/3/request.xsd |
| 430 | http://www.protogeni.net/resources/rspec/ext/emulab/1 |
| 431 | http://www.protogeni.net/resources/rspec/ext/emulab/1/vtop_extension.xsd"> |
| 432 | |
| 433 | <node client_id="VM-1" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1"> |
| 434 | <emulab:routable_control_ip xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
| 435 | <sliver_type name="m1.small" /> |
| 436 | <interface client_id="VM-1:if0" > |
| 437 | <ip address="172.16.1.1" netmask="255.255.0.0" /> |
| 438 | </interface> |
| 439 | </node> |
| 440 | <node client_id="VM-2" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" external_ip="true" > |
| 441 | <sliver_type name="m1.small" /> |
| 442 | <interface client_id="VM-2:if0" > |
| 443 | <ip address="172.16.1.2" netmask="255.255.0.0" /> |
| 444 | </interface> |
| 445 | </node> |
| 446 | <link client_id="link"> |
| 447 | <interface_ref client_id="VM-1:if0"/> |
| 448 | <interface_ref client_id="VM-2:if0"/> |
| 449 | <property source_id="VM-1:if0" dest_id="VM-2:if0"/> |
| 450 | <property source_id="VM-2:if0" dest_id="VM-1:if0"/> |
| 451 | </link> |
| 452 | </rspec> |
| 453 | |
| 454 | }}} |
| 455 | |
| 456 | == Step 5. Create the first slice. == |
| 457 | Created the slice: |
| 458 | {{{ |
| 459 | $ omni.py createslice GR-EXP-2-exp1 |
| 460 | 12:35:19 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 461 | 12:35:19 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 462 | 12:35:19 INFO omni: Using control framework portal |
| 463 | 12:35:19 INFO omni: Created slice with Name GR-EXP-2-exp1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1, Expiration 2013-12-20 17:35:19 |
| 464 | 12:35:19 INFO omni: ------------------------------------------------------------ |
| 465 | 12:35:19 INFO omni: Completed createslice: |
| 466 | Args: createslice GR-EXP-2-exp1 |
| 467 | Result Summary: Created slice with Name GR-EXP-2-exp1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1, Expiration 2013-12-20 17:35:19 |
| 468 | 12:35:19 INFO omni: ============================================================ |
| 469 | }}} |
| 470 | |
| 471 | == Step 6. Create a sliver == |
| 472 | Create sliver for the the GR-EXP-2-exp1 slice using the RSpec defined in step 4: |
| 473 | {{{ |
| 474 | $ omni.py createsliver GR-EXP-2-exp1 -a gram ./GR-EXP-2-exp1.rspec |
| 475 | 12:36:39 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 476 | 12:36:39 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 477 | 12:36:39 INFO omni: Using control framework portal |
| 478 | 12:36:39 INFO omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 479 | 12:36:39 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1 expires on 2013-12-20 17:35:19 UTC |
| 480 | 12:36:39 INFO omni: Creating sliver(s) from rspec file ./GR-EXP-2-exp1.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1 |
| 481 | 12:48:34 INFO omni: Got return from CreateSliver for slice GR-EXP-2-exp1 at https://128.89.72.112:5002: |
| 482 | 12:48:34 INFO omni: <?xml version="1.0" ?> |
| 483 | 12:48:34 INFO omni: <!-- Reserved resources for: |
| 484 | Slice: GR-EXP-2-exp1 |
| 485 | at AM: |
| 486 | URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 487 | URL: https://128.89.72.112:5002 |
| 488 | --> |
| 489 | 12:48:34 INFO omni: |
| 490 | <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://www.protogeni.net/resources/rspec/ext/emulab/1 http://www.protogeni.net/resources/rspec/ext/emulab/1/vtop_extension.xsd"> |
| 491 | <node client_id="VM-2" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vmad31c104-ed08-4342-8541-c9ac035d2a0a"> |
| 492 | <interface client_id="VM-2:if0" mac_address="fa:16:3e:00:fb:d1" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface41e93cab-503f-47c6-b50f-7ec572a0be64"> |
| 493 | <ip address="172.16.1.2" type="ip"/> |
| 494 | </interface> |
| 495 | <sliver_type name="m1.small"> |
| 496 | <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 497 | </sliver_type> |
| 498 | <services> |
| 499 | <login authentication="ssh-keys" hostname="128.89.72.124" port="22" username="lnevers"/> |
| 500 | </services> |
| 501 | <host name="VM-2"/> |
| 502 | </node> |
| 503 | <node client_id="VM-1" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vm12e67b21-ef66-4b8f-8e23-302dc3881570"> |
| 504 | <interface client_id="VM-1:if0" mac_address="fa:16:3e:53:1f:31" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface6ec551f0-92a7-4aae-9676-e983336edfa1"> |
| 505 | <ip address="172.16.1.1" type="ip"/> |
| 506 | </interface> |
| 507 | <sliver_type name="m1.small"> |
| 508 | <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 509 | </sliver_type> |
| 510 | <services> |
| 511 | <login authentication="ssh-keys" hostname="128.89.72.125" port="22" username="lnevers"/> |
| 512 | </services> |
| 513 | <host name="VM-1"/> |
| 514 | </node> |
| 515 | <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+link0d3f51ce-5aca-4366-bbee-c2e2865fb4e7" vlantag="1002"> |
| 516 | <interface_ref client_id="VM-1:if0"/> |
| 517 | <interface_ref client_id="VM-2:if0"/> |
| 518 | <property dest_id="VM-2:if0" source_id="VM-1:if0"/> |
| 519 | <property dest_id="VM-1:if0" source_id="VM-2:if0"/> |
| 520 | </link> |
| 521 | </rspec> |
| 522 | |
| 523 | 12:48:34 INFO omni: ------------------------------------------------------------ |
| 524 | 12:48:34 INFO omni: Completed createsliver: |
| 525 | Args: createsliver GR-EXP-2-exp1 ./GR-EXP-2-exp1.rspec |
| 526 | |
| 527 | Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram |
| 528 | 12:48:34 INFO omni: ============================================================ |
| 529 | }}} |
| 530 | |
| 531 | |
| 532 | Determine login information and verify publically routable IP address assignment: |
| 533 | {{{ |
| 534 | $ readyToLogin.py -a gram GR-EXP-2-exp1 |
| 535 | ... |
| 536 | ================================================================================ |
| 537 | LOGIN INFO for AM: https://128.89.72.112:5002 |
| 538 | ================================================================================ |
| 539 | |
| 540 | For more login info, see the section entitled: |
| 541 | 'Providing a private key to ssh' in 'readyToLogin.py -h' |
| 542 | |
| 543 | VM-1's geni_status is: (am_status:) |
| 544 | User lnevers logs in to VM-1 using: |
| 545 | ssh -i ~/.ssh/id_rsa lnevers@128.89.72.125 |
| 546 | |
| 547 | VM-2's geni_status is: (am_status:) |
| 548 | User lnevers logs in to VM-2 using: |
| 549 | ssh -i ~/.ssh/id_rsa lnevers@128.89.72.124 |
| 550 | }}} |
| 551 | |
| 552 | '''Note''': IP Addresses assigned are routable. |
| 553 | |
| 554 | == Step 7. Log in to each of the VM and send traffic to the other VM == |
| 555 | |
| 556 | Logged into to VM-1 and pinged VM-2: |
| 557 | {{{ |
| 558 | $ ssh -i ~/.ssh/id_rsa lnevers@128.89.72.125 |
| 559 | Warning: Permanently added '128.89.72.125' (RSA) to the list of known hosts. |
| 560 | Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-virtual x86_64) |
| 561 | |
| 562 | * Documentation: https://help.ubuntu.com/ |
| 563 | |
| 564 | System information as of Fri Dec 13 17:55:24 UTC 2013 |
| 565 | |
| 566 | System load: 0.0 Processes: 62 |
| 567 | Usage of /: 3.9% of 19.68GB Users logged in: 0 |
| 568 | Memory usage: 2% IP address for eth0: 192.168.10.7 |
| 569 | Swap usage: 0% IP address for eth1: 172.16.1.1 |
| 570 | |
| 571 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 572 | |
| 573 | Get cloud support with Ubuntu Advantage Cloud Guest: |
| 574 | http://www.ubuntu.com/business/services/cloud |
| 575 | |
| 576 | Use Juju to deploy your cloud instances and workloads: |
| 577 | https://juju.ubuntu.com/#cloud-precise |
| 578 | |
| 579 | 0 packages can be updated. |
| 580 | 0 updates are security updates. |
| 581 | |
| 582 | |
| 583 | The programs included with the Ubuntu system are free software; |
| 584 | the exact distribution terms for each program are described in the |
| 585 | individual files in /usr/share/doc/*/copyright. |
| 586 | |
| 587 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 588 | applicable law. |
| 589 | |
| 590 | lnevers@vm-1:~$ /sbin/ifconfig eth1 |
| 591 | eth1 Link encap:Ethernet HWaddr fa:16:3e:53:1f:31 |
| 592 | inet addr:172.16.1.1 Bcast:172.16.255.255 Mask:255.255.0.0 |
| 593 | inet6 addr: fe80::f816:3eff:fe53:1f31/64 Scope:Link |
| 594 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 595 | RX packets:122 errors:0 dropped:0 overruns:0 frame:0 |
| 596 | TX packets:46 errors:0 dropped:0 overruns:0 carrier:0 |
| 597 | collisions:0 txqueuelen:1000 |
| 598 | RX bytes:24670 (24.6 KB) TX bytes:10464 (10.4 KB) |
| 599 | |
| 600 | lnevers@vm-1:~$ ping -c 60 -q 172.16.1.2 |
| 601 | PING 172.16.1.2 (172.16.1.2) 56(84) bytes of data. |
| 602 | |
| 603 | --- 172.16.1.2 ping statistics --- |
| 604 | 60 packets transmitted, 60 received, 0% packet loss, time 58997ms |
| 605 | rtt min/avg/max/mdev = 0.221/0.293/1.216/0.128 ms |
| 606 | lnevers@vm-1:~$ |
| 607 | }}} |
| 608 | |
| 609 | Logged into to VM-2 and pinged VM-1: |
| 610 | {{{ |
| 611 | $ ssh -i ~/.ssh/id_rsa lnevers@128.89.72.124 |
| 612 | Warning: Permanently added '128.89.72.124' (RSA) to the list of known hosts. |
| 613 | Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-virtual x86_64) |
| 614 | |
| 615 | * Documentation: https://help.ubuntu.com/ |
| 616 | |
| 617 | System information as of Fri Dec 13 17:55:31 UTC 2013 |
| 618 | |
| 619 | System load: 0.0 Processes: 62 |
| 620 | Usage of /: 3.9% of 19.68GB Users logged in: 0 |
| 621 | Memory usage: 2% IP address for eth0: 192.168.10.6 |
| 622 | Swap usage: 0% IP address for eth1: 172.16.1.2 |
| 623 | |
| 624 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 625 | |
| 626 | Get cloud support with Ubuntu Advantage Cloud Guest: |
| 627 | http://www.ubuntu.com/business/services/cloud |
| 628 | |
| 629 | Use Juju to deploy your cloud instances and workloads: |
| 630 | https://juju.ubuntu.com/#cloud-precise |
| 631 | |
| 632 | 0 packages can be updated. |
| 633 | 0 updates are security updates. |
| 634 | |
| 635 | |
| 636 | The programs included with the Ubuntu system are free software; |
| 637 | the exact distribution terms for each program are described in the |
| 638 | individual files in /usr/share/doc/*/copyright. |
| 639 | |
| 640 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 641 | applicable law. |
| 642 | |
| 643 | /sbilnevers@vm-2:~$ /sbin/ifconfig eth1 |
| 644 | eth1 Link encap:Ethernet HWaddr fa:16:3e:00:fb:d1 |
| 645 | inet addr:172.16.1.2 Bcast:172.16.255.255 Mask:255.255.0.0 |
| 646 | inet6 addr: fe80::f816:3eff:fe00:fbd1/64 Scope:Link |
| 647 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 648 | RX packets:162 errors:0 dropped:0 overruns:0 frame:0 |
| 649 | TX packets:32 errors:0 dropped:0 overruns:0 carrier:0 |
| 650 | collisions:0 txqueuelen:1000 |
| 651 | RX bytes:36207 (36.2 KB) TX bytes:9876 (9.8 KB) |
| 652 | |
| 653 | lnevers@vm-2:~$ ping -c 60 -q 172.16.1.1 |
| 654 | PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data. |
| 655 | |
| 656 | --- 172.16.1.1 ping statistics --- |
| 657 | 60 packets transmitted, 60 received, 0% packet loss, time 58996ms |
| 658 | rtt min/avg/max/mdev = 0.212/0.265/0.577/0.059 ms |
| 659 | lnevers@vm-2:~$ |
| 660 | |
| 661 | }}} |
| 662 | |
| 663 | == Step 8. Using root privileges on one of the VMs load a Kernel module. If not supported on !OpenStack nodes, testing will proceed past this step. == |
| 664 | |
| 665 | The following commands are executed: |
| 666 | {{{ |
| 667 | lnevers@vm-2:~$ id |
| 668 | uid=1001(lnevers) gid=1001(lnevers) groups=1001(lnevers) |
| 669 | lnevers@vm-2:~$ sudo lsmod |
| 670 | Module Size Used by |
| 671 | isofs 40257 0 |
| 672 | psmouse 97519 0 |
| 673 | virtio_balloon 13108 0 |
| 674 | serio_raw 13211 0 |
| 675 | acpiphp 24231 0 |
| 676 | floppy 70207 0 |
| 677 | lnevers@vm-2:~$ sudo modprobe dummy |
| 678 | lnevers@vm-2:~$ sudo lsmod |egrep dummy |
| 679 | dummy 12957 0 |
| 680 | lnevers@vm-2:~$ sudo modprobe -r dummy |
| 681 | lnevers@vm-2:~$ sudo lsmod |egrep dummy |
| 682 | lnevers@vm-2:~$ |
| 683 | }}} |
| 684 | |
| 685 | |
| 686 | == Step 9. + 10. Exchange traffic traffic == |
| 687 | Initial test definition includes netcat traffic, but was replace by iperf. The following measurements were collected from VM-2 to VM-1: |
| 688 | |
| 689 | '''Iperf GRAM BBN-CAM VM-2 to VM-1 (TCP) - TCP window size: 23.5 KByte (default)''' |
| 690 | |
| 691 | ''Collected: 2013-XX-XX'' |
| 692 | |
| 693 | __One Client_ |
| 694 | {{{ |
| 695 | [ ID] Interval Transfer Bandwidth |
| 696 | [ 3] 0.0-60.0 sec 121 GBytes 17.4 Gbits/sec |
| 697 | }}} |
| 698 | |
| 699 | __Five Clients__ |
| 700 | {{{ |
| 701 | [ ID] Interval Transfer Bandwidth |
| 702 | [ 4] 0.0-60.0 sec 25.0 GBytes 3.59 Gbits/sec |
| 703 | [ 7] 0.0-60.0 sec 25.0 GBytes 3.58 Gbits/sec |
| 704 | [ 5] 0.0-60.0 sec 25.0 GBytes 3.58 Gbits/sec |
| 705 | [ 6] 0.0-60.0 sec 24.9 GBytes 3.57 Gbits/sec |
| 706 | [ 3] 0.0-60.0 sec 24.9 GBytes 3.56 Gbits/sec |
| 707 | [SUM] 0.0-60.0 sec 125 GBytes 17.9 Gbits/sec |
| 708 | }}} |
| 709 | |
| 710 | __Ten Clients__ |
| 711 | {{{ |
| 712 | [ ID] Interval Transfer Bandwidth |
| 713 | [ 6] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec |
| 714 | [ 7] 0.0-60.0 sec 11.6 GBytes 1.66 Gbits/sec |
| 715 | [ 12] 0.0-60.0 sec 11.1 GBytes 1.59 Gbits/sec |
| 716 | [ 8] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec |
| 717 | [ 9] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec |
| 718 | [ 10] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec |
| 719 | [ 5] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec |
| 720 | [ 4] 0.0-60.0 sec 11.6 GBytes 1.66 Gbits/sec |
| 721 | [ 11] 0.0-60.0 sec 11.1 GBytes 1.58 Gbits/sec |
| 722 | [ 3] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec |
| 723 | [SUM] 0.0-60.0 sec 114 GBytes 16.4 Gbits/sec |
| 724 | }}} |
| 725 | |
| 726 | '''Iperf GRAM BBN-CAM VM-2 to the VM-1 (UDP) - UDP buffer size: 224 KByte (default)''' |
| 727 | {{{ |
| 728 | [ ID] Interval Transfer Bandwidth |
| 729 | [ 3] 0.0-60.0 sec 719 MBytes 101 Mbits/sec |
| 730 | [ 3] Sent 512821 datagrams |
| 731 | [ 3] Server Report: |
| 732 | [ 3] 0.0-60.0 sec 719 MBytes 101 Mbits/sec 0.001 ms 0/512820 (0%) |
| 733 | [ 3] 0.0-60.0 sec 1 datagrams received out-of-order |
| 734 | }}} |
| 735 | |
| 736 | '''Ping from GRAM BBN-CAM VM-2 to the VM-1 ''' |
| 737 | {{{ |
| 738 | 60 packets transmitted, 60 received, 0% packet loss, time 58996ms |
| 739 | rtt min/avg/max/mdev = 0.212/0.265/0.577/0.059 ms |
| 740 | }}} |
| 741 | |
| 742 | |
| 743 | == Step 11. As Experimenter2, request !ListResources from Site2 GRAM. == |
| 744 | |
| 745 | As experimenter lnevers2, issued a listresources for GRAM: |
| 746 | {{{ |
| 747 | lnevers2@arendia:~/gcf-2.4.1$ omni.py listresources -a gram |
| 748 | 13:10:29 INFO omni: Config file '/home/lnevers2/.gcf/agg_nick_cache' or '/home/lnevers2/.gcf/agg_nick_cache' does not exist |
| 749 | 13:10:29 INFO omni: Downloaded latest `agg_nick_cache` from 'http://trac.gpolab.bbn.com/gcf/raw-attachment/wiki/Omni/agg_nick_cache' and copied to '/home/lnevers2/.gcf/agg_nick_cache'. |
| 750 | 13:10:29 INFO omni: Loading agg_nick_cache file '/home/lnevers2/.gcf/agg_nick_cache' |
| 751 | 13:10:29 INFO omni: Loading config file /home/lnevers2/.gcf/omni_config |
| 752 | 13:10:29 INFO omni: Using control framework portal |
| 753 | 13:10:29 INFO omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 754 | 13:10:30 INFO omni: Listed advertised resources at 1 out of 1 possible aggregates. |
| 755 | 13:10:30 INFO omni: <?xml version="1.0" ?> |
| 756 | 13:10:30 INFO omni: <!-- Resources at AM: |
| 757 | URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 758 | URL: https://128.89.72.112:5002 |
| 759 | --> |
| 760 | 13:10:30 INFO omni: <rspec type="advertisement" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/ad.xsd http://www.geni.net/resources/rspec/ext/opstate/1 http://www.geni.net/resources/rspec/ext/opstate/1/ad.xsd"> |
| 761 | <node component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-1" exclusive="false"> |
| 762 | <sliver_type name="m1.tiny"> |
| 763 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 764 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 765 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 766 | </sliver_type> |
| 767 | <sliver_type name="m1.small"> |
| 768 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 769 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 770 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 771 | </sliver_type> |
| 772 | <sliver_type name="m1.medium"> |
| 773 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 774 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 775 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 776 | </sliver_type> |
| 777 | <sliver_type name="m1.large"> |
| 778 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 779 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 780 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 781 | </sliver_type> |
| 782 | <sliver_type name="m1.xlarge"> |
| 783 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 784 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 785 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 786 | </sliver_type> |
| 787 | </node> |
| 788 | |
| 789 | <node component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-2" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-2" exclusive="false"> |
| 790 | <sliver_type name="m1.tiny"> |
| 791 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 792 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 793 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 794 | </sliver_type> |
| 795 | <sliver_type name="m1.small"> |
| 796 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 797 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 798 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 799 | </sliver_type> |
| 800 | <sliver_type name="m1.medium"> |
| 801 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 802 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 803 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 804 | </sliver_type> |
| 805 | <sliver_type name="m1.large"> |
| 806 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 807 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 808 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 809 | </sliver_type> |
| 810 | <sliver_type name="m1.xlarge"> |
| 811 | <disk_image description="" name="fedora-19" os="Linux" version="12"/> |
| 812 | <disk_image description="" name="ubby" os="Linux" version="12"/> |
| 813 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 814 | </sliver_type> |
| 815 | </node> |
| 816 | |
| 817 | <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_NOT_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1"> |
| 818 | <sliver_type name="m1.tiny"/> |
| 819 | <sliver_type name="m1.small"/> |
| 820 | <sliver_type name="m1.medium"/> |
| 821 | <sliver_type name="m1.large"/> |
| 822 | <sliver_type name="m1.xlarge"/> |
| 823 | <state name="OPSTATE_GENI_NOT_READY"> |
| 824 | <action name="geni_start" next="OPSTATE_GENI_READY"> |
| 825 | <description> Boot the node </description> |
| 826 | </action> |
| 827 | <description> VMs begin powered down or inactive. They must be explicitly booted before use. </description> |
| 828 | </state> |
| 829 | </rspec_opstate> |
| 830 | |
| 831 | <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1"> |
| 832 | <sliver_type name="m1.tiny"/> |
| 833 | <sliver_type name="m1.small"/> |
| 834 | <sliver_type name="m1.medium"/> |
| 835 | <sliver_type name="m1.large"/> |
| 836 | <sliver_type name="m1.xlarge"/> |
| 837 | <state name="OPSTATE_GENI_READY"> |
| 838 | <action name="geni_restart" next="OPSTATE_GENI_READY"> |
| 839 | <description> Reboot the node </description> |
| 840 | </action> |
| 841 | <action name="geni_stop" next="OPSTATE_GENI_READY"> |
| 842 | <description> The state of the VM </description> |
| 843 | </action> |
| 844 | <description> The VM has been booted and is ready </description> |
| 845 | </state> |
| 846 | </rspec_opstate> |
| 847 | </rspec> |
| 848 | 13:10:30 INFO omni: ------------------------------------------------------------ |
| 849 | 13:10:30 INFO omni: Completed listresources: |
| 850 | Args: listresources |
| 851 | |
| 852 | Result Summary: Queried resources from 1 of 1 aggregate(s). |
| 853 | |
| 854 | 13:10:30 INFO omni: ============================================================ |
| 855 | lnevers2@arendia:~/gcf-2.4.1$ |
| 856 | }}} |
| 857 | |
| 858 | |
| 859 | == Step 12. Define a request RSpec for two physical nodes== |
| 860 | Physical nodes not available, VMs used: |
| 861 | |
| 862 | The following RSpec was defined: |
| 863 | {{{ |
| 864 | <rspec type="request" |
| 865 | xmlns="http://www.geni.net/resources/rspec/3" |
| 866 | xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" |
| 867 | xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" |
| 868 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 869 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 870 | http://www.geni.net/resources/rspec/3/request.xsd"> |
| 871 | |
| 872 | <node client_id="VM-1" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1"> |
| 873 | <sliver_type name="m1.small" /> |
| 874 | <interface client_id="VM-1:if0" > |
| 875 | <ip address="172.16.1.1" netmask="255.255.0.0" /> |
| 876 | </interface> |
| 877 | </node> |
| 878 | <node client_id="VM-2" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1"> |
| 879 | <sliver_type name="m1.small" /> |
| 880 | <interface client_id="VM-2:if0" > |
| 881 | <ip address="172.16.1.2" netmask="255.255.0.0" /> |
| 882 | </interface> |
| 883 | </node> |
| 884 | <link client_id="link"> |
| 885 | <interface_ref client_id="VM-1:if0"/> |
| 886 | <interface_ref client_id="VM-2:if0"/> |
| 887 | <property source_id="VM-1:if0" dest_id="VM-2:if0"/> |
| 888 | <property source_id="VM-2:if0" dest_id="VM-1:if0"/> |
| 889 | </link> |
| 890 | </rspec> |
| 891 | |
| 892 | |
| 893 | }}} |
| 894 | |
| 895 | == Step 13. Create the second slice. == |
| 896 | |
| 897 | Created slice: |
| 898 | {{{ |
| 899 | $ omni.py createslice GR-EXP-1-exp2 |
| 900 | 13:12:32 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 901 | 13:12:32 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 902 | 13:12:32 INFO omni: Using control framework portal |
| 903 | |
| 904 | 13:12:32 INFO omni: Created slice with Name GR-EXP-1-exp2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2, Expiration 2013-12-20 18:12:32 |
| 905 | 13:12:32 INFO omni: ------------------------------------------------------------ |
| 906 | 13:12:32 INFO omni: Completed createslice: |
| 907 | Args: createslice GR-EXP-1-exp2 |
| 908 | Result Summary: Created slice with Name GR-EXP-1-exp2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2, Expiration 2013-12-20 18:12:32 |
| 909 | 13:12:32 INFO omni: ============================================================ |
| 910 | }}} |
| 911 | |
| 912 | == Step 14. Create a sliver in the second slice, using the RSpec defined in step 12. == |
| 913 | |
| 914 | Created sliver: |
| 915 | {{{ |
| 916 | $ omni.py createsliver -a gram2 -V2 GR-EXP-1-exp2 ./GR-EXP-2-exp2.rspec |
| 917 | 13:12:53 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' |
| 918 | 13:12:53 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 919 | 13:12:53 INFO omni: Using control framework portal |
| 920 | 13:12:53 INFO omni: Substituting AM nickname gram2 with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 921 | 13:12:54 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2 expires on 2013-12-20 18:12:32 UTC |
| 922 | 13:12:54 INFO omni: Creating sliver(s) from rspec file ./GR-EXP-2-exp2.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2 |
| 923 | 13:24:06 INFO omni: Got return from CreateSliver for slice GR-EXP-1-exp2 at https://128.89.72.112:5002: |
| 924 | 13:24:06 INFO omni: <?xml version="1.0" ?> |
| 925 | 13:24:06 INFO omni: <!-- Reserved resources for: |
| 926 | Slice: GR-EXP-1-exp2 |
| 927 | at AM: |
| 928 | URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am |
| 929 | URL: https://128.89.72.112:5002 |
| 930 | --> |
| 931 | 13:24:06 INFO omni: |
| 932 | <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd"> |
| 933 | <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+linkaf9f19cb-b0e3-40ed-97b4-29ba5c927763" vlantag="1003"> |
| 934 | <interface_ref client_id="VM-1:if0"/> |
| 935 | <interface_ref client_id="VM-2:if0"/> |
| 936 | <property dest_id="VM-2:if0" source_id="VM-1:if0"/> |
| 937 | <property dest_id="VM-1:if0" source_id="VM-2:if0"/> |
| 938 | </link> |
| 939 | <node client_id="VM-2" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vmda02ca76-aeb0-4ca6-acfe-ced39859ac50"> |
| 940 | <interface client_id="VM-2:if0" mac_address="fa:16:3e:d4:e0:a0" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interfacecf75916a-aad2-41a5-a278-c1d2e8dace9b"> |
| 941 | <ip address="172.16.1.2" type="ip"/> |
| 942 | </interface> |
| 943 | <sliver_type name="m1.small"> |
| 944 | <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 945 | </sliver_type> |
| 946 | <services> |
| 947 | <login authentication="ssh-keys" hostname="128.89.72.121" port="3005" username="lnevers"/> |
| 948 | </services> |
| 949 | <host name="VM-2"/> |
| 950 | </node> |
| 951 | <node client_id="VM-1" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vm2553f5e1-6d11-4f18-b000-caac56ce3d82"> |
| 952 | <interface client_id="VM-1:if0" mac_address="fa:16:3e:d7:5b:71" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface1229bf8c-b8d7-46ce-b90e-d64effc2d408"> |
| 953 | <ip address="172.16.1.1" type="ip"/> |
| 954 | </interface> |
| 955 | <sliver_type name="m1.small"> |
| 956 | <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 957 | </sliver_type> |
| 958 | <services> |
| 959 | <login authentication="ssh-keys" hostname="128.89.72.121" port="3006" username="lnevers"/> |
| 960 | </services> |
| 961 | <host name="VM-1"/> |
| 962 | </node> |
| 963 | </rspec> |
| 964 | |
| 965 | 13:24:06 INFO omni: ------------------------------------------------------------ |
| 966 | 13:24:06 INFO omni: Completed createsliver: |
| 967 | Args: createsliver GR-EXP-1-exp2 ./GR-EXP-2-exp2.rspec |
| 968 | |
| 969 | Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram |
| 970 | 13:24:06 INFO omni: ============================================================ |
| 971 | }}} |
| 972 | |
| 973 | == Step 15. Log in to each of the systems, and send traffic to the other system. == |
| 974 | |
| 975 | Determine login: |
| 976 | {{{ |
| 977 | $ readyToLogin.py -a gram GR-EXP-1-exp2 |
| 978 | ... |
| 979 | ================================================================================ |
| 980 | LOGIN INFO for AM: https://128.89.72.112:5002 |
| 981 | ================================================================================ |
| 982 | |
| 983 | For more login info, see the section entitled: |
| 984 | 'Providing a private key to ssh' in 'readyToLogin.py -h' |
| 985 | |
| 986 | VM-1's geni_status is: (am_status:) |
| 987 | User lnevers logs in to VM-1 using: |
| 988 | ssh -p 3006 -i ~/.ssh/id_rsa lnevers@128.89.72.121 |
| 989 | |
| 990 | VM-2's geni_status is: (am_status:) |
| 991 | User lnevers logs in to VM-2 using: |
| 992 | ssh -p 3005 -i ~/.ssh/id_rsa lnevers@128.89.72.121 |
| 993 | |
| 994 | |
| 995 | }}} |
| 996 | |
| 997 | == Step 16. Verify that experimenters 1 and 2 cannot use the control plane to access each other's resources. == |
| 998 | |
| 999 | Tried to exchange traffic between host in different slices and access resources as incorrect user, but was not able to find any access issue. |
| 1000 | |
| 1001 | == Step 17. Review system statistics and VM isolation and network isolation on data plane. == |
| 1002 | |
| 1003 | Reviewed system statistics on allocated nodes: |
| 1004 | {{{ |
| 1005 | lnevers2@exp2-host2:~$ vmstat -s |
| 1006 | |
| 1007 | |
| 1008 | lnevers2@exp2-host2:~$ top |
| 1009 | |
| 1010 | }}} |
| 1011 | |
| 1012 | |
| 1013 | == Step 18. Verify that each VM has a distinct MAC address for that interface. == |
| 1014 | |
| 1015 | Verified that MAC addresses are unique and match the value in the manifest. |
| 1016 | |
| 1017 | GR-EXP-2-exp1 - VM-1: |
| 1018 | {{{ |
| 1019 | lnevers@vm-1:~$ /sbin/ifconfig|grep HW |
| 1020 | eth0 Link encap:Ethernet HWaddr fa:16:3e:97:ec:da |
| 1021 | eth1 Link encap:Ethernet HWaddr fa:16:3e:53:1f:31 |
| 1022 | lnevers@vm-1:~$ |
| 1023 | }}} |
| 1024 | GR-EXP-2-exp1 - VM-2: |
| 1025 | {{{ |
| 1026 | lnevers@vm-2:~$ /sbin/ifconfig|grep HW |
| 1027 | eth0 Link encap:Ethernet HWaddr fa:16:3e:a3:72:db |
| 1028 | eth1 Link encap:Ethernet HWaddr fa:16:3e:00:fb:d1 |
| 1029 | lnevers@vm-2:~$ |
| 1030 | }}} |
| 1031 | |
| 1032 | GR-EXP-2-exp2 - VM-1: |
| 1033 | {{{ |
| 1034 | lnevers@vm-1:~$ /sbin/ifconfig|grep HW |
| 1035 | eth0 Link encap:Ethernet HWaddr fa:16:3e:c2:86:1b |
| 1036 | eth1 Link encap:Ethernet HWaddr fa:16:3e:d7:5b:71 |
| 1037 | lnevers@vm-1:~$ |
| 1038 | |
| 1039 | }}} |
| 1040 | GR-EXP-2-exp2 - VM-2: |
| 1041 | {{{ |
| 1042 | lnevers@vm-2:~$ /sbin/ifconfig|grep HW |
| 1043 | eth0 Link encap:Ethernet HWaddr fa:16:3e:e0:92:a3 |
| 1044 | eth1 Link encap:Ethernet HWaddr fa:16:3e:d4:e0:a0 |
| 1045 | lnevers@vm-2:~$ |
| 1046 | |
| 1047 | }}} |
| 1048 | |
| 1049 | |
| 1050 | == Step 19. Verify that VMs' MAC addresses are learned on the data plane switch. == |
| 1051 | |
| 1052 | Ability to exchange traffic betweent the hosts demonstrates that MAC addresses are learned. |
| 1053 | |
| 1054 | |
| 1055 | == Step 20. Stop traffic and delete slivers. == |
| 1056 | |
| 1057 | Deleted the two slivers, one sliver had an active ping, while the other was idle. |
| 1058 | Resources were deleted for the idle sliver, but no deleted for the sliver that had |
| 1059 | an active ping. |
| 1060 | |