Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write up a detailed list of steps for adding a new node #29

Open
jdehart1 opened this issue Apr 5, 2018 · 0 comments
Open

Write up a detailed list of steps for adding a new node #29

jdehart1 opened this issue Apr 5, 2018 · 0 comments

Comments

@jdehart1
Copy link
Collaborator

jdehart1 commented Apr 5, 2018

Current Ansible location on my laptop: /Users/jdd/Google Drive/NDN/NDN_CRI/NDN_Testbed
Define links for this node to other nodes. They will go in host_vars file and in links.json file below.
Included in defining links is determining one-way delay between two nodes to be linked. (ping and traceroute can sometimes help with this, but not always)
Add host_vars file for node
Add host to WU_ARL/ndnstatus/ndn_prefix/config_ndn
On ndnmap.arl.wustl.edu (accessed through ndndemo?) Add host to WU_ARL/ndnmap/WebServer/gmap/json/{geocode.json, routers.json, links.json}
'sudo cp' those three files over to ~ndnmap/ndnmap/WebServer/gmap/json/
Verify that python is installed on node. Needed for Ansible. Ansible can take care of everything else that needs to be installed.

Run Ansible (we'll actually do this a couple of times)
First one does the bulk of the installs on the new node
jdd> ansible-playbook -i testbedInventory --limit="AAU" testbed_0.6.0.yml

Updates for nlsr and ndnsec that require other nodes to be updated. For ndnsec we need UCLA involved to sign the site-cert. For nlsr we need the nodes that are linked to the new node so their nlsr.conf files get updated. We can do this in one or two steps.
Either this:
jdd> ansible-playbook -i testbedInventory --tags="ndnsec" --limit="AAU,UCLA" testbed_0.6.0.yml
jdd> ansible-playbook -i testbedInventory --tags="nlsr" --limit="AAU,BERN,BASEL,PADUA" testbed_0.6.0.yml

Or this:
jdd> ansible-playbook -i testbedInventory --tags="ndnsec,nlsr" --limit="AAU,UCLA,BERN,BASEL,PADUA" testbed_0.6.0.yml

Add operator to the operator mailing list ([email protected]) at
https://alpha.netsec.colostate.edu/mailman/listinfo/operators
And add an alias in my mail client for sending directly to a site operator (e.g. AAU_operator)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant