[Ovirt 4.0] HA VM fail to start on another Host.

Hi, This is regarding HA VM fail to restart on other host. I have setup, which has 2 host in a cluster let say host1 and host2. And one HA VM (with High priority), say vm1. And also not storage domain is configure on host3 and it available all time. 1> Initially vm1 was running on host2. 2> Then I power OFF host2 to see whether ovirt start vm1 on host1. I found two result in this case as below: 1> Sometime vm1 retrying to start but retrying on host2 itself. 2> Sometime vm1 move in down state without retrying. Can anyone explain about this behaviour ? Or Is this an issue ? Note : I am using Ovirt 4.0. Thanks, ~Rohit

This is a multi-part message in MIME format. --------------AEDE804E92826637F85A7631 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 04/25/2017 08:45 PM, TranceWorldLogic . wrote:
Hi,
This is regarding HA VM fail to restart on other host.
I have setup, which has 2 host in a cluster let say host1 and host2. And one HA VM (with High priority), say vm1. And also not storage domain is configure on host3 and it available all time.
1> Initially vm1 was running on host2. 2> Then I power OFF host2 to see whether ovirt start vm1 on host1.
I found two result in this case as below: 1> Sometime vm1 retrying to start but retrying on host2 itself. 2> Sometime vm1 move in down state without retrying.
Can anyone explain about this behaviour ? Or Is this an issue ?
Note : I am using Ovirt 4.0.
Thanks, ~Rohit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Hi, If a host is powered off and if powermanagment is enabled engine will fence the host and restarts it. During this process host residing on the vm will be shutdown and will be restarted on another node. All the events can be seen in the engine UI. Hope you have not missed to enable power management on the hosts. with out enabling power management even if the vm is marked to be Highly available it will not be. Second thing to check for is if the vm has guest-agent installed on it. If the vm does not have guest-agent installed then it wont be restarted on different host. More info on this can be found at [1]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35 Thanks kasturi --------------AEDE804E92826637F85A7631 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 04/25/2017 08:45 PM, TranceWorldLogic . wrote:<br> </div> <blockquote cite="mid:CAOtQfMRTLi9TzecN9oUKsJ76WROESsQPsPUrp1wQELt7QJLUrg@mail.gmail.com" type="cite"> <div dir="ltr"> <div> <div> <div> <div> <div> <div> <div> <div> <div> <div>Hi,<br> <br> </div> This is regarding HA VM fail to restart on other host.<br> <br> </div> I have setup, which has 2 host in a cluster let say host1 and host2.<br> </div> And one HA VM (with High priority), say vm1.<br> </div> <div>And also not storage domain is configure on host3 and it available all time.<br> </div> <div><br> </div> 1> Initially vm1 was running on host2.<br> </div> 2> Then I power OFF host2 to see whether ovirt start vm1 on host1.<br> <br> </div> I found two result in this case as below:<br> </div> 1> Sometime vm1 retrying to start but retrying on host2 itself.<br> </div> 2> Sometime vm1 move in down state without retrying.<br> <br> </div> Can anyone explain about this behaviour ? Or Is this an issue ?<br> <br> </div> Note : I am using Ovirt 4.0.<br> <div> <div> <div> <div> <div> <div><br> </div> <div>Thanks,<br> </div> <div>~Rohit<br> </div> </div> </div> </div> </div> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <p>Hi,</p> <p> If a host is powered off and if powermanagment is enabled engine will fence the host and restarts it. During this process host residing on the vm will be shutdown and will be restarted on another node. All the events can be seen in the engine UI. </p> <p> Hope you have not missed to enable power management on the hosts. with out enabling power management even if the vm is marked to be Highly available it will not be. <br> </p> <p> Second thing to check for is if the vm has guest-agent installed on it. If the vm does not have guest-agent installed then it wont be restarted on different host. More info on this can be found at [1].</p> <p> [1] <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35">https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35</a></p> <p>Thanks</p> <p>kasturi<br> </p> </body> </html> --------------AEDE804E92826637F85A7631--

