Changes between Version 60 and Version 61 of GENIExperimenter/Tutorials/GENI-SAVI/DesignSetup
- Timestamp:
- 06/22/15 17:28:21 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/GENI-SAVI/DesignSetup
v60 v61 144 144 }}} 145 145 146 === (a) Create an Ansible Hostsfile ===147 148 An Ansible hostsfile is of the form146 === (a) Create an Ansible inventory file === 147 148 An Ansible inventory file is of the form 149 149 {{{ 150 150 [group_name] … … 152 152 server2_spec 153 153 }}} 154 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 is154 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: 155 155 {{{ 156 156 ansible_ssh_host=142.150.208.146 ansible_ssh_port=22 ansible_ssh_user=rickmcg_geni ansible_ssh_private_key=~/.ssh/geni_key_portal 157 157 }}} 158 158 159 Create an Ansible Hostsfile named `ansible-hosts` for your slice.160 161 Your ansible hostsfile should look like this:159 Create an Ansible inventory file named `ansible-hosts` for your slice. 160 161 Your ansible inventory file should look like this: 162 162 163 163 {{{ … … 167 167 }}} 168 168 169 Where geni_resource_name and savi_resource_ip are what you found from the listinstancecommands from step 3.169 Where `geni_resource_name` and `savi_resource_ip` are what you found from the `listinstance` commands from step 3. 170 170 171 171 === (b) Add private key to SSH agent ===