To configure the HA function, take the following steps:
Configure an HA Virtual Forward Interface. For more information on configuring the interface, see Configuring an Interface.
Configure an HA link interface which is used for the device synchronization and HA packets transmission.
Configure an HA cluster. Specify the ID of HA cluster to enable the HA function.
- Configure an HA group. Specify the priority for devices and HA messages parameters.
You need to configure the HA data link interface when configuring the HA function, and make sure the HA group interface 0 and interface 1 can be configured as an HA control link interface, but not an HA data link interface.
To configure HA, take the following steps:
Go to System > HA.
Option Description Control link interface 1 Specifies the name of the HA control link interface. The control link interface is used to synchronize all data between two devices. Control link interface 2 Specifies the name of HA control link interface (Backup device). Assist link interface
Specifies the name of the HA assist link interface. In the Active-Passive (A/P) mode, you can specify the HA assist link interface to receive and send heartbeat packets (Hello packets), and ensure the main and backup device of HA switches normally when the HA link fails.
- Before the HA link is restored, the HA assist link interface can only receive and send heartbeat packets and the data packets cannot be synchronized. You are advised not to modify the current configurations. After the HA link is restored, manually synchronize session information.
- The HA assist link interface must use an interface other than the HA link interface and be bound to the zone.
- You need to specify the same interface as the HA assist link interface for the main and backup device, and ensure that the interface of the main and backup device belongs to the same VLAN.
Data link interface Specifies the name of the HA data link interface. The data link interface is used to synchronize the data packet information. After specifying this data link, the session information will be synchronized over this data link. You can configure the physical interface or aggregate interface as the interface of the data link and you can specify at most 1 HA data link interface. Data Multicast In HA cluster, when one device fails, the other will take over the work of the failed device and also run its original work simultaneously to ensure uninterrupted work. In order to keep statistical data(such as monitor and log data) consistent after device switching, you can select the Enable checkbox to enable data multicast. After this feature is enabled, the system will send statistical data to both devices in the HA state, so that all data and configurations of two devices can be backed up. Due to the large amount of data to back up, we recommend that you configure Ten-GigabitEthernet interface (interface expansion module which owns Ten-GigabitEthernet interface is needed) or aggregate interface as ha link interface, otherwise it may cause inconsistent data. By default, this feature is disabled. IP address Specifies the IP address and netmask of the HA link interface. HA cluster ID Specifies an ID for HA cluster. The value ranges from 1~8.None indicates to disable the HA function. Node ID After enabling the HA function, specify the Node ID (HA Node) for the device. The IDs for two devices must be different. The range is 0 to 1. If you do not specify this value, the devices will obtain the Node ID by automatic negotiation. Peer-mode Selects the Enable checkbox to enable the HA Peer mode and specifies the role of this device in the HA cluster. The range is 0 to 1. By default, the group 0 in the device whose HA Node ID is 0 will be active and the group 0 in the device whose HA Node ID is will be in the disabled status. Symmetric-routing Select Symmetric-routing to make the device work in the symmetrical routing environment. HA Synchronize Configuration In some exceptional circumstances, the master and backup configurations may not be synchronized. In such a case you need to manually synchronize the configuration information of the master and backup device. Click HA Synchronize Configuration to synchronize the configuration information of the master and backup device. HA Synchronize Session By default the system will synchronize sessions between HA devices automatically. Session synchronization will generate some traffic, and will possibly impact device performance when the device is overloaded. You can enable automatic HA session synchronization according to the device workload to assure stability. Click HA Synchronize Session to enable automatic HA session synchronization. New After specifying the HA cluster ID, the system will create the HA group 0 automatically. Click New to create the HA group 1. Delete Click Delete to remove HA group 1 if needed. Priority Specifies the priority for the device. The device with higher priority (smaller number) will be selected as the primary device. Preempt Configure the preempt mode. When the preempt mode is enabled, once the backup device finds that its own priority is higher than the primary device, it will upgrade itself to become the primary device and the original primary device will become the backup device. The value of 0 indicates to disable the preempt mode. When the preempt mode is disabled, even if the device's priority is higher than the primary device, it will not take over the primary device unless the primary device fails. Hello interval Specifies the Hello interval value. The Hello interval refers to the interval for the HA device to send heartbeats (Hello packets) to other devices in the HA group. The Hello interval in the same HA group must be identical. Hello threshold Specifies the threshold value of the Hello message. If the device does not receive the specified number of Hello messages from the other device, it will suppose the other device's heartbeat stops. Gratuitous ARP packet number Specifies the number of gratuitous ARP packets. When the backup device is selected as the primary device, it will send an ARP request packet to the network to inform the relevant network devices to update its ARP table. Track object Specifies the track object you have configured. The track object is used to monitor the working status of the device. Once finding the device stop working normally, system will take the corresponding action. Description Type the descriptions of HA group into the box.