11.5 Upgrading from ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.3 Linux Management

The following sections provide information on upgrading from ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.3 Linux Management:

11.5.1 Upgrading the Servers

You can upgrade the ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition server to ZENworks 7.3 Linux Management by performing an in-place upgrade over the previous version.

Before performing any type of upgrade, do the following:

  • Take a reliable backup of our object and data stores, and eDirectory. For more information, see ZENworks Object Store and Data Store Maintenance in the Novell ZENworks 7.3 Linux Management Administration Guide.

  • Ensure that eDirectory is listening on port 10389.

  • Take an image of the ZENworks servers.

  • Ensure that the ZENworks Linux Management server and the server on which the Oracle or the PostgreSQL database is running are in time sync.

  • Remove Openldap2 from the ZENworks Server, if it is installed.

    1. To verify whether Openldap2 has been installed, execute rpm -qa /grep openldap2 at the server console prompt. This displays the installed package version.

    2. To remove Openldap2, execute rpm -e openldap2.

Performing an in-place upgrade lets you upgrade from the ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition release to ZENworks 7.3 Linux Management by using the same ZENworks Primary Server. For example, suppose your ZENworks Primary Server on your ZENworks 7 Linux Management with IR1 system is installed on a SLES 9 32-bit device and you want to upgrade to ZENworks 7.3 Linux Management. Using an in-place upgrade results in the previously described ZENworks Linux Management system being upgraded to ZENworks 7.3 Linux Management on that same SLES 9 32-bit device.

The upgrade process upgrades the ZENworks Server and lets you create upgrade bundles for each supported platform. The individual upgrade bundles are then pushed to assigned devices to install the new ZENworks Agent on each device.

An in-place upgrade is best suited for smaller ZENworks Linux Management systems consisting of fewer than 100 devices managed by a single ZENworks Primary Server. An in-place upgrade allows for an upgrade without scheduling down-time for the system because the server and devices are upgrading relatively quickly.

Perform the following procedures in the order listed to upgrade the ZENworks server.

IMPORTANT:The ZENworks server cannot be upgraded from ZENworks 7 Linux Management with IR1 to ZENworks 7.3 Linux Management if the upgrade is interrupted. If the upgrade process is interrupted, contact Novell Support.

Performing an In-Place Upgrade on the ZENworks Primary Server

  1. Make sure that the server is running, and meets the requirements. See Section 2.1, ZENworks Server Requirements.

  2. At the Linux server, mount the Novell ZENworks 7.3 Linux Management media by using the mount device mountpoint command.

    For example, mount /dev/cdrom /zlm73.

    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/isomimagename.iso mountpoint

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

    For example:

    mount -o loop /zlm73/ZEN73_LinuxMgmt.iso /zlm73/install

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

    ./zlm-upgrade

  4. When prompted to upgrade ZENworks Linux Management, 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.

  6. Enter Y when you are asked if you are upgrading a ZENworks Primary Server.

    Make sure all ZENworks services on Secondary Servers are stopped. You can execute /opt/novell/zenworks/bin/zlm-config --stop to shut down the services on Secondary Servers.

  7. Press Enter to continue.

    The upgrade program stops ZENworks services, subscribes to the upgrade channels, upgrades RPMs, upgrades zmd, runs upgrade scripts, and then upgrades the database schema.

  8. (Conditional) If you have ZENworks Secondary Servers to upgrade, continue with Performing an In-Place Upgrade on a ZENworks Secondary Server.

  9. Continue with Section 11.5.2, Upgrading the Managed Devices.

Performing an In-Place Upgrade on a ZENworks Secondary Server

You must upgrade the ZENworks Primary Server before upgrading ZENworks Secondary Servers. For step-by-step information, see Performing an In-Place Upgrade on the ZENworks Primary Server.

  1. Make sure that the server is running, and meets the requirements. See Section 2.1, ZENworks Server Requirements.

  2. At the Linux server, mount the Novell ZENworks 7.3 Linux Management media by using the mount device mountpoint command.

    For example, mount /dev/cdrom /zlm73.

    mount device mountpoint

    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 where you want to mount the image. The path specified by mountpoint must already exist.

    For example:

    mount -o loop /zlm73/ZEN73_LinuxMgmt.iso /zlm73/install

  3. Log in as root, then start the upgrade program form the mount point by running the following command:

    ./zlm-upgrade

  4. When prompted to upgrade ZENworks Linux Management, 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.

    The install program stops ZENworks services, subscribes to the upgrade channels, upgrades RPMs, upgrades zmd, runs upgrade scripts, and then restarts the ZENworks services.

  6. Enter N when you are asked if you are upgrading a ZENworks Primary Server.

  7. Enter Y when you are asked if you have upgraded the ZENworks Primary Server.

    Ignore any “failed to stop” errors that you receive. For example, you receive an error indicating that eDirectory could not be stopped, but it was already stopped when you executed /opt/novell/zenworks/bin/zlm-config --stop in Step 6.

    The upgrade program stops ZENworks services, subscribes to the upgrade channels, upgrades RPMs, upgrades zmd, and runs upgrade scripts.

    After the upgrade is complete, the ZENworks services are restarted. this might take a few minutes.

  8. Delete ostargets.xml by executing rm /var/opt/novell/zenworks/lib/www/ostargets.xml at the server console prompt.

  9. Manually copy ostargets.xml from /var/opt/novell/zenworks/lib/www/ on the ZENworks Primary Server to /var/opt/novell/zenworks/lib/www/ on the Secondary Server.

  10. Change the ownership of ostargets.xml to zenworks by executing chown zenworks: zenworks /var/opt/novell/zenworks/lib/www/ostargets.xml at the server console prompt.

  11. (Conditional) Repeat Step 1 through Step 10 for each ZENworks Secondary Server that you want to upgrade.

11.5.2 Upgrading the Managed Devices

Upgrading managed devices to ZENworks 7.3 Linux Management installs the new ZENworks Agent.

You can upgrade a managed device from the ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.3 Linux Management either manually or by using the upgrade bundles. For more information on how to upgrade the managed devices manually, see Section 11.1.3, Upgrading Managed Devices Manually.

IMPORTANT:Before upgrading, ensure that you unassign the policies that were enforced on the device if you do not want them to be enforced again after upgrading to ZENworks 7.3 Linux Management.

To upgrade the managed devices by using the upgrade bundles:

  1. Create an upgrade bundle. For more information on how to create an upgrade bundle, see Creating an Upgrade Bundle.

  2. Create a script for the upgrade bundle. For more information on how to create the script for the upgrade bundle, see Creating a Script for Upgrade Bundles.

  3. Create a catalog for the upgrade bundle. For more information on how to create a catalog for the upgrade bundle, see Creating Catalogs for Upgrade Bundles.

  4. Upgrade the managed device by using the upgrade bundle. For more information, see Upgrading Managed Devices Other Than SLES 10 and SLED 10 by Using an Upgrade Bundle.

NOTE:The ZMD settings in ZENworks 7 Linux Management with IR1 and ZENworks 7 Linux Management - Dell Edition do not have the security-level preference. However, the ZMD settings in ZENworks 7.3 Linux Management do have the security-level preference. When you upgrade from ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.3 Linux Management, the ZMD security-level preference is set to the default value Signature. You can change the preference to the desired value either by using the rug command or through the ZENworks Control Center. For more information on how to use the rug command, see rug (1) in the Novell ZENworks 7.3 Linux Management Administration Guide. For more information on how to set the security-level preference by using the ZENworks Control Center, see Configuring the ZENworks Management Daemon (ZMD) Settings in the Novell ZENworks 7.3 Linux Management Administration Guide.