Changes between Version 7 and Version 8 of GEC15Agenda/AdvancedGENITopoOmni/Instructions/TopologyExperiment
- Timestamp:
- 10/22/12 00:37:46 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC15Agenda/AdvancedGENITopoOmni/Instructions/TopologyExperiment
v7 v8 39 39 i. Run the `readyToLogin.py` script to get information about logging in to nodes. The script has a lot of output so lets put that in a file so that we can easily search for the information we want. Use the same AMs as you used in Step 1. 40 40 {{{ 41 readyToLogin.py -a <AM_nickname> <slicename> -V1 > login.out 2>&141 readyToLogin.py -a <AM_nickname> <slicename> -V1 42 42 }}} 43 i. Open the login.out file. You'll get a big chunk of information, but you're interested in the '''ssh configuration info''' information near the end, of each run. You will have at least two different43 i. Copy and paste the line with ssh command for your host: 44 44 {{{ 45 ... <lots of output> ...46 45 ================================================================================ 47 SSH CONFIGURATION INFO for User inki 46 LOGIN INFO for AM: http://myplc.clemson.edu:12346/ 48 47 ================================================================================ 49 50 Host ganel.gpolab.bbn.com51 Port 2252 HostName ganel.gpolab.bbn.com53 User pgenigpolabbbncom_testdeflect54 IdentityFile /home/nriga/.ssh/geni_key55 48 56 Host sardis.gpolab.bbn.com 57 Port 22 58 HostName sardis.gpolab.bbn.com 59 User pgenigpolabbbncom_testdeflect 60 IdentityFile /home/nriga/.ssh/geni_key 49 planetlab4.clemson.edu's geni_status is: ready (am_status:boot) 50 User pgenigpolabbbncom_mtomni23 logins to planetlab4.clemson.edu using: 51 xterm -e ssh -i /home/geni/.ssh/geni_key pgenigpolabbbncom_mtomni23@planetlab4.clemson.edu & 61 52 62 53 63 ...<more output>... 54 planetlab5.clemson.edu's geni_status is: ready (am_status:boot) 55 User pgenigpolabbbncom_mtomni23 logins to planetlab5.clemson.edu using: 56 xterm -e ssh -i /home/geni/.ssh/geni_key pgenigpolabbbncom_mtomni23@planetlab5.clemson.edu & 64 57 }}} 65 i. Copy all the above information and paste it into your `.ssh/config` file, and do the same for all the AMs, then you can very easily login into your nodes, just by using the name that is after the `Host` attribute. 66 Your `~/.ssh/config` file should look like 67 {{{ 68 IdentityFile /home/geni/.ssh/geni_key 69 70 Host ganel.gpolab.bbn.com 71 Port 22 72 HostName ganel.gpolab.bbn.com 73 User pgenigpolabbbncom_testdeflect 74 IdentityFile /home/nriga/.ssh/geni_key 58 i. Do this for the second AM. 75 59 76 Host sardis.gpolab.bbn.com77 Port 2278 HostName sardis.gpolab.bbn.com79 User pgenigpolabbbncom_testdeflect80 IdentityFile /home/nriga/.ssh/geni_key81 }}}82 i. Go through this process again for the second AM.83 i. Login to your hosts. For each one of the myPlc hosts, open a new terminal and login to each one of them. Substitute <pl_hostname> with the hostnames of pl nodes you were given on the paper slip.84 {{{85 ssh <pl_hostname>86 }}}87 60 88 61 == 3. Run your Experiment ==