Subscribe to Posts by Email

Subscriber Count

    701

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

Managing Grid Infrastructure 12c : Adding a deleted Node

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)"

Add_deleted_node_A

 

3. Execute root.sh in the node 04.

Add_deleted_node_2 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 image

 

6. Check olsnode

01. OLSNODE

 

 

 

1 comment to Managing Grid Infrastructure 12c : Adding a deleted Node