Upgrade the Management Node Environment
This task applies to a ZSphere environment where management node HA is not configured.
Before you begin
Before performing this task, complete Prepare for Upgrade.
About this task
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.
Procedure
-
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.1.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.1.0-H84r.iso [root@zstack-1 opt]# bash ZStack-ZSphere-installer-5.1.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_PASSWORDparameter. - Before running the
zstack-upgradecommand, make sure that the prepared ISO matches the current upgrade path to avoid overwriting the local repository with an unmatched ISO.
-
