35 | | Then do the following: [[BR]] |
36 | | Create slice: |
37 | | {{{ |
38 | | omni.py createslice shufengTCP |
39 | | }}} |
40 | | Output should be something like the following: |
| 38 | untar the tar ball using: |
| 39 | {{{ |
| 40 | tar xzvf geni-tcp_exp.tar.gz |
| 41 | }}} |
| 42 | The tar ball contains 3 files: Makefile star.rspec tcp_exp.c [[BR]] |
| 43 | '''star.rspec''' is the RSPEC file we need. [[BR]] |
| 44 | Next, we need to create this experiment using the RSPEC file: [[BR]] |
| 45 | '''Step 1. Create slice (use a unique name for your slice):''' |
| 46 | {{{ |
| 47 | omni.py createslice <slice name> |
| 48 | }}} |
| 49 | Output should be something like the following (here I am using 'shufengTCP' as the sample slice name): |
168 | | Renew the sliver: |
| 177 | Alternatively, you can use the following command to show the reserved nodes as well as ways to login: |
| 178 | {{{ |
| 179 | readyToLogin.py shufengTCP -a pg-utah |
| 180 | }}} |
| 181 | The result is something like the following: |
| 182 | {{{ |
| 183 | #======================================== |
| 184 | #SSH CONFIGURATION INFO for User shufeng |
| 185 | #======================================== |
| 186 | |
| 187 | Host right |
| 188 | Port 22 |
| 189 | HostName pc55.emulab.net |
| 190 | User shufeng |
| 191 | IdentityFile /Users/shuang/.ssh/geni_key |
| 192 | |
| 193 | Host bottom |
| 194 | Port 22 |
| 195 | HostName pc84.emulab.net |
| 196 | User shufeng |
| 197 | IdentityFile /Users/shuang/.ssh/geni_key |
| 198 | |
| 199 | Host center |
| 200 | Port 22 |
| 201 | HostName pc73.emulab.net |
| 202 | User shufeng |
| 203 | IdentityFile /Users/shuang/.ssh/geni_key |
| 204 | |
| 205 | Host top |
| 206 | Port 22 |
| 207 | HostName pc47.emulab.net |
| 208 | User shufeng |
| 209 | IdentityFile /Users/shuang/.ssh/geni_key |
| 210 | |
| 211 | Host left |
| 212 | Port 22 |
| 213 | HostName pc81.emulab.net |
| 214 | User shufeng |
| 215 | IdentityFile /Users/shuang/.ssh/geni_key |
| 216 | |
| 217 | ================================================================================ |
| 218 | LOGIN INFO for AM: https://www.emulab.net:12369/protogeni/xmlrpc/am/2.0 |
| 219 | ================================================================================ |
| 220 | |
| 221 | right's geni_status is: ready (am_status:ready) |
| 222 | User shufeng logins to right using: |
| 223 | xterm -e ssh -i /Users/shuang/.ssh/geni_key shufeng@pc55.emulab.net & |
| 224 | |
| 225 | bottom's geni_status is: ready (am_status:ready) |
| 226 | User shufeng logins to bottom using: |
| 227 | xterm -e ssh -i /Users/shuang/.ssh/geni_key shufeng@pc84.emulab.net & |
| 228 | |
| 229 | center's geni_status is: ready (am_status:ready) |
| 230 | User shufeng logins to center using: |
| 231 | xterm -e ssh -i /Users/shuang/.ssh/geni_key shufeng@pc73.emulab.net & |
| 232 | |
| 233 | top's geni_status is: ready (am_status:ready) |
| 234 | User shufeng logins to top using: |
| 235 | xterm -e ssh -i /Users/shuang/.ssh/geni_key shufeng@pc47.emulab.net & |
| 236 | |
| 237 | left's geni_status is: ready (am_status:ready) |
| 238 | User shufeng logins to left using: |
| 239 | xterm -e ssh -i /Users/shuang/.ssh/geni_key shufeng@pc81.emulab.net & |
| 240 | }}} |
| 241 | '''Step 4. Renew the sliver:''' |
206 | | '''0.''' As usual, get a GENI Portal account via: [https://panther.gpolab.bbn.com] [[BR]] |
207 | | |
208 | | '''1.''' Prepare Omni via: [http://trac.gpolab.bbn.com/gcf/wiki/GettingGcf][[BR]] |
| 279 | '''0. GET GENI Portal Account''' [[BR]] |
| 280 | As usual, get a GENI Portal account via: [https://panther.gpolab.bbn.com Portal Main Site] [[BR]] |
| 281 | Here is a very good tutorial on setting up GENI Portal account: [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/SetupAccount Setup_Portal_Account] |
| 282 | |
| 283 | '''1. Prepare Omni by following this tutorial: [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/HelloOmni HelloOmni] [[BR]]''' |
213 | | '''What I did is to save the GENI Portal key pair to another name, e.g., geni_key_portal and geni_key_portal.pub and use ssh -i ~/.ssh/geni_key_portal to log on the reserved nodes with GENI Portal account''' [[BR]] |
214 | | '''Question: Can we just use one Key? and one user account? There are toooooo many of them :-(''' |
215 | | |
216 | | '''2.''' To my understanding, GENI Portal is a web-based graphical interface for using Omni. [[BR]] |
217 | | The using of GENI Portal is pretty straight forward, let's just follow the instructions here: [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/ObtainResources] |
| 288 | '''So, the simplest way to deal with this is, over-write the public/private keys. i.e., type 'Y' when prompt asks whether you want to replace the two files''' [[BR]] |
| 289 | |
| 290 | '''2. Using GENI Portal to create the star topology''' [[BR]] |
| 291 | Step 1. Log in to your Portal account, and then create a slice using the "create slice" button. Note that you should give your slice a unique name. Here I used "shufengPortalTCP" [[BR]] |
| 292 | Step 2. Click your newly created slice, choose "add resources" |
| 293 | {{{ |
| 294 | #!html |
| 295 | <table border="0"> |
| 296 | <tr> |
| 297 | <td> |
| 298 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/addresources_utah_4.png?format=raw" alt="Create a GENI Project" height="150" title="Create a GENI Project" /> </a> |
| 299 | </td> |
| 300 | <td > |
| 301 | <ol> |
| 302 | <li> <FONT COLOR="black">Go to the <i>Slice</i> page and press the <b>Add Resources</b> button. Complete the form as shown in the picture on the left and press the <b>Reserve Resources</b> button. </font> Reserving the node at the aggregate may take a minute or two. Do not reload the page or press the back button while waiting.</li> |
| 303 | </ol> |
| 304 | </td> |
| 305 | </tr> |
| 306 | </table> |
| 307 | }}} |