[Users] vms behaviour when a host shut down

This is a multi-part message in MIME format. --------------060409060109080805050301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi all, I'd like to be sure about the behaviour of vms when hist host goes down for any reason. I suppose high availibility is for migrating vms to another host, but how to do if I prefer them to shut down at the same time of the host? -- Nathanaël Blanchet Supervision réseau Pôle exploitation et maintenance Département des systèmes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr --------------060409060109080805050301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <font size="-1">Hi all,<br> <br> I'd like to be sure about the behaviour of vms when hist host goes down for any reason. I suppose high availibility is for migrating vms to another host, but how to do if I prefer them to shut down at the same time of the host?<br> </font> <pre class="moz-signature" cols="72">-- Nathanaël Blanchet Supervision réseau Pôle exploitation et maintenance Département des systèmes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 <a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a> </pre> </body> </html> --------------060409060109080805050301--

------=_Part_6429060_1711386489.1390571642592 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Take a look at the configuration options: when editing a vm, press on "Choo= se Advanced Options"button -> see "Host" and "High Availability" tabs.=20 ----- Original Message -----
From: "Nathana=C3=ABl Blanchet" <blanchet@abes.fr> To: "users" <users@ovirt.org> Sent: Friday, January 24, 2014 9:01:52 AM Subject: [Users] vms behaviour when a host shut down
Hi all,
I'd like to be sure about the behaviour of vms when hist host goes down f= or any reason. I suppose high availibility is for migrating vms to another host, but how to do if I prefer them to shut down at the same time of the host? -- Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau P=C3=B4le exploitation et maintenance D=C3=A9partement des syst=C3=A8mes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 T=C3=A9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
------=_Part_6429060_1711386489.1390571642592 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>Take a look at the configuration= options: when editing a vm, press on "Choose Advanced Options"button = -> see "Host" and "High Availability" tabs.<br></div><div><br></div><hr= id=3D"zwchr"><blockquote style=3D"border-left:2px solid #1010FF;margin-lef= t:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text= -decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b=
From: </b>"Nathana=C3=ABl Blanchet" <blanchet@abes.fr><br><b>To: </b= "users" <users@ovirt.org><br><b>Sent: </b>Friday, January 24, 2014 9= :01:52 AM<br><b>Subject: </b>[Users] vms behaviour when a host shut down<br= <div><br></div> =20
=20 =20 =20 <span size=3D"-1">Hi all,<br> <br> I'd like to be sure about the behaviour of vms when hist host goes down for any reason. I suppose high availibility is for migrating vms to another host, but how to do if I prefer them to shut down at the same time of the host?<br> </span> <pre class=3D"moz-signature">--=20 Nathana=C3=ABl Blanchet Supervision r=C3=A9seau P=C3=B4le exploitation et maintenance D=C3=A9partement des syst=C3=A8mes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=C3=A9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:blanchet@abes.fr" targ= et=3D"_blank">blanchet@abes.fr</a> </pre> =20 <br>_______________________________________________<br>Users mailing list<b= r>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blo= ckquote><div><br></div></div></body></html> ------=_Part_6429060_1711386489.1390571642592--

