heartbeat V2在CentOS4.6上简要安装、配置笔记
(shell行命令用粗体表示)
一、准备工作
1、环境
两台CentOS4.6,各一个网卡,IP地址分别为192.168.0.1和192.168.0.2
uname -n
分别显示node1和node2
cat /etc/hosts
均显示
127.0.0.1 localhost.localdomain localhost
192.168.0.1 node1
192.168.0.2 node2
...
这几天学习了一下heartbeat的资料,想参照 Two Apache Web Servers in an Active/Active Configuration
做个Two Nginx Web Services in Active/Active HA。研究发现,heartbeat所管理的资源代理(Resource Agent),有OCF、LSB等几种
。LSB这种shell脚本我还能依葫芦画瓢的写一点,参考linux系统中的原有脚本和网上资料,写了一个很简单的:
#!/bin/bash
#
# nginx: Control th ...
- 15:42
- 浏览 (134)
- 评论 (0)
- 浏览: 1679 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
SNA方案之session store ...
我的解决方案: 1、MemcachedServer 使用类似 RIAD的 0+1 ...
-- by tangchao -
SNA方案之session store ...
robbin 写道sorphi 写道 使用mysql memory table, ...
-- by sorphi -
SNA方案之session store ...
neptune 写道我也有个方案,不知行不行(程序已实现,就是还没有实际用过) ...
-- by robbin -
SNA方案之session store ...
sorphi 写道 使用mysql memory table,我需要在存放ite ...
-- by robbin -
SNA方案之session store ...
我也有个方案,不知行不行(程序已实现,就是还没有实际用过)memcached部分 ...
-- by neptune






评论排行榜