Setting Up Workstations for Imaging

The following sections cover procedures to prepare workstations for imaging. The procedures that are applicable to you depend on your imaging deployment strategy. (See Imaging Deployment Strategies.)


Preparing an Imaging Boot Device or Method

Because the ZfD imaging engine is a Linux* application, in order to image a computer you must boot it to Linux temporarily while the imaging engine runs. The bootable device or method you use can be any of the following:

The following sections contain additional information:


Preparing a Bootable CD

If you have CD-burning software, you can use the BOOTCD.ISO image available on the ZfD imaging server to create a ZfD imaging boot CD.

To create a bootable CD:

  1. In a temporary working area, create a SETTINGS.TXT file containing the settings you want for the imaging bootup process. For instructions, see Imaging Utilities and Options in Workstation Imaging in Administration.

  2. Use the Add Linux Drivers button in the Imaging Boot Disk Creator (ZIMGBOOT.EXE) to copy the Linux drivers to a diskette. Copy the A:\DRIVERS directory from the diskette to the temporary working area mentioned above.

    For more information about adding Linux drivers, see the online help for the Imaging Boot Disk Creator or see Using ZIMGBOOT.EXE to Add Linux Drivers in Imaging Boot Disk Creator (ZIMGBOOT.EXE) in Imaging Utilities and Options in Administration.

  3. In the temporary working area, add any ZfD image files you want to store on the CD.

  4. Use your CD-burning software to burn the BOOTCD.ISO image onto the CD. This image is located in the ZENWORKS\IMAGING folder in your ZfD installation (on the imaging server).

  5. Use your CD-burning software to add the contents of your temporary working area to the root of the CD, including the SETTINGS.TXT file, any Linux network drivers, and any ZfD image files.

    NOTE:  Adding these files makes the CD a multisession CD. To boot a workstation from such a CD, the CD drive must support multisession CDs. For example, in our testing, we successfully booted an HP* vectra VL, a Compaq* Prosignia, and a Dell* Optiplex, but some other workstations failed, including an IBM* PC 300PL, a Dell Dimension XPS T450, and an IBM clone with an Intel* motherboard.

  6. Use your CD-burning software to finalize the CD.

For information on how to use the CD to perform disconnected imaging operations, see Setting Up Disconnected Imaging Operations.


Adding Linux Device Drivers

If you need to, you can add Linux device drivers to your boot device or method.


Obtaining Linux Drivers

To obtain a Linux driver for your particular hardware, you should visit the Web site of the hardware vendor and check for a download site.

There are also some other Web sites where you can obtain drivers:

You can also get additional Linux drivers at the Novell® ZENworks Cool Solutions Web Community.

To learn more about drivers, including the loading parameters you need to specify, see the Linux Documentation Project and visit the following HOWTO sites:


Adding Linux Drivers to Your Boot Device or Method

Diskettes

For instructions, see Using ZIMGBOOT.EXE to Add Linux Drivers in Imaging Boot Disk Creator (ZIMGBOOT.EXE) in Imaging Utilities and Options in Administration.


CD

For instructions, see Preparing a Bootable CD.


Hard-Disk Partition

