<html><head></head><body>I think the suggestion was to put shooting the host in the fencing path of a VM. This way if you can't get the host to fence the VM (as the host is already dead) you just check if the host was fenced.<br><br><div class="gmail_quote">Daniel Dehennin <daniel.dehennin@baby-gnu.org> napisał:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Andrei Borzenkov <arvidjaar@gmail.com> writes:<br /><br /><br />[...]<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">Now I have one issue, when the bare metal host on which the VM is<br />running die, the VM is lost and can not be fenced.<br /><br />Is there a way to make pacemaker ACK the fencing of the VM running on a<br />host when the host is fenced itself?</blockquote><br /><br />Yes, you can define multiple stonith agents and priority between them.<br /><br /><a href="http://clusterlabs.org/wiki/Fencing_topology">http://clusterlabs.org/wiki/Fencing_topology</a></blockquote><br />Hello,<br /><br />If I understand correctly, fencing topology is the way to have several<br />fencing devices for a node and try them consecutively until one works.<br /><br />In
my configuration, I group the VM stonith agents with the<br />corresponding VM resource, to make them move together[1].<br /><br />Here is my use case:<br /><br />1. Resource ONE-Frontend-Group runs on nebula1<br />2. nebula1 is fenced<br />3. node one-fronted can not be fenced<br /><br />Is there a way to say that the life on node one-frontend is related to<br />the state of resource ONE-Frontend?<br /><br />In which case when the node nebula1 is fenced, pacemaker should be aware that<br />resource ONE-Frontend is not running any more, so node one-frontend is<br />OFFLINE and not UNCLEAN.<br /><br />Regards.<br /><br />Footnotes: <br />[1]  <a href="http://oss.clusterlabs.org/pipermail/pacemaker/2014-October/022671.html">http://oss.clusterlabs.org/pipermail/pacemaker/2014-October/022671.html</a><br /></pre></blockquote></div><br>
-- <br>
Wysłane za pomocą K-9 Mail.</body></html>