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 4 and Version 5 of dSite/k0Inv


Ignore:
Timestamp:
Oct 25, 2014, 9:08:06 PM (6 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dSite/k0Inv

    v4 v5  
    33[[TOC(WiMAX/dSite*)]]
    44
    5 As root:
     5At this stage of the install, the console should be resolving DNS information against it self. Make a quick check to ensure that the hostname xmpp can be resolved.
     6{{{
     7root@console:/export# host xmpp
     8xmpp.geni.rutgers.edu is an alias for consolec.geni.rutgers.edu.
     9consolec.geni.rutgers.edu has address 10.1.0.254
     10}}}
     11
     12If this resolution fails the services begin configured will fail to communicate with the installed openfire service on the console. Consequenctly none of the ''omf-5.4'' calls will work.
     13
     14Run the service setup script:
    615{{{
    716/usr/sbin/geni_omf_setup
    817}}}
     18
     19This will configure the following files:
     20 * TODO list files
     21
     22The default image location directory is ''/var/lib/omf-images-5.4'', we're going to re-point this directory to ''/export/omf-images-5.4'' so that we don't run into space constraint issues (This is why we made it a separate partition).
     23
     24 1. Create target
     25    {{{
     26mkdir /export/omf-images-5.4
     27    }}}
     28 2. Remove the old source
     29    {{{
     30rmdir /var/lib/omf-images-5.4
     31    }}}
     32 3. create a symbolic link
     33    {{{
     34ln -s /export/omf-images-5.4 /var/lib/omf-images-5.4
     35    }}}
     36
     37Now we can download a copy of the baseline image into our image repository. In the '''/export/omf-images-5.4''' directory and make it world readable.
     38{{{
     39wget http://packages.orbit-lab.org/downloads/baseline.ndz
     40chmod 666 baseline.ndz
     41}}}
     42
     43Once these pieces are in place, we should be able to check the node status with:
     44{{{
     45omf-5.4 stat -t all
     46}}}
     47Which should produce output similar to
     48{{{
     49INFO NodeHandler: OMF Experiment Controller 5.4 (git 070b00f)
     50...
     51INFO Topology: Loaded topology 'system:topo:all'.
     52
     53Talking to the CMC service, please wait
     54-----------------------------------------------
     55 Node: node1.geni.rutgers.edu            State: POWEROFF
     56 Node: node2.geni.rutgers.edu            State: POWEROFF
     57 Node: node3.geni.rutgers.edu            State: POWEROFF
     58-----------------------------------------------
     59
     60INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
     61...
     62finished after 0:5
     63}}}
     64
     65Finally we can load an image onto a node with the following
     66{{{
     67omf-5.4 load -t node1.geni.rutgers.edu -i baseline.ndz
     68}}}
     69If all goes well we will see results similar to the following:
     70{{{
     71INFO NodeHandler: OMF Experiment Controller 5.4 (git 070b00f)
     72...
     73INFO Topology: Loaded topology 'system:topo:registered'.
     74INFO property.resetDelay: resetDelay = 100 (Fixnum)
     75INFO Experiment: Resetting resources
     76INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: node1.geni.rutgers.edu) [0 sec.]
     77...
     78INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: node1.geni.rutgers.edu) [50 sec.]
     79INFO exp: Progress(0/0/1): 0/0/0 min(node1.geni.rutgers.edu)/avg/max (57) - Timeout: 790 sec.
     80INFO ALL_UP: Event triggered. Starting the associated tasks.
     81INFO exp: Progress(0/0/1): 0/0/0 min(node1.geni.rutgers.edu)/avg/max (57) - Timeout: 780 sec.
     82...
     83INFO exp: Progress(0/0/1): 90/90/90 min(node1.geni.rutgers.edu)/avg/max (57) - Timeout: 470 sec.
     84INFO exp: Progress(1/0/1): 100/100/100 min()/avg/max (57) - Timeout: 460 sec.
     85INFO exp:  -----------------------------
     86INFO exp:  Imaging Process Done
     87INFO exp:  1 node successfully imaged - Topology saved in '/tmp/pxe_slice-2014-10-25t17.00.49.189-04.00-topo-success.rb'
     88INFO exp:  -----------------------------
     89INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
     90INFO NodeHandler:
     91INFO NodeHandler: Shutting down experiment, please wait...
     92INFO NodeHandler:
     93INFO NodeHandler: Shutdown flag is set - Turning Off the resources
     94INFO run: Experiment pxe_slice-2014-10-25t17.00.49.189-04.00 finished after 6:40
     95}}}
     96
     97The duration of the installation will depend on the speed of the switches you have installed.
     98