Consultor Eletrônico



Kbase P117023: How to know if a DB has been correctly registered on AIX HACMP cluster?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/06/2006
Status: Unverified

GOAL:

How to know if a DB has been correctly registered on AIX HACMP cluster?

GOAL:

Where to find information about a registered DB on AIX HACMP cluster ?


GOAL:

How to know if a DB is cluster enabled on AIX HACMP cluster ?

FACT(s) (Environment):

IBM AIX

FIX:


When issuing the command:

procluster /<DB directory>/sports enable ?pf sports.pf

The procluster instruction will register the resources with the cluster manager, to verify that it has been correctly registered check the following:


1) Verify on the file system where you created the DB that the following files exist


Example

For a DB named sports residing on a file system mounted at directory /sharedfs this would contain:

sports.Appserver.LOG containing a log
sports.vol containing the designated Volumegroup
PBCF6A70039C35A690A1FC1C8AD103F.Log P{UUID}.Log: this file should be empty, unless an error occurred.
sportsResources.cluster file
2) Also examine the /etc/cluster/P{UUID} directory


e="MARGIN: 0in 0in 0pt">Example

For the DB named sports which assigned UUID is BCF6A70039C35A690A1FC1C8AD103F the directory /etc/cluster/PBCF6A70039C35A690A1FC1C8AD103F would contain:

BCF6A70039C35A690A1FC1C8AD103F.start
DEFAULT.MONITOR
MASTER.MONITOR
MASTER.START
MASTER.STOP
Resource.monitor.environment


3) Use clRGinfo command to identify your DB's UUID status


Example:

For a DB which the assigned UUID is BCF6A70039C35A690A1FC1C8AD103F it will display:

# clRGinfo
-----------------------------------------------------------------------------
Group Name Type State Location
-----------------------------------------------------------------------------
testresource cascading ONLINE aix64db
PBCF6A70039C35A690A1FC1C8AD103F cascading OFFLINE aix64db
4) Verify existence of file $PSC_CLUSTER_PATH/scripts/PSC_CLUSTER_REG.TMP (DB resources registration file)
: 0in 0in 0pt">
5) Verify existence of file $PSC_CLUSTER_PATH/scripts/PSC_CLUSTER_REG_ADDON.TMP (Auxiliary process registration file, like APW, BIW, etc.) .