CLUVFY REPORTING PRVF-5414 and PRVF-5415 IN CRS ALERT LOG WHEN USING "CHRONY" FOR TIME SYNC (Doc ID 2647841.1)
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and later Information in this document applies to any platform.
Symptoms
Following issue will be reported by cluvfy in crs alert log if using "CHRONY" for time sync instead of NTP.
<ORACLE_BASE>/diag/crs/<HOST>/crs/trace/alert.log ================================================== 2020-02-20 00:56:49.151 [SRVM(27432)]CRS-10051: CVU found following errors with Clusterware setup : PRVF-5414 : Check of NTP Config file failed on all nodes. Cannot proceed further for the NTP tests PRVF-5415 : Check to see if NTP daemon or service is running failed Node "<HOST>" is not reachable PRKN-1035 : Host "<HOST>" is unreachable
2020-02-20 16:20:27.231 [OCSSD(6814)]CRS-1601: CSSD Reconfiguration complete. Active nodes are <HOST> <HOST> . 2020-02-20 16:21:22.579 [CRSD(8218)]CRS-2772: Server '<HOST>' has been assigned to pool 'Generic'. 2020-02-20 16:21:22.580 [CRSD(8218)]CRS-2772: Server '<HOST>' has been assigned to pool 'ora.aeoip'. 2020-02-20 18:56:49.283 [SRVM(14276)]CRS-10051: CVU found following errors with Clusterware setup : PRVF-5414 : Check of NTP Config file failed on all nodes. Cannot proceed further for the NTP tests PRVF-5415 : Check to see if NTP daemon or service is running failed
$ cluvfy comp clocksync -verbose
Verifying Clock Synchronization across the cluster nodes
Checking if Clusterware is installed on all nodes... Oracle Clusterware is installed on all nodes.
Checking if CTSS Resource is running on all nodes... Check: CTSS Resource running on all nodes Node Name Status ------------------------------------ ------------------------ <HOST> passed CTSS resource check passed
Querying CTSS for time offset on all nodes... Query of CTSS for time offset passed
Check CTSS state started... Check: CTSS state Node Name State ------------------------------------ ------------------------ <HOST> Observer CTSS is in Observer state. Switching over to clock synchronization checks using NTP
Starting Clock synchronization checks using Network Time Protocol(NTP)...
Checking existence of NTP configuration file "/etc/ntp.conf" across nodes Node Name File exists? ------------------------------------ ------------------------ <HOST> no PRVG-1019 : The NTP configuration file "/etc/ntp.conf" does not exist on nodes "<HOST>" PRVF-5414 : Check of NTP Config file failed on all nodes. Cannot proceed further for the NTP tests
Checking daemon liveness...
Check: Liveness for "ntpd" Node Name Running? ------------------------------------ ------------------------ <HOST> no PRVF-7590 : "ntpd" is not running on node "<HOST>" PRVG-1024 : The NTP Daemon or Service was not running on any of the cluster nodes. PRVF-5415 : Check to see if NTP daemon or service is running failed Result: Clock synchronization check using Network Time Protocol(NTP) failed
PRVF-9652 : Cluster Time Synchronization Services check failed
Verification of Clock Synchronization across the cluster nodes was unsuccessful on all the specified nodes.
/etc/chrony.conf
# systemctl status -l chronyd ● chronyd.service - NTP client/server Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2017-11-27 07:47:28 AEDT; 13s ago Docs: man:chronyd(8) man:chrony.conf(5) Process: 1521 ExecStartPost=/usr/libexec/chrony-helper update-daemon (code=exited, status=0/SUCCESS) Process: 1517 ExecStart=/usr/sbin/chronyd $OPTIONS (code=exited, status=0/SUCCESS) Main PID: 1519 (chronyd) CGroup: /system.slice/chronyd.service └─1519 /usr/sbin/chronyd
Nov 27 07:47:28 ol7 systemd[1]: Starting NTP client/server... Nov 27 07:47:28 ol7 chronyd[1519]: chronyd version 3.1 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SECHASH +SIGND +ASYNCDNS +IPV6 +DEBUG) Nov 27 07:47:28 ol7 chronyd[1519]: Frequency 0.000 +/- 1000000.000 ppm read from /var/lib/chrony/drift Nov 27 07:47:28 ol7 systemd[1]: Started NTP client/server.
Changes
Using "chrony" for time SYNC among node instead of NTP
Cause
Its a known issue and documented in below internal bug
BUG 21083438 - 12.2/MAIN: CVU SHOULD SUPPORT CHRONY INSTEAD OF NTP
Solution
This issue is fixed in 12.2 and cluvfy warning can be ignored if using "CHRONY" for time sync.
NOTE: Make sure CHRONY working fine without any issue and then ignore the errors reported in CRS alert related to NTP.