ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How does OUI check if the HACMP software is installed? [ID 738574.1]

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

原创 Linux操作系统 作者:1983tracy 时间:2011-11-24 09:56:56 0 删除 编辑

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.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7900083/viewspace-711898/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: POWER HA
请登录后发表评论 登录
全部评论

注册时间:2009-06-01

  • 博文量
    18
  • 访问量
    44617