| 61 | Alternatively, a specific script can be run as follows: |
| 62 | |
| 63 | The experiment can be started with: |
| 64 | {{{ |
| 65 | user#> nodehandler -k <full-path/script-name> |
| 66 | }}} |
| 67 | |
| 68 | For e.g., if my script is called orbit-test.rb and it resides in /home/joenull/Ruby-Scripts/ (ORBIT home directory), I would execute it as follows: |
| 69 | {{{ |
| 70 | user#>pwd |
| 71 | /home/joenull |
| 72 | user#>nodehandler ~/Ruby-Scripts/orbit-test |
| 73 | }}} |
| 74 | |
| 75 | Note that I leave out the ".rb" at the end. This will execute the scripts and turn the nodes OFF at the end of the experiment. If you want to leave them ON after the experiment, use the "-k" flag. For e.g. |
| 76 | {{{ |
| 77 | user#>pwd |
| 78 | /home/joenull |
| 79 | user#>nodehandler -k ~/Ruby-Scripts/orbit-test |
| 80 | }}} |