Changes between Version 73 and Version 74 of GENIExperimenter/Tutorials/GENI-SAVI/DesignSetup
- Timestamp:
- 06/23/15 11:40:08 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/GENI-SAVI/DesignSetup
v73 v74 33 33 * In the GENI portal, browse to the [https://portal.geni.net/secure/profile.php Profile tab] and then select ''Configure Omni''. If necessary, follow the prompts to generate an SSL certificate. Then, click the '''Download your omni data''' button. 34 34 35 == 1. Use the SAVI Client and the Federation Tool to Create a GENI Slice OMNI Bundle==35 == 1. Install and configure the omni and GENI-SAVI federation tools == 36 36 * Use `scp` to transfer the `omni.bundle` file you downloaded in the pre-work from your local machine to the `Downloads` folder on `client1.savitestbed.ca`. 37 37 {{{ … … 41 41 $ scp omni.bundle <savi-username>@client1.savitestbed.ca:Downloads 42 42 }}} 43 When prompted, enter theSAVI username and password.43 When prompted, enter your SAVI username and password. 44 44 45 45 || [[Image(wiki:GENIExperimenter/Tutorials/Graphics:tip.png, nolink, 50px, bottom)]] || '''Tip:''' Windows users should use an SCP client of their choice (such as `winscp`) || … … 56 56 $ ssh <savi-username>@client1.savitestbed.ca 57 57 }}} 58 }}} 59 * Once you are logged in, configure omni. 58 When prompted, enter your SAVI password. 59 }}} 60 * Once you are logged in, configure the omni tool. 60 61 {{{ 61 62 #!div style="background: #ffd; border: 3px ridge; width: 800px;" … … 67 68 {{{ 68 69 #!div style="background: #ffd; border: 3px ridge; width: 800px;" 69 Check to make sure that the keys are there:70 Check to make sure that the keys are in the correct location: 70 71 {{{ 71 72 $ ls ~/.ssh … … 86 87 == 2. Create a slice on GENI and reserve some virtual machines in it == 87 88 88 * We will now create a slice on GENI. Use `gs-<yourinitials>` as the slice name.89 * Now create a slice on GENI. Use `gs-<yourinitials>` as the slice name. 89 90 {{{ 90 91 #!div style="background: #ffd; border: 3px ridge; width: 800px;" … … 120 121 }}} 121 122 122 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 a SAVI VM while we wait.123 }}} 124 125 == 3. Create virtual machines on SAVI at Toronto or Victoria==123 The machine will now be in a booting state. It will take about 5-10 minutes before you can log in. We will use the time productively and create a SAVI VM while we wait. 124 }}} 125 126 == 3. Create a virtual machines on SAVI == 126 127 * Now add a VM running Ubuntu 14 at the '''SAVI site''' assigned to you. 127 128 {{{ … … 140 141 {{{ 141 142 $ ./tutorial.sh createvm savi geniUsers <savi site> Ubuntu-14-04-64 small geni_key_portal \ 142 <geni_username>-<savi site name>143 <geni_username>-<savi site> 143 144 }}} 144 145 }}} … … 149 150 {{{ 150 151 $ ./tutorial.sh listinstance geni <slice-name> 151 $ ./tutorial.sh listinstance savi <s ite-name>152 $ ./tutorial.sh listinstance savi <savi site> 152 153 }}} 153 154 }}} … … 228 229 {{{ 229 230 #!div style="background: #ffd; border: 3px ridge; width: 800px;" 230 To save timeentering the passphrase for your private key multiple times, add your private key to your ssh agent as follows:231 To avoid entering the passphrase for your private key multiple times, add your private key to your ssh agent as follows: 231 232 {{{ 232 233 $ ssh-agent bash … … 252 253 === (d) The shell module === 253 254 254 The '''shell''' module lets you run arbitrary SSH commands in parallel across a set of hosts. It ’s useful for poking around, or if there is no Ansible module with the functionality you need.255 The '''shell''' module lets you run arbitrary SSH commands in parallel across a set of hosts. It is useful for poking around, or if there is no Ansible module with the functionality you need. 255 256 256 257 {{{ … … 269 270 === (e) The setup module === 270 271 271 The '''setup''' module gathers a bunch of information about each node and saves it in variables that you can reference in your Ansible playbook. This will be really useful to do thetutorial!272 The '''setup''' module gathers a bunch of information about each node and saves it in variables that you can reference in your Ansible playbook. This will be really useful for this tutorial! 272 273 273 274 {{{ … … 277 278 278 279 {{{ 279 $ ansible < geni_hostname> -i ansible-hosts -m setup280 $ ansible <your-vm> -i ansible-hosts -m setup 280 281 }}} 281 282