Re: [ceph-users] Suggestion: flag HEALTH_WARN state if monmap has 2 mons

2016-04-12 Thread Wido den Hollander

> Op 12 april 2016 om 12:21 schreef Florian Haas :
> 
> 
> Hi everyone,
> 
> I wonder what others think about the following suggestion: running an
> even number of mons almost never makes sense, and specifically two
> mons never does at all. Wouldn't it make sense to just flag a
> HEALTH_WARN state if the monmap contained an even number of mons, or
> maybe only if the number of mons in the monmap is exactly 2?
> 
> Documentation on why this is a bad idea does exist and is actually
> just as comprehensive as it needs to be
> (http://docs.ceph.com/docs/master/rados/operations/add-or-rm-mons/),
> but it still seems to me that this is a very common rookie mistake.
> 
> Thoughts?
> 

Good point. It should indeed! A config setting to override it might be good. But
in general I agree with you. 2 mons is a bad thing and should trigger a warning.

> Cheers,
> Florian
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Suggestion: flag HEALTH_WARN state if monmap has 2 mons

2016-04-12 Thread Florian Haas
Hi everyone,

I wonder what others think about the following suggestion: running an
even number of mons almost never makes sense, and specifically two
mons never does at all. Wouldn't it make sense to just flag a
HEALTH_WARN state if the monmap contained an even number of mons, or
maybe only if the number of mons in the monmap is exactly 2?

Documentation on why this is a bad idea does exist and is actually
just as comprehensive as it needs to be
(http://docs.ceph.com/docs/master/rados/operations/add-or-rm-mons/),
but it still seems to me that this is a very common rookie mistake.

Thoughts?

Cheers,
Florian
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com