您的位置:首页 > 其它

crsctl start crs实例无法自动启动, 因为AUTO_START=restore导致

2020-02-11 21:50 453 查看

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都不会重新启动资源。

  • 点赞
  • 收藏
  • 分享
  • 文章举报
biying8921 发布了0 篇原创文章 · 获赞 0 · 访问量 248 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