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

Victor Sudakov vas at mpeks.tomsk.su
Thu Apr 25 04:10:30 UTC 2019


Victor Sudakov wrote:
> 
> For the present I think I've found a workaround not directly related to
> vm-bhyve.  I'm going to insert "service vm stop" into the doshutdown()
> procedure in /usr/local/etc/apcupsd/apccontrol before the actual
> ${SHUTDOWN}. It should give the VMs sufficient time to shutdown before
> the actual /sbin/shutdown is executed.

The workaround turned out useless: apcupsd sends the "kill power"
command to the UPS before calling the doshutdown() procedure.

F*ck, is there no correct, generally accepted way of powering off a busy
FreeBSD server? Why am I inventing the wheel?

> > 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.


-- 
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/20190425/44c6fbb6/attachment.sig>


More information about the freebsd-virtualization mailing list