Changes between Version 7 and Version 8 of GEC15Agenda/AdvancedGENITopoOmni/Instructions/TopologyExperiment


Ignore:
Timestamp:
10/22/12 00:37:46 (12 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC15Agenda/AdvancedGENITopoOmni/Instructions/TopologyExperiment

    v7 v8  
    3939  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.
    4040  {{{
    41 readyToLogin.py -a <AM_nickname> <slicename> -V1 >  login.out 2>&1
     41readyToLogin.py -a <AM_nickname> <slicename> -V1
    4242}}}
    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 different
     43  i. Copy and paste the line with ssh command for your host:
    4444  {{{
    45 ... <lots of output> ...
    4645================================================================================
    47 SSH CONFIGURATION INFO for User inki
     46LOGIN INFO for AM: http://myplc.clemson.edu:12346/
    4847================================================================================
    49  
    50 Host ganel.gpolab.bbn.com
    51   Port 22
    52   HostName ganel.gpolab.bbn.com
    53   User pgenigpolabbbncom_testdeflect
    54   IdentityFile /home/nriga/.ssh/geni_key
    5548
    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
     49planetlab4.clemson.edu's geni_status is: ready (am_status:boot)
     50User pgenigpolabbbncom_mtomni23 logins to planetlab4.clemson.edu using:
     51        xterm -e ssh -i /home/geni/.ssh/geni_key pgenigpolabbbncom_mtomni23@planetlab4.clemson.edu &
    6152
    6253
    63 ...<more output>...
     54planetlab5.clemson.edu's geni_status is: ready (am_status:boot)
     55User pgenigpolabbbncom_mtomni23 logins to planetlab5.clemson.edu using:
     56        xterm -e ssh -i /home/geni/.ssh/geni_key pgenigpolabbbncom_mtomni23@planetlab5.clemson.edu &
    6457}}}
    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.
    7559 
    76 Host sardis.gpolab.bbn.com
    77   Port 22
    78   HostName sardis.gpolab.bbn.com
    79   User pgenigpolabbbncom_testdeflect
    80   IdentityFile /home/nriga/.ssh/geni_key
    81 }}}
    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 }}}
    8760
    8861== 3. Run your Experiment  ==