13.1 Upgrading from ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.2 Linux Management with IR2

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

13.1.1 Upgrading the Servers from ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.2 Linux Management with IR2

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 IR2 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.2 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 OpenLDAP 2 has been installed, execute rpm -qa /grep openldap2 at the server console prompt. This displays the installed package version.

    2. To remove Open LDAP 2, 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.2 Linux Management with IR2 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 IR2. Using an in-place upgrade results in the previously described ZENworks Linux Management system being upgraded to ZENworks 7.2 Linux Management with IR2 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.2 Linux Management with IR2 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.2 Linux Management with Interim Release 2 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/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 /zlm72/ZEN72_LinuxMgmt.iso /zlm72/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 13.1.2, Upgrading the Managed Devices from ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.2 Linux Management with IR2.

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.2 Linux Management with Interim Release 2 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

  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.

13.1.2 Upgrading the Managed Devices from ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.2 Linux Management with IR2

Upgrading managed devices to ZENworks 7.2 Linux Management with IR2 installs the new ZENworks Agent.

To upgrade the managed device from the ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.2 Linux Management with IR2, use one of the following ways:

Manually Upgrading the ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition Managed Device to ZENworks 7.2 Linux Management with IR2

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

  2. At the Linux managed device, mount the Novell ZENworks 7.2 Linux Management Agent with Interim Release 2 CD by using the mount device mountpoint command.For example, mount /dev/cdrom /zlm7.

    If you are using an ISO image rather than a physical CD, copy the ISO to a temporary folder on the Linux managed 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 mountpointwith 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 /zlm72/ZEN72_LinuxMgmt.iso /zlm72/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.

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