Re: Monitor configuration issue

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

 



Matt, 

first of all: four monitors is a bad idea. use an odd number for mons, e. g. three. your other problem is your configuration file. the mon_initial members and mon_host directives should include all monitor daemons. see my cluster: 

mon_initial_members = node01,node02,node03
mon_host = 10.32.0.181,10.32.0.182,10.32.0.183

hth
wogri
-- 
http://www.wogri.at

On 01 Jan 2014, at 21:55, Matt Rabbitt <mlrabbitt@xxxxxxxxx> wrote:

> I created a cluster, four monitors, and 12 OSDs using the ceph-deploy tool.  I initially created this cluster with one monitor, then added a "public network" statement in ceph.conf so that I could use ceph-deploy to add the other monitors.  When I run ceph -w now everything checks out and all monitors and OSDs show up and I can read and write data to my pool.  The problem is when I shut down the monitor that I initially used to configure the cluster, nothing works anymore.  If I run ceph -w all I get is fault errors about that first monitor being down, and I can't read or write data even though the other three monitors are still up.  What did I do wrong here?  I've been looking over the documentation and I see all kinds of info about having a mon addr attribute in my config or a public ip in the [mon] section but my config doesn't have anything like that in it.  Here is my complete config:
> 
> [global]
> fsid = a0ab5715-f9e6-4d71-8da6-0ad976ac350c
> mon_initial_members = storage1
> mon_host = 10.0.10.11
> auth_supported = cephx
> osd_journal_size = 6144
> filestore_xattr_use_omap = true
> public network = 10.0.10.0/24
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




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


  Powered by Linux