----- Original Message ----- > From: "Itamar Heim" <ih...@redhat.com> > To: "Omer Frenkel" <ofren...@redhat.com> > Cc: "Neil" <nwilson...@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" <nwilson...@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 > > > > > _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users