ClusterLabs/booth

Support of alerts in booth site and boothd arbitrator

Opened this issue · 3 comments

I am requesting pacemaker alerts kind of feature for booth nodes. I understand few of below may not be possible to implement due to technical constraints. Would be interesting how most the cases can be handled.
Please check the attached image.

  1. Node5 booth-arbitrator should be able to give event when any of the booth site node joins or leaves.
  2. Geo site booth should be able to give event when its booth peers joins/leaves. For example, Geo site1 gives an event when node5 booth-arbitrator joins/leaves OR site2 booth joins/leaves. booth-ip can be passed in event.
  3. On ticket movements (revoke/grant), every booth node(Site1/2 and node5) should give events.

If you see on high level, then these are kind of node/resource events wrt booth.

As of today wrt booth, there is no provision where any of the nodes gives any event when its peer leaves/joins. This makes it difficult to know whether geo sites nodes can see booth-arbitrator or not. This is true the other way around also where booth-arbitrator cannot see geo booth sites.
I am not sure how others are doing it in today's deployment, but I see need of monitoring of every other booth node. So that on basis of event, appropriate alarms can be raised and action can be taken accordingly.

image

Relevant ML thread: https://lists.clusterlabs.org/pipermail/users/2020-August/027533.html

I think for Booth best we can do is to call script when ticket is granted/rejected.

Also similarly with qdevice, we must make sure to call script asynchronously, so it doesn't block processing of other events.

@dmuhamedagic may have other ideas how to grasp this issue.

This enhancement would really be worth the trouble. Any volunteers? :)