In one of the recent assignment we were adding 2 cluster nodes to an existing 8 node cluster and we encountered an error while saving a cluster Inventory on the new cluster nodes. The following is the screen shot where it encountered the error.
Cause:
The Inventory location doesn’t exists on the new cluster nodes and oracle clusterware add node command is trying to update the inventory on the same location of the existing cluster nodes.
Solution:
We can manually execute the below listed command after creating the required directories on the new cluster nodes.
/u01/grid/12.1.0/oui/bin/runInstaller -attachHome -noClusterEnabled ORACLE_HOME=/u01/grid/12.1.0 ORACLE_HOME_NAME=OraGI12Home1 CLUSTER_NODES=flexnoded1,flexnode2,flexnode3,flexnode6,flexnode8 CRS=true "INVENTORY_LOCATION=/u01/oracle/oraInventory" -invPtrLoac "/etc/orainst.loc" LOCAL_NODE=flexnode6
- Here in CLUSTER_NODES we should specify all nodes that will be participating in a cluster, including the new nodes that are being added to the cluster
- LOCAL_NODE is the node from which the Inventory is being updated.
- ORACLE_HOME is the Grid Infrastructure Home
Conclusion:
Its recommended to create Inventory files and directories with proper privileges on new cluster servers that are being added to the existing cluster nodes.