unix:virtualization:virtlib:quickreference
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
unix:virtualization:virtlib:quickreference [2021/04/21 23:26] – rodolico | unix:virtualization:virtlib:quickreference [2021/04/22 21:04] – rodolico | ||
---|---|---|---|
Line 98: | Line 98: | ||
==== Problems shutting down with //virsh// ==== | ==== Problems shutting down with //virsh// ==== | ||
- | After installing the win-virtio package, you can use qemu-guest-agent to manage shutdown and reboot. This is much more reliable than using ACPI. | + | After installing the win-virtio package, you should see QEMU Guest Agent running as a service. With this running, you can use qemu-guest-agent to manage shutdown and reboot. This is much more reliable than using ACPI. |
+ | |||
+ | **Important** Shut down the virtual before doing the following. | ||
Edit the guest | Edit the guest | ||
Line 114: | Line 116: | ||
</ | </ | ||
- | You will need to restart | + | Start the virtual |
<code bash> | <code bash> | ||
virsh shutdown DOMAIN | virsh shutdown DOMAIN | ||
virsh reboot DOMAIN | virsh reboot DOMAIN | ||
</ | </ | ||
+ | |||
+ | This also allows you to execute // | ||
==== Windows servers will not restart ==== | ==== Windows servers will not restart ==== | ||
Line 133: | Line 137: | ||
I call this every 5 minutes from cron, thus, the max downtime will be 10 minutes, with an average of 5. | I call this every 5 minutes from cron, thus, the max downtime will be 10 minutes, with an average of 5. | ||
+ | |||
+ | **WARNING: | ||
<code perl checkVirtuals> | <code perl checkVirtuals> |
unix/virtualization/virtlib/quickreference.txt · Last modified: 2023/02/26 17:12 by rodolico