[root@rac2 bin]# ./srvctl stop listener -n rac1
PRCC-1017 : LISTENER 已在 rac1 上停止
PRCR-1005 : 资源 ora.LISTENER.lsnr 已停止
[root@rac2 bin]#
[root@rac2 bin]# ./srvctl remove instance -d solgle -i solgle1
是否从数据库 solgle 中删除实例? (y/[n]) y
[root@rac2 bin]#
[root@rac2 bin]# ./srvctl remove instance -d solgle_db2 -i solgleri1
是否从数据库 solgle_db2 中删除实例? (y/[n]) y
[root@rac2 bin]#
[root@rac2 bin]# ./srvctl remove instance -d solgle_db3 -i solglelo1
是否从数据库 solgle_db3 中删除实例? (y/[n]) y
[root@rac2 bin]#
---备份ocr文件
[root@rac2 bin]# ./ocrconfig -manualbackup
rac2 2015/04/28 14:38:39 /u01/app/grid/11.2.0/cdata/s-scan/backup_20150428_143839.ocr
[root@rac2 bin]#
---删除节点rac1
[root@rac2 bin]# ./crsctl delete node -n rac1
CRS-4661: Node rac1 successfully deleted.
---查看节点状态
[root@rac2 bin]# ./olsnodes -s -t
rac2 Active Unpinned
[root@rac2 bin]#
[root@rac2 bin]# ./srvctl stop vip -i rac1
[root@rac2 bin]# ./crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA1.dg
ONLINE ONLINE rac2
ora.LISTENER.lsnr
ONLINE ONLINE rac2
ora.asm
ONLINE ONLINE rac2 Started
ora.gsd
OFFLINE OFFLINE rac2
ora.net1.network
ONLINE ONLINE rac2
ora.ons
ONLINE ONLINE rac2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac2
ora.cvu
1 ONLINE ONLINE rac2
ora.solgle.db
2 ONLINE ONLINE rac2 Open
ora.solgle_db3.db
2 ONLINE ONLINE rac2 Open
ora.solgle_db2.db
2 ONLINE ONLINE rac2 Open
ora.oc4j
1 ONLINE ONLINE rac2
ora.rac1.vip
1 OFFLINE OFFLINE
ora.rac2.vip
1 ONLINE ONLINE rac2
ora.scan1.vip
1 ONLINE ONLINE rac2
[root@rac2 bin]#
[root@rac2 bin]# ./srvctl remove vip -i rac1
请确认要删除 VIP rac1 (y/[n]) y
[root@rac2 bin]#
[root@rac2 bin]# ./crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA1.dg
ONLINE ONLINE rac2
ora.LISTENER.lsnr
ONLINE ONLINE rac2
ora.asm
ONLINE ONLINE rac2 Started
ora.gsd
OFFLINE OFFLINE rac2
ora.net1.network
ONLINE ONLINE rac2
ora.ons
ONLINE ONLINE rac2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac2
ora.cvu
1 ONLINE ONLINE rac2
ora.solgle.db
2 ONLINE ONLINE rac2 Open
ora.solgle_db3.db
2 ONLINE ONLINE rac2 Open
ora.solgle_db2.db
2 ONLINE ONLINE rac2 Open
ora.oc4j
1 ONLINE ONLINE rac2
ora.rac2.vip
1 ONLINE ONLINE rac2
ora.scan1.vip
1 ONLINE ONLINE rac2
[root@rac2 bin]#