You are here: Cookbook > Getting Started > Upgrading Firmware to Higher Version in HA mode

Upgrading Firmware to Higher Version in HA mode

This example introduces how to upgrade the firmware of the device in the HA Active-Passive mode.

The topology gives a typical user scenario for HA. In the designed scenario, one (Device A)of the HA devices will be working under the active mode, while the other (Device B) is under the passive mode. The two devices use heartbeat cables to maintain communication between devices.

Preparation

Before upgrading, prepare the following first:

  1. Obtained the system software version by WebUI or CLI(show version).
  2. Obtained upgrade file of the target version from Hillstone.
  3. Obtained the current configurations of the two devices by WebUI or CLI(show configuration) , and back up the current configurations.

Note: To switch over traffic, you are recommended to upgrade the devices in HA mode through the CLI.

Upgrade Steps

Step 1: Make the backup device (Device B) go offline.

Remove the service cable and HA heartbeat cable from the backup device (Device B) to make the backup device go offline.

Note: Please remove the service cable before removing the HA heartbeat cable in case of operation errors.

Step 2: Upgrade the backup device (Device B) and restart the device.
The detailed steps for device upgrade, see Upgrading Firmware to Higher Version.
Step 3: Check whether the current configurations of the backup device (Device B) is consistent with the saved configurations.

Device B

In any mode, use the following command:

show configuration

Step 4: Reconnect the service cable and HA heartbeat cable on the backup device (Device B), and transfer all service traffic to the backup device (Device B).

Reconnect the service cable and HA heartbeat cable on the backup device (Device B).

 

To transfer all service traffic to the backup device (Device B), in any mode, use the following command:

exec ha master switch-over

Step 5: Make the master device (Device A) go offline.

Remove the service cable and HA heartbeat cable from the master device (Device A) to make the master device go offline.

Note: Please remove the service cable before removing the HA heartbeat cable in case of operation errors.

Step 6: Upgrade the master device (Device A) and restart the device.
The detailed steps for device upgrade, see Upgrading Firmware to Higher Version.
Step 7: Check whether the current configurations of the master device (Device A) is consistent with the saved configurations.

Device A

In any mode, use the following command:

show configuration

Step 8: Reconnect the service cable and HA heartbeat cable on the master device (Device A), and restore all service traffic to the master device (Device A).

Reconnect the service cable and HA heartbeat cable on the master device (Device A).

To restore all service traffic to the master device (Device A), in any mode, use the following command:

exec ha master switch-over