1.6 Preboot Strategies

1.6.1 Automating Installations and Imaging Tasks

You can automate Linux installations and imaging tasks using Preboot Services in the following ways:

  • SUSE Linux installation: The AutoYaST bundle can automate installation of SUSE Linux on a Linux device.

  • Red Hat Linux installation: The kickstart bundle can automate installation of Red Hat Linux on a Linux device.

  • Imaging Script: The Linux Imaging Script bundle can automate execution of Imaging Script on a managed device, including imaging commands.

  • MDT Deployment: The MDT Deployment bundle can automate installation or deployment of Windows desktop and server.

  • Imaging Multiple Devices: The Multicast Image Set bundle can be used to place an image on multiple devices with one pass of the image file over the network, such as in resetting lab devices. This is applicable only for ZENworks Imaging.

  • Third-party Image: The third-party image bundle can be used to place an image on a device that are taken using ImageX or Ghost third-party imaging tools.

  • WinPE Imaging Script: The WinPE Imaging Script bundle can automate execution of WinPE Imaging Script on a managed device, including imaging commands.

  • Device Imaging: The ZENworks Image bundle can be used to place an image on a device that are taken using Linux or WinPE imaging.

All you need to do to accomplish any of these actions is to create and configure one of the Preboot bundle types, then assign the bundle to the desired devices. When a device boots, the assigned bundle is automatically applied before the device’s operating system starts.

You can also accomplish these tasks per device using the Novell Preboot Services Menu’s Start ZENworks Imaging Maintenance option to access the imaging maintenance mode prompt, if you have enabled the menu for the device. Or, you can use a Preboot Services bootable CD or DVD, or bootable USB, which does not require PXE to be enabled on the device. For more information, see Section 3.1.2, Using the Command Line for ZENworks Imaging.

1.6.2 Creating, Installing, and Restoring Standard Images

As new devices are purchased and before deploying them, you can install a standard software platform and enable the device for future unattended reimaging.

  1. Create a model device of each type that you intend to deploy.

  2. Create an image of each model device on a ZENworks Imaging Server. For more information, see Manually Taking an Image of a Device.

    These images should include the Novell ZENworks Configuration Management Imaging Agent (novell-zisdservice).

  3. Optionally, you can create a preboot bundle for this image. This allows the image to be assigned automatically for later use.

  4. If you are using Preboot Services, install Configuration Management on a server, which makes it an Imaging Server. For more information, see Section 2.1, Preparing a Preboot Services Imaging Server.

    or

    If you are using a bootable CD or DVD, a ZENworks partition, or a bootable USB, create a boot CD or DVD that points to the ZENworks Imaging Server where the model images are stored. For more information, see Section 2.3, Setting Up the Preboot Services Methods for ZENworks Imaging.

As each new device comes in, do the following if you are using Preboot Services:

  1. Make sure the device is PXE capable. Enable PXE if it isn’t enabled by default. For more information, see Section 2.7, Enabling PXE on Devices.

  2. Physically connect the device to the network.

  3. Boot the device from the Preboot Services Imaging Server.

If you are not using Preboot Services, boot the device with the imaging boot CD or DVD and consider installing the ZENworks partition to enable auto-imaging without the CD or DVD. For more information, see Step 3 of Section 2.8.2, Enabling a Device for Imaging Operations. After you have installed the partition, reboot the device from the ZENworks partition.

1.6.3 Reimaging Corrupted Devices

Without data loss or undue disruption to users, you can fix devices that have become misconfigured or corrupted.

  1. When a device needs to be fixed, have the user back up any files to the network that he or she wants to keep (if possible).

  2. Create and/or assign an appropriate Preboot bundle to the device.

  3. If it is a device with a ZENworks partition or if it is PXE-enabled, the user should boot the device from the ZENworks partition or the Preboot Services Imaging Server (via PXE) to find and execute the assigned bundle. If you are using PXE, make sure that Preboot Services is installed on your server to make it an Imaging Server. For more information, see Section 3.0, Using Imaging.

    or

    If the device does not have a ZENworks partition and is not PXE-enabled, the user should boot the device with the imaging boot CD or DVD, or a bootable USB, and restore the appropriate images .

  4. After the image is laid down, restore any user files that were backed up to the network.

1.6.4 Restoring Lab Devices to a Clean State

You can restore devices to a clean state, removing any changes or additions made since the last time you restored the image on that device. This is useful for updating lab devices.

For a method to initially set up a lab, see Section 1.6.6, Multicasting Device Images.

The following steps assume that the devices are unregistered.

  1. Create an image of a clean model device and store it on a ZENworks Imaging Server. For more information, see Manually Taking an Image of a Device.

  2. If you are using Preboot Services, make sure that Configuration Management is installed on your server to make it an Imaging Server. For more information, see Section 2.1, Preparing a Preboot Services Imaging Server.

  3. If you are using Preboot Services and the devices are PXE capable, make sure that PXE is enabled. For more information, see Section 2.7, Enabling PXE on Devices.

    or

    If you are not using Preboot Services or the ZENworks partition, create an imaging boot CD, DVD, or bootable USB that points to the ZENworks Imaging Server where the clean image is stored. For more information, see Section 2.3, Setting Up the Preboot Services Methods for ZENworks Imaging.

Deploy each lab device as follows:

  1. Physically connect the device to the lab network.

  2. If you are using Preboot Services, boot the device from the Preboot Services Imaging Server.

    or

    If you are not using Preboot Services, boot the device with the imaging boot CD, DVD or bootable USB and install the ZENworks partition. For more information, see Step 3 of Section 2.8.2, Enabling a Device for Imaging Operations. After you have installed the partition, reboot the device from the ZENworks partition.

  3. At the end of each lab session, assign the Preboot bundle to the lab devices.

  4. Reboot each device and let it be auto-imaged by its assignment to a ZENworks Preboot bundle.

