[Nut-upsuser] early shutdown of VMware VMs

David Newman dnewman at networktest.com
Fri Feb 13 15:48:06 UTC 2009


On 2/12/09 11:19 PM, Arjen de Korte wrote:
> Citeren David Newman <dnewman at networktest.com>:
> 
>> How to shut down VMWare guest virtual machines earlier than the host
>> machine they run on? (For example, if everything normally shuts down at
>> 5% UPS battery, then the VMs should shut down at 10%.)
> 
> First question is, why do you want to do that?

Because a clean shutdown of the VMs is more important than high uptime
for the VMs.

If both guest and host machines shut down at the same time, the host
might finish its shutdown before the guests have, leading to possible
filesystem corruption. I will gladly trade off some downtime of the VMs
to ensure clean shutdowns.


> 
>> I also read upssched.txt but I can't tell from the early shutdown
>> section which settings to use on the master and which on the slaves.
>>
>> This seems like a fairly standard problem -- are there sample configs
>> posted someplace?
> 
> I'm not an expert on VMware, but I would expect that you can configure  
> on the host that it shuts down the guests before going down.

Thanks -- that's what I'm asking for -- what is it that I configure, and
 are there sample configs someplace that do this?

thanks again

dn


> 
> Best regards, Arjen




More information about the Nut-upsuser mailing list