This alarm is generated when the NTP service on the current node fails to synchronize time with the NTP service on the active OMS node.
This alarm is cleared when the NTP service on the current node synchronizes time properly with the NTP service on the active OMS node.
Alarm ID |
Alarm Severity |
Auto Clear |
---|---|---|
12012 |
Major |
Yes |
Parameter |
Description |
---|---|
ServiceName |
Specifies the service for which the alarm is generated. |
RoleName |
Specifies the role for which the alarm is generated. |
HostName |
Specifies the host for which the alarm is generated. |
The time on the node is inconsistent with that on other nodes in the cluster. Therefore, some MRS applications on the node may not run properly.
ps -ef | grep ntpd | grep -v grep
If yes, go to 2.b.
If no, go to 3.
Log in to the node for which the alarm is generated, run the sudo su - root command to switch to user root, and run the ntpq -np command.
If an asterisk (*) exists before the IP address of the NTP service on the active OMS node in the command output, the synchronization is in normal state. The command output is as follows:
remote refid st t when poll reach delay offset jitter ============================================================================== *10.10.10.162 .LOCL. 1 u 1 16 377 0.270 -1.562 0.014
If there is no asterisk (*) before the IP address of the NTP service on the active OMS node, as shown in the following command output, and the value of refid is .INIT., the synchronization is abnormal.
remote refid st t when poll reach delay offset jitter ============================================================================== 10.10.10.162 .INIT. 1 u 1 16 377 0.270 -1.562 0.014
An NTP synchronization failure is usually related to the system firewall. If the firewall can be disabled, disable it and then check whether the fault is rectified. If the firewall cannot be disabled, check the firewall configuration policies and ensure that port UDP 123 is enabled (you need to follow specific firewall configuration policies of each system).
Run cat /etc/ntp.keys/etc/ntp/ntpkeys to check whether the authentication code whose key value index is 1 is the same as the value of the NTP service on the active OMS node.
If the time on the alarm node is later than that on the NTP service of the active OMS node, adjust the time of the alarm node. After adjusting the time, choose More > Start All Roles to start the services on the node.
If the time on the alarm node is earlier than that on the NTP service of the active OMS node, wait until the time offset is due and adjust the time of the alarm node. After adjusting the time, choose More > Start All Roles to start the services on the node.
If you do not wait, data loss may occur.
None