HA安装配置
Posted 功夫小面团
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HA安装配置相关的知识,希望对你有一定的参考价值。
查看系统的heartbeat:
yum list|grep heartbeat
[[email protected] ~]# 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
以上是关于HA安装配置的主要内容,如果未能解决你的问题,请参考以下文章