Re: How to know the status of the monitors?

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

 



Hi Eric,

 ceph quorum_status

will tell you which monitors are part of the quorum.  It will block until 
a quorum is reached.

 ceph mon_status

will give you the status of the monitor you happened to connect to.  You 
can query a specific monitor with -m <ip>.

sage


On Tue, 13 Dec 2011, 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
> 
>     Please give some help. Thanks!
> --
> 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