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 <[email protected]>
Date: Tue, Nov 17, 2020 at 2:33 AM
Subject: Re: [ClusterLabs] issue
To: Reid Wahl <[email protected]>


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 <[email protected]>


                  [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
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to