CRS报CRS-2409告警信息问题分析与处理(二)
odes lacks the slewing option "-x"
Result: Clock synchronization check using Network Time Protocol(NTP) failed
见上面标红色字体部分,在做NTP slewingoption时,两个节点都不通过,原因为,NTP没有运行在“-X”模式
3.5、检查OS层NTPD的配置
(1)检查/etc/ntpd.conf
server 10.XXX.XXX.71 broadcastclient driftfile /etc/ntp.drift tracefile /etc/ntp.trace
(2)检查/etc/rc.tcpip文件的配置
存在有下面信息:
# Start up Network Time Protocol (NTP) daemon start /usr/sbin/xntpd "$src_running" -a "-x"
看来配置不存在问题,但当前运行却不处于”-x”模式,很有可能是NTPD被重启过,启动时没有加上个”-x”参数
4、问题处理方法 (两个节点都执行)
4.1、停用CTSSD (grid用户执行) $ crsctl stat resource ora.ctssd -init 4.2、停止NTPD (root用户执行) # stopsrc -s xntpd 4.3、启动NTPD,加入“-x”模式 (root用户执行,启动需要几分钟时间) # startsrc -s xntpd -a "-x" 4.4、启动CTSSD (grid用户执行) $ crsctl start resource ora.ctssd -init
5、问题解决验证
5.1、启动CTSSD后CTSD日志记录信息
2013-XX-XX 19:18:00.427 [ctssd(6357170)]CRS-2403:The Cluster Time Synchronization Service on host XXXdb1 is in observer mode. 2013-XX-XX 19:18:00.888 [ctssd(6357170)]CRS-2407:The new Cluster Time Synchronization Service reference node is host XXXdb2. 2013-08-08 19:18:00.890 [ctssd(6357170)]CRS-2401:The Cluster Time Synchronization Service started on host XXXdb1.
5.2、借助CRS的cluvfy工具验证CTSS环境是否全部正常
XXXdb1:/#su - grid XXXdb1:/home/grid$ cluvfy comp clocksync -n all -verbose ……..(为了节省篇幅,把正常的都省略) Check for NTP daemon or service using UDP port 123 Node Name Port Open ------------------------------------ ------------------------ XXXdb2 yes XXXdb1 yes
Result: Clock synchronization check using Network Time Protocol(NTP) passed
Oracle Cluster Time Synchronization Services check passed
Verification of Clock Synchronization across the cluster nodes was successful.
从上面检查信息看到,以前不正的项目现在全部正常,检查通过。