| 1 | |
| 2 | = Design/Setup = |
| 3 | {{{ |
| 4 | #!html |
| 5 | |
| 6 | <div style="text-align:center; width:495px; margin-left:auto; margin-right:auto;"> |
| 7 | <img id="Image-Maps_5201305222028436" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Setup.jpg?format=raw" usemap="#Image-Maps_5201305222028436" border="0" width="495" height="138" alt="" /> |
| 8 | <map id="_Image-Maps_5201305222028436" name="Image-Maps_5201305222028436"> |
| 9 | <area shape="rect" coords="18,18,135,110" href="http://groups.geni.net/geni/wiki/GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/DesignSetup" alt="" title="" /> |
| 10 | <area shape="rect" coords="180,18,297,111" href="http://groups.geni.net/geni/wiki/GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/Execute" alt="" title="" /> |
| 11 | <area shape="rect" coords="344,17,460,110" href="http://groups.geni.net/geni/wiki/GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/Finish" alt="" title="" /> |
| 12 | <area shape="rect" coords="493,136,495,138" href="http://www.image-maps.com/index.php?aff=mapped_users_5201305222028436" alt="Image Map" title="Image Map" /> |
| 13 | </map> |
| 14 | <!-- Image map text links - End - --> |
| 15 | |
| 16 | </div> |
| 17 | }}} |
| 18 | |
| 19 | |
| 20 | In this part of the tutorial we give a brief overview on the experiment workflow. |
| 21 | GIMI is providing experimenters with a set of tools that will aid them in allocating GENI |
| 22 | resources (currently this is limited to ExoGENI resources), executing experiments, and performing |
| 23 | measurements while these experiments are running. In addition, the GIMI tools will allow |
| 24 | experimenters to analyze and visualize measurement data. Finally, a federated set of iRODS |
| 25 | servers provides an archival service.[[BR]] |
| 26 | The figure below illustrate what we describe as the experiment workflow. |
| 27 | During the tutorial we will walk through the single steps of this workflow with the goal to |
| 28 | have experimenters apply this workflow to their own experiments. |
| 29 | |
| 30 | == Topology == |
| 31 | |
| 32 | The image below illustrates the ExoGENI topology that we will create within the scope of this tutorial. The experiment described above will be |
| 33 | executed on the basis of this topology. |
| 34 | |
| 35 | In Section 1.Reserving Resources, we will go through the process of setting up and obtaining a slice that represents this topology. |
| 36 | |
| 37 | [[Image(GIMI_Experiment_Topo.2.png)]] |
| 38 | |
| 39 | The routing in this topology is set up as follows: |
| 40 | |
| 41 | || Origin Node || Destination Net || Via IP || Node || |
| 42 | || A || 192.168.1.0/24 || 192.168.4.10 || B || |
| 43 | || || 192.168.2.0/24 || 192.168.4.10 || B || |
| 44 | || || 192.168.3.0/24 || 192.168.5.12 || C || |
| 45 | || || 192.168.4.0/24 || 192.168.4.11 || A || |
| 46 | || || 192.168.5.0/24 || 192.168.5.11 || A || |
| 47 | || || 192.168.6.0/24 || 192.168.5.12 || C || |
| 48 | || B || 192.168.1.0/24 || 192.168.1.10 || B || |
| 49 | || || 192.168.2.0/24 || 192.168.2.10 || B || |
| 50 | || || 192.168.3.0/24 || 192.168.1.13 || D || |
| 51 | || || 192.168.4.0/24 || 192.168.4.10 || B || |
| 52 | || || 192.168.5.0/24 || 192.168.4.11 || A || |
| 53 | || || 192.168.6.0/24 || 192.168.2.12 || C || |
| 54 | || C || 192.168.1.0/24 || 192.168.3.13 || D || |
| 55 | || || 192.168.2.0/24 || 192.168.2.12 || C || |
| 56 | || || 192.168.3.0/24 || 192.168.3.12 || C || |
| 57 | || || 192.168.4.0/24 || 192.168.5.11 || A || |
| 58 | || || 192.168.5.0/24 || 192.168.5.12 || C || |
| 59 | || || 192.168.6.0/24 || 192.168.6.12 || C || |
| 60 | || D || 192.168.1.0/24 || 192.168.1.13 || D || |
| 61 | || || 192.168.2.0/24 || 192.168.3.12 || C || |
| 62 | || || 192.168.3.0/24 || 192.168.3.13 || D || |
| 63 | || || 192.168.4.0/24 || 192.168.1.10 || B || |
| 64 | || || 192.168.5.0/24 || 192.168.3.12 || C || |
| 65 | || || 192.168.6.0/24 || 192.168.3.12 || C || |
| 66 | || E || 192.168.1.0/24 || 192.168.6.12 || C || |
| 67 | || || 192.168.2.0/24 || 192.168.6.12 || C || |
| 68 | || || 192.168.3.0/24 || 192.168.6.12 || C || |
| 69 | || || 192.168.4.0/24 || 192.168.6.12 || C || |
| 70 | || || 192.168.5.0/24 || 192.168.6.12 || C || |
| 71 | || || 192.168.6.0/24 || 192.168.6.14 || E || |
| 72 | |
| 73 | ---- |
| 74 | |
| 75 | |
| 76 | == 1. Reserve Resources == |
| 77 | |
| 78 | To create a slice we will use Omni here.[[BR]] To us Omni you will need to download, install and configure Omni on your VM. [[BR]] |
| 79 | |
| 80 | You also need to have the certificate, private and public keys stored on your machine. Please vrify this as follows:[[BR]] |
| 81 | Run: |
| 82 | |
| 83 | {{{ |
| 84 | ls ~/.ssh ~/.ssl |
| 85 | }}} |
| 86 | The output looks like : |
| 87 | {{{ |
| 88 | geni@geni-vm:~$ ls ~/.ssh ~/.ssl |
| 89 | /home/geni/.ssh: |
| 90 | config geni_key geni_key.pub |
| 91 | |
| 92 | /home/geni/.ssl: |
| 93 | geni_cert_enc.pem geni_cert.pem |
| 94 | }}} |
| 95 | |
| 96 | |
| 97 | === 1.1 Create a slice === |
| 98 | |
| 99 | {{{ |
| 100 | omni.py createslice <slicename> |
| 101 | }}} |
| 102 | e.g |
| 103 | omni.py createslice dbhatlabwiki[[BR]] |
| 104 | Sample output |
| 105 | {{{ |
| 106 | INFO:omni:Loading config file /home/dbhat/.gcf/omni_config |
| 107 | INFO:omni:Using control framework portal |
| 108 | INFO:omni:Created slice with Name dbhatlabwiki, URN urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki, Expiration 2013-07-22 00:00:00 |
| 109 | INFO:omni: ------------------------------------------------------------ |
| 110 | INFO:omni: Completed createslice: |
| 111 | |
| 112 | Options as run: |
| 113 | framework: portal |
| 114 | project: GIMITesting |
| 115 | |
| 116 | Args: createslice dbhatlabwiki |
| 117 | |
| 118 | Result Summary: Created slice with Name dbhatlabwiki, URN urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki, Expiration 2013-07-22 00:00:00 |
| 119 | |
| 120 | INFO:omni: ============================================================ |
| 121 | |
| 122 | }}} |
| 123 | |
| 124 | Verify that your slice has been created: |
| 125 | {{{ |
| 126 | /usr/local/bin/gcf/examples$ omni.py listmyslices <username> |
| 127 | }}} |
| 128 | |
| 129 | Sample output: |
| 130 | {{{ |
| 131 | dbhat@bua-1159:/usr/local/bin/gcf/examples$ omni.py listmyslices dbhat |
| 132 | INFO:omni:Loading config file /home/dbhat/.gcf/omni_config |
| 133 | INFO:omni:Using control framework portal |
| 134 | INFO:omni:User 'dbhat' has slice(s): |
| 135 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki |
| 136 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatGIMItest |
| 137 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhattestLab |
| 138 | urn:publicid:IDN+ch.geni.net:GEMINIScalability+slice+testLabwiki |
| 139 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatexoGPO |
| 140 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatexoSM |
| 141 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhattestExoSm |
| 142 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhattestExoSM |
| 143 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+testExoSM |
| 144 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatinstatest |
| 145 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatPortal |
| 146 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatvlcRENCI |
| 147 | urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatvlcTEST |
| 148 | INFO:omni: ------------------------------------------------------------ |
| 149 | INFO:omni: Completed listmyslices: |
| 150 | |
| 151 | Options as run: |
| 152 | framework: portal |
| 153 | project: GIMITesting |
| 154 | |
| 155 | Args: listmyslices dbhat |
| 156 | |
| 157 | Result Summary: Found 13 slice(s) for user 'dbhat'. |
| 158 | |
| 159 | INFO:omni: ============================================================ |
| 160 | |
| 161 | }}} |
| 162 | |
| 163 | === 1.2 Create a Sliver === |
| 164 | |
| 165 | {{{ |
| 166 | omni.py createsliver -a eg-<rackname> <slicename> http://emmy9.casa.umass.edu/GEC-17/exomanualselect.rspec |
| 167 | }}} |
| 168 | |
| 169 | {{{ |
| 170 | omni.py createsliver -a eg-gpo dbhatlabwiki http://emmy9.casa.umass.edu/GEC-17/exomanualselect.rspec |
| 171 | }}} |
| 172 | |
| 173 | Racknames can be: eg-gpo or eg-sm[[BR]] |
| 174 | |
| 175 | The manifest is returned as shown here:[[BR]] |
| 176 | |
| 177 | {{{ |
| 178 | INFO:omni:Loading config file /home/dbhat/.gcf/omni_config |
| 179 | INFO:omni:Using control framework portal |
| 180 | INFO:omni:Substituting AM nickname eg-gpo with URL https://bbn-hn.exogeni.net:11443/orca/xmlrpc, URN unspecified_AM_URN |
| 181 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki expires on 2013-07-22 00:00:00 UTC |
| 182 | INFO:omni:Substituting AM nickname eg-gpo with URL https://bbn-hn.exogeni.net:11443/orca/xmlrpc, URN unspecified_AM_URN |
| 183 | INFO:omni:Substituting AM nickname eg-gpo with URL https://bbn-hn.exogeni.net:11443/orca/xmlrpc, URN unspecified_AM_URN |
| 184 | INFO:omni:Creating sliver(s) from rspec file http://emmy9.casa.umass.edu/GEC-17/exomanualselect.rspec for slice urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki |
| 185 | INFO:omni:Got return from CreateSliver for slice dbhatlabwiki at https://bbn-hn.exogeni.net:11443/orca/xmlrpc: |
| 186 | INFO:omni:<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| 187 | INFO:omni: <!-- Reserved resources for: |
| 188 | Slice: dbhatlabwiki |
| 189 | at AM: |
| 190 | URN: unspecified_AM_URN |
| 191 | URL: https://bbn-hn.exogeni.net:11443/orca/xmlrpc |
| 192 | --> |
| 193 | INFO:omni: |
| 194 | <rspec type="manifest" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1/slice_info.xsd?format=raw http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1/sliver_info.xsd?format=raw http://www.geni.net/resources/rspec/ext/postBootScript/1 http://www.geni.net/resources/rspec/ext/postBootScript/1/request.xsd" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns="http://www.geni.net/resources/rspec/3" xmlns:ns4="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1" xmlns:ns3="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1" xmlns:ns5="http://www.geni.net/resources/rspec/ext/postBootScript/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 195 | <node sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeE" exclusive="false" component_name="orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-vm-cloud" client_id="nodeE"> |
| 196 | <location latitude="42.38974" longitude="-71.14751" country="Unspecified"/> |
| 197 | <sliver_type name="m1.small"> |
| 198 | <disk_image version="375d5861080b85c9b17e8d4c6c431e955e1d72fd" name="http://emmy9.casa.umass.edu/Disk_Images/ExoGENI/exogeni-umass-ovs-1.0.4.xml"/> |
| 199 | </sliver_type> |
| 200 | <services> |
| 201 | <ns5:services_post_boot_script type="velocity">#!/bin/bash |
| 202 | # Automatically generated boot script |
| 203 | |
| 204 | # wget or curl must be installed on the image |
| 205 | mkdir -p /tmp |
| 206 | cd /tmp |
| 207 | if [ -x `which wget 2&gt;/dev/null` ]; then |
| 208 | wget -q http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz |
| 209 | else if [ -x `which curl 2&gt;/dev/null` ]; then |
| 210 | curl http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz &gt; `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 211 | fi |
| 212 | fi |
| 213 | # untar |
| 214 | tar -zxf `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 215 | execString=&quot;/bin/bash -c \&quot;/tmp/postboot_script_exo.sh urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki nodeE\&quot;&quot; |
| 216 | eval $execString |
| 217 | |
| 218 | </ns5:services_post_boot_script> |
| 219 | </services> |
| 220 | <interface mac_address="fe:16:3e:00:50:89" client_id="nodeE:if0"> |
| 221 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.6.14"/> |
| 222 | </interface> |
| 223 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 224 | </node> |
| 225 | <node sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeC" exclusive="false" component_name="orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-vm-cloud" client_id="nodeC"> |
| 226 | <location latitude="42.38974" longitude="-71.14751" country="Unspecified"/> |
| 227 | <sliver_type name="m1.small"> |
| 228 | <disk_image version="375d5861080b85c9b17e8d4c6c431e955e1d72fd" name="http://emmy9.casa.umass.edu/Disk_Images/ExoGENI/exogeni-umass-ovs-1.0.4.xml"/> |
| 229 | </sliver_type> |
| 230 | <services> |
| 231 | <ns5:services_post_boot_script type="velocity">#!/bin/bash |
| 232 | # Automatically generated boot script |
| 233 | |
| 234 | # wget or curl must be installed on the image |
| 235 | mkdir -p /tmp |
| 236 | cd /tmp |
| 237 | if [ -x `which wget 2&gt;/dev/null` ]; then |
| 238 | wget -q http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz |
| 239 | else if [ -x `which curl 2&gt;/dev/null` ]; then |
| 240 | curl http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz &gt; `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 241 | fi |
| 242 | fi |
| 243 | # untar |
| 244 | tar -zxf `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 245 | execString=&quot;/bin/bash -c \&quot;/tmp/postboot_script_exo.sh urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki nodeC\&quot;&quot; |
| 246 | eval $execString |
| 247 | |
| 248 | </ns5:services_post_boot_script> |
| 249 | </services> |
| 250 | <interface mac_address="fe:16:3e:00:1e:6f" client_id="nodeC:if1"> |
| 251 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.2.12"/> |
| 252 | </interface> |
| 253 | <interface mac_address="fe:16:3e:00:66:f2" client_id="nodeC:if3"> |
| 254 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.6.12"/> |
| 255 | </interface> |
| 256 | <interface mac_address="fe:16:3e:00:62:e7" client_id="nodeC:if0"> |
| 257 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.5.12"/> |
| 258 | </interface> |
| 259 | <interface mac_address="fe:16:3e:00:5a:9e" client_id="nodeC:if2"> |
| 260 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.3.12"/> |
| 261 | </interface> |
| 262 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 263 | </node> |
| 264 | <node sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeA" exclusive="false" component_name="orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-vm-cloud" client_id="nodeA"> |
| 265 | <location latitude="42.38974" longitude="-71.14751" country="Unspecified"/> |
| 266 | <sliver_type name="m1.small"> |
| 267 | <disk_image version="375d5861080b85c9b17e8d4c6c431e955e1d72fd" name="http://emmy9.casa.umass.edu/Disk_Images/ExoGENI/exogeni-umass-ovs-1.0.4.xml"/> |
| 268 | </sliver_type> |
| 269 | <services> |
| 270 | <ns5:services_post_boot_script type="velocity">#!/bin/bash |
| 271 | # Automatically generated boot script |
| 272 | |
| 273 | # wget or curl must be installed on the image |
| 274 | mkdir -p /tmp |
| 275 | cd /tmp |
| 276 | if [ -x `which wget 2&gt;/dev/null` ]; then |
| 277 | wget -q http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz |
| 278 | else if [ -x `which curl 2&gt;/dev/null` ]; then |
| 279 | curl http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz &gt; `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 280 | fi |
| 281 | fi |
| 282 | # untar |
| 283 | tar -zxf `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 284 | execString=&quot;/bin/bash -c \&quot;/tmp/postboot_script_exo.sh urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki nodeA\&quot;&quot; |
| 285 | eval $execString |
| 286 | |
| 287 | </ns5:services_post_boot_script> |
| 288 | </services> |
| 289 | <interface mac_address="fe:16:3e:00:5e:55" client_id="nodeA:if1"> |
| 290 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.4.11"/> |
| 291 | </interface> |
| 292 | <interface mac_address="fe:16:3e:00:78:74" client_id="nodeA:if0"> |
| 293 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.5.11"/> |
| 294 | </interface> |
| 295 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 296 | </node> |
| 297 | <node sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeD" exclusive="false" component_name="orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-vm-cloud" client_id="nodeD"> |
| 298 | <location latitude="42.38974" longitude="-71.14751" country="Unspecified"/> |
| 299 | <sliver_type name="m1.small"> |
| 300 | <disk_image version="375d5861080b85c9b17e8d4c6c431e955e1d72fd" name="http://emmy9.casa.umass.edu/Disk_Images/ExoGENI/exogeni-umass-ovs-1.0.4.xml"/> |
| 301 | </sliver_type> |
| 302 | <services> |
| 303 | <ns5:services_post_boot_script type="velocity">#!/bin/bash |
| 304 | # Automatically generated boot script |
| 305 | |
| 306 | # wget or curl must be installed on the image |
| 307 | mkdir -p /tmp |
| 308 | cd /tmp |
| 309 | if [ -x `which wget 2&gt;/dev/null` ]; then |
| 310 | wget -q http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz |
| 311 | else if [ -x `which curl 2&gt;/dev/null` ]; then |
| 312 | curl http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz &gt; `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 313 | fi |
| 314 | fi |
| 315 | # untar |
| 316 | tar -zxf `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 317 | execString=&quot;/bin/bash -c \&quot;/tmp/postboot_script_exo.sh urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki nodeD\&quot;&quot; |
| 318 | eval $execString |
| 319 | |
| 320 | </ns5:services_post_boot_script> |
| 321 | </services> |
| 322 | <interface mac_address="fe:16:3e:00:27:43" client_id="nodeD:if0"> |
| 323 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.3.13"/> |
| 324 | </interface> |
| 325 | <interface mac_address="fe:16:3e:00:79:19" client_id="nodeD:if1"> |
| 326 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.1.13"/> |
| 327 | </interface> |
| 328 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 329 | </node> |
| 330 | <node sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeB" exclusive="false" component_name="orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-vm-cloud" client_id="nodeB"> |
| 331 | <location latitude="42.38974" longitude="-71.14751" country="Unspecified"/> |
| 332 | <sliver_type name="m1.small"> |
| 333 | <disk_image version="375d5861080b85c9b17e8d4c6c431e955e1d72fd" name="http://emmy9.casa.umass.edu/Disk_Images/ExoGENI/exogeni-umass-ovs-1.0.4.xml"/> |
| 334 | </sliver_type> |
| 335 | <services> |
| 336 | <ns5:services_post_boot_script type="velocity">#!/bin/bash |
| 337 | # Automatically generated boot script |
| 338 | |
| 339 | # wget or curl must be installed on the image |
| 340 | mkdir -p /tmp |
| 341 | cd /tmp |
| 342 | if [ -x `which wget 2&gt;/dev/null` ]; then |
| 343 | wget -q http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz |
| 344 | else if [ -x `which curl 2&gt;/dev/null` ]; then |
| 345 | curl http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz &gt; `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 346 | fi |
| 347 | fi |
| 348 | # untar |
| 349 | tar -zxf `basename http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-exo.tar.gz` |
| 350 | execString=&quot;/bin/bash -c \&quot;/tmp/postboot_script_exo.sh urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki nodeB\&quot;&quot; |
| 351 | eval $execString |
| 352 | |
| 353 | </ns5:services_post_boot_script> |
| 354 | </services> |
| 355 | <interface mac_address="fe:16:3e:00:8c:08" client_id="nodeB:if1"> |
| 356 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.1.10"/> |
| 357 | </interface> |
| 358 | <interface mac_address="fe:16:3e:00:3e:13" client_id="nodeB:if0"> |
| 359 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.2.10"/> |
| 360 | </interface> |
| 361 | <interface mac_address="fe:16:3e:00:82:8d" client_id="nodeB:if2"> |
| 362 | <ip type="ipv4" netmask="255.255.255.0" address="192.168.4.10"/> |
| 363 | </interface> |
| 364 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 365 | </node> |
| 366 | <link vlantag="unknown" sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link2" client_id="link2"> |
| 367 | <interface_ref client_id="nodeC:if2"/> |
| 368 | <interface_ref client_id="nodeD:if0"/> |
| 369 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 370 | </link> |
| 371 | <link vlantag="unknown" sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link5" client_id="link5"> |
| 372 | <interface_ref client_id="nodeC:if3"/> |
| 373 | <interface_ref client_id="nodeE:if0"/> |
| 374 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 375 | </link> |
| 376 | <link vlantag="unknown" sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link0" client_id="link0"> |
| 377 | <interface_ref client_id="nodeA:if0"/> |
| 378 | <interface_ref client_id="nodeC:if0"/> |
| 379 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 380 | </link> |
| 381 | <link vlantag="unknown" sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link3" client_id="link3"> |
| 382 | <interface_ref client_id="nodeB:if1"/> |
| 383 | <interface_ref client_id="nodeD:if1"/> |
| 384 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 385 | </link> |
| 386 | <link vlantag="unknown" sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link1" client_id="link1"> |
| 387 | <interface_ref client_id="nodeB:if0"/> |
| 388 | <interface_ref client_id="nodeC:if1"/> |
| 389 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 390 | </link> |
| 391 | <link vlantag="unknown" sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link4" client_id="link4"> |
| 392 | <interface_ref client_id="nodeB:if2"/> |
| 393 | <interface_ref client_id="nodeA:if1"/> |
| 394 | <ns4:geni_sliver_info state="configuring" start_time="2013-07-18T15:11:02.000Z" expiration_time="2013-07-22T00:00:00.000Z" creation_time="2013-07-18T15:11:02.000Z" creator_urn="dbhat@engin.umass.edu, urn:publicid:IDN+ch.geni.net+user+dbhat"/> |
| 395 | </link> |
| 396 | <ns3:geni_slice_info state="configuring" uuid="07eadaaa-b99a-49d0-859c-74e13ccf0d08" urn="urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki"/> |
| 397 | </rspec> |
| 398 | |
| 399 | INFO:omni: ------------------------------------------------------------ |
| 400 | INFO:omni: Completed createsliver: |
| 401 | |
| 402 | Options as run: |
| 403 | aggregate: ['eg-gpo'] |
| 404 | framework: portal |
| 405 | project: GIMITesting |
| 406 | |
| 407 | Args: createsliver dbhatlabwiki http://emmy9.casa.umass.edu/GEC-17/exomanualselect.rspec |
| 408 | |
| 409 | Result Summary: Got Reserved resources RSpec from bbn-hn-exogeni-net-11443-orca |
| 410 | INFO:omni: ============================================================ |
| 411 | |
| 412 | }}} |
| 413 | |
| 414 | |
| 415 | === 2.3 Check the status of your resources === |
| 416 | |
| 417 | {{{ |
| 418 | omni.py sliverstatus -a eg-gpo <slicename> |
| 419 | |
| 420 | }}} |
| 421 | {{{ |
| 422 | omni.py sliverstatus -a eg-gpo dbhatlabwiki |
| 423 | }}} |
| 424 | You can see the status on your terminal as follows: |
| 425 | {{{ |
| 426 | INFO:omni:Loading config file /home/dbhat/.gcf/omni_config |
| 427 | INFO:omni:Using control framework portal |
| 428 | INFO:omni:Substituting AM nickname eg-gpo with URL https://bbn-hn.exogeni.net:11443/orca/xmlrpc, URN unspecified_AM_URN |
| 429 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki expires on 2013-07-22 00:00:00 UTC |
| 430 | INFO:omni:Substituting AM nickname eg-gpo with URL https://bbn-hn.exogeni.net:11443/orca/xmlrpc, URN unspecified_AM_URN |
| 431 | INFO:omni:Status of Slice urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki: |
| 432 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki at AM https://bbn-hn.exogeni.net:11443/orca/xmlrpc has overall SliverStatus: ready |
| 433 | INFO:omni:Sliver status for Slice urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki at AM URL https://bbn-hn.exogeni.net:11443/orca/xmlrpc |
| 434 | INFO:omni:{ |
| 435 | "geni_status": "ready", |
| 436 | "geni_urn": "urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki", |
| 437 | "geni_resources": [ |
| 438 | { |
| 439 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 440 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeE", |
| 441 | "geni_error": "", |
| 442 | "geni_status": "ready" |
| 443 | }, |
| 444 | { |
| 445 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 446 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeD", |
| 447 | "geni_error": "", |
| 448 | "geni_status": "ready" |
| 449 | }, |
| 450 | { |
| 451 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 452 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeC", |
| 453 | "geni_error": "", |
| 454 | "geni_status": "ready" |
| 455 | }, |
| 456 | { |
| 457 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 458 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link1", |
| 459 | "geni_error": "", |
| 460 | "geni_status": "ready" |
| 461 | }, |
| 462 | { |
| 463 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 464 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link3", |
| 465 | "geni_error": "", |
| 466 | "geni_status": "ready" |
| 467 | }, |
| 468 | { |
| 469 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 470 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeA", |
| 471 | "geni_error": "", |
| 472 | "geni_status": "ready" |
| 473 | }, |
| 474 | { |
| 475 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 476 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link4", |
| 477 | "geni_error": "", |
| 478 | "geni_status": "ready" |
| 479 | }, |
| 480 | { |
| 481 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 482 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link2", |
| 483 | "geni_error": "", |
| 484 | "geni_status": "ready" |
| 485 | }, |
| 486 | { |
| 487 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 488 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:nodeB", |
| 489 | "geni_error": "", |
| 490 | "geni_status": "ready" |
| 491 | }, |
| 492 | { |
| 493 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 494 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link0", |
| 495 | "geni_error": "", |
| 496 | "geni_status": "ready" |
| 497 | }, |
| 498 | { |
| 499 | "orca_expires": "Mon Jul 22 00:00:00 UTC 2013", |
| 500 | "geni_urn": "urn:publicid:IDN+exogeni.net+sliver+3d88b5b9-3fa2-4b2d-9ebe-d55ca7b035cb:link5", |
| 501 | "geni_error": "", |
| 502 | "geni_status": "ready" |
| 503 | } |
| 504 | ] |
| 505 | } |
| 506 | INFO:omni: ------------------------------------------------------------ |
| 507 | INFO:omni: Completed sliverstatus: |
| 508 | |
| 509 | Options as run: |
| 510 | aggregate: ['eg-gpo'] |
| 511 | framework: portal |
| 512 | project: GIMITesting |
| 513 | |
| 514 | Args: sliverstatus dbhatlabwiki |
| 515 | |
| 516 | Result Summary: Slice urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki expires on 2013-07-22 00:00:00 UTC |
| 517 | Slice urn:publicid:IDN+ch.geni.net:GIMITesting+slice+dbhatlabwiki at AM https://bbn-hn.exogeni.net:11443/orca/xmlrpc has overall SliverStatus: ready. |
| 518 | Returned status of slivers on 1 of 1 possible aggregates. |
| 519 | INFO:omni: ============================================================ |
| 520 | |
| 521 | }}} |
| 522 | |
| 523 | When you see '''overall SliverStatus''' with status "Ready" you can [http://groups.geni.net/geni/wiki/GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/Execute Next Step: Execute Experiment]. If the status is "configuring", redo this step until you get "Ready".[[BR]] |
| 524 | |
| 525 | |
| 526 | == 2. Configure iRODs == |
| 527 | The iRODs or Integrated Rule-Oriented Datasystem is a directory structure used to archive all experiment related data such as scripts, manifest RSpecs, experiment results and so on.[[BR]] |
| 528 | Please click on this link to learn more [https://www.irods.org/index.php/IRODS:Data_Grids,_Digital_Libraries,_Persistent_Archives,_and_Real-time_Data_Systems iRODs]. iRODs has been downloaded and installed on your VMs. [[BR]] |
| 529 | Please configure your iRODsEnv as explained here: |
| 530 | |
| 531 | === 2.1 Create iRODs account === |
| 532 | Login to your GENI Portal account and Click on the Profile tab on the top right corner of the page.[[BR]] |
| 533 | At the bottom of the Profile page, click on the Create iRODs button[[BR]]. |
| 534 | |
| 535 | |
| 536 | === 2.2 Configuring iRODs Environment === |
| 537 | |
| 538 | You will be redirected to another page with your iRODs Environment and also your temporary iRODs account password.[[BR]] |
| 539 | Copy and paste the contents of the iRODsEnv into ~/.irods/.irodsEnv[[BR]] |
| 540 | |
| 541 | |
| 542 | Do |
| 543 | {{{ |
| 544 | $iinit |
| 545 | }}} |
| 546 | Enter your temporary password. You can now do |
| 547 | {{{ |
| 548 | $ils |
| 549 | }}} |
| 550 | |
| 551 | Sample output: |
| 552 | {{{ |
| 553 | dbhat@bua-1159:/usr/local/bin$ ils |
| 554 | /geniRenci/home/geni-dbhat: |
| 555 | C- /geniRenci/home/geni-dbhat/dbhat-Explabwiki-2013-07-16T22:11:42 |
| 556 | C- /geniRenci/home/geni-dbhat/dbhat-explast-2013-07-17T00:30:50 |
| 557 | C- /geniRenci/home/geni-dbhat/experimentTemplates |
| 558 | }}} |
| 559 | |
| 560 | You will now see a list of things that are in your iRODs directory. iRODs is now configured. If you are ready to run the Experiment go to [http://groups.geni.net/geni/wiki/GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/Execute Next Step: Execute Experiment] |
| 561 | |
| 562 | [http://groups.geni.net/geni/wiki/GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/Execute Next Step: Execute Experiment] |
| 563 | |
| 564 | [http://groups.geni.net/geni/wiki/GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/ Back to Procedure] |