[Linux-ha-dev] DB2 RA

Andreas Mather1 andreas.mather at at.ibm.com
Tue Jan 22 04:47:20 MST 2008



Hi all,

I ran into some troubles with the DB2 RA on an asymmetrical 4 node cluster.

I've changed the RA to cover my needs and want to share the patches (which
I seperated as they address different issues):

db2_asym.patch:
The first one is about the return code of the RA in case the DB2 instance
is not availble. I've change the rc to $OCF_ERR_INSTALLED.

db2_env.patch:
In case the instance user's directory is shared, the ~/sqllib/db2nodes.cfg
does not represent the current hostname after a takeover. This patch
changes the RA to check the db2nodes.cfg for correct content and, if
necessary, changes the hostname.

(See attached file: db2_asym.patch)(See attached file: db2_env.patch)

Mit freundlichen Grüßen / Best regards

Andreas MATHER
ESLT - Enterprise Services for Linux Technologies

IBM Austria, Obere Donaustrasse 95, 1020 Vienna
Phone : +43-1-21145/4799
Fax: +43-1-21145/8888
e-mail: andreas.mather at at.ibm.com

IBM Österreich Internationale Büromaschinen Gesellschaft m.b.H.
Sitz: Wien
Firmenbuchgericht: Handelsgericht Wien, FN 80000y
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db2_asym.patch
Type: application/octet-stream
Size: 206 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20080122/3da978d7/db2_asym.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db2_env.patch
Type: application/octet-stream
Size: 1035 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20080122/3da978d7/db2_env.obj


More information about the Linux-HA-Dev mailing list