crsctl start crs實例無法自動啓動, 因爲AUTO_START=restore導致

crsctl start crs後,實例無法自動啓動。
查看resource 的啓動屬性

1:crsctl status resource ora.orcl.db -p
auto_start的值爲restore

修改成跟隨集羣軟件自動啓動

1: crsctl modify res resource_name -attr auto_start=always
如: crsctl modify resource "ora.FRA.dg" -attr "AUTO_START=always"

2: 檢查是否修改成功

crsctl status resource resource_name -p

AUTO_START

Indicates whether Oracle Clusterware automatically starts a resource after a cluster server restart. Valid AUTO_START values are:
指示Oracle Clusterware在羣集服務器重新啓動後是否自動啓動資源。 有效的AUTO_START值爲:

•always: Restarts the resource when the server restarts regardless of the state of the resource when the server stopped.
•always:在服務器重新啓動時重新啓動資源,而不管服務器停止時資源的狀態如何。

•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.
•restore:將資源恢復到服務器停止時的狀態。 如果在服務器停止之前TARGET的值爲ONLINE,Oracle Clusterware會嘗試重新啓動資源。

•never: Oracle Clusterware never restarts the resource regardless of the state of the resource when the server stopped.
•never:無論服務器何時停止,Oracle Clusterware都不會重新啓動資源。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章