Upgrade the Management Node HA Environment
This task applies to a ZSphere environment where management node HA is configured.
Before you begin
Before performing this task, complete Prepare for Upgrade.
Procedure
-
Obtain the IP address of the management node where the VIP resides.
Run the following command to obtain the IP address of the management node where the VIP resides. In the returned results, the node whose VIP value is
yesis the management node where the VIP resides.[root@localhost ~]# zsha2 status -
Unpack the HA suite and grant executable permissions.
On the management node where the VIP resides, run the following commands in sequence to unpack the HA suite and grant executable permissions to the
zsha2andzstack-hamonfiles.# Unpack the HA suite [root@localhost ~]# tar zxvf ZStack-ZSphere-Multinode-HA-Suite.tar.gz # Grant executable permissions [root@localhost ~]# chmod +x zsha2 zstack-hamon -
Upgrade the HA suite.
On the management node where the VIP resides, run the following command to upgrade the HA suite.
[root@localhost ~]# ./zsha2 upgrade-ha -
Run the
zsha2 versioncommand to check whether thecommit idmatches the one in the latest version package. -
Upgrade ZStack-ZSphere.
On the management node where the VIP resides, run the following command to upgrade the virtualization platform.
zsha2 upgrade-mn -peerpass password ZStack-ZSphere-x86_64-DVD-5.1.0-H84r.iso
Note: -peerpassis optional. You can use it to specify the SSH login password of the peer management node.
