Changes between Version 5 and Version 6 of Software/cOMF/dTell


Ignore:
Timestamp:
Sep 30, 2014, 4:27:46 AM (10 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/cOMF/dTell

    v5 v6  
    88Switch ON/OFF and reboot the nodes in a testbed
    99Usage:
    10       omf-5.4 tell -a ACTION [-h] [-t TOPOLOGY] [-c AGGREGATE]
     10      omf tell [-h] -t TOPOLOGY -a ACTION [-c AGGREGATE]
    1111 
    1212      With:
     
    2121      reset           resets node(s) (hard)
    2222 
     23      -h, --help                print this help message
     24      -t, --topology TOPOLOGY   a valid topology file or description (MANDATORY)
    2325      -c, --config AGGREGATE    use testbed AGGREGATE
    24       -t, --topology TOPOLOGY   a valid topology file or description (defaults to 'system:topo:all')
    2526 
    2627      Some Examples:
    27                     omf-5.4 tell -a reset
    28                     omf-5.4 tell -a on -t system:topo:all -c grid
    29                     omf-5.4 tell -a reboot -t omf.nicta.node1
    30                     omf-5.4 tell -a offs -t omf.nicta.node1,omf.nicta.node2 -c sb1
    31                     omf-5.4 tell -a offh -t system:topo:all
    32                     omf-5.4 tell -a reset -t topo_grid_active
     28                    omf tell -a reset -t node1-1.grid.orbit-lab.org
     29                    omf tell -a on -t system:topo:all -c grid
     30                    omf tell -a reboot -t node1-1
     31                    omf tell -a offh -t [1..2,1..5]
     32                    omf tell -a offh -t system:topo:all
     33                    omf tell -a reset -t system:topo:imaged
    3334}}}
    3435[[CollapsibleEnd]]
     36
     37The commands are: on, offh (equivalent to pulling out the power cord), offs (software shutdown), reboot (software reboot) and reset (hardware reset).
     38
     39[[CollapsibleStart(Example: turn off node1-1 on the outdoor domain)]]
     40{{{
     41user@console.outdoor:~# omf tell -a offh -t node1-1
     42
     43 INFO NodeHandler: OMF Experiment Controller 5.4 (git 3fb37b9)
     44 INFO NodeHandler: Reading configuration file /etc/omf-expctl-5.4/services.yaml
     45 INFO NodeHandler: Add domain http - http://internal1.orbit-lab.org:5054/
     46 INFO NodeHandler: Add domain http - http://repository1.orbit-lab.org:5054/
     47 INFO NodeHandler: Slice ID: default_slice (default)
     48 INFO NodeHandler: Experiment ID: default_slice-2014-09-30t00.24.28.504-04.00
     49 INFO NodeHandler: Message authentication is disabled
     50 INFO Experiment: load system:exp:stdlib
     51 INFO property.resetDelay: resetDelay = 230 (Fixnum)
     52 INFO property.resetTries: resetTries = 1 (Fixnum)
     53 INFO Experiment: load system:exp:eventlib
     54 INFO Experiment: load system:exp:winlib
     55 INFO Experiment: load system:exp:tell
     56 INFO property.nodes: nodes = "node1-1" (String)
     57 INFO property.command: command = "offh" (String)
     58
     59Talking to the CMC service, please wait
     60-----------------------------------------------
     61 Node: node1-1.outdoor.orbit-lab.org     Reply: OK
     62-----------------------------------------------
     63
     64 INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
     65 INFO NodeHandler:
     66 INFO NodeHandler: Shutting down experiment, please wait...
     67 INFO NodeHandler:
     68 INFO run: Experiment default_slice-2014-09-30t00.24.28.504-04.00 finished after 0:10
     69}}}
     70[[CollapsibleEnd]]