环境介绍?/p>
双机软件?/p>
heartbeat
监控程序?/p>
MQ,MB,TDS
主机用户名:
root
主机密码?/p>
111111
主机?/p>
IP
虚机公共
IP
存储空间
心跳
IP
主机?/p>
x240slot08
19.200.2.86
19.200.2.88
/sdb
10.10.10.1
备机?/p>
x240slot09
19.200.2.87
10.10.10.2
Hearbeat
安装目录
:/etc/heartbeat
开机启动程序:
heartbeat
?/p>
Check_QM.sh
heartbeat
安装步骤
安装
Cluster
-
Glue
#tar zxf Reusable
-
Cluster
-
Components
-
glue
--
1.0.8.tar.gz
#cd Reusable
-
Cluster
-
Components
-
glue
--
c69dc6ace936
#./autogen.sh
#./configure
--
prefix=/usr/local/heartbeat
--
sysconfdir=/etc/heartbeat
libdir=/usr/local/heartbeat/lib64 LIBS='/lib64/libuuid.so.1'
#make && make install
* 32
位环境需要将配置参数中的
lib64
更改?/p>
lib
*
安装过程中会?/p>
sourceforge
下载一些文件,如果速度慢,需要检查网络是否畅通,
以及
docbook
-
dtds docbook
-
style
-
xsl
两个
rpm
包是否安?/p>
安装
Resource Agents
#tar zxf ClusterLabs
-
resource
-
agents
-
v3.9.2
-
0
-
ge261943.tar.gz
#cd ClusterLabs
-
resource
-
agents
-
b735277
#./autogen.sh
#./configure
--
prefix=/usr/local/heartbeat
--
sysconfdir=/etc/heartbeat
libdir=/usr/local/heartbeat/lib64
CFLAGS=
-
I/usr/local/heartbeat/include
LDFLAGS=
-
L/usr/local/heartbeat/lib64 LIBS='/lib64/libuuid.so.1'
#ln
-
s /usr/local/heartbeat/lib64/* /lib64/
//
建立一个软连接,避免编译时找不到所需要的?/p>
#make && make install