Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

4.5.2. 安装 Watchdog

要激活附加到虚拟机的 watchdog 卡,您必须在该虚拟机上安装 watchdog 软件包并启动 watchdog 服务。

过程 4.10. 安装 Watchdogs

  1. 登录到附加了 watchdog 卡的虚拟机。
  2. 安装 watchdog 软件包和依赖项:
    # yum install watchdog
  3. 编辑 /etc/watchdog.conf 文件并取消注释以下行:
    watchdog-device = /dev/watchdog
  4. 保存更改。
  5. 启动 watchdog 服务并确保在引导时启动该服务:
    • Red Hat Enterprise Linux 6:
      # service watchdog start
      # chkconfig watchdog on
    • Red Hat Enterprise Linux 7:
      # systemctl start watchdog.service
      # systemctl enable watchdog.service