Hi, VM have guest agent install but power management is disable. Just want to confirm my understanding "HA will not work without power management", please say yes or no. We have Dell server and it access through idrac, I am not sure how to setup power management for idrac. I tried with drac5 and drac7 and both case while testing I got error saying *"* *Test failed: [Connection timed out, , ]"* But ping is working from ovirt-engine. Would you please point me to some link how to setup power management for DELL idrac ? Thanks, ~Rohit On Tue, Apr 25, 2017 at 10:29 PM, knarra <knarra@redhat.com> wrote:
On 04/25/2017 08:45 PM, TranceWorldLogic . wrote:
Hi,
This is regarding HA VM fail to restart on other host.
I have setup, which has 2 host in a cluster let say host1 and host2. And one HA VM (with High priority), say vm1. And also not storage domain is configure on host3 and it available all time.
1> Initially vm1 was running on host2. 2> Then I power OFF host2 to see whether ovirt start vm1 on host1.
I found two result in this case as below: 1> Sometime vm1 retrying to start but retrying on host2 itself. 2> Sometime vm1 move in down state without retrying.
Can anyone explain about this behaviour ? Or Is this an issue ?
Note : I am using Ovirt 4.0.
Thanks, ~Rohit
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
Hi,
If a host is powered off and if powermanagment is enabled engine will fence the host and restarts it. During this process host residing on the vm will be shutdown and will be restarted on another node. All the events can be seen in the engine UI.
Hope you have not missed to enable power management on the hosts. with out enabling power management even if the vm is marked to be Highly available it will not be.
Second thing to check for is if the vm has guest-agent installed on it. If the vm does not have guest-agent installed then it wont be restarted on different host. More info on this can be found at [1].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35
Thanks
kasturi

