Changes between Version 31 and Version 32 of GENIExperimenter/Tutorials/ClickExample/Execute
- Timestamp:
- 07/16/14 10:48:09 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/ClickExample/Execute
v31 v32 81 81 82 82 === Test remote execution === 83 You can execute commands in a remote host using `ssh` if you are using a Mac or Linux. There is an omni script, `remote-execute` that automates this.84 The rest of the tutorial assumes you have access to the remote-execute script. If you are on a Windows host youhave to SSH to each host and execute the command that is after the '-m' option, manually.83 You can execute commands in a remote host using `ssh` if you are using Mac, Linux, or [wiki:HowTo/LoginToNodes#GitBashShell git bash] for Windows. There is an omni script, `remote-execute` that automates this. 84 The rest of the tutorial assumes you have access to the `remote-execute` script. If you are on a Windows host you may have to SSH to each host and execute the command that is after the '-m' option, manually. 85 85 86 86 i. In your local terminal type : 87 87 {{{ 88 89 }}} 90 This will list all the files under the home directory of all hosts. To run it in only one host use the `--host` option91 {{{ 92 remote-execute --useSliceAggregates <slicename> -m "ls -a"--host top88 remote-execute --useSliceAggregates <slicename> -m "ls -a" 89 }}} 90 This will list all the files under the home directory of all hosts. To run it on only one host use the `--host` option 91 {{{ 92 remote-execute --useSliceAggregates <slicename> -m "ls -a" --host top 93 93 }}} 94 94