![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
2010-12
ccj1985
这个作者很懒,什么都没留下…
展开
-
heartbeat + ipvsadm + ldirectord 实现CentOS5.5上的web负载均衡
最近给公司用heartbeat + ipvsadm + ldirectord做了一个web应用的集群,现在在这里做一下小结!4台服务器:host1.example.com host2.example.com host3.example.com host4.example.com 操作系统均为CentOS 5.5 x86_64, ip 分配如下:host1.example.com 168.168.2.161 eth0host2.example.com 168.168.2.162 eth0host3.原创 2010-12-24 22:41:00 · 1158 阅读 · 0 评论 -
Mysql数据库做多台replication
最近做了研究了一下mysql数据库的replication,做一下小结!4台服务器,操作系统都是是CentOS 5.5Host1:192.168.2.81Host2:192.168.2.82Host3:192.168.2.83Host4:192.168.2.84目的:Host1做master,Host2-4做slave,同步复制Host1的Mysql数据库。1)在Host1-4上面都安装好mysql,帐号root,密码1234562)先配置Host1-4的mysql配置文件 Host1:vi /etc原创 2010-12-31 15:08:00 · 615 阅读 · 0 评论