12c Cluster 的 NTP

(1).  OS NTP vs Oracle GI ctssd (Cluster Synchronization Service Daemon)

OS 有設NTP , 則 GI ctssd 以 observer  模式啟動
OS 沒設 NTP,  , 則 GI ctssd 以 active  模式啟動

參考 https://community.toadworld.com/platforms/oracle/b/weblog/archive/2015/03/12/switching-ctssd-from-active-mode-to-observer-mode


(2). 設定 NTP 微調式 (slew)修正時間

依 metalink Doc ID 1056693.1 , 在 Solaris 上的設定方式如下:

Solaris 10:
egrep 'slewalways|pll' /etc/inet/ntp.conf
slewalways yes
disable pll
To set, modify the configuration file.

Solaris 11:
# svcprop -p config/slew_always svc:/network/ntp:default
true
To set:
# svccfg -s svc:/network/ntp:default setprop config/slew_always = true



設定完成後, 以 下列兩個指令生效 (單純 stop/start 不會生效)
# /usr/sbin/svcadm refresh ntp
# /usr/sbin/svcadm restart ntp


(3) 關於 NTP 微調式修正時間


文件同時提到, NTP 需以微調方式修正系統時間, 否則會出珼下列錯誤
但是在 Oracle 12c GI 上沒出現此問題

$GRID_HOME/bin/cluvfy comp clocksync -n all
..
Checking daemon liveness...
Liveness check passed for "xntpd"
PRVF-5436 : The NTP daemon running on one or more nodes lacks the slewing option "slewalways yes"
Clock synchronization check using Network Time Protocol(NTP) failed
PRVF-9652 : Cluster Time Synchronization Services check failed


留言

這個網誌中的熱門文章

12c RAC, OS log 出現 WARNING: couldn't allocate FBT table for module oracleacfs

11g client 連上 12c server, 出現 ora-28040

新建的 12.2.0.1 資料庫 alert 出現 ORA-12012