Changes between Version 69 and Version 70 of GENIExperimenter/Tutorials/ClickExample/Execute


Ignore:
Timestamp:
07/17/14 19:16:16 (10 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/ClickExample/Execute

    v69 v70  
    2525 i. First if you have an existing ssh config, save it now:
    2626{{{
    27 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     27#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    2828{{{
    2929mv ~/.ssh/config ~/.ssh/config.keep
     
    3232 i. Run the `readyToLogin` 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.
    3333{{{
    34 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     34#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    3535{{{
    3636readyToLogin <slicename> -o --useSliceAggregates
     
    4040 i. We want to use the ssh configuration file that the script produced:
    4141{{{
    42 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     42#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    4343{{{
    4444mv ./sshconfig.txt ~/.ssh/config
     
    6363 i. In one terminal type
    6464{{{
    65 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     65#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    6666  {{{
    6767ssh -A hostA
     
    7070  and in the other
    7171{{{
    72 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     72#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    7373  {{{
    7474ssh -A hostB
     
    9494  i. In your local terminal type :
    9595{{{
    96 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     96#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    9797  {{{
    9898remote-execute --useSliceAggregates <slicename> -m "ls -a"
     
    102102 i. To run it on only one host use the `--host` option
    103103{{{
    104 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     104#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    105105  {{{
    106106remote-execute --useSliceAggregates <slicename> -m "ls -a" --host top
     
    113113  i. On a local terminal run the following command four times, each time substituting the `<router_name>` with one of `top`, `bottom`, `left`, `right`:
    114114{{{
    115 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     115#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    116116  {{{
    117117ssh -A <router_name> "/local/click-example/extractClickConfig.py"
     
    133133  i. The `extractClickConfig` script produces router configurations for your experiment. It also creates a diagram of your experiment. Get a copy locally from one of the routers, by typing in a local terminal:
    134134{{{
    135 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     135#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    136136  {{{
    137137scp top:myslice.png ./
     
    256256
    257257{{{
    258 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     258#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    259259
    260260In a local terminal type:
     
    312312
    313313{{{
    314 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     314#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    315315
    316316In a local terminal type:
     
    351351i. In a local terminal type:
    352352{{{
    353 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     353#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    354354   {{{
    355355ssh -A top "tail -f /tmp/click.log"
     
    368368iii. In the local terminal you will see:
    369369{{{
    370 #!div style="background: #ffd; border: 3px ridge; width: 685px;"
     370#!div style="background: #ffd; border: 2px ridge; width: 685px;"
    371371  {{{
    372372outR:   76 | 000423b7 192e0004 23b71ce0 7744416c 69636557 61734865