< Home

least active-linknumber (health check view)

Function

The least active-linknumber command sets the minimum number of active nodes for health check.

The undo least active-linknumber command restores the default minimum number of active nodes for health check.

Format

least active-linknumber number

undo least active-linknumber

Parameters

Parameter Description Value
number

Specifies the minimum number of active nodes for health check.

The value is an integer ranging from 1 to 16. The default value is 1.

Views

Health check view

Default Level

2: Configuration level

Usage Guidelines

By default, the minimum number of active nodes is 1. That is, the health check is Up as long as one node is Up.

The health check enters the Down state if the number of active nodes is less than the minimum number of active nodes.

If the specified minimum number of active nodes is greater than the number of health check detection nodes, the health check status will remain Down. Therefore, the specified minimum number of active nodes must be less than or equal to the number of health check detection nodes.

Example

# Set the minimum number of active nodes for the health check hchk1 to 3.

<sysname> system-view
[sysname] healthcheck name hchk1
[sysname-healthcheck-hchk1] least active-linknumber 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >