<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Klaus,</p>
<p>Excellent! I'll look into it, appreciate it!<br>
</p>
<div class="moz-cite-prefix">On 2023/4/14 19:59, Klaus Wenninger
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALrDAo1RH4ooFq1+uhVz_atmTtvtnqSaSLYX3cFm=qfEmSqd9w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>#pfptBannerr4wyymp { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }.pfptPrimaryButtonr4wyymp:hover, .pfptPrimaryButtonr4wyymp:focus {
background-color: #b4c1c7 !important; }.pfptPrimaryButtonr4wyymp:active {
background-color: #90a4ae !important; }</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none
!important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
On Fri, Apr 14, 2023 at 9: 01 AM Qing Feng Hao
<a class="moz-txt-link-rfc2396E" href="mailto:haoqf@ linux. vnet. ibm. com"><haoqf@ linux. vnet. ibm. com></a> wrote: Hi Everyone, Sorry
to bother, I have setup a HA cluster with pacemaker, and want to
so some special handling when VIP (virtualip) changes. VIP is
the virtual
</div>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<div style="display:none
!important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;"></div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Apr 14, 2023 at
9:01 AM Qing Feng Hao <<a
href="mailto:haoqf@linux.vnet.ibm.com"
moz-do-not-send="true" class="moz-txt-link-freetext">haoqf@linux.vnet.ibm.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div>Hi Everyone,
<p
style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe
UI",Helvetica,Arial,sans-serif,"Apple Color
Emoji","Segoe UI
Emoji";font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;margin-top:0px">Sorry
to bother, I have setup a HA cluster with pacemaker,
and want to so some special handling when VIP
(virtualip) changes. VIP is the virtual ip resource
created by pcs like "* virtualip
(ocf::heartbeat:IPaddr2): Started <node
ip>"<br>
</p>
<p
style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe
UI",Helvetica,Arial,sans-serif,"Apple Color
Emoji","Segoe UI
Emoji";font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;margin-top:0px">But
I didn't find it in ClusterMon <a
href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/configuring_the_red_hat_high_availability_add-on_with_pacemaker/s1-eventnotification-haar"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/configuring_the_red_hat_high_availability_add-on_with_pacemaker/s1-eventnotification-haar</a>,
this only mentions the fence event. I also checked
"./pacemaker/agents/ocf/ClusterMon.in":</p>
<div>
<pre style="box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;margin-top:0px;margin-bottom:16px;padding:16px;overflow:auto;line-height:1.45;border-radius:6px"><code style="box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;padding:0px;margin:0px;background:transparent;border-radius:6px;word-break:normal;white-space:pre-wrap;border:0px;display:inline;overflow:visible;line-height:inherit"><parameter name="extra_options">
<longdesc lang="en">
Additional options to pass to crm_mon. Eg. -n -r
</longdesc>
<shortdesc lang="en">Extra options</shortdesc>
<content type="string" default="" />
</parameter>
</code></pre>
<p>Does anyone know if pacemaker support this kind of
event notification and how to subscribe? Thanks a
lot.</p>
</div>
</div>
</div>
</blockquote>
<div>ClusterMon is kind of the legacy approach.</div>
<div>Did you look into alerts? </div>
<div><a
href="https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/html/alerts.html"
moz-do-not-send="true" class="moz-txt-link-freetext">https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/html/alerts.html</a> <br>
</div>
<div><br>
</div>
<div>Klaus</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div>
<div>
<p>Best regards<br>
</p>
<p>QingFeng Hao</p>
<p><br>
</p>
</div>
</div>
</div>
_______________________________________________<br>
Manage your subscription:<br>
<a
href="https://lists.clusterlabs.org/mailman/listinfo/developers"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.clusterlabs.org/mailman/listinfo/developers</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://www.clusterlabs.org/</a><br>
</blockquote>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Manage your subscription:
<a class="moz-txt-link-freetext" href="https://lists.clusterlabs.org/mailman/listinfo/developers">https://lists.clusterlabs.org/mailman/listinfo/developers</a>
ClusterLabs home: <a class="moz-txt-link-freetext" href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Best regards
QingFeng Hao</pre>
</body>
</html>