This is a multi-part message in MIME format. --------------51C3A214E1DECCC2EAE2BDCD Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 04/26/2017 10:39 AM, TranceWorldLogic . wrote:
Hi,
VM have guest agent install but power management is disable.
Just want to confirm my understanding "HA will not work without power management", please say yes or no. yes.
We have Dell server and it access through idrac, I am not sure how to setup power management for idrac. I tried with drac5 and drac7 and both case while testing I got error saying /"//Test failed: [Connection timed out, , ]" / But ping is working from ovirt-engine./
/ Would you please point me to some link how to setup power management for DELL idrac ?
Thanks, ~Rohit Hi,
With out configuring powermanagement HA will not work. Below are the steps to setup power management. I do not have the link handy but below are the steps. 1) Move the host to maintenance 2) click on edit button -> select Power Management -> select check box 'Enable power management' 3) click on "+" button near Add fence agent 4) In the address field provide IPMI port which is the ip used for accessing your mm console of the server. 5) Provide USERName and password to access the console of that machine. 6) select the correct provider type. 7) click "ok". you should be able to set it up. AFAIK, drac5 / 7 needs to be used for dell. Thanks kasturi.
On Tue, Apr 25, 2017 at 10:29 PM, knarra <knarra@redhat.com <mailto:knarra@redhat.com>> wrote:
On 04/25/2017 08:45 PM, TranceWorldLogic . wrote:
Hi,
This is regarding HA VM fail to restart on other host.
I have setup, which has 2 host in a cluster let say host1 and host2. And one HA VM (with High priority), say vm1. And also not storage domain is configure on host3 and it available all time.
1> Initially vm1 was running on host2. 2> Then I power OFF host2 to see whether ovirt start vm1 on host1.
I found two result in this case as below: 1> Sometime vm1 retrying to start but retrying on host2 itself. 2> Sometime vm1 move in down state without retrying.
Can anyone explain about this behaviour ? Or Is this an issue ?
Note : I am using Ovirt 4.0.
Thanks, ~Rohit
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
Hi,
If a host is powered off and if powermanagment is enabled engine will fence the host and restarts it. During this process host residing on the vm will be shutdown and will be restarted on another node. All the events can be seen in the engine UI.
Hope you have not missed to enable power management on the hosts. with out enabling power management even if the vm is marked to be Highly available it will not be.
Second thing to check for is if the vm has guest-agent installed on it. If the vm does not have guest-agent installed then it wont be restarted on different host. More info on this can be found at [1].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35 <https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35>
Thanks
kasturi
--------------51C3A214E1DECCC2EAE2BDCD Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 04/26/2017 10:39 AM, TranceWorldLogic . wrote:<br> </div> <blockquote cite="mid:CAOtQfMR=mTNv7mNuCgMRunsvUm_Hc8J7cgAx0JdPwKRv9LqH2g@mail.gmail.com" type="cite"> <div dir="ltr"> <div> <div> <div> <div> <div> <div>Hi,<br> <br> </div> VM have guest agent install but power management is disable.<br> <br> </div> Just want to confirm my understanding "HA will not work without power management", please say yes or no.<br> </div> </div> </div> </div> </div> </blockquote> yes. <br> <blockquote cite="mid:CAOtQfMR=mTNv7mNuCgMRunsvUm_Hc8J7cgAx0JdPwKRv9LqH2g@mail.gmail.com" type="cite"> <div dir="ltr"> <div> <div> <div> <div><br> </div> We have Dell server and it access through idrac, I am not sure how to setup power management for idrac.<br> </div> <div>I tried with drac5 and drac7 and both case while testing I got error saying <i>"</i><i>Test failed: [Connection timed out, , ]"<br> </i></div> <div>But ping is working from ovirt-engine.<i><br> <br> </i></div> Would you please point me to some link how to setup power management for DELL idrac ?<br> <br> <br> </div> Thanks,<br> </div> ~Rohit<br> </div> </blockquote> Hi,<br> <br> With out configuring powermanagement HA will not work. Below are the steps to setup power management. I do not have the link handy but below are the steps.<br> <br> 1) Move the host to maintenance<br> 2) click on edit button -> select Power Management -> select check box 'Enable power management'<br> 3) click on "+" button near Add fence agent<br> 4) In the address field provide IPMI port which is the ip used for accessing your mm console of the server.<br> 5) Provide USERName and password to access the console of that machine.<br> 6) select the correct provider type.<br> 7) click "ok".<br> <br> you should be able to set it up. AFAIK, drac5 / 7 needs to be used for dell.<br> <br> Thanks<br> kasturi.<br> <br> <blockquote cite="mid:CAOtQfMR=mTNv7mNuCgMRunsvUm_Hc8J7cgAx0JdPwKRv9LqH2g@mail.gmail.com" type="cite"> <div dir="ltr"> <div> <div> <div> <div> <div><br> </div> </div> </div> </div> </div> </div> <div class="gmail_extra"><br> <div class="gmail_quote">On Tue, Apr 25, 2017 at 10:29 PM, knarra <span dir="ltr"><<a moz-do-not-send="true" href="mailto:knarra@redhat.com" target="_blank">knarra@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <div> <div class="h5"> <div class="m_-192645912334618296moz-cite-prefix">On 04/25/2017 08:45 PM, TranceWorldLogic . wrote:<br> </div> </div> </div> <blockquote type="cite"> <div> <div class="h5"> <div dir="ltr"> <div> <div> <div> <div> <div> <div> <div> <div> <div> <div>Hi,<br> <br> </div> This is regarding HA VM fail to restart on other host.<br> <br> </div> I have setup, which has 2 host in a cluster let say host1 and host2.<br> </div> And one HA VM (with High priority), say vm1.<br> </div> <div>And also not storage domain is configure on host3 and it available all time.<br> </div> <div><br> </div> 1> Initially vm1 was running on host2.<br> </div> 2> Then I power OFF host2 to see whether ovirt start vm1 on host1.<br> <br> </div> I found two result in this case as below:<br> </div> 1> Sometime vm1 retrying to start but retrying on host2 itself.<br> </div> 2> Sometime vm1 move in down state without retrying.<br> <br> </div> Can anyone explain about this behaviour ? Or Is this an issue ?<br> <br> </div> Note : I am using Ovirt 4.0.<br> <div> <div> <div> <div> <div> <div><br> </div> <div>Thanks,<br> </div> <div>~Rohit<br> </div> </div> </div> </div> </div> </div> </div> <br> <fieldset class="m_-192645912334618296mimeAttachmentHeader"></fieldset> <br> </div> </div> <pre>______________________________<wbr>_________________ Users mailing list <a moz-do-not-send="true" class="m_-192645912334618296moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a moz-do-not-send="true" class="m_-192645912334618296moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a> </pre> </blockquote> <p>Hi,</p> <p> If a host is powered off and if powermanagment is enabled engine will fence the host and restarts it. During this process host residing on the vm will be shutdown and will be restarted on another node. All the events can be seen in the engine UI. </p> <p> Hope you have not missed to enable power management on the hosts. with out enabling power management even if the vm is marked to be Highly available it will not be. </p> <p> Second thing to check for is if the vm has guest-agent installed on it. If the vm does not have guest-agent installed then it wont be restarted on different host. More info on this can be found at [1].</p> <p> [1] <a moz-do-not-send="true" class="m_-192645912334618296moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1341106#c35</a></p> <p>Thanks</p> <p>kasturi </p> </div> </blockquote></div> </div> </blockquote><p> </p></body></html> --------------51C3A214E1DECCC2EAE2BDCD--

