Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2019 11:10:28 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: [vm-bhyve] Windows 2012 and 2016 servers guests would not stop
Message-ID:  <20190425041028.GA50526@admin.sibptus.ru>
In-Reply-To: <20190424043656.GA25754@admin.sibptus.ru>
References:  <20190421045143.GA49101@admin.sibptus.ru> <20190424043656.GA25754@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Victor Sudakov wrote:
>=20
> 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.


--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--qDbXVdCdHGoSgWSk
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJcwTM0AAoJEA2k8lmbXsY0meYIALT5+1AeLBak/KOGr52fqMfA
vNRy3S8zJj73MQwhDE5T6f6mz+ABrRbbQipXQWw590Pdd3n3dlM5Psj4UCuNddBN
bD+PQixgStK+ZLHRJMD+Gh4OAR2Y8EzIp/N+LaJrHdg8s4MppWpcBGmcBuVUsaxQ
U+9IwC1JQNPR8O67s0Zda3K/Nbf+9gO6tmUsIF44BfU6Snh6wLwB8Ya8lcS9dMkV
cPIDY78FfCx8ZokreWbiHmkfxAv+awJZMHnwIzYQ+uQS2n8VRUuZtHmBuNpvssSK
nWu5SaYXB6LF5dBreXjHHuhfoTxs7y3qLjxsxMMtenYPLxojP0x7vXeJJCOonPI=
=adyu
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190425041028.GA50526>