Changes between Version 30 and Version 31 of GENIExperimenter/Tutorials/GENI-SAVI/DesignSetup


Ignore:
Timestamp:
06/15/15 14:46:21 (9 years ago)
Author:
chmeyer@bbn.com
Comment:

--

Legend:

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

    v30 v31  
    9898we have chosen values for all parameters; each group will be given a specific site at the tutorial.  The vm-name should be your geni-username, followed by the sitename.  E.g., for rickmcg, the name at Toronto will be rickmcg-toronto
    9999{{{
    100 $ ./tutorial.sh createvm savi geniUsers <savi site> Ubuntu-14-04-64 small geni_cert_portal_key <geni_username>-<savi sitename>
     100$ ./tutorial.sh createvm savi geniUsers <savi site> Ubuntu-14-04-64 small geni_portal_key <geni_username>-<savi sitename>
    101101}}}
    102102
     
    106106$ ./tutorial.sh listinstance geni
    107107$ ./tutorial.sh listinstance savi
     108
     109Take note of the hostname for your GENI VM and the public IP address listed for your SAVI VM, we'll use these in the next step.
    108110}}}
    109111
     
    153155where group_name is a name for a group of nodes, and a server spec contains login information for a node.  An example of a server specification is
    154156{{{
    155     savi_toronto ansible_ssh_host=142.150.208.146  ansible_ssh_port=22 ansible_ssh_user=rickmcg_geni ansible_ssh_private_key=~/.ssh/id_rsa
    156 }}}
    157 An example ansible  hosts file for a slice  is:
     157    ansible_ssh_host=142.150.208.146  ansible_ssh_port=22 ansible_ssh_user=rickmcg_geni ansible_ssh_private_key=~/.ssh/geni_portal_key
     158}}}
     159
     160Create an Ansible Hosts file named ansible-hosts for your slice.  You can use either an IP address or an FQDN as an ssh host; if the ansible_ssh_host parameter is omitted it defaults to the name of the machine
     161
     162Your ansible hosts file should look like this:
    158163{{{
    159164[nodes]
    160     pc1.geni.it.cornell.edu ansible_ssh_port=34874 ansible_ssh_user=jbourne ansible_ssh_key=~/.ssh/geni_key_portal
    161     savi-toronto 142.150.208.149 ansible_ssh_user=ubuntu ansible_ssh_key=~/.ssh/savi-tutorial
    162 }}}
    163 Create an Ansible Hosts file for your slice.  You can use either an IP address or an FQDN as an ssh host; if the ansible_ssh_host parameter is omitted it defaults to the name of the machine
     165    <geni_resource_name> ansible_ssh_port=22 ansible_ssh_user=<your_geni_username> ansible_ssh_key=~/.ssh/geni_key_portal
     166    <savi_resource_ip> ansible_ssh_port=22 ansible_ssh_user=ubuntu ansible_ssh_key=~/.ssh/geni_key_portal
     167}}}
    164168
    165169=== (b) The ping module ===