1. 程式人生 > >rac新增節點提示db資源存在處理

rac新增節點提示db資源存在處理

1.問題描述
lpc50020:/mdcabcapp/oraabc/home$srvctl add database -d nhcabcst -n cabcst -o /mdcabcapp/oraabc/11.2.0
PRCS-1007 : Server pool nhcabcst already exists
PRCR-1086 : server pool ora.nhcabcst is already registered

2.原因分析

 參考oracle support文件:Doc ID 1108023.1,分析為在從ocr中移除database資源時沒有移除乾淨或是移除操作中間有發生中斷引起。

3.解決方法
移除serverpool,報下錯:
/mdcabcapp/oragrid/11.2.0/bin
[
[email protected]
bin]# ./crsctl delete serverpool ora.nhcabcst
CRS-2557: Server pool 'ora.nhcabcst' cannot be unregistered as it is referenced by server pool 'ora.nhcabcst_br'
CRS-4000: Command Delete failed, or completed with errors.
因有關聯的service沒有移除,繼續如下操作:
./crsctl delete serverpool ora.nhcabcst_br   
./crsctl delete serverpool ora.nhcabcst_br_io
最後移除完成:./crsctl delete serverpool ora.nhcabcst


重新增加databas到ocr中即可:
srvctl add database -d nhcabcst -n cabcst -o /mdcabcapp/oraabc/11.2.0
srvctl add instance -d nhcabcst -i cabcst1 -n lpc50020
srvctl add instance -d nhcabcst -i cabcst2 -n lpc50025