Re: Leader election, how to notice it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux