Changes between Version 3 and Version 4 of Internal/VirtualPL/ParallelImaging


Ignore:
Timestamp:
Sep 18, 2006, 10:31:39 PM (18 years ago)
Author:
Surya Satyavolu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/VirtualPL/ParallelImaging

    v3 v4  
    11The task of parallelization of imaging basically involves running multiple instances of nodeHandler which would launch different images on different nodes. The basic sequence of imaging of nodes as of now is as follows:
    22
    3 1. The user runs the script imageNodes with the nodes and the image to be loaded as inputs.
     3 1. The user runs the script imageNodes with the nodes and the image to be loaded as inputs.
    44
    5 2. The parameters are passed on to the nodeHandler which then resets the specific nodes using cmc.
     5 2. The parameters are passed on to the nodeHandler which then resets the specific nodes using cmc.
    66
    7 3. It also launches the frisbee server from the tftpboot which sends out the particular image on a multicast address and creates tftp links to the node to provide nodes with the memory based image.
     7 3. It also launches the frisbee server from the tftpboot which sends out the particular image on a multicast address and creates tftp links to the node to provide nodes with the memory based image.
    88
    9 4. On the node side, the nodes when started boot into the memory image and then launch the frisbee client.
     9 4. On the node side, the nodes when started boot into the memory image and then launch the frisbee client.
    1010
    11 5. The frisbee client fetches disk chunks from the frisbee client and writes it to the hard disk.
     11 5. The frisbee client fetches disk chunks from the frisbee client and writes it to the hard disk.
    1212
    13 6. The tftp links for the nodes are then removed.
     13 6. The tftp links for the nodes are then removed.
    1414
    15 7. From now on the nodes boot up from the image stored in the hard disk.
     15 7. From now on the nodes boot up from the image stored in the hard disk.
    1616
    1717The imaging of nodes in parallel involves launching multiple instances of nodehandler which in turn implies launching more than one frisbee servers with different multicast addresses throwing away different images. At present the frisbee server settings are such that one multicast address per domain is allowed. For e.g. if a user is using a sb only one multicast address for a particular sb is allowed. So in case a user runs a second imageNodes in parallel, the frisbee server fetches the same nulticast address that results in an error. Thus the basic steps involved in parallelization would be :
    1818
    19 1. Tweaking the way frisbee server is launched, so that even if two frisbee servers are launched in the same domain, they throw images on different multicast addresses.
    20 2. Making appropriate changes in nodeHandler.rb since right now the script only allows one instance of nodeHandler to run at a time.
     19 1. Tweaking the way frisbee server is launched, so that even if two frisbee servers are launched in the same domain, they throw images on different multicast addresses.
     20 2. Making appropriate changes in nodeHandler.rb since right now the script only allows one instance of nodeHandler to run at a time.
    2121
    2222An alternative approach could be launching the frisbee server and client manually for different images. On a high level the basic steps involved would be:
    2323
    24 1. Create the tftp links to the nodes manually so that the nodes can boot into the memory based images.
    25 2. Launch the frisbee servers from tftpboot in reposotory2 using different multicast addresses.
    26 3. Launch the frisbee client on the nodes manually, with multicast addresses corresponding to the images to be loaded.
     24 1. Create the tftp links to the nodes manually so that the nodes can boot into the memory based images.
     25 2. Launch the frisbee servers from tftpboot in reposotory2 using different multicast addresses.
     26 3. Launch the frisbee client on the nodes manually, with multicast addresses corresponding to the images to be loaded.
    2727
    2828As 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.