<div dir="ltr"><div>Forwarding Guy's response to me, onward to the list.</div><div><br></div><div>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?</div><div><br></div><div>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.</div><div><br></div><div>If the resource is showing "Started" state when the DB is in fact down, then one of two explanations is likely:</div><div>- 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.<br></div><div>- 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.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <b class="gmail_sendername" dir="auto">Guy Przytula</b> <span dir="auto"><<a href="mailto:guy.przytula@infocura.be">guy.przytula@infocura.be</a>></span><br>Date: Tue, Nov 17, 2020 at 2:33 AM<br>Subject: Re: [ClusterLabs] issue<br>To: Reid Wahl <<a href="mailto:nwahl@redhat.com">nwahl@redhat.com</a>><br></div><br><br>
<div>
<p>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</p>
<p>in current version of db2 pacemaker is shipped as a tech-preview,
but in next release, pacemaker will be officially supported for
db2</p>
<p>if the problem persist, we can open a ticket for this at ibm<br>
</p>
<blockquote type="cite"></blockquote>
<div>-- <br>
<font size="2" face="Arial" color="#000000">
<div>
<table width="100%" cellspacing="2" cellpadding="2" border="1" bgcolor="#ffffff">
<tbody>
<tr valign="top">
<td height="195"><font size="2" face="Arial" color="#000000">
<div>Best Regards, Beste Groeten,
Meilleures Salutations</div>
<div><font size="6" face="Brush Script MT" color="#ff00ff"><i>Guy Przytula</i></font></div>
<div> </div>
<div><font color="#ff0000">Tel. GSM</font> : +32
(0)475-33.81.86</div>
<div><br>
<span style="text-decoration:underline"></span></div>
<div><font color="#ff0000">Email</font> : <a href="mailto:guy.przytula@infocura.be" target="_blank">Guy
Przytula</a><br>
<br>
</div>
<div><br>
<img style="width:67px;height:86px" alt="signature" title="signature" src="cid:175d5c9f626d1534d5b1">
<font><font size="2" face="Arial" color="#000000"><font size="2" face="Arial" color="#000000"><font><font size="2" face="Arial" color="#000000"><font size="2" face="Arial" color="#000000"><font><font size="2" face="Arial" color="#000000"><font size="2" face="Arial" color="#000000"><font><font size="2" face="Arial" color="#000000"><font size="2" face="Arial" color="#000000"><img style="width:89px;height:45px" alt="" src="cid:175d5c9f6284362e0582"></font></font></font></font></font></font></font></font></font></font></font></font>
<br>
<br>
<font><font size="2" face="Arial" color="#000000"><font size="2" face="Arial" color="#000000">Infocura
</font></font></font>- Tel : +32 (0) 478 32 83
54 </div>
</font> </td>
</tr>
</tbody>
</table>
</div>
</font>
</div>
</div>
</div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Regards,<br><br></div>Reid Wahl, RHCA<br></div><div>Senior Software Maintenance Engineer, Red Hat<br></div>CEE - Platform Support Delivery - ClusterHA</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>