In this Blog, we will see how to delete a node from multi node grid infrastructure setup.
Current GRID NODES : Node 1, Node 2, Node 3
Node tobe deleted : node3.
Grid Version : 19c.
STEPS OVERVIEW:
1. Precheck.
2.Delete Oracle Instance from node3 using DBCA.
3.Deinstall the Oracle Database home from node3.
4.Deinstall Grid Infrastructure home from node3.
5.Delete clusterware config.
6.Post Check.
Precheck :
Check whether all nodes are unpinned or not.
[oracle@node1 ~] $ olsnodes -s -t
Check the Cluster resources.
[oracle@node1 ~] $ crsctl stat res -t
2. Delete oracle instance from node 3 using dbca.
If any database instance is running on the node, then this need to be removed before deinstalling grid.
Instance successfully deleted. Now proceed with deinstalling the oracle db home.
3. Deinstall the Oracle database home from node3.Specify the “-local” flag as not to remove more than just the local node’s software.
[node3]$ cd $ORACLE_HOME/deinstall -local
Few error like failed to delete directory got reported. We can delete those directories manually.
[oracle@node3]$ rm -rf /oracle/app/oracle
4. Deinstall grid infrastructure home from node3.