Changes between Version 4 and Version 5 of GENIExperimenter/Tutorials/GENI-SAVI/DesignSetup


Ignore:
Timestamp:
05/25/15 14:14:47 (9 years ago)
Author:
rick@mcgeer.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/GENI-SAVI/DesignSetup

    v4 v5  
    2828
    2929* Use SFTP to transfer the Omni Bundle you downloaded in pre-work to the Downloads folder on client1.savitestbed.ca.  From the folder in which you have the Omni bundle, run
    30 
     30{{{
    3131$ sftp <savi-username>@client1.savitestbed.ca
    32 
    33 &gt; cd Downloads
    34 
    35 &gt; put omni.bundle
    36 
    37 &gt; bye
    38 
     32> cd Downloads
     33> put omni.bundle
     34> bye
     35}}}
    3936* Using your SAVI credentials, log in to client1.savitestbed.ca.  Any ssh tool can be used for this, including Putty and cygwin ssh on Windows, and the builtin terminal tools on any Unix- or Linux-based
    4037system.
     
    5552
    5653Generate keys to be used on the SAVI VMs you will be creating
    57 
     54{{{
    5855$  cd tutorial
    59 
    6056$ ./tutorial.sh generatekey
     57}}}
    6158
    6259It will ask you for your SAVI username and password.  Then it will ask you for the key name.  Use the name "savi-tutorial". 
    6360
    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
     63Your 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
     68We 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}}}
     72Now 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
     78This 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
     86The 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
     92The 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
     98we 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
     104We now have VMs at Cornell, Utah, Toronto, and Victoria.
    70105
    71106{{{