Hi, You always can get the leader from quorum status ceph quorum_status | jq -r '.quorum_leader_name' Cheers, k > On 3 Oct 2021, at 10:21, gustavo panizzo <gfa+ceph@xxxxxxxxxxxx> wrote: > > Instead of setting up pacemaker or similar I'd like to only run the application in the same machine > as the leader Mon. At start of the application I can detect who's the leader, > but if the leader changes I have no way to detect it without parsing logs. > > Is there any way, without polling, event based, to detect leader change? _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx