Question about configuration
Hi,
What will happen when constructing a cluster of 10 host, but the hosts are gradually removed from the cluster one by one (in each step waiting Ceph status to become healthy), and reaches eventually to, say, 3 hosts ?
In other words, is there any problem with having 10 osd configuration in the ceph.conf, but actually only 3 is up (the 7 are down and out) ?
I assume that if the size of the replication is 3, we can turn off 2 osds at each time, and Ceph can recover itself to the healthy state. Is it the case ?
Thanks in advance.
regards,
Yasu
Quoted 10 lines · Yasuhiro Ohara
Hi,
What will happen when constructing a cluster of 10 host, but the hosts are gradually removed from the cluster one by one (in each step waiting Ceph status to become healthy), and reaches eventually to, say, 3 hosts ?
In other words, is there any problem with having 10 osd configuration in the ceph.conf, but actually only 3 is up (the 7 are down and out) ?
If you're not using the /etc/init.d ceph script to start up everything with the -a option, this will work just fine.
Quoted 4 lines
I assume that if the size of the replication is 3, we can turn off 2 osds at each time, and Ceph can recover itself to the healthy state. Is it the case ?
Yeah, that should work fine. You might consider just marking OSDs "out" two at a time and not actually killing them until the cluster has become quiescent again, though — that way they can participate as a source for recovery.
-Greg
--
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
Hi, Greg,
When I went through the Ceph document, I could find the description about /etc/init.d only, so it is still the easiest for me. Is there documentation on other (upstart?) system or do I need to learn those system ? Or just letting me know how to install the resource file (for Ceph in upstart) might work for me.
Thanks.
regards,
Yasu
From: Gregory Farnum <[email protected]>
Subject: Re: Question about configuration
Date: Thu, 10 Jan 2013 16:43:59 -0800
Message-ID: <CAPYLRzhZr81ko3QgC1oGXs_12-C6z-EVmuf3k47Ej3j8P_T0AA@mail.gmail.com>
Quoted 25 lines · Yasuhiro Ohara
Quoted 10 lines
Hi,
What will happen when constructing a cluster of 10 host, but the hosts are gradually removed from the cluster one by one (in each step waiting Ceph status to become healthy), and reaches eventually to, say, 3 hosts ?
In other words, is there any problem with having 10 osd configuration in the ceph.conf, but actually only 3 is up (the 7 are down and out) ?
If you're not using the
/etc/init.dceph script to start up everything with the -a option, this will work just fine.Quoted 4 lines
I assume that if the size of the replication is 3, we can turn off 2 osds at each time, and Ceph can recover itself to the healthy state. Is it the case ?
Yeah, that should work fine. You might consider just marking OSDs "out" two at a time and not actually killing them until the cluster has become quiescent again, though — that way they can participate as a source for recovery.
-Greg
Quoted 8 lines · Yasuhiro Ohara
Hi, Greg,
When I went through the Ceph document, I could find the description about
/etc/init.donly, so it is still the easiest for me. Is there documentation on other (upstart?) system or do I need to learn those system ? Or just letting me know how to install the resource file (for Ceph in upstart) might work for me.
There isn't really any documentation right now and if you started off with sysvinit it's probably easiest to continue that way. It will work with that system too; it's just that if you run "sudo service ceph -a start" then it's going to go and turn on all the daemons listed in its local ceph.conf.
-Greg
Quoted 36 lines
Thanks.
regards,
YasuFrom: Gregory Farnum <[email protected]>
Subject: Re: Question about configuration
Date: Thu, 10 Jan 2013 16:43:59 -0800
Message-ID: <CAPYLRzhZr81ko3QgC1oGXs_12-C6z-EVmuf3k47Ej3j8P_T0AA@mail.gmail.com>Quoted 25 lines · Yasuhiro Ohara
Quoted 10 lines
Hi,
What will happen when constructing a cluster of 10 host, but the hosts are gradually removed from the cluster one by one (in each step waiting Ceph status to become healthy), and reaches eventually to, say, 3 hosts ?
In other words, is there any problem with having 10 osd configuration in the ceph.conf, but actually only 3 is up (the 7 are down and out) ?
If you're not using the
/etc/init.dceph script to start up everything with the -a option, this will work just fine.Quoted 4 lines
I assume that if the size of the replication is 3, we can turn off 2 osds at each time, and Ceph can recover itself to the healthy state. Is it the case ?
Yeah, that should work fine. You might consider just marking OSDs "out" two at a time and not actually killing them until the cluster has become quiescent again, though — that way they can participate as a source for recovery.
-Greg
--
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
Got it. Thanks !
regards,
Yasu
From: Gregory Farnum <[email protected]>
Subject: Re: Question about configuration
Date: Thu, 10 Jan 2013 16:55:00 -0800
Message-ID: <CAPYLRzhrPaRpPwJ=m5G51-KpY_jev2fn_gXaXEC6OdcAEDXfcA@mail.gmail.com>
Quoted 53 lines · Yasuhiro Ohara
Quoted 8 lines
Hi, Greg,
When I went through the Ceph document, I could find the description about
/etc/init.donly, so it is still the easiest for me. Is there documentation on other (upstart?) system or do I need to learn those system ? Or just letting me know how to install the resource file (for Ceph in upstart) might work for me.There isn't really any documentation right now and if you started off with sysvinit it's probably easiest to continue that way. It will work with that system too; it's just that if you run "sudo service ceph -a start" then it's going to go and turn on all the daemons listed in its local ceph.conf.
-GregQuoted 36 lines
Thanks.
regards,
YasuFrom: Gregory Farnum <[email protected]>
Subject: Re: Question about configuration
Date: Thu, 10 Jan 2013 16:43:59 -0800
Message-ID: <CAPYLRzhZr81ko3QgC1oGXs_12-C6z-EVmuf3k47Ej3j8P_T0AA@mail.gmail.com>Quoted 25 lines · Yasuhiro Ohara
Quoted 10 lines
Hi,
What will happen when constructing a cluster of 10 host, but the hosts are gradually removed from the cluster one by one (in each step waiting Ceph status to become healthy), and reaches eventually to, say, 3 hosts ?
In other words, is there any problem with having 10 osd configuration in the ceph.conf, but actually only 3 is up (the 7 are down and out) ?
If you're not using the
/etc/init.dceph script to start up everything with the -a option, this will work just fine.Quoted 4 lines
I assume that if the size of the replication is 3, we can turn off 2 osds at each time, and Ceph can recover itself to the healthy state. Is it the case ?
Yeah, that should work fine. You might consider just marking OSDs "out" two at a time and not actually killing them until the cluster has become quiescent again, though — that way they can participate as a source for recovery.
-Greg