CRS-2409問題的處理
今天在例行資料庫檢查時,發現 日誌裡有關於時間同步問題的日誌資訊。
報錯日誌如下:
2014-07-04 13:40:33.301
[ctssd(15137)]CRS-2409:The clock on host rac-1 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.
2014-07-04 14:10:34.009
[ctssd(15137)]CRS-2409:The clock on host rac-1 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.
1、報錯資訊問題的分析
1)作業系統的NTPD服務處於啟動狀態,ctssd就不合作,但是隻要ctssd服務啟動,正常情況下應該處於觀察模式。
2)當前OS的NTPD的服務正在執行,並且ctssd不能處於觀察模式執行
2、排除過程
1)檢查兩個節點時間是否存在差異
ssh rac-2 date
date
2)檢查OS的NTPD服務
# service ntpd status
ntpd is stopped
3)檢查ctssd的執行情況
su - grid
crsctl stat res ora.ctssd -init
4) 藉助crs的cluvfy工具診斷ctss錯誤的原因
cluvfy comp clocksync -n all -verbose
cd /oracle/app/11.2/grid/bin/
./cluvfy comp clocksync -n all -verbose
Verifying Clock Synchronization across the cluster nodes
Checking if Clusterware is installed on all nodes...
Check of Clusterware install passed
Checking if CTSS Resource is running on all nodes...
Check: CTSS Resource running on all nodes
Node Name Status
------------------------------------ ------------------------
rac-2 passed
rac-1 passed
Result: CTSS resource check passed
Querying CTSS for time offset on all nodes...
Result: Query of CTSS for time offset passed
Check CTSS state started...
Check: CTSS state
Node Name State
------------------------------------ ------------------------
rac-2 Observer
rac-1 Observer
CTSS is in Observer state. Switching over to clock synchronization checks using NTP
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
The NTP configuration file "/etc/ntp.conf" is available on all nodes
NTP Configuration file check passed
Checking daemon liveness...
Check: Liveness for "ntpd"
Node Name Running?
------------------------------------ ------------------------
rac-2 no
rac-1 no
Result: Liveness check failed for "ntpd"
PRVF-5494 : The NTP Daemon or Service was not alive on all 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.
5)檢查OS層ntpd的配置
/etc/ntp.conf
/etc/rc.tcpip
3、問題的處理方法(兩個節點都執行)
1)停用ctssd (grid使用者執行)
crsctl stop resource ora.ctssd -init
2) 停止ntpd (root使用者執行)
stopsrc -s xntpd
3) 啟動ntpd,加入”-X“ 模式 (root使用者執行,啟動需幾分鐘)
startsrc -s xntpd -a "-X"
4) 啟動ctssd (grid 使用者執行)
crsctl start resource ora.ctssd -init
報錯日誌如下:
2014-07-04 13:40:33.301
[ctssd(15137)]CRS-2409:The clock on host rac-1 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.
2014-07-04 14:10:34.009
[ctssd(15137)]CRS-2409:The clock on host rac-1 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.
1、報錯資訊問題的分析
1)作業系統的NTPD服務處於啟動狀態,ctssd就不合作,但是隻要ctssd服務啟動,正常情況下應該處於觀察模式。
2)當前OS的NTPD的服務正在執行,並且ctssd不能處於觀察模式執行
2、排除過程
1)檢查兩個節點時間是否存在差異
ssh rac-2 date
date
2)檢查OS的NTPD服務
# service ntpd status
ntpd is stopped
3)檢查ctssd的執行情況
su - grid
crsctl stat res ora.ctssd -init
4) 藉助crs的cluvfy工具診斷ctss錯誤的原因
cluvfy comp clocksync -n all -verbose
cd /oracle/app/11.2/grid/bin/
./cluvfy comp clocksync -n all -verbose
Verifying Clock Synchronization across the cluster nodes
Checking if Clusterware is installed on all nodes...
Check of Clusterware install passed
Checking if CTSS Resource is running on all nodes...
Check: CTSS Resource running on all nodes
Node Name Status
------------------------------------ ------------------------
rac-2 passed
rac-1 passed
Result: CTSS resource check passed
Querying CTSS for time offset on all nodes...
Result: Query of CTSS for time offset passed
Check CTSS state started...
Check: CTSS state
Node Name State
------------------------------------ ------------------------
rac-2 Observer
rac-1 Observer
CTSS is in Observer state. Switching over to clock synchronization checks using NTP
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
The NTP configuration file "/etc/ntp.conf" is available on all nodes
NTP Configuration file check passed
Checking daemon liveness...
Check: Liveness for "ntpd"
Node Name Running?
------------------------------------ ------------------------
rac-2 no
rac-1 no
Result: Liveness check failed for "ntpd"
PRVF-5494 : The NTP Daemon or Service was not alive on all 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.
5)檢查OS層ntpd的配置
/etc/ntp.conf
/etc/rc.tcpip
3、問題的處理方法(兩個節點都執行)
1)停用ctssd (grid使用者執行)
crsctl stop resource ora.ctssd -init
2) 停止ntpd (root使用者執行)
stopsrc -s xntpd
3) 啟動ntpd,加入”-X“ 模式 (root使用者執行,啟動需幾分鐘)
startsrc -s xntpd -a "-X"
4) 啟動ctssd (grid 使用者執行)
crsctl start resource ora.ctssd -init
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22969361/viewspace-1211303/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 處理問題的方法
- xml處理的問題XML
- mysql的處理能力問題MySql
- 一個NBU問題的處理
- mysql的處理能力問題(2)MySql
- 【問題處理】“NOT IN”與“NULL”的邂逅Null
- windows的一個問題處理Windows
- perl中文處理問題
- 漢字處理問題?
- 貨品問題處理
- [git] git問題處理Git
- .net異常處理的效能問題
- GridLayout的使用及問題處理
- 一次efi的問題處理
- enq: HW - contention 問題的處理ENQ
- weblogic中例外處理的問題Web
- golang json處理問題GolangJSON
- 併發問題處理方式
- ASMCMD處理問題一則ASM
- RMAN處理split block問題BloC
- mysql問題處理兩則MySql
- Oracle啟動問題處理Oracle
- mysql 問題處理二則MySql
- Oracle壞塊問題處理Oracle
- 資料處理--pandas問題
- 【問題處理】MySQL忘記root密碼的處理辦法MySql密碼
- 處理表的行遷移的問題
- 處理分頁的result型別問題型別
- 關於sequence問題的緊急處理
- 解析PHP處理換行符的問題PHP
- GES:Potential blocker on resource TX問題的處理BloC
- 處理TEMP表空間滿的問題
- EJB3的異常處理問題
- 如何處理 No DMARC Record Found 問題
- PHP 開發版本問題處理PHP
- MySQL:亂碼問題處理流程MySql
- JVM問題分析處理手冊JVM
- Linux 問題處理集錦Linux