On Tue, 2011-12-13 at 17:12 +0800, [email protected] 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 <[email protected]>
Department of Computing, Imperial College, London

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

Reply via email to