On Thu, Nov 29, 2018 at 10:36 PM florentl <florentl.i...@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-le...@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/GYYU6N73FHMUFIXFR74IKOALS757Q2EC/ _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/SSZGOWFJVULRP75XCY3D3376W2QG6E76/