Changes between Version 2 and Version 3 of Tutorials/a0Basic/Tutorial4


Ignore:
Timestamp:
Jun 10, 2016, 12:04:10 PM (8 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/a0Basic/Tutorial4

    v2 v3  
    1818
    1919'''1. Define the set of nodes and path for the WiSHFUL scripts directory:'''
     20
     21The node set and the script path match the configuration on the default WiSHFUL image.
    2022{{{
    2123defProperty('contr', 'node2-1', 'WiSHFUL Controller Node')
     
    2628
    2729'''2. Define WiSSHFUL Controller and Agent applications that will run on the nodes:'''
    28  We use ''defApplication'' to create two reference application names: ''controller'' and ''agent'' that are used later in the script to actually execute corresponding WiSHFUL components (in this case the path is based on WiSHFUL image installation location in ''/root/wishful'' and the execution of an example scripts and configurations that are in the ''examples/simple'' sub-directory). Each application receives configuration file name as the (only) command line option.
     30
     31Use ''defApplication'' to create two reference application names: ''controller'' and ''agent'' that are used later in the script to actually execute corresponding WiSHFUL components (in this case the path is based on WiSHFUL image installation location in ''/root/wishful'' and the execution of an example scripts and configurations that are in the ''examples/simple'' sub-directory). Each application receives configuration file name as the (only) command line option.
    2932{{{
    3033defApplication('controller') do |app|
     
    124127=== Retrieving Results ===
    125128
    126 This particular experiment does not generate any data but rather illustrates how to run WiSHFUL based experiment. The primary observable output from both experiment script execution as well as output of the controller/agent interraction are aggregated on the console in a log file: /tmp/''<Experiment ID>''.log
    127 
    128 For this example, this log file is: /tmp/default_slice-2016-06-10t04.50.48.026-04.00.log
    129 
    130 Partial contents of this file is:
     129This particular experiment does not generate any data but rather illustrates how to run WiSHFUL based experiment. The primary observable output from both experiment script execution as well as output of the controller/agent interaction are aggregated on the console in a log file: /tmp/''<Experiment ID>''.log
     130As can be observed in the execution output above (''Experiment ID: default_slice-2016-06-10t07.29.39.183-04.00''), this log file is in '''/tmp/default_slice-2016-06-10t07.29.39.183-04.00.log'''. As can be seen in the partial dump of this file, the controller is instruction agent to execute various commands on the target node:
    131131{{{
    1321322016-06-10 07:29:54 DEBUG nodeHandler::set::Controllers: Start all applications