Oracle RAC Grid misscount/disktimeout

myhuaer發表於2015-10-06
   RAC CSS(叢集同步服務)監控叢集中節點,節點狀態,心跳網路和磁碟讀寫。
  有兩個引數控制 misscount 和 disktimeout.
  misscount 是作為節點間網路心跳的丟失數量,如果超過此值Grid 會有相應的操作。10g 重啟節點,11gR2 嘗試重啟crs 來嘗試解決此問題。
  
    預設misscount 如下
OS 10g (R1 &R2) 11g

Linux

60

30

Unix

30

30

 disktimeout  預設200s (10g,11g)

修改方法10g 和 11g 基本相似,但11g 修改不用重啟節點。
修改方法如下:
10g:
1) Shut down CRS on all but one node. For exact steps use note 309542.1
2) Execute crsctl as root to modify the misscount:
     $CRS_HOME/bin/crsctl set css misscount <n>    #### where <n> is the maximum private network latency in seconds
     $CRS_HOME/bin/crsctl set css reboottime <r> [-force]  #### (<r> is seconds)
     $CRS_HOME/bin/crsctl set css disktimeout <d> [-force] #### (<d> is seconds)
3) Reboot the node where adjustment was made
4) Start all other nodes which was shutdown in step 1
5) Execute crsctl as root to confirm the change:
     $CRS_HOME/bin/crsctl get css misscount
     $CRS_HOME/bin/crsctl get css reboottime 
     $CRS_HOME/bin/crsctl get css disktimeout 


11gR2
With 11gR2, these settings can be changed online without taking any node down:

1) Execute crsctl as root to modify the misscount:
     $CRS_HOME/bin/crsctl set css misscount <n>    #### where <n> is the maximum private network latency in seconds
     $CRS_HOME/bin/crsctl set css reboottime <r> [-force]  #### (<r> is seconds)
     $CRS_HOME/bin/crsctl set css disktimeout <d> [-force] #### (<d> is seconds)
2) Execute crsctl as root to confirm the change:
     $CRS_HOME/bin/crsctl get css misscount
     $CRS_HOME/bin/crsctl get css reboottime 
     $CRS_HOME/bin/crsctl get css disktimeout 


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/34596/viewspace-1813397/,如需轉載,請註明出處,否則將追究法律責任。

相關文章