Changes between Version 5 and Version 6 of Internal/VirtualPL/ParallelImaging


Ignore:
Timestamp:
Sep 19, 2006, 4:04:06 PM (18 years ago)
Author:
shruti
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/VirtualPL/ParallelImaging

    v5 v6  
    2121
    2222As a first step, some changes have been made to the imageNodes shell script which result in the identification of any concurrent running instance of nodeHandler. If the nodeHandler is already being run, it gives out a warning message to the user and exits. The nodeHandler in the meanwhile continues the imaging of the nodes. In case nodeHandler is not running, it will go ahead and image the nodes as specified. The modified imageNodes (imageNodes_new) is attached at the end of the page.
     23
     24
     25Date : 9/19/06
     26
     27To image the nodes in parallel, instead of running multiple instances of nodeHandler, we are trying to bypass the nodeHandler itself and. The basic three functions of the nodeHandler
     28
     291. Creating soft links with the node to server the basic memory based image,
     30
     312. Launching the frisbee server
     32
     333. And reseting the respective nodes.
     34
     35will now be performed by the shell script imageNodes itself.
     36
     37All these three commands can be executed using the xml querries at the command line. The querries for these three operations are:
     38
     39For creating soft pxe links with a particular node:
     40
     41http://pxe:5012/pxe/getAddress?img=<image name>&node=<node ID>&ip=<ip address of node>
     42
     43For launching the frisbee server:
     44
     45http://frisbee:5012/frisbee/getAddress?img=<image name to be launched>
     46
     47In case the image is already launched, it will return the multicast address and port number for that image. If not it will launch that image on new port number and a default multicast address. Since new images are launched on new port, different multicast addresses for different images are not required.
     48
     49Similarly the cmc service can be used to reset the nodes as follows:
     50
     51http://cmc:5012/cmc/reset?x=<x co-ordinate of node>?&y=<y coordinate of node>
     52
     53To implement these changes the imageNodes has been changed a bit.
     54
     551. On running imageNodes it fisrt checks for the domain its running on and the nodes on which it has to serve the soft pxe link. It then creates a soft link using the pxe server, with the subnet number of the domain itself.
     56
     572. It then launches the frisbee server on the tftpboot and starts giving out the image specified at the command line.
     58
     593. Resets the specific nodes using cmc.
     60
     61The changed copy of imageNodes is attached at the end of the page.