This content has been marked as final. Show 3 replies
I want to clean up the 11gR2 RAC installation(with ASM file system) on both nodes.
I was preparing the cookbook for the same however im little confused.
Below are the sequence of steps which i will perform, Please confirm/comment/suggest if im on correct path.
I have dropped the database already.
1. Stop instances/database and cluster services on both nodes.
srvctl stop database -d SID -f
srvctl stop instance -d SID -i < on both nodes>
srvctl stop listener -n node1 < on both nodes>
srvctl stop scan_listener < on both nodes>
2. disable the listener,scan listener and database services and clusterware services
srvctl disable db -d SID
srvctl disable instance –d SID –i inst_names
srvctl disable listener [-l lsnr_name] [-n node_name] (for both nodes)
srvctl disable scan_listener (for both nodes)
3. Remove the listener,scan listener and database services and clusterware services
srvctl remove database -d SID -y
srvctl remove instance -d SID -i inst1,inst2
srvctl status listener -n <node name> (for both nodes)
srvctl remove scan_listener -f (for both nodes)
4. Remove the file system (ASM)
srvctl disable diskgroup -g (FileSytem name e.g DATA,FRA) -n node1, node2
srvctl remove diskgroup -g (FileSytem name e.g DATA,FRA) -f (for both nodes)
5. Disable and remove nodeapps
srvctl disable nodeapps -g -v
srvctl remove nodeapps
6. Disable and remove ONS
srvctl disable ons
srvctl remove ons -f
7. Disable and remove GNS
srvctl disable gns [-n node_name]
srvctl remove gns [-n node_name]