The concept of business group is introduced to ensure the correct backup and traffic switchover among cluster devices. A business group provides services for the specific business. Generally, a data center corresponds to one business group.
You should perform business group configuration on the management master device. The configuration will be automatically synchronized to other members in the cluster.
business-group business-group-id
description description
node node-id priority priority
In a business group, only members configured with priorities participate in the ranking within the business group and have opportunities to carry traffic. In the business group for a DC, devices located in the DC should have high priorities. In this manner, local devices have opportunities to become the business master device to preferentially carry the traffic of the DC.
In a business group, each device should have a unique priority.
priority specifies the priority of a cluster member. The value is an integer ranging from 1 to 100. A great priority value indicates a high priority.
# There are three DCs, each of which has two member devices in a cluster. It is required that services be evenly distributed to each DC for backup. Devices in a local DC preferentially serve as backup devices. Set three service backup nodes.
Plan data according to the requirements.
DC_1 |
DC_2 |
DC_3 |
|||
|---|---|---|---|---|---|
Device_A (Node ID=1) |
Device_B (Node ID=2) |
Device_C (Node ID=3) |
Device_D (Node ID=4) |
Device_E (Node ID=5) |
Device_F (Node ID=6) |
Business group: 1/Priority: 100 |
Business group: 1/Priority: 90 |
Business group: 1/Priority: 70 |
- |
- |
Business group: 1/Priority: 80 |
- |
Business group: 2/Priority: 80 |
Business group: 2/Priority: 100 |
Business group: 2/Priority: 90 |
Business group: 2/Priority: 70 |
- |
Business group: 3/Priority: 70 |
- |
- |
Business group: 3/Priority: 80 |
Business group: 3/Priority: 100 |
Business group: 3/Priority: 90 |
Configuration commands are as follows:
C_No2_M<sysname> system-view C_No2_M[sysname] business-group 1 C_No2_M[sysname-business-group-1] node 1 priority 100 C_No2_M[sysname-business-group-1] node 2 priority 90 C_No2_M[sysname-business-group-1] node 3 priority 70 C_No2_M[sysname-business-group-1] node 6 priority 80 C_No2_M[sysname-business-group-1] quit C_No2_M[sysname] business-group 2 C_No2_M[sysname-business-group-2] node 2 priority 80 C_No2_M[sysname-business-group-2] node 3 priority 100 C_No2_M[sysname-business-group-2] node 4 priority 90 C_No2_M[sysname-business-group-2] node 5 priority 70 C_No2_M[sysname-business-group-2] quit C_No2_M[sysname] business-group 3 C_No2_M[sysname-business-group-3] node 1 priority 70 C_No2_M[sysname-business-group-3] node 4 priority 80 C_No2_M[sysname-business-group-3] node 5 priority 100 C_No2_M[sysname-business-group-3] node 6 priority 90