165 | | <execute command="wget -q -P /tmp http://pc205.emulab.net/gimi/gec15-postboot.sh ;chmod +x /tmp/gec15-postboot.sh;/tmp/gec15-postboot.sh johGimi09-both nodeA > /tmp/gec15-postboot.log" shell="/bin/sh"/> |
166 | | }}} |
167 | | |
168 | | ''B.2.2.2'' The rdf file has to be converted into an rspec (see attached gec15-tutorial-gimi09-nospec.rspec). You will notice that the rspec has to be slice-specific because it needs to pass the slice name into the post boot script. |
| 165 | <execute command="wget -q -P /tmp http://emmy9.casa.umass.edu/GEC15-GIMI-Tutorial/gec15-postboot.sh ;chmod +x /tmp/gec15-postboot.sh;/tmp/gec15-postboot.sh <slicename> nodeA > /tmp/gec15-postboot.log" shell="/bin/sh"/> |
| 166 | }}} |
| 167 | |
| 168 | ''B.2.2.2'' The rdf file has to be converted into an rspec. You will notice that the rspec has to be slice-specific because it needs to pass the slice name into the post boot script. |
| 169 | |
| 170 | You can download an example rspec using the following command: |
| 171 | {{{ |
| 172 | wget -P ~/Tutorials/GIMI/gimiXX http://emmy9.casa.umass.edu/GEC15-GIMI-Tutorial/gimi-tutorial.rspec |
| 173 | }}} |
| 174 | |
| 175 | Change the slice name in the rspec using the following command (replace gimiXXslice with your slice name). |
| 176 | {{{ |
| 177 | sed -i -e 's/SLICENAME/gimiXXslice' ~/Tutorials/GIMI/gimiXX/gimi-tutorial.rspec |
| 178 | }}} |
177 | | omni.py -a eg-sm createsliver johGimi09-tutorial ~/Tutorials/GIMI/gimi09/gec15-tutorial-gimi09-nospec.rspec |
178 | | }}} |
179 | | * Check the status of the sliver: |
180 | | {{{ |
181 | | omni.py -a eg-sm sliverstatus johGimi09-tutorial 2>&1 | grep geni_status |
182 | | }}} |
183 | | * Get the manifest of the sliver (to get the login information): |
184 | | {{{ |
185 | | omni.py -a eg-sm listresources johGimi09-tutorial -o |
| 187 | omni.py -a eg-sm createsliver gimiXXslice ~/Tutorials/GIMI/gimiXX/gimi-tutorial.rspec |
| 188 | }}} |
| 189 | * Check the status of the sliver (you are waiting for all geni_status to show ''ready''): |
| 190 | {{{ |
| 191 | omni.py -a eg-sm sliverstatus gimiXXslice 2>&1 | grep geni_status |
| 192 | }}} |
| 193 | * Get the manifest of the sliver to get the login information (manifest will be saved to a file specified in the output): |
| 194 | {{{ |
| 195 | omni.py -a eg-sm listresources gimiXXslice -o |