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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值