<br><div class="gmail_quote">On Mon, Jan 19, 2009 at 11:46 AM, Mark Watts <span dir="ltr">&lt;<a href="mailto:m.watts@eris.qinetiq.com">m.watts@eris.qinetiq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I&#39;m building a Red Hat Cluster Suite cluster, and I&#39;m using DRBD, clvmd and<br>
GFS to provide the shared storage.<br>
<br>
One problem I&#39;m hitting is that DRBD starts after clvmd and GFS have started,<br>
thus messing things up at boot.<br>
<br>
Does anyone have a reliable way to enforce DRBD -&gt; clvmd -&gt; GFS on this<br>
platform?</blockquote><div></div><div>man chkconfig:<br>Each service which should be manageable by chkconfig needs two or more commented lines added to its init.d script. The first line tells chkconfig what runlevels the service should be started in by default, as well as the start and stop priority levels.<br>
<br>/etc/init.d/clvmd:<br># chkconfig: 3 24 76<br></div><div></div><div>/etc/init.d/drbd:<br># chkconfig: 3 70 8<br></div><div></div><div>You can modify clvmd&#39;s priority levels, so that it should start after drbd (value higher than 70) and stop before drbd (value lower than 8).<br>
</div><div></div><div>Then, you should run<br>chkconfig --del clvmd<br>chkconfig --add clvmd<br>&nbsp;<br>Be careful at other services that may depend on clvm, because you may have to change their priority levels as well (to start after clvmd).<br>
<br></div></div>-- <br>George Negoita<br>System Administrator<br>Imedia Plus Group<br>