Hello
This is the continuation of previous post from the good work by Deepak.
In last post we deleted a rac04 node and here we will see how to add back the same to cluster.
1. Attach the home in rac04 (as you have detached home), (optional)
If you have detached the home as like We did in previous post, you must attach the Home first in the node (assuming you have not run rootcrs.pl –deinstall since this will destroy the oracle grid home and you will have to reinstall the binaries again, for now assuming you have deleted a node rac04 and detached the home, where you are adding back)
$ORACLE_HOME/oui/bin/runInstaller -attachHome ORACLE_HOME_NAME="OraDb11g_home2" \
ORACLE_HOME="/u01/app/local/oracle/product/11.2.0/db_2" \
"CLUSTER_NODES={rac01,rac02,rac03}" \
LOCAL_NODE="rac04"
2. Run addnode.sh
To add the node in 12c, you have a separate folder addnode in grid home unlike in 11gr2.
[grid@rac01] cd $GI_HOME/addnode
[grid@rac01 addnode]./addnode.sh –slient –noCopy ORACLE_HOME=/u01/app/12.1.0/grid "CLUSTER_NEW_NODES=(rac04)" "CLUSTER_NEW_VIRTUAL_HOSTNMAE=(rac04-vip)"
3. Execute root.sh in the node 04.
4. Run update node list in other nodes in the cluster
[ grid@rac01 ~ ]$ cd /u01/app/12.1.0/grid/oui/bin/
[ grid@rac01 bin ]$ ./runInstaller -updateNodeList ORACLE_HOME=/u01/app/12.1.0/grid "CLUSTER_NODES={rac01,rac02,rac03,rac04}" CRS=TRUE -silent
5. Check the inventory is updated
6. Check olsnode
[…] Managing Grid Infrastructure 12c : Adding a deleted Node […]