PRVF-5414 and PRVF-5415 IN CRS ALERT LOG WHEN USING “CHRONY“ FOR TIME SYNC (Doc ID 2647841.1)

这个还是安装RAC ORACLE 软件,检查的时候报的错,按照MOS上说,如果CHRONY这个服务正常启动,可以忽略这个问题,但我们生产环境中是用NTP服务来同步时间,这台RAC是个新机器,没在模板里面,所以手动配置下就可以了,这个告警就没了

以下是MOS原文:

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值