
Hi everybody, I'm currently setting up an ovirt solution. I have three servers with glusterfs. They run hosted engine. I configured the power management of the node for using idrac agent (I have Dell servers). The communication is ok but I don't really know if configuring power management is very usefull with only three servers. My three servers are powered via an ups which have only one usb port. I'm wondering what is the best option to shutdown the datacenter in case of power failure. I have read in previous posts that I have to write a script. So I think I'm going to : - install apcupsd on the node connected with the ups via usb - configure apcupsd.conf to lanch a script and send a mail - write a script to shutdown properly all the wm and to put the datacenter in maintenance mode What do you think about this solution ? Is there a better way to manage the vm's and datacenter's shutdown with the power management solution associated with ovirt host ? Regards, Florent

On Thu, Nov 29, 2018 at 10:36 PM florentl <florentl.info@laposte.net> wrote:
Hi everybody, I'm currently setting up an ovirt solution. I have three servers with glusterfs. They run hosted engine.
I configured the power management of the node for using idrac agent (I have Dell servers). The communication is ok but I don't really know if configuring power management is very usefull with only three servers.
My three servers are powered via an ups which have only one usb port. I'm wondering what is the best option to shutdown the datacenter in case of power failure. I have read in previous posts that I have to write a script.
So I think I'm going to : - install apcupsd on the node connected with the ups via usb - configure apcupsd.conf to lanch a script and send a mail - write a script to shutdown properly all the wm and to put the datacenter in maintenance mode
There's already a role to shutdown the cluster - you could use that instead of a script? https://github.com/oVirt/ovirt-ansible-shutdown-env/blob/master/README.md
What do you think about this solution ?
Is there a better way to manage the vm's and datacenter's shutdown with the power management solution associated with ovirt host ?
Regards, Florent _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/GYYU6N73FHMUFI...

This is to allow the system to do fence actions it's useful for shutdown/restart/updates and recovery etc. There is an ansible playbook that can shutdown your environment maybe you get your ups to trigger it. https://github.com/oVirt/ovirt-ansible-shutdown-env Regards, Paul S. ________________________________________ From: florentl <florentl.info@laposte.net> Sent: 29 November 2018 16:41 To: users Subject: [ovirt-users] UPS with USB Support Hi everybody, I'm currently setting up an ovirt solution. I have three servers with glusterfs. They run hosted engine. I configured the power management of the node for using idrac agent (I have Dell servers). The communication is ok but I don't really know if configuring power management is very usefull with only three servers. My three servers are powered via an ups which have only one usb port. I'm wondering what is the best option to shutdown the datacenter in case of power failure. I have read in previous posts that I have to write a script. So I think I'm going to : - install apcupsd on the node connected with the ups via usb - configure apcupsd.conf to lanch a script and send a mail - write a script to shutdown properly all the wm and to put the datacenter in maintenance mode What do you think about this solution ? Is there a better way to manage the vm's and datacenter's shutdown with the power management solution associated with ovirt host ? Regards, Florent _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/GYYU6N73FHMUFI... To view the terms under which this email is distributed, please go to:- http://leedsbeckett.ac.uk/disclaimer/email/
participants (3)
-
florentl
-
Sahina Bose
-
Staniforth, Paul