serial_no = 14
primary = 192.168.22.0.100电影
service = lvs
b.ackup = 0.0.0.0 汽车
heartbeat = 1
heartbeat_port = 5.39<性病>
keepalive = 6
deadtime = 18
network = d.irect 电子
d.ebug_level = NONE 美容
virtual serv.er {.
. active = 1.
address .= 192.168.220.2 eth0.:1--------------彩票
vip_..nmask = 255.255.255.255
port = 80
s.end = "G.ET / HTTP/1.0\r\n\r\n".
expect .= "HTTP"( 游戏 )
. use_regex = 0 电子
l.oad_monitor = none( 游戏 )
schedul.er = wlc.
protocol = tc.p 乙肝
timeo.ut = 6.
reentry = 15. 汽车
. quiesce_server = 0--- 印刷
serve.r cos22 {电脑
address = 192..168..220.3 健康
active .= 1.
w.eight = 1服务器
}
serv.er cox33 {<性病>
address = 1.92.168.2.20.4.
. active = 1 电子
. weight = 1学习
}
}
IP Virtual Se.rver version 1.2.1. (size=4096)--- 印刷
Prot LocalAdd.ressort Sc.heduler Flags--------------彩票
-> R.emot.eAddressort Forward Weight ActiveConn InActConn 乙肝
T.CP 192.168..220.2:http wlc服务器
-> 192.168.220.4:http Route 1 0 0 .. .
-> 192.168.22.0.3:htt.p Route 1 0 0 ( 游戏 )
Oct 6 21:35:00 cox1 nanny[28506]: startin.g LVS cl.i.ent monitor for 192.168.220.2:80.
Oct 6 21:.35:00 cox1 lvs[284.96]: create_monitor for serve.r/cox33 running as pid 28506投资
Oct 6 21:35:00 c.ox1 nanny[28506]: making 192.168.220.4:80 av.ailable.
Oct 6 21:35:00 cox1 nanny[28505]: making 19.2.168.220.3:8.0 available 健康
Oct 6 21:35:06 cox1 puls.e[28498]: gratuitous lv.s arps finished健康
Oct 6 21:37:09 cox1 nanny[28506]: making 1.92.168.220.4:80 availab.le 乙肝
但是每次访问..http;//192.168.220.2 就是访问不到3和3的主机.
P. Virtual. Server version 1.2.1 (size=4096) 汽车
Prot LocalAddress.or.t Scheduler Flags虚拟主机
-> RemoteA.ddressort Forward Weight ActiveConn I.nActConn电影
T.CP 192.168.220.2:80 wlc(广告)
-> 1.92.1.68.220.4:80 Route 1 0 0.
-> 1.92.168.220.3:80 Route 1. 0 0.
CURRENT LVS PRO.CESSES.
r.oot. 28469 0.0 0.0 1864 440 ? Ss 21:34 0:00 pulse(广告)
root 28496 0.0 0.0 1848 624 ? Ss 21:35 .0:00 /usr/sbin/lvsd --nofork -c /et..c/sysconfig/ha/lvs.cf.
ro.ot 28505 0.0 0.0 1832 672 ? Ss 21:35 0:00 /usr/sbi.n/nanny -c -h 192.168.220.3 -p 80 -s GET / H.TTP/1.0\r\n\r\n -x HTTP -a 15 -I /sbin/ipvsadm -t 6 -w 1 .-V 192.168.220.2 -M g -.U none --lvs健康
root 28506 0.0 0.0 1832 676 ? Ss. 21:35 0:00 /usr/sbin/nanny -c -h 192.168.220.4 -p 80 -s G.ET / HTT..P/1.0\r\n\r\n -x HTTP -a 15 -I /sbin/ipvs.adm -t 6 -w 1 -V 192.168.220.2 -M g -U none --lvs 婚庆
在 调度器上route add. -host .192.168.220.2 dev eth0:1服务器
虚拟己上是ro.ute add -host 192.168.220..2 dev lo:0服务器
arp也已经禁用了