Changes between Version 69 and Version 70 of GENIExperimenter/Tutorials/ClickExample/Execute
- Timestamp:
- 07/17/14 19:16:16 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/ClickExample/Execute
v69 v70 25 25 i. First if you have an existing ssh config, save it now: 26 26 {{{ 27 #!div style="background: #ffd; border: 3px ridge; width: 685px;"27 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 28 28 {{{ 29 29 mv ~/.ssh/config ~/.ssh/config.keep … … 32 32 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. 33 33 {{{ 34 #!div style="background: #ffd; border: 3px ridge; width: 685px;"34 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 35 35 {{{ 36 36 readyToLogin <slicename> -o --useSliceAggregates … … 40 40 i. We want to use the ssh configuration file that the script produced: 41 41 {{{ 42 #!div style="background: #ffd; border: 3px ridge; width: 685px;"42 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 43 43 {{{ 44 44 mv ./sshconfig.txt ~/.ssh/config … … 63 63 i. In one terminal type 64 64 {{{ 65 #!div style="background: #ffd; border: 3px ridge; width: 685px;"65 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 66 66 {{{ 67 67 ssh -A hostA … … 70 70 and in the other 71 71 {{{ 72 #!div style="background: #ffd; border: 3px ridge; width: 685px;"72 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 73 73 {{{ 74 74 ssh -A hostB … … 94 94 i. In your local terminal type : 95 95 {{{ 96 #!div style="background: #ffd; border: 3px ridge; width: 685px;"96 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 97 97 {{{ 98 98 remote-execute --useSliceAggregates <slicename> -m "ls -a" … … 102 102 i. To run it on only one host use the `--host` option 103 103 {{{ 104 #!div style="background: #ffd; border: 3px ridge; width: 685px;"104 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 105 105 {{{ 106 106 remote-execute --useSliceAggregates <slicename> -m "ls -a" --host top … … 113 113 i. On a local terminal run the following command four times, each time substituting the `<router_name>` with one of `top`, `bottom`, `left`, `right`: 114 114 {{{ 115 #!div style="background: #ffd; border: 3px ridge; width: 685px;"115 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 116 116 {{{ 117 117 ssh -A <router_name> "/local/click-example/extractClickConfig.py" … … 133 133 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: 134 134 {{{ 135 #!div style="background: #ffd; border: 3px ridge; width: 685px;"135 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 136 136 {{{ 137 137 scp top:myslice.png ./ … … 256 256 257 257 {{{ 258 #!div style="background: #ffd; border: 3px ridge; width: 685px;"258 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 259 259 260 260 In a local terminal type: … … 312 312 313 313 {{{ 314 #!div style="background: #ffd; border: 3px ridge; width: 685px;"314 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 315 315 316 316 In a local terminal type: … … 351 351 i. In a local terminal type: 352 352 {{{ 353 #!div style="background: #ffd; border: 3px ridge; width: 685px;"353 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 354 354 {{{ 355 355 ssh -A top "tail -f /tmp/click.log" … … 368 368 iii. In the local terminal you will see: 369 369 {{{ 370 #!div style="background: #ffd; border: 3px ridge; width: 685px;"370 #!div style="background: #ffd; border: 2px ridge; width: 685px;" 371 371 {{{ 372 372 outR: 76 | 000423b7 192e0004 23b71ce0 7744416c 69636557 61734865