From 36b399a49ef888d2554c7658a4192042a116b531 Mon Sep 17 00:00:00 2001 From: Scot Junkin Date: Mon, 4 May 2015 06:29:16 -0600 Subject: [PATCH] first pass proctor readme --- proctor/README.md | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/proctor/README.md b/proctor/README.md index 4e86e0c..f5f66d7 100644 --- a/proctor/README.md +++ b/proctor/README.md @@ -23,4 +23,40 @@ run the following command: sjunkin-mbp:proctor sjunkin$ vagrant up -This will load the three vm's for the proctor end of the lab. \ No newline at end of file +This will load the three vm's for the proctor end of the lab. + +2. NDO Public server +. +For reggie setup:- + +On your hosting systems, inside the proctor directroy: + + sjunkin-mbp:proctor sjunkin$ pwd + /Users/sjunkin/sandbox/JNPRAutomateDemo-Student/proctor + + vagrant ssh ndo_public + cd /vagrant/proctor/ansible + +run + +ansible-playbook -i inventory.yml ./playbooks/deploy_reggie.yml + +It may present an error, if so try to re-run the command. + +once that finishes: + + cd /reggie + python app.py db upgrade + python app.py db migrate + + +***** After students register on the reggie site **** +As the proctor you can go to the reggie admin site and see a list of all the students who have registered via this url : http://10.10.0.10/admin with user:pass [admin:not_verybig_secret] + + cd /vagrant/proctor/tools + vagrant@NetDevOps-Public:/vagrant/proctor/tools$ python vpn_he_mgr.py --url=http://10.10.0.10/student + +The above command will pull all of the registered students out of the reggie database and recreate and update the playbook on the server side with the new data, then execute the playbook + + +TODO- how to validate the above was successful?