Thursday, August 03, 2006

Failed To Upgrade OCR Message

Now, we are getting a "Failed to upgrade Oracle Cluster Registry Configuration" message in the rootconfig shell script that is ran by root.sh at the end of the Clusterware installation. A friend of mine found most of the problem and described it as this:

"The rootconfig script has a few problems. The CRS_HOST_NAME_LIST and CRS_NODE_NAME_LIST are not populated. Script failed at this point:

if $CH/bin/ocrconfig -upgrade $CRS_ORACLE_OWNER $CRS_DBA_GROUP;
then$ECHO "Oracle Cluster Registry configuration upgraded successfully"
else$ECHO "Failed to upgrade Oracle Cluster Registry configuration"
exit 1
fi

libocr10.so is missing(running in debug mode)Commented this out and added environment variables and everything began to run. Script is trying to start init.crs but never starts the daemon."

So, once we talked to Oracle Support about this they suggested backing out the Clusterware install. Note 239998.1. Then re-running cluvfy and checking problems. In reviewing the CLUVFY output and installation documentation, we discovered missing OS patches and missing applications. HP C and C++ are not installed on all of the nodes.

We are canceling the re-install until all HP-UX Itanium patches (and those which are superseded) are installed. We are also waiting on a HP C and C++ install on the nodes which are missing them.

We are also asking Oracle Support to research whether or not GNU HP-UX Itanium C and C++ software can be substituted for the more costly HP licensed versions.

4 comments:

sedwardba said...

We found out today that the following are the certified compilers for use with Oracle 10.2 for HP-UX Itanium:

HP ANSI C A.06.00 & HP aC++ A.06.00

So, we installed these. We also found that we were missing only one OS patch that was not superseded by an existing installed patch. This patch was also installed.

sedwardba said...

Now, we could probably take a chance and use the GNU Compilers instead however this installation is a production system and it is better to go with the Oracle standard. Also with HP MCP support HP probably wouldn't support the use of GNU.

sedwardba said...

See MetaLink note 43208.1

sedwardba said...

OK, here is the root cause for the environment variables not being filled out in the rootconfig shell script:

Because the Oracle installer saw that HP ServiceGuard was running it considered this an upgrade.

Once, HP ServiceGuard was shutdown and uninstalled. The rootconfig shell ran as it should and didn't have to be edited.