In this blog, we will add new node node3 to the existing cluster. ( where grid is already running)
Grid_Home :/u01/app/19c/grid
Oracle_home : /u01/app/oracle/product/19C/db_home.
Steps to Add a node to Cluster :
1. 1. Run gridsetup.sh script from existing node.
db_home$ export GRID_HOME=/u01/app/19c/grid
db_home$ cd $GRID_HOME
db_home$./gridSetup.sh
Run root.sh script from the new node node2.
Â
Check the cluster resources: crsctl stat res -t
Extend Oracle Database home to new node using addnode.sh
If oracle database home is installed on existing node, then we need to extend the same oracle_home to new node. addnode.sh script need to be run from the existing node.
cd $ORACLE_HOME/addnode
./addnode.sh "CLUSTER_NEW_NODES={node3}"
Run on new node node3
/oracle/app/oracle/product/19.3.0/dbhome_1/root.sh
2. Add the instance on node using dbca utility( run on node2(existing node))
cd $ORACLE_HOME/bin
./dbca
[second node]$ crsctl status resource -w “TYPE = ora.database.type” -t