In 11g R2 RAC,
when a node is deleted, only the OCR and the inventory of the
remaining nodes is updated. Grid software from the deleted node is
not removed and inventory of the deleted node is not updated
(/u01/app/oraInventory/ContentsXML/inventory.xml)
Hence, to add
back a deleted node we need not copy the Grid software on the node which was
deleted earlier. Only the following steps need to be executed:
Current scenario:
I have two nodes in the cluster presently.
Host names :
- host01.example.com
-
host02.example.com
Node which was
deleted earlier and has to be added back:
- host03.example.com
———————————————————-
– Run addNode.sh
from a currently existing node (say host01) with no copy option
———————————————————–
- login as grid
[grid@host01]$
cd /u01/app/oracle/11.2.0/grid/oui/bin
[grid@host01]$./addNode.sh -silent -noCopy
ORACLE_HOME=/u01/app/11.2.0/grid “CLUSTER_NEW_NODES={host03}”
“CLUSTER_NEW_VIRTUAL_HOSTNAMES={host03-vip}”
This step
updates the inventories on the nodes and instatiates scripts on local
node.
———————————————–
– Run root.sh on
the newly added node
———————————————-
– If root.sh is
not on the newly added node, copy it from any of the existing nodes
[root@host03}#/u01/app/11.2.0/grid/root.sh
——————————————–
– Chck that the
node has been added
———————————————
[grid@host01]$ olsnodes
crsctl stat res -t
No comments:
Post a Comment