< Home

Configuring a Business Group

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.

Context

Devices in a business group can be classified into the business master device and business backup devices.
  • Business master device: Only one member in a business group can be in the Master state. The business master device carries the services of the DC.
  • Business backup device: A business group can have multiple backup devices. A backup device does not carry service traffic. Instead, it backs up the master device.

You should perform business group configuration on the management master device. The configuration will be automatically synchronized to other members in the cluster.

Procedure

  1. Create a business group in the system view and access the business group view.

    business-group business-group-id

  2. Optional: Configure a description for the business group.

    description description

  3. Set a member in the business group and its priority.

    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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >