6.2 Installing the ZENworks Server Software as Secondary Server

To install a Secondary Server:

  1. Synchronize the Secondary Server's system clock with the Primary Server's system clock to ensure correct operation of the system. If the two servers are not synchronized, the installation fails.

    After synchronizing the clocks, restart eDirectory and all ZENworks Linux Management services on the Primary Server. To restart the ZENworks Linux Management services, enter the following command:

    /opt/novell/zenworks/bin/zlm-config --restart

  2. From the ZENworks Primary Server that you installed by following the steps in Section 5.0, Installing the ZENworks Primary Server, and enter the following command:

    zlm-config --allow-secondary=Secondary_Server

    where Secondary_Server is the IP address or DNS name of the intended Secondary Server. This command identifies each Secondary Server before it is installed. Repeat this command for each Secondary Server that you install.

    If you are installing to a SUSE Linux Enterprise Server 10 (SLES 10) device, see Section A.5, Installing a ZENworks Server on a Device Configured with DHCP.

    NOTE:If you add a Secondary Server that has a router between it and the Primary Server, you get the following error message:

    The installer was unable to connect to the specified database. Please verify the values you entered and try again.
    

    Check the /var/opt/novell/log/zenworks/zlm-config.log file on the Primary Server and see which IP address the Primary Server thinks is trying to connect with it. If the address is the router’s address rather than the address of your Secondary Server, you most likely have masquerading running on the router.

    The best solution to remedy this problem is to disable masquerading on the router. You can also use the router address when specifying the IP or DNS name of the Secondary Server but this causes potential security risks.

  3. When prompted to restart ZENworks, enter Y for Yes.

  4. Repeat Step 2 and Step 3 each Secondary Server that you are installing.

  5. Make sure the intended Secondary Server meets the requirements. See Section 2.1, ZENworks Server Requirements.

    IMPORTANT:If other services run on port 80, the installation will fail; the server cannot run other services on port 80. If Apache or another service is binding to port 80, remove the service or change the service’s port.

    For example, change the Apache2 web server's Listen Port (on SLES 9 SP1 as found in /etc/apache2/ listen.conf) from 80 to 81. Make sure the Apache service is shut down and then run zlm-config.

  6. Make sure the Secondary Server's system clock is synchronized with the Primary Server's system clock.

    System clock synchronization is required to ensure correct operation of the ZENworks system. If the two servers are not synchronized, the installation fails.

    After synchronizing the clocks, restart eDirectory and all ZENworks Linux Management services on each server that had its clock’s time changed. To restart the ZENworks Linux Management services, enter the following command:

    /opt/novell/zenworks/bin/zlm-config --restart

  7. At the intended Secondary Server, mount the product media of the ZENworks Linux Management version you want to install by using the mount device mountpoint command:

    • Use the Novell ZENworks 7 Linux Management CD to install ZENworks 7 Linux Management.

    • Use the Novell ZENworks 7.2 Linux Management Server CD to install ZENworks 7.2 Linux Management.

    • Use the Novell ZENworks 7.2 Linux Management with Interim Release 1 Server CD to install ZENworks 7.2 Linux Management with IR1.

    • Use the Novell ZENworks 7.2 Linux Management with Interim Release 2 Server CD to install ZENworks 7.2 Linux Management with IR2.

    For example, to install ZENworks 7 Linux Management, mount the product media by using 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 server, 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/ZEN7_LinuxMgmt.iso /zlm7/install

  8. Log in as root, then start the installation program from the mount point by running the following command:

    ./zlm-install

    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), you must install the glib2, XFree86-libs-32 bit, and compat-32bit packages and use the -x option while installing the ZENworks Agent. For more information, see -x.

    For more information about installing ZENworks Linux Management on a SUSE Linux Enterprise Server with a Minimal installation, see Operating System.

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

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

    Installation of the software begins. There are ten software components to install. Installation progress is displayed for each component.

  11. When installation of the software is complete, enter Y to run zlm-config and configure the ZENworks Secondary Server.

  12. Provide the appropriate responses to the following prompts:

    • Is this the first server in your system?: Enter N for No.

    • IP address or DNS name of the primary server: Enter the IP address or DNS name of the Primary Server.

    • Is the system clock synchronized with the primary server?: Enter Y to continue (Step 1).

    • Administrator Password: Enter the password for the ZENworks Administrator account.

    • Would you like to continue with installation into the Management Zone?: The installation program displays the name of the ZENworks Management Zone in which the Secondary Server will be installed. Enter Y to continue.

    The zlm-config utility adds the server to the ZENworks system as a ZENworks Secondary Server and then configures the ZENworks Server software components.

  13. When configuration of the ZENworks Server software components is complete, you should verify the installation. To do so:

    1. Confirm that the ZENworks services are running by using the following command:

      /opt/novell/zenworks/bin/zlm-config --status

      The screen output should show that all services are running.

      log dir: /var/opt/novell/log/zenworks
      Novell eDirectory is running
      Novell ZENworks Server is running
      Novell ZENworks Loader is running
      Novell ZENworks Imaging Service is running
      Novell ZENworks Preboot Policy Daemon is running
      Novell ZENworks Server Management is running
      Novell ZENworks Management Daemon is running
      

      If a service is not running, use the following command to start it:

      /etc/init.d/servicename start

      Replace servicename with the name of the service that needs to be started.

      Service

      Service Name

      Novell eDirectory

      ndsd

      Novell ZENworks Server

      novell-zenserver

      Novell ZENworks Loader

      novell-zenloader

      Novell ZENworks Imaging Service

      novell-pbserv

      Novell ZENworks Preboot Policy Daemon

      novell-zmgprebootpolicy

      Novell ZENworks Server Management

      novell-zented

      Novell ZENworks Management Daemon

      novell-zmd

      For example, if the Novell ZENworks Management Daemon is not running, use the following command to start it:

      /etc/init.d/novell-zmd start

      For additional information about the ZENworks services, see ZENworks Services in the Novell ZENworks 7.2 Linux Management Administration Guide.

    2. Access the ZENworks Control Center using the following URL:

      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 to view your ZENworks Secondary Server.

  14. Repeat the steps in this section to set up additional Secondary Servers.

    or

    Continue with the next section, Defining a Content Replication Schedule.