标签:auto source crsctl crs tor was 停止 sam ica
crsctl start crs后,实例无法自动启动。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都不会重新启动资源。
crsctl start crs实例无法自动启动, 因为AUTO_START=restore导致
标签:auto source crsctl crs tor was 停止 sam ica
原文地址:https://blog.51cto.com/214320/2419740