<div dir="ltr">Thanks !<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 2:04 PM, Eli Mesika <span dir="ltr">&lt;<a href="mailto:emesika@redhat.com" target="_blank">emesika@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Jaison peter&quot; &lt;<a href="mailto:urotrip2@gmail.com">urotrip2@gmail.com</a>&gt;<br>
&gt; To: &quot;Eli Mesika&quot; &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;<br>
&gt; Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a>, &quot;Tareq Alayan&quot; &lt;<a href="mailto:talayan@redhat.com">talayan@redhat.com</a>&gt;<br>
&gt; Sent: Tuesday, January 28, 2014 7:33:35 AM<br>
&gt; Subject: Re: [Users] two node ovirt cluster with HA<br>
&gt;<br>
</div><div class="im">&gt; Thank you all for your valuable feedback .<br>
&gt;<br>
&gt; Can you please specify some of the supported fencing devices in ovirt ?<br>
<br>
</div>For oVirt 3.4 :<br>
<br>
apc,apc_snmp,bladecenter,cisco_ucs,drac5,drac7,eps,hpblade,ilo,ilo2,ilo3,ilo4,ipmilan,rsa,rsb,wti<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt; On Mon, Jan 27, 2014 at 9:10 PM, Eli Mesika &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; From: &quot;Tareq Alayan&quot; &lt;<a href="mailto:talayan@redhat.com">talayan@redhat.com</a>&gt;<br>
&gt; &gt; &gt; To: &quot;Andrew Lau&quot; &lt;<a href="mailto:andrew@andrewklau.com">andrew@andrewklau.com</a>&gt;, &quot;Eli Mesika&quot; &lt;<br>
&gt; &gt; <a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;<br>
&gt; &gt; &gt; Cc: <a href="mailto:dron@redhat.com">dron@redhat.com</a>, &quot;Karli Sjöberg&quot; &lt;<a href="mailto:Karli.Sjoberg@slu.se">Karli.Sjoberg@slu.se</a>&gt;,<br>
&gt; &gt; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
&gt; &gt; &gt; Sent: Monday, January 27, 2014 2:59:02 PM<br>
&gt; &gt; &gt; Subject: Re: [Users] two node ovirt cluster with HA<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Adding Eli.<br>
&gt; &gt;<br>
&gt; &gt; I just want to summarize the requirement as I understand it:<br>
&gt; &gt;<br>
&gt; &gt; In the case that a Host that is running HA VMs and have PM configured is<br>
&gt; &gt; turned off manually :<br>
&gt; &gt;<br>
&gt; &gt; 1) The non-responsive treatment should be modified to check Host status<br>
&gt; &gt; via PM agent<br>
&gt; &gt; 2) If Host is off , HA VMs will attempt to run on another host ASAP<br>
&gt; &gt; 3) The host status should be set to DOWN<br>
&gt; &gt; 4) No attempt to restart vdsm (soft fencing) or restart the host (hard<br>
&gt; &gt; fencing) will be done<br>
&gt; &gt;<br>
&gt; &gt; Is the above correct? if so , a RFE on that can be opened<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On 01/27/2014 02:50 PM, Andrew Lau wrote:<br>
&gt; &gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I think he was asking what if the power management device reported<br>
&gt; &gt; &gt; &gt; that the host was powered off. Then VMs should be brought back up as<br>
&gt; &gt; &gt; &gt; being off would essentially be the same as running a power<br>
&gt; &gt; cycle/reboot?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Another example I&#39;m seeing is what happens if the whole host loses<br>
&gt; &gt; &gt; &gt; power and it&#39;s power management device then becomes unavailable (ie.<br>
&gt; &gt; &gt; &gt; not reachable) then you&#39;re stuck in the case where it requires manual<br>
&gt; &gt; &gt; &gt; intervention.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I would be interested to potentially see something like a timeout on<br>
&gt; &gt; &gt; &gt; those problematic VMs (eg. if nothing was read or write after x amount<br>
&gt; &gt; &gt; &gt; of time) then you could consider the host as offline? I guess then<br>
&gt; &gt; &gt; &gt; that adds a lot of risk..<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Mon, Jan 27, 2014 at 11:43 PM, Tareq Alayan &lt;<a href="mailto:talayan@redhat.com">talayan@redhat.com</a><br>
&gt; &gt; &gt; &gt; &lt;mailto:<a href="mailto:talayan@redhat.com">talayan@redhat.com</a>&gt;&gt; wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;     Hi,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;     Power management makes use of special *dedicated* hardware in<br>
&gt; &gt; &gt; &gt;     order to restart hosts independently of host OS. The engine<br>
&gt; &gt; &gt; &gt;     connects to a power management devices using a *dedicated* network<br>
&gt; &gt; &gt; &gt;     IP address.<br>
&gt; &gt; &gt; &gt;     The engine is capable of rebooting hosts that have entered a<br>
&gt; &gt; &gt; &gt;     non-operational or non-responsive state,<br>
&gt; &gt; &gt; &gt;     The abilities provided by all power management devices are: check<br>
&gt; &gt; &gt; &gt;     status, start, stop and recycle (restart)...<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;     In the case of non-responsive host: all of the VMs that are<br>
&gt; &gt; &gt; &gt;     currently running on that host can also become non-responsive.<br>
&gt; &gt; &gt; &gt;     However, the non-responsive host keeps locking the VM hard disk<br>
&gt; &gt; &gt; &gt;     for all VMs it is running. Attempting to start a VM on a different<br>
&gt; &gt; &gt; &gt;     host and assign the second host write privileges for the virtual<br>
&gt; &gt; &gt; &gt;     machine hard disk image can cause data corruption.<br>
&gt; &gt; &gt; &gt;     Rebooting allows the engine to assume that the lock on a VM hard<br>
&gt; &gt; &gt; &gt;     disk image has been released.<br>
&gt; &gt; &gt; &gt;     The engine can know for sure that the problematic host has been<br>
&gt; &gt; &gt; &gt;     rebooted via the power management device and then it can start a<br>
&gt; &gt; &gt; &gt;     VM from the problematic host on another host without risking data<br>
&gt; &gt; &gt; &gt;     corruption.<br>
&gt; &gt; &gt; &gt;     Important note: A virtual machine that has been marked<br>
&gt; &gt; &gt; &gt;     highly-available can not be safely started on a different host<br>
&gt; &gt; &gt; &gt;     without the certainty that doing so will not cause data corruption.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;     N-joy,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;     --Tareq<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;     On 01/27/2014 02:05 PM, Dafna Ron wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;         I am adding Tareq for the Power Management implementation.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;         Dafna<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;         On 01/27/2014 11:48 AM, Karli Sjöberg wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;             On Mon, 2014-01-27 at 11:11 +0000, Dafna Ron wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                 Powering off the host will never trigger vm migration.<br>
&gt; &gt; &gt; &gt;                 As far as engine is concerned it just lost connection<br>
&gt; &gt; &gt; &gt;                 to the host, but<br>
&gt; &gt; &gt; &gt;                 has no way of telling if the host is down or if a<br>
&gt; &gt; &gt; &gt;                 router is down.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;             Can´t it at least check with power management if the Host<br>
&gt; &gt; &gt; &gt;             status is down<br>
&gt; &gt; &gt; &gt;             first?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;             I mean, if the network is down there will be no response<br>
&gt; &gt; &gt; &gt;             from either PM<br>
&gt; &gt; &gt; &gt;             or Host. But if PM is up and can tell you that the Host is<br>
&gt; &gt; &gt; &gt;             down, sounds<br>
&gt; &gt; &gt; &gt;             rather clear cut to me...<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;             Seems to me the VM&#39;s would be restarted sooner if the flow<br>
&gt; &gt; &gt; &gt;             was altered<br>
&gt; &gt; &gt; &gt;             to first check with PM if it´s a network or Host issue,<br>
&gt; &gt; &gt; &gt;             and if Host<br>
&gt; &gt; &gt; &gt;             issue, immediately restart VM&#39;s on another Host, instead<br>
&gt; &gt; &gt; &gt;             of waiting for<br>
&gt; &gt; &gt; &gt;             a potentially problematic Host to boot up eventually.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;             /K<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                 since vm&#39;s can continue running on the host even if<br>
&gt; &gt; &gt; &gt;                 engine has no access<br>
&gt; &gt; &gt; &gt;                 to it, starting the vm&#39;s on the second host can cause<br>
&gt; &gt; &gt; &gt;                 split brain and<br>
&gt; &gt; &gt; &gt;                 data corruption.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                 The way that the engine knows what&#39;s going on is by<br>
&gt; &gt; &gt; &gt;                 sending heath check<br>
&gt; &gt; &gt; &gt;                 queries to the vdsm.<br>
&gt; &gt; &gt; &gt;                 Power management will try to reboot a host when the<br>
&gt; &gt; &gt; &gt;                 health checks to<br>
&gt; &gt; &gt; &gt;                 vdsm will not be answered.<br>
&gt; &gt; &gt; &gt;                 So... if engine gets no reply and has no way of<br>
&gt; &gt; &gt; &gt;                 rebooting the host, the<br>
&gt; &gt; &gt; &gt;                 host status will be changed to Non-Responsive and the<br>
&gt; &gt; &gt; &gt;                 vm&#39;s will be<br>
&gt; &gt; &gt; &gt;                 unknown because engine has no way of knowing what&#39;s<br>
&gt; &gt; &gt; &gt;                 happening with the<br>
&gt; &gt; &gt; &gt;                 vm&#39;s.<br>
&gt; &gt; &gt; &gt;                 Since reboot of the host will kill the vm&#39;s running on<br>
&gt; &gt; &gt; &gt;                 it - this will<br>
&gt; &gt; &gt; &gt;                 never cause any vm migration but... along with the<br>
&gt; &gt; &gt; &gt;                 High-Availability vm<br>
&gt; &gt; &gt; &gt;                 feature, you will be able to have some of the vm&#39;s<br>
&gt; &gt; &gt; &gt;                 re-started on the<br>
&gt; &gt; &gt; &gt;                 second host after the host reboot (and that is only if<br>
&gt; &gt; &gt; &gt;                 Power Management<br>
&gt; &gt; &gt; &gt;                 was confirmed as successful).<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                 VM migration is only triggered when:<br>
&gt; &gt; &gt; &gt;                 1. Cluster configuration states that the vm should be<br>
&gt; &gt; &gt; &gt;                 migrated in case<br>
&gt; &gt; &gt; &gt;                 of failure<br>
&gt; &gt; &gt; &gt;                 2. Engine has access to the host - so the failure is<br>
&gt; &gt; &gt; &gt;                 on the storage side<br>
&gt; &gt; &gt; &gt;                 and not the host side.<br>
&gt; &gt; &gt; &gt;                 3. the vms are not actively writing (although there<br>
&gt; &gt; &gt; &gt;                 might be a new RFE<br>
&gt; &gt; &gt; &gt;                 for it).<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                 hope this clears things up<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                 Dafna<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                 On 01/27/2014 10:11 AM, Andrew Lau wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                     Hi,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                     Have you got power management enabled?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                     That&#39;s the fencing feature required for the engine<br>
&gt; &gt; &gt; &gt;                     to ensure that the<br>
&gt; &gt; &gt; &gt;                     host is actually offline. It won&#39;t resume any<br>
&gt; &gt; &gt; &gt;                     other VMs to prevent<br>
&gt; &gt; &gt; &gt;                     potential VM corruption (eg. VM running on<br>
&gt; &gt; &gt; &gt;                     multiple hosts).<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                     Andrew.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                     On Jan 27, 2014 5:12 PM, &quot;Jaison peter&quot;<br>
&gt; &gt; &gt; &gt;                     &lt;<a href="mailto:urotrip2@gmail.com">urotrip2@gmail.com</a> &lt;mailto:<a href="mailto:urotrip2@gmail.com">urotrip2@gmail.com</a>&gt;<br>
&gt; &gt; &gt; &gt;                     &lt;mailto:<a href="mailto:urotrip2@gmail.com">urotrip2@gmail.com</a><br>
&gt; &gt; &gt; &gt;                     &lt;mailto:<a href="mailto:urotrip2@gmail.com">urotrip2@gmail.com</a>&gt;&gt;&gt; wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                          Hi all ,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                          I was setting a two node ovirt cluster with<br>
&gt; &gt; &gt; &gt;                     ovirt engine on<br>
&gt; &gt; &gt; &gt;                          seperate node . I completed the configuration<br>
&gt; &gt; &gt; &gt;                     and tested VM  live<br>
&gt; &gt; &gt; &gt;                          migrations with out any issues . Then for<br>
&gt; &gt; &gt; &gt;                     checking cluster HA I<br>
&gt; &gt; &gt; &gt;                          powered down one host and expected vms<br>
&gt; &gt; &gt; &gt;                     running on that host to be<br>
&gt; &gt; &gt; &gt;                          migrated to the other one . But nothing<br>
&gt; &gt; &gt; &gt;                     happened , Engine detected<br>
&gt; &gt; &gt; &gt;                          host as un-rechable and marked it as<br>
&gt; &gt; &gt; &gt;                     non-operational and vm ran on<br>
&gt; &gt; &gt; &gt;                          that host went to &#39;unknown state&#39; . Is that<br>
&gt; &gt; &gt; &gt;                     not possible to setup<br>
&gt; &gt; &gt; &gt;                          a fully HA ovirt cluster with two nodes ? or<br>
&gt; &gt; &gt; &gt;                     else is that my<br>
&gt; &gt; &gt; &gt;                          configuration problem ? please advice .<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                          Thanks &amp; Regards<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                          Alex<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;  _______________________________________________<br>
&gt; &gt; &gt; &gt;                          Users mailing list<br>
&gt; &gt; &gt; &gt;                     <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&gt;<br>
&gt; &gt; &gt; &gt;                     &lt;mailto:<a href="mailto:Users@ovirt.org">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&gt;&gt;<br>
&gt; &gt; &gt; &gt;                     <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                     _______________________________________________<br>
&gt; &gt; &gt; &gt;                     Users mailing list<br>
&gt; &gt; &gt; &gt;                     <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&gt;<br>
&gt; &gt; &gt; &gt;                     <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                 --<br>
&gt; &gt; &gt; &gt;                 Dafna Ron<br>
&gt; &gt; &gt; &gt;                 _______________________________________________<br>
&gt; &gt; &gt; &gt;                 Users mailing list<br>
&gt; &gt; &gt; &gt;                 <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&gt;<br>
&gt; &gt; &gt; &gt;                 <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Users mailing list<br>
&gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>