LVS集群

LVS集群技术、系统、安装和使用

1

1

Forums:

求助关于heartbeat v2模式的资源切换问题

使用lvs + heartbeat v2模式 + ldirectord实现负载均衡加高可用性。
master,slave上管理的资源相同,是realserver,ldirectord两个lsb脚本。
realserver功能是启动ipvs,ldirectord是监控多个mysql数据库,当出现数据库出问题的时候及时从lvs中删除。
基本master,slave故障切换都正常。
有个问题,当kill掉master上资源,heartbeat可以正常重启这个资源。
如个重启不了这个资源那么应该切换到slave上,我测试的结果是没有切换到slave机。

Forums:

用keepalived做负载均衡,在测试中出现的关于连接数的问题?

章博士你好,有些问题想请教一下

基于keepalived配置的负载均衡已经可以在应用服务器之间实现调度和热备。

但是在测试中发现的问题:

1.我是用apache自带的ab工具进行测试 VIP:192.168.11.253
192.168.11.63是我用ab工具进行测试的机器
输入:.ab -c 1000 -n 10000 http://192.168.11.253/mains.php

调度服务器上显示如下:
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.11.253:http rr

Forums:

keepalived 中virtual_ipaddress 配置问题

我现在有两台机器想用keepalived来做failover,目的是外部需要通过virtual_ipaddress (公网IP)访问这两台机器上的服务。
它们分别有两张网卡eth0,eth1
eth0连接内网交换机,eth1连接公网交换机

其中keepalived配置如下
vrrp_instance VI_1 {
state BACKUP(另一台为MASTER)
interface eth0
virtual_router_id 51
track_interface {
eth1
}
priority 80 (另一台为100)
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {

Forums:

rhel5上源码编译ipvsadm-1.25遇到问题

在rhel5上源码编译ipvsadm-1.25遇到问题。
已经做好了/usr/src/linux的软连接,同时也尝试下载kernel的2.6.的源码问题一样。
以下是错误信息,请博士协助解决
[root@rs1-test ipvsadm-1.25]# make
make -C libipvs
make[1]: Entering directory `/usr/local/src/ipvsadm-1.25/libipvs'
gcc -Wall -Wunused -Wstrict-prototypes -g -fPIC -DLIBIPVS_USE_NL -DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c
In file included from libipvs.h:13,
from libipvs.c:23:
ip_vs.h:15:29: error: netlink/netlink.h: No such file or directory

Forums:

为什么我的ipvsadm的连接数一直上不去?

IP Virtual Server version 1.2.1 (size=1048576)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 172.27.31.200:23000 wrr
-> 172.27.31.180:23000 Tunnel 1 28 13287
-> 172.27.31.179:23000 Tunnel 1 21 12811

1、在使用ipvsadmin的时候,客户端并发连接达到一定数量的时候(50),就提示连接虚拟ip失败,当并发数越高,这种概率约频繁,是LD的性能瓶颈么?
2、ActiveConn的数目一直上不去是为什么?

Forums:

lvs 安装过程中,ipvsadm出现的错误

[root@localhost src]# rpmbuild -bb redhat/SPECS/ipvsadm.spec

error: Legacy syntax is unsupported: copyright
error: line 7: Unknown tag: Copyright: GNU General Public Licence

请问,这是什么原因??我后来也把Copyright: Licence ,但还是不行?这什么

谢谢,邮箱:gaomeng2003007@163.com

Forums:

请教一个关于DR模式的包转发问题...thx

hi all
在IPVS的DR模式中,整体思想是通过报文的MAC地址来达到转发的目的,对此我有几点不太明白的地方,还希望各位予以赐教、一起讨论 :-)

Forums:

无盘可以建lvs吗?

rt~~
谢谢

Forums:

页面

Subscribe to RSS - LVS集群
randomness