centos6.5下heartbeat安装

centos6.5下heartbeat安装

ID:8807423

大小:31.34 KB

页数:6页

时间:2018-04-08

centos6.5下heartbeat安装_第1页
centos6.5下heartbeat安装_第2页
centos6.5下heartbeat安装_第3页
centos6.5下heartbeat安装_第4页
centos6.5下heartbeat安装_第5页
资源描述:

《centos6.5下heartbeat安装》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库

1、CentOS6.5下可以复制粘贴的glue+Cluster-Resource-Agent+Heartbeat+Pacemaker+Pacemaker-Python-GUI安装手册准备环境:ip环境:192.168.0.150node1      192.168.0.151node2      10.1.1.1priv1      10.1.1.2priv2添加用户:groupadd haclientuseradd -g haclient hacluster环境变量:exportPREFIX=/u

2、sr/local/haexportLCRSODIR=$PREFIX/libexec/lcrsoexportCLUSTER_USER=haclusterexportCLUSTER_GROUP=haclientexportCFLAGS="$CFLAGS-I$PREFIX/include-L$PREFIX/lib"getent group${CLUSTER_GROUP}>/dev/null

3、

4、 groupadd -r${CLUSTER_GROUP}getent passwd ${CLUSTER_USE

5、R}>/dev/null

6、

7、 useradd -r-g${CLUSTER_GROUP}-d/var/lib/heartbeat/cores/hacluster -s/sbin/nologin -c"clusteruser"${CLUSTER_USER}source.bash_profile 生效才能下一步一定要能上网编译的时候安装软件1、安装glue(中间层)# wgethttp://hg.linux-ha.org/glue/archive/glue-1.0.7.tar.bz2 #yuminst

8、allautoconf automake libtool  glib2-devel bzip2-develglib2-devel libxml2libxml2-devel docbook-style-xsl libtool-ltdl-devel -y#tarxvfglue-1.0.7.tar.bz2 #cdReusable-Cluster-Components-glue--glue-1.0.7/#./autogen.sh#./configure--prefix=$PREFIX--with-dae

9、mon-user=${CLUSTER_USER}--with-daemon-group=${CLUSTER_GROUP}--enable-fatal-warnings=no  LIBS='/lib/libuuid.so.1' (64位lib64)#make #yuminstallgcc-c++-y#makeinstallhttp://www.07net01.com/storage_networking/jiqun_zhi_LVS___Heartbeat_576281_1378400829.htm

10、lhttp://www.linuxidc.com/Linux/2012-11/73620.htm  解决安装问题2、安装resourceagent(本地资源管理,执行本地命令)#tarxvfCluster-Resource-Agents-5ae70412eec8.tar.bz2 #cdCluster-Resource-Agents-5ae70412eec8# ./autogen.sh # ./configure--prefix=$PREFIX--enable-fatal-warnings=no 

11、LIBS='/lib/libuuid.so.1' (64位lib64)#make #ln-s/usr/local/ha/lib/libplumb.so.2/lib/libplumb.so.2 #  ldconfig(更新库)#makeclean#make#makeinstall3、安装heartbeat(集群通信)# ./bootstrap#./configure--prefix=$PREFIX--enable-fatal-warnings=no LIBS='/lib/libuuid.so.1'

12、 #make#vilib/plugins/HBcomm/ucast.c 删除#makeclean#makemakeinstall4、安装pacemark(迁移资源管理)#tarxvfPacemaker-1-0-c3869c00c759.tar.bz2 #cdPacemaker-1-0-c3869c00c759# ./autogen.sh#./configure--prefix=$PREFIX--with-lcrso-dir=$LCRSODIR--enable-fatal-warnings=noL

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。