以下針對CentOS6.5,配好repo源後,使用yum install可以很容易的安裝軟體。
1. CentOS
CentOS 6.5自帶的repo或CentOS 6.5安裝DVD(CentOS-6.5-x86_64-bin-DVD1.iso)
包含軟體及版本:
pacemaker-1.1.10-14
resource-agents-3.9.2
cluster-glue-1.0.5-6
corosync-1.4.1-17
注:resource-agents比較舊,如果搭建pgsql 9.x的流複制HA,還是要用需要最新的pgsql RA。
2. epel
heartbeat-3.0.4-2.el6
3. network_ha-clustering_Stable
cp network:ha-clustering:Stable.repo /etc/yum.repos.d/
pacemaker-1.1.9-2.7
resource-agents-3.9.5-3.7
cluster-glue-1.0.12-0.rc1.6.3
corosync-1.4.5-2.4
crmsh-2.0+git46-1.1
注)這個版本的pacemaker編譯沒有包含cman的支援(通過pacemakerd -F可以看出來),如果需要cman得用前面的pacemaker-1.1.10-14。
參考
<a href="http://crmsh.nongnu.org/">http://crmsh.nongnu.org/</a>
<a href="http://www.linux-ha.org/wiki/Heartbeat">http://www.linux-ha.org/wiki/Heartbeat</a>
<a href="http://www.linux-ha.org/wiki/Pacemaker">http://www.linux-ha.org/wiki/Pacemaker</a>
<a href="http://fedoraproject.org/wiki/EPEL">http://fedoraproject.org/wiki/EPEL</a>
<a href="http://corosync.github.io/corosync/">http://corosync.github.io/corosync/</a>