close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 177 and Version 178 of Old/WiMAX/bOperations


Ignore:
Timestamp:
Jul 29, 2013, 9:34:57 PM (9 years ago)
Author:
dmeyer@…
Comment:

Changed to tutorial structure - From beginning through powering on and off nodes with 'omf tell'

Legend:

Unmodified
Added
Removed
Modified
  • Old/WiMAX/bOperations

    v177 v178  
    315315}}}
    316316
    317 ==== Some useful commands ====
     317==== CMC Networking ====
     318
     319*  By design 'native' user needs to run sudo for omf commands.  Or become root with:
     320{{{
     321sudo su
     322}}}
    318323
    319324Once you have the testbed set up as explained above, use the following commands to talk to the nodes or troubleshoot.
    320325
    321 1. '''omf stat'''
     3261. Testing network connections to the CM cards
     327* '''omf stat''' can be used to find the status of the CM networked nodes.
    322328   
    323329   The manual page is shown below.
     
    348354}}}
    349355
    350 Sample output
     356Once all the networking of the nodes is as described above, you may provide power to your client nodes.  It takes a couple minutes, but you should see State: POWEROFF as listed below.
    351357{{{
    352358INFO NodeHandler: OMF Experiment Controller 5.4 (git 5385228)
     
    379385}}}
    380386
     387If you have power connected to your nodes and are still getting NOT REGISTERED for your state, check your networking connections or managed switch configurations.  NOT REGISTERED means that your CMC service cannot communicate with your client nodes.
     388
     389Once you get State: POWEROFF, you can test powering on and off your nodes with an omf tell.
     390
    3813912. '''omf tell'''
    382392   
     
    410420                     tell offh topo_grid_active
    411421}}}
     422
     423Here is an example output of turning a node on:
     424{{{
     425sudo omf tell -a on -t node1.geni.net
     426
     427 INFO NodeHandler: OMF Experiment Controller 5.4 (git 5385228)
     428 INFO NodeHandler: Slice ID: default_slice (default)
     429 INFO NodeHandler: Experiment ID: default_slice-2013-07-29t17.29.03.703-04.00
     430 INFO NodeHandler: Message authentication is disabled
     431 INFO Experiment: load system:exp:stdlib
     432 INFO property.resetDelay: resetDelay = 90 (Fixnum)
     433 INFO property.resetTries: resetTries = 1 (Fixnum)
     434 INFO Experiment: load system:exp:eventlib
     435 INFO Experiment: load system:exp:winlib
     436 INFO Experiment: load system:exp:tell
     437 INFO property.nodes: nodes = "node1.geni.net" (String)
     438 INFO property.command: command = "on" (String)
     439 INFO Topology: Loading topology 'node1.geni.net'.
     440
     441Talking to the CMC service, please wait
     442-----------------------------------------------
     443 Node: node1.geni.net            Reply: OK
     444-----------------------------------------------
     445
     446 INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
     447 INFO NodeHandler:
     448 INFO NodeHandler: Shutting down experiment, please wait...
     449 INFO NodeHandler:
     450 INFO run: Experiment default_slice-2013-07-29t17.29.03.703-04.00 finished after 0:5
     451}}}
     452The same can be done to turn a node off by changing the parameter after the "-a" as listed in the help output listed above.
     453
     454==== Imaging ====
     455
     456Since your client nodes did not come with images preloaded on them, you will have to image your nodes for the first time.  This can be done with the '''omf load''' command.
     457
     458{{{
     459omf load output here.
     460}}}
     461
    412462
    413463<insert output here>