参考链接:
https://twiki.cern.ch/twiki/bin/view/PSSGroup/RemoveNode
1. 停止服务:
crs_stop -all
如果使用crs_stat -t 看target字段是online,要执行
crs_stop 置为offline 。
2.
srvctl remove instance -d orcl -i orcl2
Remove instance orcl2 from the database orcl? (y/[n]) y
srvctl remove asm -n rac2
3.
srvctl remove instance -d -i [-f]
srvctl remove service -d -s [-i ] [-f]
srvctl remove nodeapps -n "" [-f]
srvctl remove asm -n [-i ] [-f]
./olsnodes -n
rac1 1
rac2 2