On Fri, Jan 24, 2014 at 10:01:52AM +0100, Nathanaël Blanchet wrote:
Hi all,
I'd like to be sure about the behaviour of vms when hist host goes down for any reason. I suppose high availibility is for migrating vms to another host, but how to do if I prefer them to shut down at the same time of the host?
For a planned shutdown of a host, you should move it to "maintenance" mode (which migrates all VMs from it) or shut down the VMs individually. If the host unexpectedly dies, it would be fenced by Engine. Highly-available VMs that were running on it, would be re-started on another host. You can mimic such a condition with logging into the host as root and doing service vdsmd stop pkill qemu-kvm (and may the force be with your guest's data)

This is a multi-part message in MIME format. --------------090209080908090008070202 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Typically, we ask to our inverter to send a signal to the host to shut down when it runs on his battery so as OS extinction to be "clean". So we also want that the guests to shut down cleanly because they are so much important than the host, to prevent of database corruption for instance. For this, we could imagine host sending an init signal through a virtual serial port to the VMs. Do you think it is possible in that or an other way? Le 24/01/2014 15:17, Dan Kenigsberg a écrit :
On Fri, Jan 24, 2014 at 10:01:52AM +0100, Nathanaël Blanchet wrote:
Hi all,
I'd like to be sure about the behaviour of vms when hist host goes down for any reason. I suppose high availibility is for migrating vms to another host, but how to do if I prefer them to shut down at the same time of the host? For a planned shutdown of a host, you should move it to "maintenance" mode (which migrates all VMs from it) or shut down the VMs individually.
If the host unexpectedly dies, it would be fenced by Engine. Highly-available VMs that were running on it, would be re-started on another host. You can mimic such a condition with logging into the host as root and doing service vdsmd stop pkill qemu-kvm (and may the force be with your guest's data)
-- Nathanaël Blanchet Supervision réseau Pôle exploitation et maintenance Département des systèmes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr --------------090209080908090008070202 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <font size="-1">Typically, we </font>ask to our inverter to send a signal to the host to shut down when it runs on his battery so as OS extinction to be "clean". So we also want that the guests to shut down cleanly because they are so much important than the host, to prevent of database corruption for instance. For this, we could imagine host sending an init signal through a virtual serial port to the VMs. Do you think it is possible in that or an other way?<br> <div class="moz-cite-prefix">Le 24/01/2014 15:17, Dan Kenigsberg a écrit :<br> </div> <blockquote cite="mid:20140124141747.GK13220@redhat.com" type="cite"> <pre wrap="">On Fri, Jan 24, 2014 at 10:01:52AM +0100, Nathanaël Blanchet wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi all, I'd like to be sure about the behaviour of vms when hist host goes down for any reason. I suppose high availibility is for migrating vms to another host, but how to do if I prefer them to shut down at the same time of the host? </pre> </blockquote> <pre wrap=""> For a planned shutdown of a host, you should move it to "maintenance" mode (which migrates all VMs from it) or shut down the VMs individually. If the host unexpectedly dies, it would be fenced by Engine. Highly-available VMs that were running on it, would be re-started on another host. You can mimic such a condition with logging into the host as root and doing service vdsmd stop pkill qemu-kvm (and may the force be with your guest's data) </pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Nathanaël Blanchet Supervision réseau Pôle exploitation et maintenance Département des systèmes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 <a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a> </pre> </body> </html> --------------090209080908090008070202--

On 01/24/2014 04:43 PM, Nathanaël Blanchet wrote:
Typically, we ask to our inverter to send a signal to the host to shut down when it runs on his battery so as OS extinction to be "clean". So we also want that the guests to shut down cleanly because they are so much important than the host, to prevent of database corruption for instance. For this, we could imagine host sending an init signal through a virtual serial port to the VMs. Do you think it is possible in that or an other way?
you should send the engine an API call to either shutdown the VMs, or migrate them to another host. moving the host to maint before killing it is also a "nicer" behavior. if the VMs will die, no via the engine, then the HA ones will be restarted on another host. live migrating them if possible would be better than kill/restart. (but if you ask engine to stop them, rather than migrate them, then you also have to own starting them again)
Le 24/01/2014 15:17, Dan Kenigsberg a écrit :
On Fri, Jan 24, 2014 at 10:01:52AM +0100, Nathanaël Blanchet wrote:
Hi all,
I'd like to be sure about the behaviour of vms when hist host goes down for any reason. I suppose high availibility is for migrating vms to another host, but how to do if I prefer them to shut down at the same time of the host? For a planned shutdown of a host, you should move it to "maintenance" mode (which migrates all VMs from it) or shut down the VMs individually.
If the host unexpectedly dies, it would be fenced by Engine. Highly-available VMs that were running on it, would be re-started on another host. You can mimic such a condition with logging into the host as root and doing service vdsmd stop pkill qemu-kvm (and may the force be with your guest's data)
-- Nathanaël Blanchet
Supervision réseau Pôle exploitation et maintenance Département des systèmes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (4)
-
Dan Kenigsberg
-
Itamar Heim
-
Meital Bourvine
-
Nathanaël Blanchet