溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

crsctl start crs實(shí)例無法自動(dòng)啟動(dòng), 因?yàn)锳UTO_START=restore導(dǎo)致

發(fā)布時(shí)間:2020-06-07 12:34:12 來源:網(wǎng)絡(luò) 閱讀:844 作者:yoyo918 欄目:關(guān)系型數(shù)據(jù)庫(kù)

crsctl start crs后,實(shí)例無法自動(dòng)啟動(dòng)。
查看resource 的啟動(dòng)屬性

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

修改成跟隨集群軟件自動(dòng)啟動(dòng)

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在群集服務(wù)器重新啟動(dòng)后是否自動(dòng)啟動(dòng)資源。 有效的AUTO_START值為:

?always: Restarts the resource when the server restarts regardless of the state of the resource when the server stopped.
?always:在服務(wù)器重新啟動(dòng)時(shí)重新啟動(dòng)資源,而不管服務(wù)器停止時(shí)資源的狀態(tài)如何。

?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:將資源恢復(fù)到服務(wù)器停止時(shí)的狀態(tài)。 如果在服務(wù)器停止之前TARGET的值為ONLINE,Oracle Clusterware會(huì)嘗試重新啟動(dòng)資源。

?never: Oracle Clusterware never restarts the resource regardless of the state of the resource when the server stopped.
?never:無論服務(wù)器何時(shí)停止,Oracle Clusterware都不會(huì)重新啟動(dòng)資源。

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI