Re: How to know the status of the monitors?

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

 



On Tue, 2011-12-13 at 17:12 +0800, Eric_YH_Chen@xxxxxxxxxxx wrote:
> Hi, all:
> 
>     Is there any command or API can retrieve the status of all monitors?
> 
>     I use ‘ceph mon stat’ to get this information. However, the mon.e is not available (server is shutdown).
> 
>       2011-12-13 17:08:35.499022 mon <- [mon,stat]
>    2011-12-13 17:08:35.499716 mon.1 -> 'e3: 5 mons at {a=172.16.33.5:6789/0,b=172.16.33.6:6789/0,c=172.16.33.7:6789/0,d=172.16.33.71:6789/0,e=172.16.33.72:6789/0}, election epoch 16, quorum 0,1,2,3' (0)
>     
>     Even I use ‘ceph mon dump’, I still cannot know if the monitor is alive or not.
> 
> 		0: 172.16.33.5:6789/0 mon.a
> 		1: 172.16.33.6:6789/0 mon.b
> 		2: 172.16.33.7:6789/0 mon.c
> 		3: 172.16.33.71:6789/0 mon.d
> 		4: 172.16.33.72:6789/0 mon.e
> 

I think the 'quorum 0,1,2,3' tells you which mon nodes are not in the
current live set -- note that entry 4 (i.e. mon.e) does not appear.

Cheers,
David
-- 
David McBride <dwm@xxxxxxxxxxxx>
Department of Computing, Imperial College, London

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux