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

msdnchina發表於2011-09-11

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@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/161195/viewspace-1054951/,如需轉載,請註明出處,否則將追究法律責任。

相關文章