64 | | || [[Image(wiki:GENIExperimenter/Tutorials/Graphics:tip.png, nolink, 50px, bottom)]] || '''Pro Tip:''' <i>Do not use a passphrase!</i>. || |
65 | | ---- |
66 | | |
67 | | == 2. Learn about GEE networking == |
68 | | |
69 | | Pick a node from your '''ssh-config''' file and log in to it with SSH. For example: |
| 61 | || [[Image(wiki:GENIExperimenter/Tutorials/Graphics:tip.png, nolink, 50px, bottom)]] || '''Pro Tip:''' Do not use a passphrase!. || |
| 62 | |
| 63 | Your SAVI keys are now in tutorial/keys, and your GENI keys are in your .ssh folder on client1.savitestbed.ca. Check to make sure that the keys are there. |
| 64 | ---- |
| 65 | |
| 66 | == 2. Create a slice on GENI and Add Some VMs to it == |
| 67 | |
| 68 | We will now create a slice on GENI. Use your GENI username as the slice name. In the tutorial directory, |
| 69 | {{{ |
| 70 | $ ./tutorial.sh createslice geni <your_geni_username> |
| 71 | }}} |
| 72 | Now add VMs at the Cornell and Utah Downtown Data Center racks |
| 73 | {{{ |
| 74 | $ ./tutorial.sh createvm geni slice-name https://geni.it.cornell.edu:12369/protogeni/xmlrpc/am/2.0 Ubuntu-14-04 |
| 75 | $ ./tutorial.sh createvm geni slice-name https://boss.utahddc.geniracks.net:12369/protogeni/xmlrpc/am/2.0 Ubuntu-14-04 |
| 76 | }}} |
| 77 | |
| 78 | This will take about a minute. It will then come back with a response of the form |
| 79 | {{{ |
| 80 | Result Summary: Got Reserved resources RSpec from utahddc-geniracks-net. Reservation at utahddc-ig in slice rizpan expires at 2015-05-25 22:59:40 (UTC). |
| 81 | "hostname="<name>.utahddc.geniracks.net" |
| 82 | |
| 83 | To connect to the created VM please use to the given hostname="<name>.utahddc.geniracks.net" |
| 84 | }}} |
| 85 | |
| 86 | The machine will now be in a booting state. It will take about 5-10 minutes before you can log in. We'll use the time productively and create some SAVI VMs while we wait. |
| 87 | |
| 88 | ---- |
| 89 | |
| 90 | == 3. Create VMs on SAVI at Toronto and Victoria == |
| 91 | |
| 92 | The general form of the command to create a VM on SAVI is |
| 93 | |
| 94 | {{{ |
| 95 | $ ./tutorial.sh createvm savi <tenant_name> <location> <os_image_name> <machine_name> <access_key>l <vm-name> |
| 96 | }}} |
| 97 | |
| 98 | we have chosen values for all parameters. The vm-name should be your geni-username |
| 99 | {{{ |
| 100 | $ ./tutorial.sh createvm savi <tenant_name> toronto ubuntu-14-04-64 small savi_tutorial <geni_username> |
| 101 | $ ./tutorial.sh createvm savi <tenant_name> victoria ubuntu-14-04-64 small savi_tutorial <geni_username> |
| 102 | }}} |
| 103 | |
| 104 | We now have VMs at Cornell, Utah, Toronto, and Victoria. |