[ClusterLabs] Fwd: issue

Reid Wahl nwahl at redhat.com
Tue Nov 17 05:47:30 EST 2020


Forwarding Guy's response to me, onward to the list.

I work on the cluster support team at Red Hat and I'm not aware that we
ship this db2cm script. Since you've said the script is defined by IBM and
also Red Hat, where did you obtain the script?

The resource agent script for ocf:heartbeat:db2inst should be located at
/usr/lib/ocf/resource/heartbeat/db2inst. It should have one or more
functions that it runs when the monitor operation is executed.

If the resource is showing "Started" state when the DB is in fact down,
then one of two explanations is likely:
- The function that is run for a monitor operation doesn't properly check
the DB status. If this is the case, then it sounds like a bug in the
script. The logic in that function needs to be modified. I would suggest
reaching out to whoever maintains the
/usr/lib/ocf/resource.d/heartbeat/db2inst script.
- No recurring monitor operation has been defined for the resource, so
Pacemaker is not even checking the resource's status. If this is the case,
then a monitor operation needs to be added.

---------- Forwarded message ---------
From: Guy Przytula <guy.przytula at infocura.be>
Date: Tue, Nov 17, 2020 at 2:33 AM
Subject: Re: [ClusterLabs] issue
To: Reid Wahl <nwahl at redhat.com>


we are using a db2 (ibm and also redhat) defined script db2cm to create the
resources and handling these. we do not handle the scripts for
start/stop/monitor

in current version of db2 pacemaker is shipped as a tech-preview, but in
next release, pacemaker will be officially supported for db2

if the problem persist, we can open a ticket for this at ibm

-- 
Best Regards,     Beste Groeten,      Meilleures Salutations
*Guy Przytula*

Tel. GSM : +32 (0)475-33.81.86

Email : Guy Przytula <guy.przytula at infocura.be>


                  [image: signature]



Infocura - Tel : +32 (0) 478 32 83 54


-- 
Regards,

Reid Wahl, RHCA
Senior Software Maintenance Engineer, Red Hat
CEE - Platform Support Delivery - ClusterHA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20201117/9e7be5df/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Infocura_signature.jpg
Type: image/jpeg
Size: 5072 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20201117/9e7be5df/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ibm-db2-logo.png
Type: image/png
Size: 9045 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20201117/9e7be5df/attachment-0001.png>


More information about the Users mailing list