Changes between Version 2 and Version 3 of Internal/Infrastructure/OMF/NodeHandler/Applications/SaveNode


Ignore:
Timestamp:
Apr 8, 2008, 6:58:46 PM (17 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/Infrastructure/OMF/NodeHandler/Applications/SaveNode

    v2 v3  
    11
    2 Go back --> [wiki:Documentation] --> [wiki:Documentation/orbit-pxe Orbit-PXE]
     2Go back --> [wiki:Documentation] --> [wiki:Internal/Infrastructure/NodeHandler !NodeHandler]
    33
    44
    5 == Saving node images with Orbit-PXE ==
     5= '''save''' Command =
    66
    7 When you issue the saveNode command as follows:
     7Nodehandler '''save''' command is used for capturing the current image of the node into an archive file on the image server. The set of command line options for imaging function are given by "orbit help save":
    88
    99{{{
    10 saveNode 1,2
     10Save a disk image from a given node into an archive file
     11
     12Usage:
     13      omf save [-h]
     14      omf save [NODE] [DOMAIN]
     15
     16      With:
     17      -h, --help    print this help message
     18      NODE          a valid node description
     19                    (no default here, you have to enter a node!)
     20
     21      Some Examples:
     22                    omf save [5,10]
     23                    omf save [11,2] grid
     24
    1125}}}
    1226
    13 the nodehandler will request the node specified to reboot itself and load orbit-PXE into RAM (see [wiki:Documentation/orbit-pxe/loading Orbit-PXE Loading]).  Once the node checks in with the Orbit-PXE's nodeagent the nodehandler will ask the node's nodeagent to save the current image it has loaded on disk by issuing the following command (TCP port 9006):
     27Imaging process starts by the request from the nodehandler to the PXE grid service to set the tftp server to [wiki:Internal/Infrastructure/PXEService provide the PXE image] for the node's IP address. The nodehandler will then request the specified node to reboot itself (trough CMC Grid Service request) and thus load that PXE image into RAM (see [wiki:Internal/Infrastructure/PXEImage]).  Once the node checks in with the PXE's nodeagent, the nodehandler will ask the node's nodeagent to save the current image it has loaded on disk by issuing the following command (TCP port 9006):
    1428
    1529{{{
    16 S 10.18.1.2 SAVEIMAGE frisbee:/export/orbit/image/tmp node-1-2-sb8-timestamp.ndz
     30S 10.DOMAIN.X.Y SAVEIMAGE frisbee:/export/orbit/image/tmp node-X-Y-DOMAIN-timestamp.ndz
    1731}}}
    1832
     
    2034
    2135{{{
    22 imagezip /dev/hda /mnt/node-1-2-timestamp.ndz
     36imagezip /dev/hda /mnt/node-X-Y-timestamp.ndz
    2337}}}
    2438
    25 Once nodeagent is done the node will be halted through:
    26 
    27 {{{
    28 shutdown -h now
    29 }}}
     39Once nodeagent is done the node will be turned off by the nodehandler trough the CMC service.