[ClusterLabs] Antw: [EXT] Best way to obtain timestamp when node was set to "standby"
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Wed Oct 21 03:16:08 EDT 2020
Save the name of the current cluster state into a file, and once it changes record the time. The cluster should be in the state as long as your timestamp says. Like that, I guess...
>>> Dirk Gassen <dgassen at getwellnetwork.com> schrieb am 21.10.2020 um 02:23 in
Nachricht
<CALoD=HZ9oJKki+OEhh16BXEYGk5gjmyA-w9TY=8Deemf0SRExA at mail.gmail.com>:
> Hi Alltogether,
>
> What would be the best way to obtain since when a node is in the current
> state, preferably from a script.
>
> For example, I can see that a node is in standby but I would like to know
> when this happened without looking at logs or at individual files in
> /var/lib/pacemaker/pengine/
>
> Currently using pacemaker 1.1.18 and corosync 2.4.3.
>
> Dirk
More information about the Users
mailing list