[Users] oVirt with UPS Shutdown Software

Hi guys, I've looked around briefly and can't seem to find much info on this, so please excuse me if this has already been asked/documented. I have a UPS with SNMP support and I started installing the management software(IPP) that it comes with and then it occurred to me that the shutdown sequence of servers with oVirt 3.1 would be quite critical. Is there any documentation on shut down sequences or does anyone know what the recommended way of handling power failures are? My thinking is that when a power failure is detected by the UPS software running on the ovirt-engine machine, the VM's need to be shutdown gracefully, and then the data center needs to be put into maintenance, before the hosts are eventually shutdown, and then finally the ovirt-engine needs to be halted. Any thoughts or ideas/suggestions on the above, can the ovirt-engine somehow be told to shutdown the VM's and hosts etc? Thank you very much. Regards. Neil Wilson.

On 08/21/2012 06:05 PM, Neil wrote:
Hi guys,
I've looked around briefly and can't seem to find much info on this, so please excuse me if this has already been asked/documented.
I have a UPS with SNMP support and I started installing the management software(IPP) that it comes with and then it occurred to me that the shutdown sequence of servers with oVirt 3.1 would be quite critical. Is there any documentation on shut down sequences or does anyone know what the recommended way of handling power failures are?
My thinking is that when a power failure is detected by the UPS software running on the ovirt-engine machine, the VM's need to be shutdown gracefully, and then the data center needs to be put into maintenance, before the hosts are eventually shutdown, and then finally the ovirt-engine needs to be halted.
wouldn't the hosts have some detection they are going to be shutdown via a ups event to them, rather than to the engine? if you know a host is going to go down, would be nice if you either move it to maintenance, or stop all VMs on it, or migrate all VMs from it (depending on how global the shutdown is going to be). if you go with moving it to maintenance, you would also need to activate it later of course.
Any thoughts or ideas/suggestions on the above, can the ovirt-engine somehow be told to shutdown the VM's and hosts etc?
you can also script this via the API/SDK/CLI based on a monitoring system getting the UPS event
Thank you very much.
Regards.
Neil Wilson. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Neil" <nwilson123@gmail.com> To: users@ovirt.org Sent: Tuesday, August 21, 2012 6:05:17 PM Subject: [Users] oVirt with UPS Shutdown Software
Hi guys,
I've looked around briefly and can't seem to find much info on this, so please excuse me if this has already been asked/documented.
I have a UPS with SNMP support and I started installing the management software(IPP) that it comes with and then it occurred to me that the shutdown sequence of servers with oVirt 3.1 would be quite critical. Is there any documentation on shut down sequences or does anyone know what the recommended way of handling power failures are?
My thinking is that when a power failure is detected by the UPS software running on the ovirt-engine machine, the VM's need to be shutdown gracefully, and then the data center needs to be put into maintenance, before the hosts are eventually shutdown, and then finally the ovirt-engine needs to be halted.
sounds right to me: shutdown the vms, put data-center to maintenance (actually means put all domains to maintenance - i guess this part is nice to have but not must) then put hosts to maintenance (not sure you mentioned that) then you can shutdown any server in any order.
Any thoughts or ideas/suggestions on the above, can the ovirt-engine somehow be told to shutdown the VM's and hosts etc?
well writing a script to do that shouldn't be hard using the API, but the question how to trigger it? (i'm not familiar with the UPS software capabilities)
Thank you very much.
Regards.
Neil Wilson. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 08/21/2012 07:01 PM, Omer Frenkel wrote:
----- Original Message -----
From: "Neil" <nwilson123@gmail.com> To: users@ovirt.org Sent: Tuesday, August 21, 2012 6:05:17 PM Subject: [Users] oVirt with UPS Shutdown Software
Hi guys,
I've looked around briefly and can't seem to find much info on this, so please excuse me if this has already been asked/documented.
I have a UPS with SNMP support and I started installing the management software(IPP) that it comes with and then it occurred to me that the shutdown sequence of servers with oVirt 3.1 would be quite critical. Is there any documentation on shut down sequences or does anyone know what the recommended way of handling power failures are?
My thinking is that when a power failure is detected by the UPS software running on the ovirt-engine machine, the VM's need to be shutdown gracefully, and then the data center needs to be put into maintenance, before the hosts are eventually shutdown, and then finally the ovirt-engine needs to be halted.
sounds right to me: shutdown the vms, put data-center to maintenance (actually means put all domains to maintenance - i guess this part is nice to have but not must) then put hosts to maintenance (not sure you mentioned that) then you can shutdown any server in any order.
why move the DC to maint or the host to maint (unless other hosts are not affected by this)?
Any thoughts or ideas/suggestions on the above, can the ovirt-engine somehow be told to shutdown the VM's and hosts etc?
well writing a script to do that shouldn't be hard using the API, but the question how to trigger it? (i'm not familiar with the UPS software capabilities)
Thank you very much.
Regards.
Neil Wilson. _______________________________________________ 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

----- Original Message -----
From: "Itamar Heim" <iheim@redhat.com> To: "Omer Frenkel" <ofrenkel@redhat.com> Cc: "Neil" <nwilson123@gmail.com>, users@ovirt.org Sent: Tuesday, August 21, 2012 11:10:33 PM Subject: Re: [Users] oVirt with UPS Shutdown Software
On 08/21/2012 07:01 PM, Omer Frenkel wrote:
----- Original Message -----
From: "Neil" <nwilson123@gmail.com> To: users@ovirt.org Sent: Tuesday, August 21, 2012 6:05:17 PM Subject: [Users] oVirt with UPS Shutdown Software
Hi guys,
I've looked around briefly and can't seem to find much info on this, so please excuse me if this has already been asked/documented.
I have a UPS with SNMP support and I started installing the management software(IPP) that it comes with and then it occurred to me that the shutdown sequence of servers with oVirt 3.1 would be quite critical. Is there any documentation on shut down sequences or does anyone know what the recommended way of handling power failures are?
My thinking is that when a power failure is detected by the UPS software running on the ovirt-engine machine, the VM's need to be shutdown gracefully, and then the data center needs to be put into maintenance, before the hosts are eventually shutdown, and then finally the ovirt-engine needs to be halted.
sounds right to me: shutdown the vms, put data-center to maintenance (actually means put all domains to maintenance - i guess this part is nice to have but not must) then put hosts to maintenance (not sure you mentioned that) then you can shutdown any server in any order.
why move the DC to maint or the host to maint (unless other hosts are not affected by this)?
to properly close storage connections, that what i had in mind
Any thoughts or ideas/suggestions on the above, can the ovirt-engine somehow be told to shutdown the VM's and hosts etc?
well writing a script to do that shouldn't be hard using the API, but the question how to trigger it? (i'm not familiar with the UPS software capabilities)
Thank you very much.
Regards.
Neil Wilson. _______________________________________________ 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)
-
Itamar Heim
-
Neil
-
Omer Frenkel