14.8.2.2. Installing the watchdog agent on the guest
You can install the watchdog agent on the guest and start the watchdog service.
Procedure
- Log in to the virtual machine as root user.
This step is only required when installing on IBM Z® (
s390x). Enablewatchdogby running the following command:# modprobe diag288_wdtVerify that the
/dev/watchdogfile path is present in the VM by running the following command:# ls /dev/watchdogInstall the
watchdogpackage and its dependencies:# yum install watchdogUncomment the following line in the
/etc/watchdog.conffile and save the changes:#watchdog-device = /dev/watchdogEnable the
watchdogservice to start on boot:# systemctl enable --now watchdog.service