[ClusterLabs Developers] Does pacemaker support to receive the event of VIP changes?

Klaus Wenninger kwenning at redhat.com
Fri Apr 14 11:59:41 UTC 2023


On Fri, Apr 14, 2023 at 9:01 AM Qing Feng Hao <haoqf at linux.vnet.ibm.com>
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 ip
> resource created by pcs like "* virtualip
> (ocf::heartbeat:IPaddr2):        Started <node ip>"
>
> But I didn't find it in ClusterMon
> 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,
> this only mentions the fence event.  I also checked
> "./pacemaker/agents/ocf/ClusterMon.in":
>
> <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>
>
> Does anyone know if pacemaker support this kind of event notification and
> how to subscribe? Thanks a lot.
>
ClusterMon is kind of the legacy approach.
Did you look into alerts?
https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/html/alerts.html


Klaus

> Best regards
>
> QingFeng Hao
>
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/developers
>
> ClusterLabs home: https://www.clusterlabs.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/developers/attachments/20230414/7e7de5e6/attachment-0002.htm>


More information about the Developers mailing list