I believe I may not have explained myself quite clearly, so I will
attempt to explain this better.
Our current configuration is configured using ldirectord. The active
node hosts all the virtual servers. Each virtual server will have an
active real server, and a backup real server. All the traffic will be
directed to the active real server, unless that server becomes
unreachable, at which point all traffic will be directed to the backup
server.
I am however only able to get piranha/lvs to do load sharing. In this
case as long as both servers are set to UP, then traffic will be
balanced between all servers (determined by load balancing scheme and
weighting.) What I am attempting to do is create a virtual server in
LVS, which has two active REAL servers, however direct traffic only to
one of them, unless otherwise directed or if the active member fail,
then direct traffic to the backup.
I hope this is a little clearer
Regards
- Sean
-----Original Message-----
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Sebastian
Vieira
Sent: Wednesday, 4 March 2009 4:11 PM
To: LinuxVirtualServer.org users mailing list.
Subject: Re: [lvs-users] Real and Fallback in Piranha
On Wed, Mar 4, 2009 at 1:00 AM, Sean Drill
<sean.drill@xxxxxxxxxxxxxxxxxxxx>wrote:
> I have been able to replicate the active/standby for the servers, but
> cannot see how I can do active/standby with the virtual servers. I
> attempted to set one of the real servers to a priority of 0 and the
> other priority 1 whilst using WRR as the load balancing method.
> Strangely I still continued to see connections directed to the server
> with the priority of 0, which runs in direct contradiction to how I
> understanding the priority system works (I understood priority 0 means
> accept no new connections)
Take a look at
http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.persistent_connec
tion.html#new_persistence
It's probably what you're looking for.
Sebastian
_______________________________________________
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
_______________________________________________
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
|