On Mon, Dec 28, 2009 at 12:37:50PM +0100, Tomasz Chmielewski wrote:
> I have two real servers behind a balancer.
>
> I would like the balancer to forward all requests to the first real
> server only.
> Requests to the second balancer should go only if the first real server
> has failed.
>
> I thought of assigning them different weights (i.e. the first server
> would get a weight of 999999999; the second server would get a weight of
> 1 - but still, it will make one request go to the wrong real server
> every now and then).
>
> Is it possible to set up the balancer so that it sends request to one
> real server as failover _only_?
At this time this can't be done by LVS directly, but rather by
a higher level tool such as ldirectord or keepalived. Such tools
have run health checks and manipulate the LVS settings accordingly.
_______________________________________________
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
|