1.6.5 Setting Up Devices for Future Reimaging

With minimal disruption to users, you can enable existing devices for future reimaging.

This process might need to be phased in by local administrators. Each administrator can do the following:

  1. Install the ZENworks Agent. After installing the agent, novell-zisdservice on Windows and novell-zislnx on Linux services are started.

  2. If the devices are PXE-capable, make sure PXE is enabled (see Section 2.7, Enabling PXE on Devices) and make sure that Configuration Management is installed on your server to make it an Imaging Server (see Section 2.1, Preparing a Preboot Services Imaging Server).

    or

    Prepare a few sets of imaging CDs or DVDs, or bootable USB that users can use when they have difficulty (see Section 2.3, Setting Up the Preboot Services Methods for ZENworks Imaging). These devices should point to an Imaging Server that contains the same clean images used for new devices.

  3. If a user has difficulty, use the strategy for reimaging corrupted devices. For more information, see Section 1.6.3, Reimaging Corrupted Devices.

1.6.6 Multicasting Device Images

The following sections explain the multicasting images feature for ZENworks Imaging:

For instructions on using multicasting, see Section 3.3, Multicasting Images for ZENworks Imaging.

Understanding Multicasting

Multicasting is a way to send the same image to multiple devices without sending that image multiple times across the network. It is done by inviting participants to join a multicast session. Multicasting is similar to broadcasting on the network, because you send the image once to the network and only those devices belonging to the multicast session can see and receive it. This saves on network bandwidth usage.

For example, if you have 10 devices in the multicast session and the image is 3 GB in size, your network experiences only 3 GB of network traffic to image all 10 devices. Without multicasting, the network experiences 30 GB of network traffic to image all 10 devices individually.

The devices to be imaged must be physically connected to the network. They can be devices with existing operating systems of any kind, or they can be new devices with no operating system installed.

IMPORTANT:For multicasting to work properly, all routers and switches on the network must have their multicast features configured. Otherwise, multicast packets might not be routed properly.

Multicasting can be done automatically or :

Automatic Multicasting

In ZENworks Control Center, multicasting is accomplished by configuring a Multicast Image Set bundle. The bundle contains a base image that is taken previously from a device and is stored on an Imaging Server. This base image is applied to all multicast session participants.

When using a Preboot bundle to perform multicasting, the Imaging Server is the session master, which sends the .zmg image file to the session participants. Novell-pbserv is used in this process. All problems are reported to Novell -pbserv, which is the session master device in this case.

For more information, see Section 3.3, Multicasting Images for ZENworks Imaging.

Manual Multicasting

At the imaging maintenance mode prompt, you can enter commands to configure and initiate a multicasting session. You enter the appropriate commands on the prompt at each device, specifying one of them to be the session master. An image of the session master’s hard drive is sent to each of the session participants.

For more information on the imaging commands, see Section E.5, Session Mode (Multicast Image Set).

If you plan to set up multicasting by visiting each device, you need either an imaging boot CD or DVD, bootable USB, or the devices must be PXE-enabled. For more information, see Section 2.3, Setting Up the Preboot Services Methods for ZENworks Imaging.

Practical Uses For Multicasting

Multicasting is ideal for labs, classrooms, and staging areas, or for any place where you need to quickly create the same configuration on multiple devices, instead of taking the time to set up each device individually.

Benefits of Multicasting Images

Multicasting is the way to use ZENworks Imaging Engine for mass reimaging with the least amount of overhead. It is useful if you have one device with a clean software configuration that you want to duplicate on several other devices, or if you have a single image that you want to set up on multiple devices.

Limitations of Multicasting Images

One significant limitation of using multicast without installing any Configuration Management software is that it results in a set of devices that have duplicate network identities. The IP addresses (if the network is using static IP addressing) and device hostname are all the same and can cause conflicts if deployed on the network without change.

For a handful of devices, this might not be a problem. But for a larger number of devices, you should install the Novell ZENworks Configuration Management Imaging Agent (novell-zisdservice) on each device before doing the multicast (see Section 2.8.2, Enabling a Device for Imaging Operations). The Imaging Agent saves the device’s network identity settings before the multicast session and restores them afterwards.

Automatic Multicasting Example

To automatically multicast an image to multiple devices using ZENworks Control Center:

  1. In ZENworks Control Center, create a Multicast Image Set bundle using a wizard.

  2. Specify the source image for the bundle.

    You can multicast an existing image from your Imaging Server.

  3. Configure the trigger for multicasting the bundle, as in the following examples:

    Client Count: When the specified number of clients specified in the bundle have booted and registered, the multicast session begins.

    Time Count: When the specified length of time has passed with no new clients having registered, the multicast session begins regardless of the number of client participating.

    The first trigger to be realized causes the multicast session to begin.

  4. Assign the Multicast Image Set bundle to the desired devices.

    ZENworks Control Center provides a way to enable or disable a Multicast Image Set bundle, allowing you to temporarily stop the bundle from executing. This is more efficient than unasssigning the bundle from many devices.

  5. Wait for the trigger to happen.

    Each device booting into the session has its boot process delayed until the session begins, which is determined by fulfillment of one of the triggers.

    The multicast happens automatically when a device assigned to the Multicast Image Set bundle boots, according the configuration you set up for the Multicast Image Set bundle and for the devices you assigned to the bundle. This bundle is applied to each session device before it boots its operating system. The ZENworks Multicast Image Set bundle is sent over the wire just once, using the multicast capability of your network, and executed simultaneously on all participating devices.