[lvs-users] more realserver ports question
Kun Richárd
kun.richard at kirzen.hu
Thu Nov 26 09:13:34 GMT 2009
Hi,
I tried to set up two virtualservers, with two realservers each, all service
runs locally:
virtual = 10.0.2.5:80
real = 10.0.2.10:80 gate 10
real = 10.0.2.11:80 gate 10
and
virtual = 10.0.2.6:80
real = 10.0.2.10:8080 gate 10
real = 10.0.2.11:8080 gate 10
If I started the heartbeat, the ipvsadm list seem's like this:
TCP 10.0.2.6:80 rr
-> 10.0.2.10:80 Local 0 0 0
-> 10.0.2.11:80 Route 0 0 0
TCP 10.0.2.5:80 rr
-> 10.0.2.10:80 Local 10 0 0
-> 10.0.2.11:80 Route 10 0 0
The ldirectord.log shows only this:
[Thu Nov 26 12:03:47 2009|ldirectord.cf|9006] system(/sbin/ipvsadm -a -t
10.0.2.6:80 -r 10.0.2.10:8080 -g -w 10) failed:
I think ldirectord can't setting up the realserver with the port 8080, but
why? I tried different ports instead of 8080, but the result is the same.
I need to use iptables to fowarding packets, or other any idea?
Thanks:
--
Üdv,
Ricsi
More information about the lvs-users
mailing list