How a cluster works

Cluster management is implemented through HW Group Management Protocol version 2 (HGMPv2), which consists of the following three protocols:

A cluster configures and manages the devices in it through the above three protocols. Cluster management involves topology information collection and the establishment and maintenance of a cluster. Topology information collection and cluster maintenance are independent from each other, with the former starting before the cluster is created:

Introduction to NDP

NDP is used to discover the information about directly connected neighbors, including the device name, software version, and connecting port of the adjacent devices. NDP works in the following ways:

NDP runs on the data link layer, and therefore supports different network layer protocols.

Introduction to NTDP

NTDP provides information required for cluster management; it collects topology information about the devices within the specified hop count. Based on the neighbor information stored in the neighbor table maintained by NDP, NTDP on the management device advertises NTDP topology-collection requests to collect the NDP information of all the devices in a specific network range as well as the connection information of all its neighbors. The information collected will be used by the management device or the network management software to implement required functions.

When a member device detects a change on its neighbors through its NDP table, it informs the management device through handshake packets. Then the management device triggers its NTDP to collect specific topology information, so that its NTDP can discover topology changes timely.

The management device collects topology information periodically. You can also administratively launch a topology information collection. The process of topology information collection is as follows:

When the NTDP topology-collection request is advertised in the network, large numbers of network devices receive the NTDP topology-collection request and send NTDP topology-collection response at the same time, which may cause congestion and the management device busyness. To avoid such case, the following methods can be used to control the speed of the NTDP topology-collection request advertisement:

Cluster management maintenance

  1. Adding a candidate device to a cluster

    You should specify the management device before creating a cluster. The management device discovers and defines a candidate device through NDP and NTDP protocols. The candidate device can be automatically or manually added to the cluster.

    After the candidate device is added to the cluster, it can obtain the member number assigned by the management device and the private IP address used for cluster management.

  2. Communication within a cluster

    In a cluster the management device communicates with its member devices by sending handshake packets to maintain connection between them. The management/member device state change is shown in Figure 85.

Figure 85: Management/member device state change

Management VLAN

The management VLAN is a VLAN used for communication in a cluster; it limits the cluster management range. Through configuration of the management VLAN, the following functions can be implemented:

For a cluster to work normally, you must set the packets from the management VLAN to pass the ports connecting the management device and the member/candidate devices (including the cascade ports). Therefore: