< Home

cluster configuration auto-check warning enable

Function

The cluster configuration auto-check warning enable command enables the alarm function for cluster configuration consistency auto-check.

The undo cluster configuration auto-check warning enable command disables the alarm function for cluster configuration consistency auto-check.

Format

cluster configuration auto-check warning enable

undo cluster configuration auto-check warning enable

Parameters

None.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the alarm function is enabled.

Application Scenario

After cluster configuration consistency check is complete, if some configurations are inconsistent, an alarm is generated to remind the administrator of modifying the configurations.
  • You can run the cluster configuration auto-check warning enable command to enable the alarm function for configuration consistency auto-check. After the alarm function is enabled, the device running the check task displays the alarm and log based on the check result. Both the alarm and log contain the names of inconsistent configurations.
  • You can run the undo cluster configuration auto-check warning enable command to disable the alarm function for configuration consistency auto-check. After the alarm function is disabled, no alarms are generated after check tasks are executed, and only logs are recorded.
  • You can run the cluster configuration check command to manually check whether the cluster numbers have the same configuration. During this consistency check process, an alarm is sent if they have different configurations, without being controlled by the cluster configuration auto-check warning enable command.

Follow-Up Configuration

In case of cluster configuration inconsistency, run the cluster sync config command to implement batch backup or manually change the configurations to be consistent.

Example

# Enable the alarm function for cluster configuration consistency check.

<sysname> system-view
[sysname] cluster configuration auto-check warning enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >