From owner-freebsd-virtualization@freebsd.org Sun Apr 21 04:51:45 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8D251581E6E for ; Sun, 21 Apr 2019 04:51:45 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D86A78B3A4 for ; Sun, 21 Apr 2019 04:51:44 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=TQA7Rfncy8DCtlaQr2Ir6ajPj/e6HSgoLLNe0y6KUw0=; b=mCD6WbvhRmurH6bny+BlI60WUe e+EI+uNfpkIRE1DpNVgICnmsmoBoiRS+o7BJ/YgiTeMde+0LxkCYEZKaionW93IXhT/A+ars1wzQC laKiNP51UMMgBJpvs5E22oqyc2rJ7bjGKyFG226ebYnE65l7OGOYcUZtqjvriKAz5uHQ=; Received: from vas by admin.sibptus.ru with local (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hI4S7-000CpI-JS for freebsd-virtualization@freebsd.org; Sun, 21 Apr 2019 11:51:43 +0700 Date: Sun, 21 Apr 2019 11:51:43 +0700 From: Victor Sudakov To: freebsd-virtualization@freebsd.org Subject: [vm-bhyve] Windows 2012 and 2016 servers guests would not stop Message-ID: <20190421045143.GA49101@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.11.4 (2019-03-13) Sender: Victor Sudakov X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Apr 2019 04:51:46 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcu/bfAAoJEA2k8lmbXsY0hhsH/3TXUJMWrIIgRUcrXRpmZgNq n6DVqTn3lmVFBTwiHV75WNCHCvd+Epd00dLKE41+dImfwKAWl68U1p7L9/lpdO0j Jh3vMFLAbVGxuoCC+2z6L16d15UklCUxiLB7kN27KqfgDxCOgXS8nfvX027aFc4T r6vUCPnVWfmV8rvW0ky9O/Bx6o4FWc2U5v3LEwxqWy7aGzQAFcBP5gIqWF7id3YE ebmlUXytGdaGGfm8Zr/GKjwa6B/5Onjm6NaAdqeqUKIzYZj750u3kWr9NC+AJyow BCbnXNJWZWFzL4q5eASLUmmgXDddBFY+RWTM7NXKcnSXmR8ZVnIghJRjGbUi1lY= =mge6 -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--