[ClusterLabs] Q: effieciently collecting some cluster facts

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Feb 25 02:16:21 EST 2021


Hi!

I'm thinking about some simple cluster status display that is updated periodically.
I wonder how to get some "cluster facts" efficiently. Among those are:

* Is corosync running, and how many nodes can be seen?
* Is Pacemaker running, how many nodes does it see, and does it have a quorum?
* Is the current node DC?
* How many resources matching some regular expression are running?

Regards,
Ulrich





More information about the Users mailing list