On Wed, Apr 26, 2017 at 8:44 AM, knarra <knarra@redhat.com> wrote:
On 04/26/2017 10:39 AM, TranceWorldLogic . wrote:
Hi,
VM have guest agent install but power management is disable.
Just want to confirm my understanding "HA will not work without power management", please say yes or no.
yes.
We have Dell server and it access through idrac, I am not sure how to setup power management for idrac. I tried with drac5 and drac7 and both case while testing I got error saying *"* *Test failed: [Connection timed out, , ]" * But ping is working from ovirt-engine.
Would you please point me to some link how to setup power management for DELL idrac ?
Thanks, ~Rohit
Hi,
With out configuring powermanagement HA will not work. Below are the steps to setup power management. I do not have the link handy but below are the steps.
4.1 can perform VM HA without power fencing via storage leases, btw. Y.
1) Move the host to maintenance 2) click on edit button -> select Power Management -> select check box 'Enable power management' 3) click on "+" button near Add fence agent 4) In the address field provide IPMI port which is the ip used for accessing your mm console of the server. 5) Provide USERName and password to access the console of that machine. 6) select the correct provider type. 7) click "ok".
you should be able to set it up. AFAIK, drac5 / 7 needs to be used for dell.
Thanks kasturi.
On Tue, Apr 25, 2017 at 10:29 PM, knarra <knarra@redhat.com> wrote:
On 04/25/2017 08:45 PM, TranceWorldLogic . wrote:
Hi,
This is regarding HA VM fail to restart on other host.
I have setup, which has 2 host in a cluster let say host1 and host2. And one HA VM (with High priority), say vm1. And also not storage domain is configure on host3 and it available all time.
1> Initially vm1 was running on host2. 2> Then I power OFF host2 to see whether ovirt start vm1 on host1.
I found two result in this case as below: 1> Sometime vm1 retrying to start but retrying on host2 itself. 2> Sometime vm1 move in down state without retrying.
Can anyone explain about this behaviour ? Or Is this an issue ?
Note : I am using Ovirt 4.0.
Thanks, ~Rohit
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
Hi,
If a host is powered off and if powermanagment is enabled engine will fence the host and restarts it. During this process host residing on the vm will be shutdown and will be restarted on another node. All the events can be seen in the engine UI.
Hope you have not missed to enable power management on the hosts. with out enabling power management even if the vm is marked to be Highly available it will not be.
Second thing to check for is if the vm has guest-agent installed on it. If the vm does not have guest-agent installed then it wont be restarted on different host. More info on this can be found at [1].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35
Thanks
kasturi
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
knarra
-
TranceWorldLogic .
-
Yaniv Kaul