230 | | You can also ssh into the node pc102 to view this file. GENI-in-a-Box comes with a user account 'alice' with private and public keys for alice installed in it. When experimenter nodes are created an account is created for alice on these nodes and alice's public key installed in the .ssh directory inside alice's home directory. You can create your own user accounts; see here for instructions. |
231 | | |
232 | | You can ssh into node {{{pc101}}} as alice type {{{ssh -lalice pc101.geni-in-a-box.net}}} or just {{{ssh -lalice pc101}}}. The terminal session below shows the ssh'ing into {{{pc101}}}, going to the directory with the iperf log file, and viewing that file. |
| 230 | You can also ssh into the node pc102 to view this file. GENI-in-a-Box comes with a user account 'alice' with private and public keys for alice installed in it. When experimenter nodes are created an account is created for alice on these nodes and alice's public key installed in the .ssh directory inside alice's home directory. You can create your own user accounts; see [wiki:GiB-tips this page] for instructions. |
| 231 | |
| 232 | You can ssh into node {{{pc101}}} as alice type {{{ssh -lalice pc101.geni-in-a-box.net}}} or just {{{ssh -lalice pc101}}}. The terminal session below shows the ssh'ing into {{{pc101}}}, going to the directory with the iperf log file, and viewing that file. The password for alice can be found in {{{~/.gcf/passwords}}}. |
| 255 | === 2.4. Freeing up Resources === |
| 256 | When you are done with your experiment you can return the resources allocated to you using omni's {{{deletesliver}}} command: |
| 257 | {{{ |
| 258 | $ omni.py -a http://geni-in-a-box.net:8001 deletesliver myslice |
| 259 | INFO:omni:Loading config file /home/gibuser/.gcf/omni_config |
| 260 | INFO:omni:Using control framework gib_ch |
| 261 | WARNING:omni:Slice urn:publicid:IDN+geni:gpo:gcf+slice+myslice expires in <= 3 hours |
| 262 | INFO:omni:Slice urn:publicid:IDN+geni:gpo:gcf+slice+myslice expires on 2012-10-02 21:55:17 UTC |
| 263 | INFO:omni:Deleted sliver urn:publicid:IDN+geni:gpo:gcf+slice+myslice on unspecified_AM_URN at http://geni-in-a-box.net:8001 |
| 264 | INFO:omni: ------------------------------------------------------------ |
| 265 | INFO:omni: Completed deletesliver: |
| 266 | |
| 267 | Options as run: |
| 268 | aggregate: ['http://geni-in-a-box.net:8001'] |
| 269 | framework: gib_ch |
| 270 | getversionCacheName: /home/gibuser/.gcf/get_version_cache.json |
| 271 | |
| 272 | Args: deletesliver myslice |
| 273 | |
| 274 | Result Summary: Deleted sliver urn:publicid:IDN+geni:gpo:gcf+slice+myslice on unspecified_AM_URN at http://geni-in-a-box.net:8001 |
| 275 | INFO:omni: ============================================================ |
| 276 | $ |
| 277 | }}} |
| 278 | |
| 279 | Congratulations! You have successfully run an experiment using GENI-in-a-Box resources! |
| 280 | |
| 281 | === 2.4 GENI-in-a-Box Tips === |
| 282 | See [wiki:GiB-tips this page] for tips that you might find helpful while using GENI-in-a-Box. |
| 283 | |
| 284 | |
| 285 | == 3. What's Next? === |
| 286 | You are now ready to run your own experiments inside GENI-in-a-Box. You might want to start with one of the sample rspecs in the {{{~/geni-in-a-box}}} directory and edit it as needed by your experiment. See the {{{README}}} file in this directory for a description of the rspecs in this directory. |
| 287 | |
| 288 | You can [wiki:SignMeUp apply for a GENI account] and use real GENI aggregates and resources for your experiments. See [wiki:GiB-to-ProtoGENI] for tips on moving your experiment from GENI-in-a-Box to other aggregates (and vice versa). |
| 289 | |
| 290 | |