7.2 Installing the ZENworks Agent and Registering the Device

The following instructions explain how tomanually install the ZENworks Agent and register it to the Management Zone. You should follow the instructions on at least one device to become familiar with the installation and registration process. However, before installing the ZENworks Agent on a large number of devices, you should review the following sections:

Dell PowerEdge Servers: If you plan to update Dell PowerEdge servers by using Dell Update Packages, we recommend that you mirror the packages from the Dell FTP site before installing the ZENworks Agent on the managed PowerEdge servers. You can also mirror the packages after installing the ZENworks Agent on the managed PowerEdge servers but before registering them in the ZENworks Management Zone. Mirroring the Dell Update Packages prior to installing the ZENworks Agent or registering the servers in the Management Zone ensures that all Dell model numbers are loaded into the database, the standard reports are run as the servers register, and the Dell Update Packages exist in the ZENworks package repository. For more information, see Using Dell Update Package Bundles in the Novell ZENworks 7.2 Linux Management Administration GuideNovell ZENworks 7.2 Linux Management Administration Guide.

7.2.1 Manually Installing the ZENworks Agent

To manually install the ZENworks Agent and register it in the Management Zone:

  1. Make sure the device meets the necessary requirements. See Section 2.3, Managed Device Requirements.

  2. At the Linux device, mount the media you are using for the install:.

    • Novell ZENworks 7 Linux Management Agent CD

    • Novell ZENworks 7.2 Linux Management Agent CD

    • Novell ZENworks 7.2 Linux Management with Interim Release 1 Agent CD

    • ZENworks Agent CD

    Or

    • ISO image

      The ISO image of ZENworks 7.2 Linux Managementwith IR1a is available at the Novell Downloads Web site.

    • Novell ZENworks 7.2 Linux Management with Interim Release 2 Agent CD

    To mount a media, use the following command:

    mount device mountpoint

    For example:

    mount /dev/cdrom /zlm7

    If you are using an ISO image rather than a physical media, copy the ISO to a temporary folder on the Linux device, then mount the image using the following command:

    mount -o loop /tempfolderpath/isoimagename.iso mountpoint

    Replace tempfolderpath with the path to the temporary folder and replace mountpoint with the path to the file system location you want to mount the image. The path specified by mountpoint must already exist.

    For example:

    mount -o loop /zlm7/ZENworks_Agent.iso /zlm/install

  3. Log in as root, then start the installation program:

    • For Workstations and Servers that are Not Dell PowerEdge Servers: If you are installing the ZENworks Agent on a workstation or a server that you do not want to manage using the ZENworks Linux Management features specific to PowerEdge servers (on a server that is not a Dell PowerEdge server, for example), start the installation from the mount point using the following command:

      ./zlm-install

      The -a option installs only agent portions of ZENworks Linux Management.

    • For Dell PowerEdge Servers: If you are installing the ZENworks Agent on a Dell PowerEdge server that you want to manage using the ZENworks Linux Management features specific to PowerEdge servers, start the installation program from the mount point using the following command:

      ./zlm-install -o

      The -o option installs the OEM module for Dell hardware required to use the features specific to Dell PowerEdge servers in ZENworks Linux Management.

      If you install the ZENworks Agent using the -o option, you cannot use the ZENworks Linux Management Dell functionality until you have completed the configuration steps in Section 7.4, Enabling Dell PowerEdge Support.

    NOTE:The steps in this procedure perform a standard installation of ZENworks Linux Management. Depending on your situation, additional options can be used with the zlm-install command. For more information, see Section A.1, Installation Options.

    If you do not have the X Window System installed (for example, you installed a Minimal installation of SUSE Linux Enterprise Server 9), see -x.

  4. When prompted to install ZENworks, enter Y to continue.

  5. Review the Software License Agreement, pressing Page Down to scroll down the page, then enter Y to accept the agreement.

    Installation of the ZENworks Agent software begins.

    After the ZENworks Agent software installation is complete, do the following:

    • If you are installing the ZENworks 7.2 Linux Management Agent, skip to Step 7.

    • If you are installing the ZENworks 7.2 Linux Management with IR1/IR1a/IR2 Agent, continue with Step 6.

  6. (Conditional) If you are installing the ZENworks 7.2 Linux Management with IR1/IR1a/IR2 Agent, the installation checks whether the device is already registered to a ZENworks service, and prompts you to retain the existing registered ZENworks service.

    • If you enter y, the installation is completed. Skip to Step 8.

    • If you enter n, continue with Step 7.

  7. Provide the appropriate responses to the following prompts to register the device:

    • Registration Server Address: Enter the IP address or DNS name of the ZENworks Server that you want to manage this device. This can be the Primary Server or a Secondary Server, and should be the server that has best network access to the device.

      If you leave this field blank, no service is added. You can register the device at a later time by using the rug command line interface.

      For SUSE Linux Enterprise Server 10 (SLES 10) and SUSE Linux Enterprise Desktop 10 (SLED 10) devices:

      /usr/bin/rug sa https://ZEN_Server_address

      For other managed devices:

      /opt/novell/zenworks/bin/rug sa https://ZEN_Server_address

    • (Optional) Registration Server Key: You can leave this field blank. ZENworks has two default registration rules, one for servers and one for workstations. If you leave this field blank, ZENworks uses one of the two default registration rules to register the device. The rules cause the device to be added to either the /Servers folder or the /Workstations folder with the device's hostname used for its device name.

      Before installing the ZENworks Agent on a large number of devices and registering them, you should create registration keys and rules that enable you to place devices in specific folders and groups. Using folders and groups reduces the effort required to manage a large number of devices. Registration keys and rules, as well as folders and groups, are discussed in Understanding ZENworks Linux Management in the Novell ZENworks 7.2 Linux Management Administration Guide.

      NOTE:Do not register the ZENworks Agent to a ZENworks Linux Management server that has bundles assigned to this agent. If you do so, the ZENworks Agent ceases to work after the bundles are installed. You can, however, choose to register the ZENworks Agent to the server after the ZENworks Agent installation is complete.

  8. After the installation is complete, confirm that the ZENworks Agent is running by using the following command:

    /etc/init.d/novell-zmd status

  9. Confirm that the device has been added to the ZENworks Object Store by accessing the ZENworks Control Center:

    https://ZENworks_Primary_Server_Address

    Replace ZENworks_Primary_Server_Address with the IP address or DNS name of the Primary Server.

    After you are in the Control Center, you can click the Devices tab, then click the Servers folder or Workstation folder to view the device.

    The ZENworks Agent installation removes all the existing services that are registered through zmd on the managed device so that the managed devices with ZENworks 7.2 Linux Management installed contacts the ZENworks Server for all its management needs.

    If you’ve installed the ZENworks Agent on the Open Enterprise Server 1, continue with Section 7.3, Setting Up the Open Enterprise Server 1 after Installing ZENworks Linux Management. To deploy and manage Dell PowerEdge servers, skip to Section 7.4, Enabling Dell PowerEdge Support.