cancel
Showing results for 
Search instead for 
Did you mean: 

DB2 error in file db2nodes.cfg on HPUX cluster instalation

Former Member
0 Kudos

I am installing ECC6 SR3 ABAP + DB2 V9.1 in cluster environment on HPUX IA64 + ServiceGuard.

I am with the following problem, DB2 software does not function in second node.

Overview:

node1: host1

node2: host2

virtual host: vthostci

virtual host: vthostdb

ServiceGuard Package

pkgdb (hostnames host1/vthostdb)

pkgci (hostnames host2/vthostci)

Shared Disk

/usr/sap (on package pkgci)

/db2

/db2/db2ecp

/db2/ECP

/db2/ECP/db2dump

/db2/ECP/db2ecp

/db2/ECP/log_dir

/db2/ECP/sapdata1

/db2/ECP/sapdata2

/db2/ECP/sapdata3

/db2/ECP/sapdata4

components installed on node1 (sapinst use virtual hostname)

ASCS on vthostci

DB Instance on vthostdb

CI on vthostci

components installed on node2

Creating Operating System Users (sapinst)

without problems until here, but when movement the DB instance and the ASCS to node2 the DB2 instance does not function, it presents error in the file db2nodes.cfg.

the file db2nodes.cfg contains the following line:

"0 host1 0" (the physical hostname the node1)

My problem is... How to configure DB2 Software/Instance on both node the HA cluster?

Another question, on ERP 2005 SR3 the db2 software is automatically installed by SAPinst in the following directory:/db2/db2<dbsid>/db2_software.

That is correct in cluster environment? because /db2 is shared disk.

Please help me

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Licia ,

if you are running an single node and simply switch database from node1 to node2 this should not be a problem since the database software is taken over with the database .

If you have problems taking over the database software due to some issues

( like open files ) you can also keep the database software locally as before , but this then implies to maintain database software twice .

If you are running multiple DB2 nodes on cluster node1 and cluster node2 of course you need

database software installed and maintained locally on both nodes .

Best regards

dirk

Former Member
0 Kudos

Hi Licia,

if you would ask IBM, you'll get the answer, that you may use the virtual hostname in db2nodes.cfg. But if you ask me, this is not completely true. I used two db2nodes.cfg files for the different hosts. We used the cluster software to exchange them during take over.

If you ask me, the hostname in db2nodes.cfg has to be the hostname you get as root.

Regards

Ralph