Changes between Version 19 and Version 20 of GEC21Agenda/ScalingUp/Procedure/Appendix
- Timestamp:
- 05/27/15 22:11:48 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC21Agenda/ScalingUp/Procedure/Appendix
v19 v20 158 158 </table> 159 159 }}} 160 The Playbook to configure the `server` node is in `server.yml`. It links to other files. For example, the code to tell the `server` node to run the`nmap` scan and post the results is in `roles/nmap/tasks/map.yml` and looks as follows:160 The Playbook to configure the `server` node is in `server.yml`. It links to other files. For example, the code to tell the `server` node to run an `nmap` scan and post the results is in `roles/nmap/tasks/map.yml` and looks as follows: 161 161 162 162 {{{ … … 176 176 }}} 177 177 178 ''Do these commands look like the Ad Hoc commandsfrom the previous step?''178 ''Do these commands look like the Ad Hoc ping command from the previous step?'' 179 179 180 Run the playbook with the following command on the local machine:180 Run the playbook to configure the `server` with the following command on the local machine: 181 181 182 182 {{{ … … 185 185 }}} 186 186 }}} 187 a. Browse to the server node. Click on the `nmap` link.187 a. Browse to hostname of the server node in your browser. Click on the `nmap` link. 188 188 189 189 === 4. Update a portion of the configuration === 190 a. After some of your neighbors have brought up their nodes, run the following command to only do aportion of the `server` configuration:190 a. After some of your neighbors have brought up their nodes, run the following command to only do the nmap portion of the `server` configuration: 191 191 {{{ 192 192 #!python 193 193 ansible-playbook update-map.yml -i inventory 194 194 }}} 195 a. You should see more nodes found by the nmap scan.195 a. Over time you should see more nodes found by the nmap scan. 196 196 a. Change the value of `address_range` in `groups_vars/all.yml` and rerun `update-map.yml` to search for more nodes.