All of lore.kernel.org
 help / color / mirror / Atom feed
* Adding a delay when restarting all OSDs on a host
@ 2014-07-22 13:19 Wido den Hollander
  2014-07-22 13:48 ` Andrey Korolyov
  2014-07-23  0:08 ` Gregory Farnum
  0 siblings, 2 replies; 7+ messages in thread
From: Wido den Hollander @ 2014-07-22 13:19 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hi,

Currently on Ubuntu with Upstart when you invoke a restart like this:

$ sudo restart ceph-osd-all

It will restart all OSDs at once, which can increase the load on the 
system a quite a bit.

It's better to restart all OSDs by restarting them one by one:

$ sudo ceph restart ceph-osd id=X

But you then have to figure out all the IDs by doing a find in 
/var/lib/ceph/osd and that's more manual work.

I'm thinking of patching the init scripts which allows something like this:

$ sudo restart ceph-osd-all delay=180

It then waits 180 seconds between each OSD restart making the proces 
even smoother.

I know there are currently sysvinit, upstart and systemd scripts, so it 
has to be implemented on various places, but how does the general idea 
sound?

-- 
Wido den Hollander
Ceph consultant and trainer
42on B.V.

Phone: +31 (0)20 700 9902
Skype: contact42on

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-07-23 20:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-22 13:19 Adding a delay when restarting all OSDs on a host Wido den Hollander
2014-07-22 13:48 ` Andrey Korolyov
2014-07-22 14:28   ` Wido den Hollander
2014-07-22 14:58     ` Andrey Korolyov
2014-07-23  0:08 ` Gregory Farnum
2014-07-23 19:22   ` Vit Yenukas
2014-07-23 20:57     ` Milosz Tanski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.