< Home

node priority

Function

The node priority command sets a priority for a cluster member.

The undo node priority command restores the cluster member priority to the default value.

Format

node node-id priority priority

undo node node-id priority

Parameters

Parameter Description Value
node-id

Specifies the ID of a cluster member.

The value is an integer ranging from 1 to 8.

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.

Views

Business group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

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 data center, devices located in the data center should have high priorities. In this manner, local devices have opportunities to become the master device to preferentially carry the traffic of the data center.

Precautions

In a business group, each device should have a unique priority.

Example

# In business group 1, set the priority of cluster member 2 to 80.

C_No2_M<sysname> system-view
C_No2_M[sysname] business-group 1
C_No2_M[sysname-business-group-1] node 2 priority 80
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >