Re: [ceph-users] Restart ceph cluster

2017-05-12 Thread Vasu Kulkarni
On Fri, May 12, 2017 at 7:17 AM, Алексей Усов wrote: > Thanks for reply. > > But tell command itself doesn't make changes persistent, so I must add them > to ceph.conf across the entire cluster (that's where configuration > management comes in), am I correct? Mind filing an RFE for this at http:/

Re: [ceph-users] Restart ceph cluster

2017-05-12 Thread Richard Arends
On 05/12/2017 04:17 PM, Алексей Усов wrote: Usov, Thanks for reply. But tell command itself doesn't make changes persistent, so I must add them to ceph.conf across the entire cluster (that's where configuration management comes in), am I correct? Yes, that's correct. -- With regards, Ric

Re: [ceph-users] Restart ceph cluster

2017-05-12 Thread Vladimir Prokofev
That's regarding situations where restart is necessary, software update for example. If you have 1000+ OSDs and need to perform a minor version update(e.g. 10.2.7 > 10.2.8) - how do you do it? Do you restart OSDs manually, use some kind of script, etc? Tthis is rather an automation question more th

Re: [ceph-users] Restart ceph cluster

2017-05-12 Thread mj
Hi, On 05/12/2017 03:35 PM, Vladimir Prokofev wrote: My best guess is that using systemd you can write some basic script to restart whatever OSDs you want. Another option is to use the same mechanics that ceph-deploy uses, but the principle is all the same - write some automation script. I would

Re: [ceph-users] Restart ceph cluster

2017-05-12 Thread Curt
As other's have said, best bet is update conf and then just use injectargs, but if you need to restart a group of OSD's you could script it. Assuming you are using linux, you could do something like. //If you wanted to restart osd 1-10 for i in (1..10); do HOST=`ceph osd find ${i} | jq -r .crush_l

Re: [ceph-users] Restart ceph cluster

2017-05-12 Thread Алексей Усов
Thanks for reply. But tell command itself doesn't make changes persistent, so I must add them to ceph.conf across the entire cluster (that's where configuration management comes in), am I correct? On 12 May 2017 at 16:35, Richard Arends wrote: > On 05/12/2017 02:49 PM, Алексей Усов wrote: > > U

Re: [ceph-users] Restart ceph cluster

2017-05-12 Thread Vladimir Prokofev
Intersting question. AFAIK, there's no built-in solution. Also, if you think about it, restarting whole cluster at once can lead to service interruption, as you can easily bring all PG copies in stale state for a short time, and even longer if some OSDs won't go up for some reason. You should reall

Re: [ceph-users] Restart ceph cluster

2017-05-12 Thread Richard Arends
On 05/12/2017 02:49 PM, Алексей Усов wrote: Usov, Could someone, please, tell me how do I restart all daemons in a cluster if I make changes in ceph.conf, if it's needed indeed? Since enterprise-scale ceph clusters usually tend to comprise of hundreds of OSDs, I doubt one must restart the en

[ceph-users] Restart ceph cluster

2017-05-12 Thread Алексей Усов
Greetings, Could someone, please, tell me how do I restart all daemons in a cluster if I make changes in ceph.conf, if it's needed indeed? Since enterprise-scale ceph clusters usually tend to comprise of hundreds of OSDs, I doubt one must restart the entire cluster by hand or use some sort of exte

[ceph-users] Restart ceph cluster

2017-05-12 Thread Алексей Усов
Greetings, Could someone, please, tell me how do I restart all daemons in a cluster if I make changes in ceph.conf, if it's needed indeed? Since enterprise-scale ceph clusters usually tend to comprise of hundreds of OSDs, I doubt one must restart the entire cluster by hand or use some sort of exte