Imaging with HP Device Manager 4.
© Copyright 2012 Hewlett-Packard Development Company, L.P. Microsoft and Windows are U.S. registered trademarks of Microsoft Corporation. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.
Table of contents Overview ............................................................................................................................................ 4 Imaging support matrix ......................................................................................................................... 5 Capturing an image ............................................................................................................................. 6 Capturing an image with PXE .................
Overview This white paper demonstrates how to capture and deploy images. NOTE: Before capturing and deploying images from and to thin clients, you need to ensure that repository configuration has been done. Please refer to the “Repository Management” chapter of the HP Device Manager User Guide for more information.
Imaging support matrix Operating system Thin client models WES7 t610, t510, t5740e, t5570e, 6360t, mt40 t610, t510, t5740, t5570, gt7720 WES09 Image formats Capture Image without PXE Deploy Image without PXE .ibr � � .img, .hpimg, .dd.gz, .dd .ibr 6360t, t5400 Deploy Image with PXE � � � � � .dd.gz .img, .hpimg, .dd .ibr Capture Image with PXE � � � � .dd.gz .img, .hpimg, .dd .dd.
Capturing an image Capturing an image with PXE HPDM supports capturing images with PXE on WES09/XPe, HP ThinPro 3, and HP ThinPro 4, and the captured image is in the .dd.gz format. 1. Check to see if the PXE server is running, and if not, start it first. The PXE server is a service. You can check and start it using the Windows Task Manager (a), Windows Services window (b), or HPDM Gateway Configuration window (c). a. Windows Task Manager b.
c. HPDM Gateway Configuration window i. Right-click the HPDM Gateway tray icon , and the following menu will appear. Click Configure Device Management Gateway. ii. In the HPDM Gateway Configuration window, change Start PXE service when Gateway is started to YES, and then click OK. iii. Right-click the HPDM Gateway tray icon again, and click Restart Device Management Gateway. The PXE server will then be started.
2. Send a _PXE Capture task from HPDM Console. a. Select the _PXE Capture template under the Task Templates tab, and drag it onto a device. A Task Editor dialog will appear.
b. Input values for Image Name, Description, and Save result as template. c. Click OK, and the _PXE Capture task will be sent to the device.
3. When the task is sent, a “PXE Deploy” template will be generated in the Task Templates tab using the name you specified (in this example we used “pxe122”). It is disabled with a status of transferring. If the task fails to finish, it will change to a status of failed, or if the task finishes successfully, its status will change to be enabled, like below. NOTE: A _PXE Capture task can’t be done for a shutdown device or when using a wireless connection.
Capturing an image using the non-cached mode NOTES: If you want to capture images from WES thin clients using the non-cached mode, Share Folders are required. Capturing images using the non-cached mode cannot be done when using a wireless connection. There must be at least 300 MB of free disk space on the thin client when capturing an image from a WES7 device. There must be at least 200 MB of free disk space on the thin client when capturing an image from a WES09 device. 1.
2. In the Task Editor dialog box, enter a name in the Image Name field for the captured image that will be stored in the Master Repository, and enter description information in the Description field for the captured image. NOTE: Do not select the option Cached Imaging when capturing an image using the non-cached mode. 3. If you want to preserve settings when capturing a WES7 image, select Preserve Settings. This option only takes effect on WES7. For other operating systems, please ignore this option.
4. In the Save result as template field, enter a name for the resulting template that will be automatically created to enable you to apply the captured image to other clients. 5. Click OK to apply the task to the device immediately. The Tasks pane in the HPDM Console will continue to indicate that the task is processing. The captured image is being compressed. When the task is sent, a new template will appear in the Task pane with the name you specified for the resulting template.
Capturing an image using the cached mode NOTE: If the Cached Imaging option is selected, it requires enough free disk space and enough RAM (for ThinPro) on the thin client to cache the captured image. —For WES devices, the free disk space should be at least 70% of the total file system size. —For ThinPro devices, the free disk space should be at least 50% of the total disk size and the RAM should be at least 1 GB. 1.
2. In the Task Editor dialog box, enter a name in the Image Name field for the captured image that will be stored in the Master Repository, and enter description information in the Description field for the captured image.
3. Select the option Cached Imaging to capture an image using the cached mode. If the thin client uses an advanced network, such as wireless, 802.1x, etc., this option is necessary. 4. If you want to preserve settings when capturing a WES7 image, select Preserve Settings. This option only takes effect on WES7. For other operating systems, please ignore this option. For more detail about preserving settings, please refer to the Appendix.
5. In the Save result as template field, enter a name for the resulting template that will be automatically created to enable you to apply the captured image to other clients. 6. Click OK to apply the task to the device immediately. The Tasks pane in the HPDM Console will continue to indicate that the task is processing. The captured image is being compressed. When the task is sent, a new template will appear in the Task pane with the name you specified for the resulting template.
Deploying images There is no “Deploy Image” or “PXE Deploy Image” base template. However, they can be created by capturing and importing an image. Therefore, if you want to deploy an image to a thin client, you need to capture an image from a thin client or import an image file from the local file system. In this section, we introduce how to import image files. Importing image files 1. In the HPDM Console, from the Template menu, click Import > Image Files > to deploy without PXE.
3. After selecting the image file, click Import to begin importing the file. 4. In the Package Description Editor, enter the necessary information about this image file. a. Modify the Title of this package. b. Input the Installation Space in bytes. This is the minimum disk size required to install this image. For example, installing the image file W0CH8983.ibr on a device requires at least 2 GB of free space. You would need to enter “2000000000”.
c. Select the Architecture. d. Select the OS Type. This is the image file’s operating system. For example, W0CH8983.ibr is a WES09 image file. You can select the operating system using the following steps: i. Click the OS Type edit box, and the OS Type dialog will appear. ii. Select the desired operating system in the left pane, such as WES09.
iii. Click Select. iv. Click OK, and you will return to the Package Description Editor.
e. Select the Thin Client Models that the image supports. For example, W0CH8983.ibr supports t510, t610, t5740, etc. You can select the thin client models using the following steps. i. Click the Thin Client Models edit box, and the Thin Client Models dialog will appear. ii. Select the desired thin client model from the left pane, such as t5570. iii. Click Select.
iv. Click OK, and you will return to the Package Description Editor. 5. Click Generate to begin uploading the image file to the repository.
6. After the upload is complete, a confirmation message will appear. Click OK to finish this operation. If the image file imported successfully, a new “Deploy Image” template will appear in the Task pane with the name you specified. Deploying images with PXE HPDM supports deploying images with PXE on WES09/XPe, HP ThinPro 3, and HP ThinPro 4. The deployed image format can be .dd.gz, .img, .hpimg, or .dd. 1. Check to see if the PXE server is running, and if not, start it first.
b. Windows Services window c. HPDM Gateway Configuration window i. Right-click the HPDM Gateway tray icon , and the following menu will appear. Click Configure Device Management Gateway.
ii. In the HPDM Gateway Configuration window, change Start PXE service when Gateway is started to YES, and then click OK. iii. Right-click the HPDM Gateway tray icon again, and click Restart Device Management Gateway. The PXE server will then be started. 2. From HPDM Console, click the Task Templates tab, and drag a “PXE Deploy” template onto a device. A “PXE Deploy” template can be created two different ways. a. A “PXE Deploy” template can be generated by doing a _PXE Capture task.
b. A “PXE Deploy” template can also be generated by importing an image from the Template menu and clicking Import > Image Files > to deploy using PXE. In the example below, we are importing a pxe128.dd.gz image. NOTE: For more information, refer to Importing image files. After importing the image, a “PXE Deploy” template will be generated in the Task Templates tab.
3. After dragging a “PXE Deploy” template onto a device, the Task Editor will appear. Click OK, and the “PXE Deploy” task will be sent to the device. NOTES: The following settings are preserved on the target device: —WES09/XPe: Hostname, Network, and Write Filter status —HP ThinPro 3/4: Hostname and Network When deploying an image to a shutdown device, the device should support “Network boot first” so it can be woken up.
Deploying images without PXE HPDM supports two modes to deploy an image without PXE. One is a cached mode, and the other is a noncached mode. The cached mode is a new feature added in HPDM 4.5. If the thin client uses an advanced network, such as wireless, 802.1x, etc., please use the Cached Imaging mode to capture an image. The following table shows which formats are supported when deploying images to thin clients. Operating system Image format (non-cached mode) Image format (cached mode) WES7 .
3. Drag and drop the template onto the devices to which you want to deploy the image. The Task Editor dialog box will appear. 4. Click View Details, and detailed information of the image will appear. NOTE: Do not select Cached Imaging when deploying an image using the non-cached mode.
5. If you want to deploy the image to a device that is a different hardware platform from the source device, select Allow Cross-Platform Imaging. This option only takes effect when deploying an image to a device with a WES operating system. NOTE: For example, if you captured a WES image from a t510 Thin Client and want to deploy it to a t610 Thin Client, you need to select this option. Otherwise, this “Deploy Image” task will fail.
Deploying an image using the cached mode NOTES: If the Cached Imaging option is selected, it requires enough free disk space and enough RAM (for ThinPro) on the thin client to cache the image file. —For WES devices, the free disk space must be greater than the image file size. —For ThinPro devices, the free disk space must be greater than the image file size and the RAM size must be at least 1 GB.
4. Click View Details, and detailed information of the image will appear.
5. Select Cached Imaging when deploying an image using the cached mode. If the thin client uses an advanced network, such as wireless, 802.1x, etc., this option is necessary. 6. If you want to deploy the image to a device that is a different hardware platform from the source device, select Allow Cross-Platform Imaging. This option only takes effect when deploying an image to a device with a WES operating system.
7. Click OK to apply the “Image Deploy” task to the devices.
Appendix Preserved settings during imaging Source device—The device from which the image will be captured. Target device—The device to which the captured image will be deployed. Settings preserved when capturing an image WES7: For WES7, WES7E, and WES7P thin clients, the following settings and connections are preserved on both the source device and the captured image when capturing an image. These settings and connections will then be migrated when deploying the image to other devices.
ThinPro: All settings from the source device are preserved on both the source device and the captured image, except the hostname and network settings. Settings preserved when deploying an image When deploying an image, the following settings on the target device will be preserved and restored after the image deployment.
Imaging task performance This section introduces the time spent for imaging tasks. We gathered this data from our test environment, but it is for reference only. The time spent on imaging tasks depends on the network environment, protocol, and hardware.
Known issues • Deploying an image using PXE: If a device is shut down and not set to “Network boot first”, the device will receive the reboot task circularly. Workaround: 1. Go into the BIOS and enable “Network boot first”. 2. Cancel the task from HPDM Console. • For WES7E, WES7P, and WES09, if the source thin client was joined to a domain prior to a Capture Image task, then domain membership will be lost after cloning the image.