Re: ceph-deploy best practices

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

 



Matthew, 

I'll flag this for future doc changes. I noticed that you didn't run ceph-deploy gatherkeys after creating your monitor(s). Any reason for that omission?


On Mon, Dec 9, 2013 at 3:49 AM, Matthew Walster <matthew@xxxxxxxxxxx> wrote:
I'm having a play with ceph-deploy after some time away from it (mainly relying on the puppet modules).

With a test setup of only two debian testing servers, I do the following:

ceph-deploy new host1 host2
ceph-deploy install host1 host2 (installs emperor)
ceph-deploy mon create host1 host2
ceph-deploy osd prepare host1:/dev/sda4 host2:/dev/sda4
ceph-deploy osd activate host1:/dev/sda4 host2:/dev/sda4
ceph-deploy mds create host1 host2

Everything is running fine -- copy some files into CephFS, everything it looking great.

host1: /etc/init.d/ceph stop osd

Still fine.

host1: /etc/init.d/ceph stop mds

Fails over to the standby mds after a few seconds. Little outage, but to be expected. Everything fine.

host1: /etc/init.d/ceph start osd
host1: /etc/init.d/ceph start mds

Everything recovers, everything is fine.

Now, let's do something drastic:

host1: reboot
host2: reboot

Both hosts come back up, but the mds never recovers -- it always says it is replaying.

On closer inspection, host2's osd never came back into action. Doing:

ceph-deploy osd activate host2:/dev/sda4 fixed the issue, and the mds recovered, as well as the osd now reporting both "up" and "in".

Is there something obvious I'm missing? The ceph.conf seemed remarkably empty, do I have to re-deploy the configuration file to the monitors or similar? I've never noticed a problem with puppet deployed hosts, but that manually writes out the ceph.conf as part of the puppet run.

Many thanks in advance,

Matthew Walster



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




--
John Wilkins
Senior Technical Writer
Intank
john.wilkins@xxxxxxxxxxx
(415) 425-9599
http://inktank.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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux