LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] more realserver ports question

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] more realserver ports question
From: Kun Richárd <kun.richard@xxxxxxxxx>
Date: Thu, 26 Nov 2009 10:13:34 +0100
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


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>