Changes between Version 2 and Version 3 of Internal/Infrastructure/OMF/NodeHandler/Applications/SaveNode
- Timestamp:
- Apr 8, 2008, 6:58:46 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/Infrastructure/OMF/NodeHandler/Applications/SaveNode
v2 v3 1 1 2 Go back --> [wiki:Documentation] --> [wiki: Documentation/orbit-pxe Orbit-PXE]2 Go back --> [wiki:Documentation] --> [wiki:Internal/Infrastructure/NodeHandler !NodeHandler] 3 3 4 4 5 = = Saving node images with Orbit-PXE ==5 = '''save''' Command = 6 6 7 When you issue the saveNode command as follows:7 Nodehandler '''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": 8 8 9 9 {{{ 10 saveNode 1,2 10 Save a disk image from a given node into an archive file 11 12 Usage: 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 11 25 }}} 12 26 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 nodeagentthe 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):27 Imaging 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): 14 28 15 29 {{{ 16 S 10. 18.1.2 SAVEIMAGE frisbee:/export/orbit/image/tmp node-1-2-sb8-timestamp.ndz30 S 10.DOMAIN.X.Y SAVEIMAGE frisbee:/export/orbit/image/tmp node-X-Y-DOMAIN-timestamp.ndz 17 31 }}} 18 32 … … 20 34 21 35 {{{ 22 imagezip /dev/hda /mnt/node- 1-2-timestamp.ndz36 imagezip /dev/hda /mnt/node-X-Y-timestamp.ndz 23 37 }}} 24 38 25 Once nodeagent is done the node will be halted through: 26 27 {{{ 28 shutdown -h now 29 }}} 39 Once nodeagent is done the node will be turned off by the nodehandler trough the CMC service.