[ClusterLabs Developers] Does pacemaker support to receive the event of VIP changes?
Qing Feng Hao
haoqf at linux.vnet.ibm.com
Fri Apr 14 12:07:37 UTC 2023
Hi Klaus,
Excellent! I'll look into it, appreciate it!
On 2023/4/14 19:59, Klaus Wenninger wrote:
> On Fri, Apr 14, 2023 at 9: 01 AM Qing Feng Hao
> <haoqf@ 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
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
> ZjQcmQRYFpfptBannerEnd
>
>
> 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/
>
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/developers
>
> ClusterLabs home:https://www.clusterlabs.org/
--
Best regards
QingFeng Hao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/developers/attachments/20230414/01600b65/attachment-0002.htm>
More information about the Developers
mailing list