Changes between Version 1 and Version 2 of Tutorial/HowToApplication
- Timestamp:
- Nov 20, 2007, 3:23:33 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorial/HowToApplication
v1 v2 18 18 This experiment is given in the attached script [attachment:tut_app_1.rb tut_app_1.rb]. 19 19 20 This file contains extensive comments that should help you understand the different steps involved in executing a shell command on the nodes of a testbed. It also shows how you could process the command outputs, e.g. redirect them to a text file.20 This file contains extensive comments that should help you understand the different steps involved in running an application on the nodes of a testbed. 21 21 22 22 For more information on the basics of writing and using an experiment script, please refer to the previous tutorials, [wiki:Tutorial/HowtoWriteScripts here] and [wiki:Tutorial/HelloWorld here]. … … 25 25 26 26 {{{ 27 nodehandler4 tut_ cmd_127 nodehandler4 tut_app_1 28 28 }}} 29 29 … … 36 36 === More... === 37 37 38 This method of executing a shell command on nodes is well suited for one-off or temporary experiments. If you plan on re-using or sharing the same commands among multiple experiment scripts, then you should consider [wiki:Tutorial/HowtoApplication this other method] which uses application definition.38 If you would like to use the same application but with different parameters (or with parameters that you would like to dynamically change during the course of the experiment), then you should consider using a "prototype" around your application, as explained in [wiki:HowTo/LaunchApp this other tutorial].