On Tue, 28 Jul 2015, Wido den Hollander wrote:
> Hi,
> 
> I was trying to inject a pre_start command on a bunch of OSDs under
> Ubuntu 14.04, but that didn't work.
> 
> I found out that only the sysvinit script execute pre_start commands,
> but the upstart nor the systemd scripts do this.
> 
> Is this a thing which will disappear or is this just a oversight?
> 
> I'm actually using "sleep 30" as a pre-start to prevent all OSDs from
> starting at the same time. Big boxes which die under the workload of all
> OSDs starting at the same time.
> 
> I also try to prevent a lot of OSDMap changes by booting the OSDs slowly
> so I tried to fix this with "pre_start".

I was hoping to let it die...

I would take a fresh look at systemd and see if there is a 
different/better mechanism there to address the startup issue.  You can 
manually add a prestart script/command to the unit file...

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to