How does OUI check if the HACMP software is installed? [ID 738574.1]

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 and later [Release: 9.2 and later ]
IBM AIX on POWER Systems (64-bit)

Goal

How does OUI check if the HACMP software is installed?

Solution

In 9i, when installing base release, e.g. 9.2.0.1, the OUI checks if cluster HACMP is available by looking at /etc/objrepos/HACMPnode.

statx("/etc/objrepos/HACMPnode", 0x2FF212B8, 76, 0) = 0

If this file is present then it will look at the cluster by running

% odmget HACMPcluster

It will then collect other cluster information from

/etc/objrepos/HACMPadapter
/etc/objrepos/HACMPcluster

by running the respective odmget command. OUI will then set CLUSTER_NODES and perform the Oracle cluster installation.

On a machine where HACMP is not installed, the file /etc/objrepos/HACMPnode is not present. It will return

statx("/etc/objrepos/HACMPnode", 0x2FF20FC8, 76 , 0) Err#2 ENOENT

and

$ odmget HACMPcluster
0518-506 odmget: Cannot open object class HACMPcluster
Check path name and permissions.[@more@]
请使用浏览器的分享功能分享到微信等