Changes between Version 2 and Version 3 of Internal/RunningDemos


Ignore:
Timestamp:
Dec 21, 2005, 7:42:54 PM (19 years ago)
Author:
kishore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/RunningDemos

    v2 v3  
    4242
    43432. '''nodeHandler scripts'''[[BR]]There are two scripts with names streaming-panasonic.rb and streaming-panasonic-stop.rb. Former is used to start the experiment, and the latter is used to stop it. nodeHandler version 1.71 (modified to support execution of bash scripts and has been used with those scripts. As of writing, due to a bug in lunar modules, stop script cannot unload klunar and ksapf modules, after they are involved in data transfer. So, for a clean restart, node power cycle might be needed.
    44   * Display machine[[BR]]It must be able to reach ports on grid nodes using TCP. Display machine at ORBIT control room has that capability (or any other machine connected to that wall plug).  The port numbers to connect are of 80XY format, where X and Y are coordinates of the node. Display machine should have VLC Media Player 0.8.2 installed in  order to show the streams to user. E.g., if experiment is run on sandbox 9, the URL to the stream on [1,2] -> [1,8] pair is http://10.19.1.8:8018
    45 
    46 * Video Clip packages[[BR]]There are two debian packages (with different set of video clips in them) called,
    47 
    48 teststream_1.1-1_all.deb, teststream_1.1-2_all.deb. Normally, experiment support
    49 
    50 script checks the package and installs if it does not exist on the particular
    51 
    52 source node automatically. If debian repository, which is
    53 
    54 repository1.orbit-lab.org (or the network connected to it) fails, it may not be
    55 
    56 loaded on demand. In that case, the mentioned package have to be uploaded and
    57 
    58 installed manually to the node. Video clips are not embedded into the O/S image
    59 
    60 file due to the image file size concerns. The folder on which this debian
    61 
    62 package files reside is repository1:/var/www/video/binary
    63 
    64 
    65 
    66 * Auxiliary scripts
    67 
    68 
    69 
    70 Following are the the shell scripts that can be used on the console to help
    71 
    72 maintaining the experiment. They are not required for functionality, they are
    73 
    74 only for helping with some of the tasks.
    75 
    76 - poweroff-panasonic/poweron-panasonic: Powers off or on all the experiment
    77 
    78 nodes by contacting CMC web interface accordingly.
    79 
    80 - getlunarips: Retrieves lunar interface IP addresses from the streaming nodes.
    81 
    82 Must be run during the experiment.
    83 
    84 - scp-deb: copies teststream debian package to three source nodes via scp.
    85 
    86 
    87 
    88 Steps to Follow:
    89 
    90 
    91 
    92 Step 1)
    93 
    94 
    95 
    96 Make sure that all nodes in the experiment are powered off. poweroff-panasonic
    97 
    98 shell script can be used for that purpose.
    99 
    100 
    101 
    102 Image the experiment nodes with the following command:
    103 
    104 
    105 
    106  imageNodes [1,2],[1,8],[2,1],[2,5],[3,2],[3,8] \
    107 
    108    panasonic-demo-2.4.26-click-20051025.ndz
    109 
    110 
    111 
    112 Carefully watch the imaging process. It should take less than 10 mins. If any of
    113 
    114 the nodes do not come up with PXE image or any of them check back in during the
    115 
    116 imaging process, kill the imaging nodeHandler instance, power-off the nodes, and
    117 
    118 restart imaging.
    119 
    120 
    121 
    122 If successful, nodes will be powered off automatically. They can be powered-on
    123 
    124 with experiment script or with poweron-panasonic shell script without starting
    125 
    126 the experiment.
    127 
    128 
    129 
    130 Step 2)
     443. '''Display machine'''[[BR]]It must be able to reach ports on grid nodes using TCP. Display machine at ORBIT control room has that capability (or any other machine connected to that wall plug).  The port numbers to connect are of 80XY format, where X and Y are coordinates of the node. Display machine should have VLC Media Player 0.8.2 installed in  order to show the streams to user. E.g., if experiment is run on sandbox 9, the URL to the stream on [1,2] -> [1,8] pair is http://10.19.1.8:8018
     45
     464. '''Video Clip packages'''[[BR]]There are two debian packages (with different set of video clips in them) called, teststream_1.1-1_all.deb, teststream_1.1-2_all.deb. Normally, experiment support script checks the package and installs if it does not exist on the particular source node automatically. If debian repository, which is repository1.orbit-lab.org (or the network connected to it) fails, it may not be loaded on demand. In that case, the mentioned package have to be uploaded and installed manually to the node. Video clips are not embedded into the O/S image file due to the image file size concerns. The folder on which this debian package files reside is repository1:/var/www/video/binary
     47
     485. '''Auxiliary scripts'''[[BR]]Following are the the shell scripts that can be used on the console to help maintaining the experiment. They are not required for functionality, they are only for helping with some of the tasks.
     49  * poweroff-panasonic/poweron-panasonic: Powers off or on all the experiment nodes by contacting CMC web interface accordingly.
     50  * getlunarips: Retrieves lunar interface IP addresses from the streaming nodes. Must be run during the experiment.
     51  * scp-deb: copies teststream debian package to three source nodes via scp.
     52
     53=== Steps to Execute Demo ===
     54
     551. '''Initial Setup'''
     56  * Make sure that all nodes in the experiment are powered off. poweroff-panasonic shell script can be used for that purpose.
     57  * Image the experiment nodes with the following command:
     58{{{
     59imageNodes [1,2],[1,8],[2,1],[2,5],[3,2],[3,8] panasonic-demo-2.4.26-click-20051025.ndz
     60}}}
     61    Carefully watch the imaging process. It should take less than 10 mins. If any of the nodes do not come up with PXE image or any of them check back in during the
     62    imaging process, kill the imaging nodeHandler instance, power-off the nodes, and restart imaging. If successful, nodes will be powered off automatically. They can
     63    be powered-on with experiment script or with poweron-panasonic shell script without starting the experiment.
     64
     652.
    13166
    13267