To ensure self-reliance related to the system performance within a virtual machine, you can add a virtual Watchdog Timer (VWDT) device.
If the guest operating system stops responding and cannot recover on its own due to software glitches or errors, the VWDT waits for a predefined period of time and then restarts the system.
You can enable the VWDT to start either by the guest operating system, or by the BIOS or EFI firmware. If you chose the VWDT to start by the BIOS or EFI firmware, it starts before the guest operating system boots.
The VWDT has an important role in guest-based clustering solutions where each virtual machine in the cluster can recover on its own if it fails.
Add a Virtual Watchdog Timer Device to a Virtual Machine
To prevent the virtual machine from a guest operating system failure for an extended period of time, you can add a VWDT device to the virtual machine.
Prerequisites
- Power off the virtual machine.
- Verify that the virtual machine hardware is of version 17 or later.
- Verify that the guest operating system of the virtual machine supports a watchdog timer:
Note: The guest operating system may require you to explicitly enable the watchdog services. Failure to do so might cause the watchdog timer to power off or restart the virtual machine.
- The VWDT device implements the Watchdog Resource Table (WDRT) and Watchdog Action Table (WDAT) specifications. Windows Server 2003 supports devices compatible with WDRT and Windows Server 2008 and later supports devices compatible with WDAT.
- The Linux distributions based on 4.9 or later kernel, such as Ubuntu 18.04 and Red Hat Enterprise Linux 7.6, support devices compatible with WDAT if the wdat_wdt.ko driver is available.
- The watchdog timer is not supported for other guest operating systems, such as FreeBSD and Mac OS X.
- Required privileges:
Procedure
Results
You can view the status of the VWDT device in the VM Hardware panel on the Summary tab.