heartbeat安装

  1. wget ftp://mirror.switch.ch/pool/1/mirror/scientificlinux/6rolling/i386/os/Packages/epel-release-6-5.noarch.rpm
  2. rpm -ivUh epel-release-6-5.noarch.rpm
  3. yum --enablerepo=epel install heartbeat -y

但是这样安装完之后,需要修改

更改/usr/lib/ocf/resource.d/heartbeat/.ocf-directories 文件的HA_BIN变量为实际的heartbeat运行的程序才可以。
原文地址:https://www.cnblogs.com/xianqingzh/p/3468380.html