Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Removing an instance and database binaries in RAC setup

$
0
0
Remove RAC Database Instance(s)

From RAC1,
            
        $dbca

                select Instance_management->delete_instance->select database(prod) give sys/manager-
[oracle@rac1 ~]$ srvctl config database -d prod 

Remove RAC Database Software

In this step, the Oracle RAC database software will be removed from the node that will be deleted. Additionally, the inventories of the remaining nodes will be updated to reflect the removal of the node’s Oracle RAC database software home, etc.

Any listener running on "rac3" will need to be stopped.

[oracle@rac3 ~]$ srvctl disable listener -n rac3  
[oracle@rac3 ~]$ srvctl stop listener -n rac3

Update inventory on "rac3"  

[oracle@rac3 ~]$ . rdbms
[oracle@rac3 ~]$ cd $ORACLE_HOME/oui/bin
[oracle@rac3 bin]$ ./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES={rac3}"
                               -local  

Remove the RAC Database(RDBMS_HOME)Software from "rac3"

[oracle@rac3 ~]$ . rdbms
[oracle@rac3 ~]$ cd $ORACLE_HOME/deinstall  
[oracle@rac3 deinstall]$ ./deinstall -local  

Note:Make sure to specify the "-local" flag as not to remove more than just the local node’s software, etc.
Update inventories/node list on the remaining nodes.

 Update inventories list on the remaining nodes.

[oracle@rac1 ~]$ . rdbms
[oracle@rac1 ~]$ cd $ORACLE_HOME/oui/bin  

[oracle@rac1 bin]$ ./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME  "CLUSTER_NODES={rac1,rac2}"  

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>