9.6.4.2. Configuring a Watchdog

Summary

To activate a watchdog card attached to a virtual machine, you must install the watchdog package on that virtual machine and start the watchdog service.

Procedure 9.7. Configuring a Watchdog

  1. Log on to the virtual machine on which the watchdog card is attached.
  2. Run the following command to install the watchdog package and dependencies:
    # yum install watchdog
  3. Edit the /etc/watchdog.conf file and uncomment the following line:
    watchdog-device = /dev/watchdog
  4. Save the changes.
  5. Run the following commands to start the watchdog service and ensure this service starts on boot:
    # service watchdog start
    # chkconfig watchdog on
Result

You have configured the watchdog service on a virtual machine.