59.5 Performing an Automatic Imaging Creation or Restoration

The following procedure explains how to use ConsoleOne to set a flag in the Workstation object that indicates to take or put an image on the workstation the next time it is booted, and then verify that the imaging operation occurs as expected.

  1. If the imaging operation that you want to trigger is to put an image on the workstation, do the following. Otherwise, skip this step.

    1. If you haven’t already done so, create the image to be put on the workstation. Make sure to store it on your ZENworks Imaging server. For more information, see Section 60.1, Manually Taking an Image of a Workstation.

    2. In ConsoleOne, create a Workstation Image object in your eDirectory tree. Configure the object to point to the image file that is to be put on the workstation. For more information, see Creating a Workstation Image Object. For details on pointing to the image file, click Help in the Image File Location dialog box.

  2. In ConsoleOne, right-click the Workstation object, then click Properties.

  3. On the ZENworks Imaging Configuration page, do either of the following:

    • To take an image of the workstation the next time it boots, select the first check box, click the browse button next to the available field, select your ZENworks Imaging server and the path and filename under which to store the new image, select the Use Compression check box and select a compression option if you want to use compression (click Help for details), then click OK.

    • To put an image on the workstation the next time it boots, select the Put an Image on This Workstation on Next Boot check box, select the box that says to use an image other than the effective policy image or multicast session, click the browse button next to the available field, select the Workstation Image object you created in Step 1b, then click OK.

    IMPORTANT:Be sure that the ZENworks Imaging server storing the image or the workstation receiving the image has enough disk space for the image. Otherwise, you receive a “Failed to write to proxy” error.

  4. Click OK to save the imaging configuration settings.

    After the imaging operation has been performed on the workstation, Desktop Management clears these imaging configuration settings automatically so that the imaging operation won’t keep recurring.

  5. Verify that the imaging operation occurs as expected when you reboot the workstation.

    When you put a base image and its add-on images on a workstation, if you abort the process after the base image is put down, or if one of the add-on images fails, the ZENworks Imaging Engine reports a “successful image” to Linux.

    For example, suppose the base image containing the new OS is successfully laid down and one or more of the add-on images fails. In order for the workstation to reboot to the new OS, the ZENworks Imaging server must report to Linux that the image was successful.

    If any add-on images are not successfully laid down, the job is not marked as complete in ConsoleOne. You can see the last base image and the last add-on images that are successfully laid down by looking at the workstation object’s properties in ConsoleOne (right-click the Workstation object, click the down-arrow on the ZENworks Imaging tab, then click History).