<br><br>----- Reply message -----<br>От: &quot;Vladislav Bogdanov&quot; &lt;bubble@hoster-ok.com&gt;<br>Кому: &quot;The Pacemaker cluster resource manager&quot; &lt;pacemaker@oss.clusterlabs.org&gt;<br>Тема: [Pacemaker] How to prevent a node that joins the cluster after reboot from starting the resources.<br>Дата: пт, авг 26, 2011 11:21<br><br><br>25.08.2011 23:22, mark - pacemaker list wrote:<br>[snip]<br>&gt; So, I disabled pacemaker from starting via the normal route and just<br>&gt; added a line to /etc/rc.local that starts it, since that&#39;s the absolute<br>&gt; last thing done at boot. &nbsp;I didn&#39;t want to mess with the chkconfig<br>&gt; settings in the init script and get bitten by this down the line<br>&gt; somewhere after an update that replaced the init script. &nbsp;Now libvirtd<br>&gt; is there for pacemaker and things behave as expected, at least after<br>&gt; three reboot tests in a row.<br><br>Pacemaker now (1.1) starts at level 99. That was discussed in ML.<br><br>&gt; <br>&gt; I suppose it may also work to make libvirtd a pacemaker resource, with<br>&gt; an order constraint so it&#39;s started before any VMs are ever<br>&gt; probed/started. &nbsp;That&#39;d take away easy/painless restarts of libvirtd,<br>&gt; though. &nbsp;I&#39;ll have to do some further digging to see what makes the most<br>&gt; sense.<br><br>Please do not forget that libvirt may start guests by itself, even if<br>libvirtd is started by pacemaker. This is true for at least latest<br>libvirt releases - it starts all guests marked for autostart AND all<br>guests being started when libvirtd was last active (f.e. just before<br>node was fenced).<br>The only solution I found to prevent this is to delete all<br>/etc/libvirt/qemu and /var/.../libvirt files early during boot sequence.<br><br>Best,<br>Vladislav<br><br>_______________________________________________<br>Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<br>http://oss.clusterlabs.org/mailman/listinfo/pacemaker<br><br>Project Home: http://www.clusterlabs.org<br>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker<br>