oracle 11gR2 grid 叢集資源設定跟隨叢集自動啟動

paulyibinyi發表於2013-12-16

   oracle 11gR2 grid 叢集有些資源不會叢集自動啟動,需要手工啟動,比如用srvctl和crs_start 等等,出現這種問題的原因大概是在叢集執行時,出現手工停止某些資源的情況。

檢視resource 的啟動屬性

1:crsctl status resource resource_name -p
auto_start的值為restore

修改成跟隨叢集軟體自動啟動

  1: crsctl modify res resource_name -attr auto_start=always

  2: 檢查是否修改成功

crsctl status resource resource_name -p
auto_start的值為always


以下是auto_start的解釋。

AUTO_START

Indicates whether Oracle Clusterware automatically starts a resource after a cluster server restart. Valid AUTO_START values are:

always: Restarts the resource when the server restarts regardless of the state of the resource when the server stopped.


restore: Restores the resource to the same state that it was in when the server stopped. Oracle Clusterware attempts to restart the resource if the value of TARGET was ONLINE before the server stopped.


never: Oracle Clusterware never restarts the resource regardless of the state of the resource when the server stopped.

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

相關文章