1.3 Understanding the Upgrade Order

Ensure that you perform the ZENworks 2020 upgrade tasks in the following order:

  1. Upgrade the Operating System: If the operating system installed on the device is not supported by ZENworks, upgrade the operating system to the latest supported version.

    For more information on the supported operating systems, see .

    NOTE:Refer to the following scenarios for information on the order in which the operating system (OS) and ZENworks upgrades need to be performed:

    • On Windows Primary Servers: You can perform major and minor in-place OS upgrades. The following scenarios provide clarity on the upgrade order to be followed for the major and minor OS upgrades:

      • To perform an OS upgrade to a version that is supported by ZENworks 2017.x and ZENworks 2020, you can perform the upgrade in any order. Example: If you are upgrading from Windows 2012 Server to Windows 2016 Server, you can either upgrade the OS first or ZENworks first.

      • To perform an OS upgrade from a version that is not supported by ZENworks 2020 , you need to first upgrade the OS and then upgrade to ZENworks 2020 . As currently all Windows OS versions that are supported in 2017.x are supported in ZENworks 2020 as well, there are no examples for this scenario.

      • To perform an OS upgrade to a version that is not supported by 2017.x but is supported by 2020 , you need to first upgrade to ZENworks 2020 and then upgrade the OS. Example: If you are upgrading from Windows 2016 Server to Windows 2019 Server, you need to first upgrade to ZENworks 2020 and then perform the OS upgrade.

    • On Linux Primary Servers: You cannot perform a major in-place OS upgrade. To perform a major in-place upgrade, you need to replace the current Primary Server having the older OS version, with a new Primary Server having the latest supported OS version. Example: If you are upgrading from SLES 12 SP4 to SLES 15, you need to first upgrade to ZENworks 2020 and then replace the SLES 12 SP4 Primary Server with a new SLES 15 Primary Server. For information on how to replace Primary Servers, see Section 4.0, Replacing a ZENworks Primary Server with Another Server (Windows, Linux and Appliance).

      However, you can perform minor in-place OS upgrades. The following scenarios provide clarity on the upgrade order to be followed for minor OS upgrades:

      • To perform a minor upgrade to an OS version that is supported by ZENworks 2017.x and ZENworks 2020, you can perform the upgrade in any order. Example: If you are upgrading from SLES 12 SP3 to SLES 12 SP4, you can either upgrade the OS first or ZENworks first.

      • To perform a minor OS upgrade from an OS version that is supported by ZENworks 2017.x but not ZENworks 2020, you need to first upgrade the OS and then upgrade to ZENworks 2020 . Example: If you are upgrading from SLES 12 to SLES 12 SP4, you need to first upgrade the OS to SLES 12 SP4 and then upgrade to ZENworks 2020 .

      • To perform a minor OS upgrade from an OS version that is supported by ZENworks 2020, but not supported by ZENworks 2017.x you need to first upgrade to ZENworks 2020 and then upgrade the OS. Example: If you are upgrading from SLES 12 SP4 to SLES 12 SP5, you need to first upgrade to ZENworks 2020 and then perform an OS upgrade to SLES 12 SP5.

    IMPORTANT:Before you perform the upgrade, ensure that you back up the data and the certificate information.

  2. Upgrade ZENworks: Upgrade ZENworks to the latest version.

    The ZENworks 2020 upgrade is a two step process:

    1. (Conditonal) If you are using the Sybase database, then migrate the database from Sybase to PostgreSQL.

    2. Upgrade your zone to ZENworks 2020.

    • The ZENworks 2020 upgrade installer can upgrade only the server on which you run it.

      IMPORTANT:If you are using an Embedded PostgreSQL database, first upgrade the device that hosts the database, then upgrade the other Primary Servers.

      NOTE:After you upgrade the first Primary Server to ZENworks 2020 , all other servers must be upgraded to ZENworks 2020.

    • When you perform the upgrade for the first time in the Management Zone, only one Primary Server can be upgraded at a time. The subsequent upgrade of additional Primary Servers can be done in parallel, or in any order.

      While upgrading the first Primary Server, you must stop the ZENworks services on all other Primary Servers. During the upgrade of additional Primary Servers, you must stop the services on those servers that have not been upgraded. If you do not stop the services, the database might be affected.

      NOTE:The Schema and License information will be updated only during the first Primary Server upgrade, not during the subsequent server upgrades.

    • You must upgrade the Primary Servers first; then upgrade the Satellite Servers and agents in the zone.

      IMPORTANT:When upgrading additional Primary Servers in the zone, ensure that the ZENworks Server services are running on the upgraded first Primary Server. If the zone uses Embedded PostgreSQL, the Embedded PostgreSQL service must be running on the upgraded first Primary Server.

    • If you are using ZENworks Reporting, then after upgrading the zone to ZENworks 2020 , ensure that you reconfigure ZENworks reporting. For more information, see Reconfiguring ZENworks Reporting Appliance in the ZENworks Reporting Appliance Deployment and Administration Reference.

1.3.1 Special Upgrade Scenario

If you are using the External Sybase database and have installed ZENworks 2017 Update x on a SLES 11 SP2 device, then to upgrade to your zone to ZENworks 2020 , perform the following steps:

  1. Upgrade the device to SLES 11 SP4.

  2. (Conditional) If you want to migrate to the External PostgreSQL database, then install the ZENworks supported PostgreSQL on a SLES 12 device.

  3. Migrate the External Sybase database to an Embedded or External PostgreSQL database.

    You can either use the database migration tool or ZENworks 2020 installer to migrate the database.

  4. Use the ZENworks 2020 installer to upgrade your zone to ZENworks 2020 .

  5. After upgrading your zone to ZENworks 2020 , upgrade the device to any version of Linux operating system supported by ZENworks.