LVS集群

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

求高手指点 LVS/DR 虚拟ip的 子网 掩码 到底该如何设置 ???

大家 都知道 LVS/DR 模式下 ,负载均衡器(前端无接路由器) 用的都是 公网 IP ,那么 公网IP也有他的 网段 ,因此就有相应的 子网掩码 ,

本人 做 LVS/DR 实验的 时候 ,发现 VIP的子网 掩码 设置 4 个 255 跟 设置成它实际的 网段的掩码都能正常运行 ,所以就感觉到 困惑??

有版主可以指点下吗?到底该如何设置这个VIP的掩码???

谢谢!!!

Forums:

求一份LVS/DR+keepalived配置成功的文档,请发wang.hy8166@gmail.com邮箱,多谢。

求一份LVS/DR+keepalived配置成功的文档,请发wang.hy8166@gmail.com邮箱,多谢。

Forums:

keepalived状态为SYN_RECV链接无法打开?

我参照http://www.keepalived.org/sery-lvs-cluster.pdf文档用2台虚拟机做实验,这2台机器同时也做apache的服务,目的是做apache的高可用负载均衡

主node1:192.168.83.211(安装软件ipvsadm、keepalived及apche)
备node2:192.168.83.212(安装软件ipvsadm、keepalived及apche)
VIP地址:192.168.83.200

我在机器192.168.83.50上用ie8打开VIP地址:192.168.83.200,无法打开,监控输出情况:
[root@node211 ~]# ipvsadm -lcn |grep 83.50
TCP 00:59 SYN_RECV 192.168.83.50:55404 192.168.83.200:80 192.168.83.212:80

Forums:

lvs + ldirectord ActiveConn统计不正确?大侠们,帮帮忙!

lvs + ldirectord ActiveConn统计不正确?大侠们,帮帮忙!

我用redhat as4安装好 lvs ldirectord 之后,使用2台windows 2003作为real server,
rip1=192.168.0.132
rip=192.168.0.144
vip=192.168.0.200

现象1:为什么在测试页面的时候,http://192.168.0.200 总是路由到192.168.0.132这台real server上呢?
现象2:又测试,将192.168.0.132关闭,http://192.168.0.200才能路由到192.168.0.144上面,只要一开启192.168.0.132
路由就总是出现“现象1”。
现象3:就算总是路由到192.168.0.132也就罢了,可为什么

Forums:

lvs keepalived nfs

192.168.1.109 lvs vip
192.168.1.136 rs1 rip nfs-server
192.168.1.137 rs2 rip nfs-server

rs1,rs2#showmount -e
/mnt/ *

lvs#ipvsadm -l
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.1.109:sunrpc lc persistent 86400
-> 192.168.1.137:sunrpc Route 1 0 2
-> 192.168.1.136:sunrpc Route 1 0 1
UDP 192.168.1.109:sunrpc lc persistent 86400

Forums:

麻烦各位高手指点,小弟不胜感激!!!

启动老是报这个错,各位高手能不能帮忙解答一下,小弟不胜感激!!!!!
在此感谢!!

Starting High-Availability services:
2011/03/09_16:27:10 INFO: Running OK
2011/03/09_16:27:10 CRITICAL: Resource 192.168.18.200 is active, and should not be!
2011/03/09_16:27:10 CRITICAL: Non-idle resources can affect data integrity!
2011/03/09_16:27:10 info: If you don't know what this means, then get help!
2011/03/09_16:27:10 info: Read the docs and/or source to /usr/share/heartbeat/ResourceManager for more details.

Forums:

LVS DR问题

最近搭建了一个LVS平台,可是在ipvsadm -L -n时结果:(DR模式)

[root@LVS ~]# ipvsadm -L -n
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 210.13.75.154:80 wrr
-> 10.4.0.8:80 Route 2 11 8074
-> 10.4.0.6:80 Route 2 489 8058

InActConn却居高不下,ActiveConn很少,访问网站非常的慢,有没有同学遇到类似的问题,分享下经验,非常感谢

Forums:

以NS2网路模拟软件实作LVS架构

请问有那位大哥曾经以NS2的网路模拟软件实作过LVS的架构,或是有相关信息可供我参考,感谢!!!!!!

Forums:

想使用红帽的Piranha,安装系统时能够直接装上吗?

想使用红帽的Piranha,安装系统时能够直接装上吗?
需要选择哪些安装选项啊?

Forums:

LVS DR问题

最近才开始做lvs-dr的实验,通过网上的一些例子进行搭建,然后结果却显示的是route weight 1 actigveconn 0 inactconn 0
不知道是怎么回事,希望大家帮忙看下

我的LD是Ubuntu 10.10 两台rs是xp
ld ip:192.168.0.50
vip:192.168.0.100
rip:192.168.0.11
192.168.0.12
ld配置如下:
sudo ifconfig eth0:0 192.168.0.100 netmask 255.255.255.255 broadcast 192.168.0.100
sudo route add -host 192.168.0.100 dev eth0:0
sudo ipvsadm -A -t 192.168.0.100:80 -s rr
sudo ipvsadm -a -t 192.168.0.100:80 -r 192.168.0.11 -g

Forums:

页面

Subscribe to RSS - LVS集群