Changes between Version 30 and Version 31 of GENIExperimenter/Tutorials/GENI-SAVI/DesignSetup
- Timestamp:
- 06/15/15 14:46:21 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/GENI-SAVI/DesignSetup
v30 v31 98 98 we 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 99 99 {{{ 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> 101 101 }}} 102 102 … … 106 106 $ ./tutorial.sh listinstance geni 107 107 $ ./tutorial.sh listinstance savi 108 109 Take 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. 108 110 }}} 109 111 … … 153 155 where 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 154 156 {{{ 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 160 Create 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 162 Your ansible hosts file should look like this: 158 163 {{{ 159 164 [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 }}} 164 168 165 169 === (b) The ping module ===