标签:
查看系统的heartbeat:
yum list|grep heartbeat
[root@master ~]# yum list|grep heartbeat
heartbeat.x86_64 3.0.4-2.el6 epel
heartbeat-devel.i686 3.0.4-2.el6 epel
heartbeat-devel.x86_64 3.0.4-2.el6 epel
heartbeat-libs.i686 3.0.4-2.el6 epel
heartbeat-libs.x86_64 3.0.4-2.el6 epel
若没有heartbeat包,则安装扩展源epel
64位下载地址:wget www.lishiming.net/data/attachment/forum/epel-release-6-8_64.noarch.rpm
Rpm -ivh epel-release-6-8_64.noarch.rpm
安装heartbeat(运行heartbeat,需要安装libnet)
yum install -y heartbeat libnet
scp authkeys ha.cf haresources slave5:/etc/ha.d/
报错:
bash: scp: command not found
解决方案:
安装openssh-clients
yum install openssh-clients
标签:
原文地址:http://www.cnblogs.com/gongfuxiaomaintuan/p/5641515.html