[vm-bhyve] Windows 2012 and 2016 servers guests would not stop

Victor Sudakov vas at mpeks.tomsk.su
Sun Apr 21 04:51:46 UTC 2019


Dear Colleages,

I've noticed that it takes too long for Windows 2012 and 2016 servers
guests to shutdown when I issue "vm stopall," several minutes even.

Does vm-bhyve provide a way to power them off ungracefully if they would
not stop within a predefined time?

Or is there perhaps a way to tune the guest OSes to react more promptly
to an ACPI shutdown?

My primary concern is that my UPS and "apcupsd --kill-on-powerfail" give
me about 30 seconds of grace time before the power supply is cut out. It
is not sufficient for the bhyve box to shutdown shutdown properly
because it waits for the guests to shutdown.

If you know of a better way to configure apcupsd so that it powers down
the UPS only after all the guest OSes and other daemons are safely down,
I'd appreciate that too.

For some reason, apctest does not allow me to change the grace period,
perhaps this model does not support it. And it would mean a race
condition anyway.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20190421/5b34a855/attachment.sig>


More information about the freebsd-virtualization mailing list