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
I call this in /etc/rc.shutdown.local to shut all VMs down gracefully and
wait, perhaps a variant would help you.
#!/bin/sh
INTERVAL=5
/usr/bin/killall -TERM bhyve
echo -n "/dev/vmm:"
while test -d /dev/vmm ; do
echo -n "" $(/bin/ls /dev/vmm | /usr/bin/wc -w)
/bin/sleep $INTERVAL
done
Rodney W. Grimes wrote:
> > >
> > > 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
> Victor Sudakov wrote:
> >
> > 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?
>