shutting down a host witn running vms on it.

Hi all, What is the behaviour of a host with running vms when a reboot is initiated, for instance by a powerchute shutdown event or an init event? In such a case, will vms will properly shutdown? Thank you for your help. -- Nathanaël Blanchet Supervision réseau Pôle Infrastrutures Informatiques 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

----- Original Message -----
From: "Nathanaël Blanchet" <blanchet@abes.fr> To: users@ovirt.org Sent: Wednesday, February 24, 2016 3:55:29 PM Subject: [ovirt-users] shutting down a host witn running vms on it.
Hi all,
What is the behaviour of a host with running vms when a reboot is initiated, for instance by a powerchute shutdown event or an init event? In such a case, will vms will properly shutdown?
no, VDSM does not catch any such events to clean the VMs up. You should not interact with the hosts directly this way. If you need to, than you should first put the host to maintenance mode. Moving to maintenance mode will than migrate the VMs out of the running host and prepare everything in a way that the host is again yours.
Thank you for your help.
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 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

----- Original Message -----
From: "Tomas Jelinek" <tjelinek@redhat.com> To: "Nathanaël Blanchet" <blanchet@abes.fr> Cc: users@ovirt.org Sent: Monday, March 14, 2016 9:34:34 AM Subject: Re: [ovirt-users] shutting down a host witn running vms on it.
----- Original Message -----
From: "Nathanaël Blanchet" <blanchet@abes.fr> To: users@ovirt.org Sent: Wednesday, February 24, 2016 3:55:29 PM Subject: [ovirt-users] shutting down a host witn running vms on it.
Hi all,
What is the behaviour of a host with running vms when a reboot is initiated, for instance by a powerchute shutdown event or an init event? In such a case, will vms will properly shutdown?
no, VDSM does not catch any such events to clean the VMs up. You should not interact with the hosts directly this way. If you need to, than you should first put the host to maintenance mode. Moving to maintenance mode will than migrate the VMs out of the running host and prepare everything in a way that the host is again yours.
The behaviour depends on the software which communicates with your OS, it it's properly set up, then standard shutdown of OS is executed, so standard shutdown signal is sent also to libvirt. But from oVirt point of view, it this happens when host is not in Maintenance, host will become Non Reponsive for oVirt and oVirt will try to fence the host using power management agents which you provided for the host.
Thank you for your help.
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 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
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Martin Perina
-
Nathanaël Blanchet
-
Tomas Jelinek