Oracle 11g RAC 添加节点错误--数据库软件添加新节点故障

Oracle 11g RAC 添加节点错误--数据库软件添加新节点故障

错误案例:

Oracle 11g RAC 添加新节点时,在数据库软件添加新节点时出现以下错误:

$ $DB_HOME/oui/bin/addNode.sh -silent "CLUSTER_NEW_NODES={new_nodename}"
SEVERE:Number of new nodes being added are not equal to number of new virtual nodes. Silent install cannot continue.

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.1 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms


Adding one or more nodes to 11gR2 GI cluster, successfully extended GI home to the new nodes with addNode.sh from $GRID_HOME/oui/bin, however, while extending RAC database home to the new node(s) with addNode.sh from $DB_HOME/oui/bin, the following error is reported:

  • Screen output

$ $DB_HOME/oui/bin/addNode.sh -silent "CLUSTER_NEW_NODES={new_nodename}"

SEVERE:Number of new nodes being added are not equal to number of new virtual nodes. Silent install cannot continue.


  • installActions<timestamp>.log

INFO: /oracle/11.2/db/oui/bin/../bin/lsnodes: error while loading shared libraries: libskgxn2.so: cannot open shared obje
ct file: No such file or directory
INFO: Vendor clusterware is not detected.
INFO: Error ocurred while retrieving node numbers of the existing nodes. Please check if clusterware home is properly config
ured.
SEVERE: Error ocurred while retrieving node numbers of the existing nodes. Please check if clusterware home is properly configured.



Cause

Wrong lsnodes in $DB_HOME

Solution

In this example:

GRID_HOME=/ocw/grid
DB_HOME=/oracle/11.2/db


The solution is to create the following symbolic link:

$ export GRID_HOME=/ocw/grid
$ export DB_HOME=oracle/11.2/db

$ cd $DB_HOME/bin
$ mv lsnodes lsnodes.old
$ ln -s $GRID_HOME/bin/olsnodes $DB_HOME/bin/lsnodes
$ ln -s $GRID_HOME/bin/olsnodes.bin $DB_HOME/bin/lsnodes.bin

$ cd $DB_HOME/oui/bin
$ mv lsnodes lsnodes.old
$ ln -s $GRID_HOME/bin/olsnodes $DB_HOME/oui/bin/lsnodes
$ ln -s $GRID_HOME/bin/olsnodes.bin $DB_HOME/oui/bin/lsnodes.bin

References

BUG:5521132 - ISPRE10I.JAVA: RETURNING TRUE CAUSE THE CAN NOT RUN ADDNODE.SH


你可能感兴趣的:(Oracle 11g RAC 添加节点错误--数据库软件添加新节点故障)