Document navigation

Upgrade the Management Node Environment

This task applies to a ZSphere environment where management node HA is not configured.

Before performing this task, complete Prepare for Upgrade.

Note: Before upgrading a production environment, we recommend that you contact technical support to confirm the upgrade plan and related precautions.

After preparing for the upgrade, log in to the management node operating system and select an offline upgrade method based on the prepared upgrade packages.

Select an offline upgrade method to upgrade ZSphere.
  • Recommended method: upgrade the local repository and management service.

    [root@zstack-1 opt]# zstack-upgrade ZStack-ZSphere-x86_64-DVD-5.2.0-H84r.iso
  • Step-by-step method: upgrade the local repository first, and then upgrade the management service.

    [root@zstack-1 opt]# zstack-upgrade -r ZStack-ZSphere-x86_64-DVD-5.2.0-H84r.iso
    [root@zstack-1 opt]# bash ZStack-ZSphere-installer-5.2.0.bin -u -P MYSQL_ROOT_PASSWORD
Note:
  • If the database root password uses the system default password, you can omit the -P MYSQL_ROOT_PASSWORD parameter.
  • Before running the zstack-upgrade command, make sure that the prepared ISO matches the current upgrade path to avoid overwriting the local repository with an unmatched ISO.
After the upgrade is complete, continue with Checks and Follow-up After Platform Upgrade.