12.1 Upgrading the ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition Servers to ZENworks 7.2 Linux Management with IR1

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

Before performing any type of upgrade, do the following:

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.2 Linux Management with IR1 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.2 Linux Management with IR1. Using an in-place upgrade results in the previously described ZENworks Linux Management system being upgraded to ZENworks 7.2 Linux Management with IR1 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 servers.

  1. Performing an In-Place Upgrade on the ZENworks Primary Server

  2. Performing an In-Place Upgrade on a ZENworks Secondary Server

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

12.1.1 Performing an In-Place Upgrade on the ZENworks Primary Server

  1. Make sure the server meets the requirements. See Section 2.1, ZENworks Server Requirements.

  2. Apply the TID 3160279. For more information about applying the TID, see Novell Support.

  3. At the Linux server, mount the Novell ZENworks 7.2 Linux Management with Interim Release 1 CD by using the mount device mountpoint command.

    For example, mount /dev/cdrom /zlm72.

    If you are using an ISO image rather than a physical CD, 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 /zlm72/ZEN72_LinuxMgmt.iso /zlm72/install

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

    ./zlm-upgrade

  5. When prompted to upgrade ZENworks Linux Management, enter Y to continue.

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

  7. 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.

  8. 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.

  9. Enter the ZENworks administrator password.

    The ZENworks services are restarted.

  10. When prompted to create bundles that can be used to upgrade zlm clients (managed devices), enter Y to continue.

    If you choose to not create upgrade bundles at this time, you can execute the zlm-upgrade -b command using the ZENworks 7.2 Linux Management Agent CD at a later time to create the bundles.

  11. Specify a folder that you want to create to hold the upgrade bundles.

  12. After the upgrade completes, refer to /var/opt/novell/log/zenworks/zlm-upgrade.log to ensure that the upgrade is successful.

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

  14. Continue with Upgrading the Managed Device to ZENworks 7.2 Linux Management with IR1/IR1a.

12.1.2 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 the server meets the requirements. See Section 2.1, ZENworks Server Requirements.

  2. Apply the TID 3160279. For more information about applying the TID, see Novell Support.

  3. At the Linux server, mount the Novell ZENworks 7.2 Linux Management with Interim Release 1 CD by using the mount device mountpoint command.

    For example, mount /dev/cdrom /zlm72.

    mount device mountpoint

    If you are using an ISO image rather than a physical CD, 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 /zlm72/ZEN72_LinuxMgmt.iso /zlm72/install

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

    ./zlm-upgrade

  5. When prompted to upgrade ZENworks Linux Management, enter Y to continue.

  6. 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.

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

  8. 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 7.

    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.

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

  10. 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.

  11. 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.

  12. (Conditional) Repeat Step 1 through Step 11 f or each ZENworks Secondary Server that you want to upgrade.

  13. Continue with Upgrading the Managed Device to ZENworks 7.2 Linux Management with IR1/IR1a.