LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] DR and local forwarding method

To: Carlos R Laguna <carlosr@xxxxxxxxxxxx>
Subject: Re: [lvs-users] DR and local forwarding method
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Fri, 1 Aug 2014 22:24:04 +0300 (EEST)
        Hello,

On Thu, 31 Jul 2014, Carlos R Laguna wrote:

> Hello to every one, after three day of struggle setting up a loadbalancer with
> keepalived using realserver i notice searching in the web about that local
> forwarding method is not used as default now:
> 
> Archive List 13/12/2013
> 
> ...." Now LOCALNODE is not set explicitly as forwarding
>     method in real server to allow the connections to provide
>     correct forwarding method to the backup server. Not sure if
>     this breaks tools that expect to see 'Local' real server type.
>     If needed, this can be supported with new flag IP_VS_DEST_F_LOCAL...."
> 
> Ok so it said that still can be achieved using  IP_VS_DEST_F_LOCAL , now since
> i am new to this i have no idea how translate IP_VS_DEST_F_LOCAL to a
> keepalived config:

        This flag is not implemented because nobody
expressed such need. Now all methods support localnode
feature, it is checked per-packet, not on configuration
time.

> virtual_server 172.17.1.13 25 {
>   delay_loop 15
>   lb_algo rr
>   lb_kind DR
>   persistence_timeout 50
>   protocol TCP
> 
> can anyone pointme in the right direction ? Thank  in advance for your time
> and effort. Regards

        There was discussion on such topic:

http://marc.info/?t=138693668400001&r=1&w=2

        What happens if you try with DR? NAT can be
required if real server does not listen on VIP:VPORT.

Regards

--
Julian Anastasov <ja@xxxxxx>

_______________________________________________
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>