Automatic restart of VM on another host if a host goes down

This is a multi-part message in MIME format. --------------2378525B0912DE68F55F66E1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly. However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server. Is there a way in which this migration can be automated? -- Thanks & Regards, Anantha Raghava Do not print this e-mail unless required. Save Paper & trees. --------------2378525B0912DE68F55F66E1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p><font face="Times New Roman, Times, serif">Hello,</font></p> <p><font face="Times New Roman, Times, serif">We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly.</font></p> <p><font face="Times New Roman, Times, serif">However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server.</font></p> <p><font face="Times New Roman, Times, serif">Is there a way in which this migration can be automated? </font><br> </p> <div class="moz-signature"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title></title> <meta name="generator" content="LibreOffice 5.0.3.2 (Linux)"> <meta name="created" content="00:00:00"> <meta name="changedby" content="Anantha Raghava"> <meta name="changed" content="2016-01-05T17:20:50.677541300"> <meta name="created" content="00:00:00"> <meta name="changedby" content="Anantha Raghava"> <meta name="changed" content="2015-12-20T09:03:26.251763811"> <meta name="created" content="2015-02-21T00:00:00"> <meta name="changedby" content="Anantha Raghava"> <meta name="changed" content="2015-12-20T09:02:11.666821134"> <style type="text/css"> @page { margin: 2cm } p { margin-bottom: 0.25cm; color: #000000; line-height: 120% } address { color: #000000 } a:link { so-language: zxx } </style> <p>-- </p> <p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif">Thanks & Regards,</font></p> <address style="line-height: 100%"><font face="Times New Roman, serif"><br> Anantha Raghava</font></address> <font color="#66cc00"><font face="Times New Roman, serif">Do not print this e-mail unless required. Save Paper & trees.</font></font> </div> </body> </html> --------------2378525B0912DE68F55F66E1--

Have you marked the Virtual Machine as “highly available?” Under the “highly availability tab” under Advanced Options while editing the VM? Devin On Mar 26, 2017, 9:34 AM -0700, Anantha Raghava <raghav@exzatechconsulting.com>, wrote:
Hello, We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly. However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server. Is there a way in which this migration can be automated? -- Thanks & Regards,
Anantha Raghava Do not print this e-mail unless required. Save Paper & trees. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Il 26 mar 2017 6:34 PM, "Anantha Raghava" <raghav@exzatechconsulting.com> ha scritto: Hello, We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly. However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server. Is there a way in which this migration can be automated? Hello, Did you configure power management? HA works only if power management is configured and vms are set as highly available. Luca

If you don't have power management, you should check VM lease: http://www.ovirt.org/develop/release-management/features/storage/vm-leases/ https://youtu.be/WLnU_YsHWtU On Mar 26, 2017 11:28 PM, "Luca 'remix_tj' Lorenzetto" < lorenzetto.luca@gmail.com> wrote:
Il 26 mar 2017 6:34 PM, "Anantha Raghava" <raghav@exzatechconsulting.com> ha scritto:
Hello,
We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly.
However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server.
Is there a way in which this migration can be automated?
Hello,
Did you configure power management?
HA works only if power management is configured and vms are set as highly available.
Luca
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------776073538C74F214EDC25DD5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Thanks. Will try this. -- Thanks & Regards, Anantha Raghava Do not print this e-mail unless required. Save Paper & trees. On 27/03/17 2:11 AM, Fred Rolland wrote:
If you don't have power management, you should check VM lease:
http://www.ovirt.org/develop/release-management/features/storage/vm-leases/
On Mar 26, 2017 11:28 PM, "Luca 'remix_tj' Lorenzetto" <lorenzetto.luca@gmail.com <mailto:lorenzetto.luca@gmail.com>> wrote:
Il 26 mar 2017 6:34 PM, "Anantha Raghava" <raghav@exzatechconsulting.com <mailto:raghav@exzatechconsulting.com>> ha scritto:
Hello,
We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly.
However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server.
Is there a way in which this migration can be automated?
Hello,
Did you configure power management?
HA works only if power management is configured and vms are set as highly available.
Luca
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
--------------776073538C74F214EDC25DD5 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"> <p><font face="Times New Roman, Times, serif">Hi,</font></p> <p><font face="Times New Roman, Times, serif">Thanks. Will try this.</font><br> </p> <div class="moz-signature"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title></title> <meta name="generator" content="LibreOffice 5.0.3.2 (Linux)"> <meta name="created" content="00:00:00"> <meta name="changedby" content="Anantha Raghava"> <meta name="changed" content="2016-01-05T17:20:50.677541300"> <meta name="created" content="00:00:00"> <meta name="changedby" content="Anantha Raghava"> <meta name="changed" content="2015-12-20T09:03:26.251763811"> <meta name="created" content="2015-02-21T00:00:00"> <meta name="changedby" content="Anantha Raghava"> <meta name="changed" content="2015-12-20T09:02:11.666821134"> <style type="text/css"> @page { margin: 2cm } p { margin-bottom: 0.25cm; color: #000000; line-height: 120% } address { color: #000000 } a:link { so-language: zxx } </style> <p>-- </p> <p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif">Thanks & Regards,</font></p> <p style="margin-bottom: 0cm; line-height: 100%"><br> </p> <address style="line-height: 100%"><font face="Times New Roman, serif">Anantha Raghava</font></address> <p style="margin-bottom: 0cm; line-height: 100%"><font color="#66cc00"><font face="Times New Roman, serif">Do not print this e-mail unless required. Save Paper & trees.</font></font></p> </div> <div class="moz-cite-prefix">On 27/03/17 2:11 AM, Fred Rolland wrote:<br> </div> <blockquote cite="mid:CAF_B0vE5v+RVfsC6AvM7zQ_USUFHqzd5fbZhOSQ2nKZEmyyVeA@mail.gmail.com" type="cite"> <div dir="auto">If you don't have power management, you should check VM lease: <div dir="auto"><br> </div> <div dir="auto"><a moz-do-not-send="true" href="http://www.ovirt.org/develop/release-management/features/storage/vm-leases/">http://www.ovirt.org/develop/release-management/features/storage/vm-leases/</a><br> </div> <div dir="auto"><br> </div> <div dir="auto"><a moz-do-not-send="true" href="https://youtu.be/WLnU_YsHWtU">https://youtu.be/WLnU_YsHWtU</a><br> </div> </div> <div class="gmail_extra"><br> <div class="gmail_quote">On Mar 26, 2017 11:28 PM, "Luca 'remix_tj' Lorenzetto" <<a moz-do-not-send="true" href="mailto:lorenzetto.luca@gmail.com">lorenzetto.luca@gmail.com</a>> wrote:<br type="attribution"> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="auto"><br> <div class="gmail_extra" dir="auto"><br> <div class="gmail_quote">Il 26 mar 2017 6:34 PM, "Anantha Raghava" <<a moz-do-not-send="true" href="mailto:raghav@exzatechconsulting.com" target="_blank">raghav@exzatechconsulting.com</a><wbr>> ha scritto:<br type="attribution"> <blockquote class="m_5159963728423390340quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <p><font face="Times New Roman, Times, serif">Hello,</font></p> <p><font face="Times New Roman, Times, serif">We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly.</font></p> <p><font face="Times New Roman, Times, serif">However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server.</font></p> <p><font face="Times New Roman, Times, serif">Is there a way in which this migration can be automated? </font></p> </div> </blockquote> </div> </div> <div dir="auto"><br> </div> <div dir="auto">Hello,</div> <div dir="auto"><br> </div> <div dir="auto">Did you configure power management?</div> <div dir="auto"><br> </div> <div dir="auto">HA works only if power management is configured and vms are set as highly available.</div> <div dir="auto"><br> </div> <div dir="auto">Luca</div> <div class="gmail_extra" dir="auto"><br> </div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br> <br> </blockquote> </div> </div> </blockquote> <br> </body> </html> --------------776073538C74F214EDC25DD5--

This is a multi-part message in MIME format. --------------CA2186D357EA05357F42BCB0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I tried to configure the power management. But, the agent (idrac) is failing. It is unable to contact the idrac management interface. Any document that explains the process you can guide me to? -- Thanks & Regards, Anantha Raghava Do not print this e-mail unless required. Save Paper & trees. On 27/03/17 1:57 AM, Luca 'remix_tj' Lorenzetto wrote:
Il 26 mar 2017 6:34 PM, "Anantha Raghava" <raghav@exzatechconsulting.com <mailto:raghav@exzatechconsulting.com>> ha scritto:
Hello,
We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly.
However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server.
Is there a way in which this migration can be automated?
Hello,
Did you configure power management?
HA works only if power management is configured and vms are set as highly available.
Luca
--------------CA2186D357EA05357F42BCB0 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"> <p><font face="Times New Roman, Times, serif">Hi,</font></p> <p><font face="Times New Roman, Times, serif">I tried to configure the power management. But, the agent (idrac) is failing. It is unable to contact the idrac management interface. <br> </font></p> <p><font face="Times New Roman, Times, serif">Any document that explains the process you can guide me to?</font><br> </p> <div class="moz-signature"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title></title> <meta name="generator" content="LibreOffice 5.0.3.2 (Linux)"> <meta name="created" content="00:00:00"> <meta name="changedby" content="Anantha Raghava"> <meta name="changed" content="2016-01-05T17:20:50.677541300"> <meta name="created" content="00:00:00"> <meta name="changedby" content="Anantha Raghava"> <meta name="changed" content="2015-12-20T09:03:26.251763811"> <meta name="created" content="2015-02-21T00:00:00"> <meta name="changedby" content="Anantha Raghava"> <meta name="changed" content="2015-12-20T09:02:11.666821134"> <style type="text/css"> @page { margin: 2cm } p { margin-bottom: 0.25cm; color: #000000; line-height: 120% } address { color: #000000 } a:link { so-language: zxx } </style> <p>-- </p> <p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif">Thanks & Regards,</font></p> <p style="margin-bottom: 0cm; line-height: 100%"><br> </p> <address style="line-height: 100%"><font face="Times New Roman, serif">Anantha Raghava</font></address> <font color="#66cc00"><font face="Times New Roman, serif">Do not print this e-mail unless required. Save Paper & trees.</font></font> </div> <div class="moz-cite-prefix">On 27/03/17 1:57 AM, Luca 'remix_tj' Lorenzetto wrote:<br> </div> <blockquote cite="mid:CAKuX69o=ws7feUs_Z0PZ1npGngPNL=MJETYWwwYBj61k+2+onA@mail.gmail.com" type="cite"> <div dir="auto"><br> <div class="gmail_extra" dir="auto"><br> <div class="gmail_quote">Il 26 mar 2017 6:34 PM, "Anantha Raghava" <<a moz-do-not-send="true" href="mailto:raghav@exzatechconsulting.com">raghav@exzatechconsulting.com</a>> ha scritto:<br type="attribution"> <blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <p><font face="Times New Roman, Times, serif">Hello,</font></p> <p><font face="Times New Roman, Times, serif">We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly.</font></p> <p><font face="Times New Roman, Times, serif">However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server.</font></p> <p><font face="Times New Roman, Times, serif">Is there a way in which this migration can be automated? </font></p> </div> </blockquote> </div> </div> <div dir="auto"><br> </div> <div dir="auto">Hello,</div> <div dir="auto"><br> </div> <div dir="auto">Did you configure power management?</div> <div dir="auto"><br> </div> <div dir="auto">HA works only if power management is configured and vms are set as highly available.</div> <div dir="auto"><br> </div> <div dir="auto">Luca</div> <div class="gmail_extra" dir="auto"><br> </div> </div> </blockquote> <br> </body> </html> --------------CA2186D357EA05357F42BCB0--

Which iDrac card do your servers have and which agent are you using ? On 27 March 2017 at 03:05, Anantha Raghava <raghav@exzatechconsulting.com> wrote:
Hi,
I tried to configure the power management. But, the agent (idrac) is failing. It is unable to contact the idrac management interface.
Any document that explains the process you can guide me to?
--
Thanks & Regards,
Anantha Raghava Do not print this e-mail unless required. Save Paper & trees. On 27/03/17 1:57 AM, Luca 'remix_tj' Lorenzetto wrote:
Il 26 mar 2017 6:34 PM, "Anantha Raghava" <raghav@exzatechconsulting.com> ha scritto:
Hello,
We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly.
However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server.
Is there a way in which this migration can be automated?
Hello,
Did you configure power management?
HA works only if power management is configured and vms are set as highly available.
Luca
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 26 March 2017 at 19:34, Anantha Raghava <raghav@exzatechconsulting.com> wrote:
Hello,
We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for engine. Both hosts (Dell R710 Servers) are in a single cluster and load balancing & migrations work perfectly.
However, if a physical server goes down, the VMs running on that server, gets paused ans status goes changes to "?". They do not move or restart on the another host automatically. We have to manually intervene, stop the VMs, restart them on another server.
Is there a way in which this migration can be automated?
In order for oVirt to migrate VM's it needs to ensure that the VMs are no longer running on the failed host. Essentially it need to ensure that host is no longer running (As opposed to not accessible over the network). You need to configure power management for it to be able to do that. (There is a new feature in 4.x to enable storage-based fencing, can't find a reference for it just now). -- Barak Korren bkorren@redhat.com RHCE, RHCi, RHV-DevOps Team https://ifireball.wordpress.com/
participants (6)
-
Anantha Raghava
-
Barak Korren
-
Devin Acosta
-
Fred Rolland
-
Luca 'remix_tj' Lorenzetto
-
Maton, Brett