113 | | |
114 | | == 4b. Reserve resources, a.k.a create a sliver == |
115 | | i. To be able to reserve resources you will need to craft a request rspec. |
116 | | For this example we have created the rspecs for you, use the rspec URL given |
117 | | in your paper slip. Type : |
118 | | {{{ |
119 | | omni.py createsliver -a pg-utah <slicename> <rspec_url> |
120 | | }}} |
121 | | For example |
122 | | {{{ |
123 | | omni.py createsliver -a pg-utah iomni30 http://www.gpolab.bbn.com/experiment-support/gec15/omni-intro/rspecs/iomni-30.rspec |
124 | | }}} |
125 | | '''Tip:''' If you are copying the above line make sure to substitute the slicename and the actual rspec name with the ones that are specified in your paper slip. |
126 | | i. Look at your reserved resources. Type: |
127 | | {{{ |
128 | | omni.py listresources -a pg-utah <slicename> |
129 | | }}} |
130 | | i. Extend the lifetime of your sliver: |
131 | | {{{ |
132 | | omni.py renewsliver -a pg-utah <slicename> 20121025 |
133 | | }}} |
134 | | i. Check the status of your resources. Type: |
135 | | {{{ |
| 113 | 6. '''See the reserved resources'''. You can use the `listresources` command, to see what resources are reserved at an Aggregate. |
| 114 | {{{ |
| 115 | omni.py listresources -a pg-utah <slicename> |
| 116 | }}} |
| 117 | 7. '''Optional- Extend the lifetime of your reservation'''. The lifetime of your reservation can never exceed the lifetime of your slice and is usually set to a default value. For the purpose of this exercise you don't need to renew your reservation. But if you wanted to do this this is what the command would look like: |
| 118 | {{{ |
| 119 | omni.py renewsliver -a pg-utah <slicename> <YYYYMMDD> |
| 120 | }}} |
| 121 | 8. '''Check the status of your resources'''. Type: |
| 122 | {{{ |
138 | | The `sliverstatus` command reports the status of your overall GENI slice. When |
139 | | the status is ready we are ready to continue to the next step. |
140 | | |
141 | | = 5. Run your experiment = |
142 | | Now that resources are ready we can start running our experiment. We will first |
143 | | start by logging in to our reserved nodes. |
144 | | |
145 | | == 5a. Logging Into the nodes -- Omni Scripting == |
146 | | Depending on the Aggregate the login information are either part of the |
147 | | `sliverstatus` call, or as part of the manifest rspec, i.e. returned from the |
| 125 | The `sliverstatus` command reports the status of your overall GENI slice. When the status is ready we are ready to continue to the next step. |
| 126 | |
| 127 | = 3. Run your experiment = |
| 128 | Now that resources are ready we can start running our experiment. We will first start by logging in to our reserved nodes. |
| 129 | |
| 130 | 1. '''Login to your nodes - Omni Scripting'''. Depending on the Aggregate the login information are either part of the `sliverstatus` call, or as part of the manifest rspec, i.e. returned from the |