This section describes how to check the consistency of cluster member configurations.
In cluster networking, most configurations can be backed up, such as security policies and NAT policies. In normal situations, configuration modification on the master node is synchronized to other members in the cluster. However, if the backup link fails or a device powers off, configurations among cluster members will be inconsistent. Configuration inconsistency may cause service anomalies upon a device switchover. To prevent such a problem, you are advised to enable auto-check for cluster configuration consistency so that configuration consistency is checked on a regular basis. In addition, the cluster provides commands for you to manually check the configuration consistency.
Configuration Item |
Description |
|---|---|
Policy |
Check whether the audit policy/authentication policy/NAT policy/security policy/traffic policy configurations are consistent. |
Cluster |
Check whether cluster-related configurations are consistent.
Commands to be checked are as follows:
|
Hash |
Checks the configuration consistency of the hash mode and hash gene next startup. |
Interface |
Items to be checked are as follows:
|
OSPF |
Items to be checked are as follows:
|
BGP |
Check whether BGP is configured. Do not check detailed BGP configurations. |
License |
Items to be checked are as follows:
|
If the cluster configurations are inconsistent, the device outputs the CLRI_1.3.6.1.4.1.2011.6.122.85.2.12 hwSecClusterCochk alarm.
By default, this command is executed on the management master device. After running the cluster standby config enable command on the master device, you can also run the command on the management slave device.
Run the cluster configuration auto-check enable command in the system view to enable auto-check for cluster configuration consistency.
By default, the auto-check for cluster configuration consistency function is enabled.
Run the cluster configuration auto-check interval check-interval command in the system view to set the auto-check interval for cluster configuration consistency.
The default auto-check interval is 1440 minutes.
Run the cluster configuration auto-check warning enable command in the system view to enable the function of sending alarms on auto-check for cluster configuration consistency.
By default, the function is enabled.
If the function is disabled, the device that executes the consistency check task does not output any alarm on the consistency check and outputs only related logs.
The management master device compares its configuration with all cluster members, will each configuration backup device compares only its configuration with the configuration master device's configuration.