Keepalived + LVS

Manuel Arostegui Ramirez manuel at todo-linux.com
Wed Apr 25 19:22:15 BST 2007


El Miércoles, 25 de Abril de 2007 19:54, Upblogger.com escribió:
> Hello,
>
> I finally configured LVS Direct Routing + keepalived 1.1.23; Kernel
> 2.6.20.7. Config as follows.
>
> Linux Director:
> 	IP: 192.168.1.53
> 	VIP: 192.168.1.54
>
> Real Server 1:
> 	IP 192.168.1.51
>
> Real Server 2:
> 	IP 192.168.1.52
>
> LVS and keepalived are configured in the Linux Director. Do I need to
> install keepalived in one of the other two Real Servers or is it enough
> with one configuration?

No, just install keepalive on the Linux Director.

>
> How does LVS decide to which server the client will connect to? One server
> has a smaller outgoing bandwidth and CPU/RAM.
>
> Thanks!
>

It depends on the scheduling algorithm you use.
You might want to use Weight Round Robin and gives the best machine more 
weight.

-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list