It is unlikely that you will need to add Linux drivers if you are using a ZfD imaging partition. If you want to update the Linux drivers, however, follow this procedure:

  1. Boot the workstation using imaging boot diskettes, an imaging boot CD, or if it is PXE-enabled, boot it from the PXE server.

  2. Enter manual at the boot prompt or select to start in Maintenance Mode from the PXE menu.

  3. Enter the following to mount the hard drive:

    mount /dev/hda1 /mnt/harddisk

  4. Enter the following to mount the diskette that contains the driver files:

    mount /dev/fd0 /mnt/floppy

  5. Enter the following to copy the files to the appropriate directory on the ZfD imaging partition:

    cp /mnt/floppy/*.o /mnt/harddisk/lib/modules/2.4.3/drivers/net

  6. Type reboot > press Enter.


Preboot Services (PXE)

To add Linux drivers for use with PXE, you must have a working Linux workstation capable of mounting a loop device. Red Hat* 7 has this ability compiled in the distribution kernel.

  1. On the TFTP server on your PXE server, locate the linux.2 file in \PUBLIC\ZENWORKS\IMAGING\TFTP. Make a backup copy of this file.

  2. On the Linux workstation, create a working directory for linux.2.

  3. Using a transfer method such as FTP, transfer linux.2 to the directory created in Step 2.

  4. Enter the following to rename linux.2 to linux.gz:

    mv linux.2 linux.gz

  5. Enter the following to extract linux.gz:

    gzip -d linux.gz

    This will replace the linux.gz file with a file named linux. This file is a MINIX file system that can be mounted and changed.

  6. Enter the following to create a mount point:

    mkdir /mnt/loop

  7. Enter the following to mount the file system:

    mount -o loop linux /mnt/loop

  8. Copy the driver files to the appropriate directory in the /mnt/loop directory structure.

  9. Enter the following to unmount the updated file system:

    umount /mnt/loop

  10. Enter the following to zip the file:

    gzip --v9c linux

  11. Enter the following to rename the file:

    mv linux.gz linux.2

  12. Using a transfer method such as FTP, transfer linux.2 to the TFTP server.


Booting with a Non-English Keyboard

If you will image computers that have non-English keyboards, the imaging boot device or method must include additional support for that language, in the form of a language diskette. (When booting a computer from the imaging device or method, you will be prompted for this diskette.) For information on preparing this diskette, see the online help in the Imaging Boot Disk Creator (ZIMGBOOT.EXE) utility.

If the Language/Country drop-down list in the Imaging Boot Disk Creator utility doesn't have the keyboard language you need, you can close the utility and reconfigure it to support the additional language. This assumes you can find Linux keyboard support files somewhere on the Web.


Adding Support for Another Keyboard Language
  1. Get the Linux .GZ files that contain the keyboard mappings, fonts, and Unicode* mappings for the language that you want to add.

  2. From the folder containing the ZIMGBOOT.EXE file, browse to the BOOTDISK folder > copy the .GZ files for the new language to the following subfolders:

    • The keyboard map file goes in the KEYMAPS folder.
    • The font file goes in the CONSOLEFONTS folder.
    • The Unicode map file goes in the CONSOLETRANS folder.

  3. Add a section to the ZIMGLANG.INI file using the format illustrated for German in Imaging Bootup Languages (ZIMGLANG.INI) in Imaging Utilities and Options in Workstation Imaging in Administration.

    1. For the bracketed section heading, specify the language or country name that you want shown in the Imaging Boot Disk Creator utility.

    2. On the KEYMAP, FONT, and ACM parameters, specify the names and locations (relative to the BOOTDISK folder) of the keyboard map, font, and Unicode map files, respectively.

  4. Save your changes to the ZIMGLANG.INI file.

  5. Restart the Imaging Boot Disk Creator utility and verify that the new language appears in the Language/Country drop-down list.


Installing the Imaging Agent to Safeguard Workstation Identity Data

When you lay down a new base image on a Windows workstation, the workstation receives the same identification data as the computer from which the image was taken, including such settings as the IP address and computer (NETBIOS) name. To work around this, you can install the ZfD Imaging Agent (ZISWIN.EXE) on the target workstation before reimaging it. This saves the workstation's current identity settings to an area on the hard disk that's safe from reimaging. When the workstation reboots after being reimaged, the agent restores the original settings.

IMPORTANT:  The imaging agent does not save or restore any Windows NT/2000 Domain information. If you change a workstation's domain and then restore an image, the workstation will receive whatever domain is embedded in the new image.

The table below lists the different ways you can install the imaging agent, along with the location of the installation instructions.

Installation Method See

Do a custom Novell Client installation and choose the Imaging Services option

Overall Software Requirements in Hardware and Software Requirements in Installation and Setup in Getting Started

Run the ZISD-9x or ZISD-NT application object on the workstation

Distributing an Application in Application Management in Getting Started

Manually install the imaging agent

Step 3 in Enabling a Workstation for Unattended Imaging Operations in Testing Basic Imaging Operations in Workstation Imaging in Getting Started


Registering Workstations for Auto-Imaging

When you boot a Windows workstation from an imaging device or method and allow the bootup process to proceed in auto-imaging mode, the imaging engine runs on the workstation and contacts a ZfD imaging server. In order for the workstation to actually be imaged in this mode, you must either define an NDS policy for the ZfD imaging server, or you must do the following before booting the workstation from the imaging device or method:

  1. Register the workstation as a Workstation object in the NDS tree that contains the ZfD imaging server.

    For instructions on how to do this, see Automatic Workstation Import in Getting Started.

  2. Set a flag in the Workstation object that triggers the imaging operation you want.

    For instructions on how to do this, see Triggering an Unattended Imaging Operation in Testing Basic Imaging Operations in Workstation Imaging in Getting Started.