Re: DR and local forwarding method
Carlos R Laguna <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Organization | JCCE |
| Message-ID | <[email protected]> |
El 01/08/14 a las #4, kay escribió:
> Dear Carlos,
>
> As I understood, you should use 127.0.0.1 real server to enable local
> forwarding.
>
> virtual_server 172.17.1.13 25 {
> delay_loop 15
> lb_algo rr
> lb_kind DR
> persistence_timeout 50
> protocol TCP
>
> real_server 127.0.0.1 25 {
> }
> }
>
> Regards
>
>
> On Fri, Aug 1, 2014 at 10:18 PM, Carlos R Laguna <[email protected]
> <mailto:[email protected]>> wrote:
>
> El 31/07/14 a las #4, Carlos R Laguna escribió:
>> 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: From LVS-Userlist
>>
>> 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:
>>
>> virtual_server 172.17.1.13 25 {
>> delay_loop 15
>> lb_algo rr
>> lb_kind DR
>> persistence_timeout 50
>> protocol TCP
>>
>> can anyone point me in the right direction ? Thank in advance
>> for your time and effort. Regards
>> ________________________________________________________________
>> XII Edicion del Evento Nacional de Informatica para Jovenes.
>> INFOCLUB.
>> Abril. 2015. Ver www.jovenclub.cu <http://www.jovenclub.cu>
>> ________________________________________________________________
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>
>>
>> _______________________________________________
>> Keepalived-devel mailing list
>> [email protected] <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
> knock knock... anyone? Regards
>
>
> ________________________________________________________________
> XII Edicion del Evento Nacional de Informatica para Jovenes.
> INFOCLUB. Abril. 2015. Ver www.jovenclub.cu
> <http://www.jovenclub.cu>
> ________________________________________________________________
>
> --
> Este mensaje ha sido analizado por *MailScanner*
> <http://www.mailscanner.info/>
> en busca de virus y otros contenidos peligrosos,
> y se considera que está limpio.
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise?
> Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Keepalived-devel mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>
>
>
> --
> Este mensaje ha sido analizado por *MailScanner*
> <http://www.mailscanner.info/>
> en busca de virus y otros contenidos peligrosos,
> y se considera que está limpio.
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
>
>
> _______________________________________________
> Keepalived-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
HI, thank for you answer, as you said it actually put local in ipvsam
-Ln when is set to 127.0.0.1 but for some reason is also show the
realserver ip address even if is not set in the configuration and as
like before the packges are not been forwarded to the server, therefor
no connection is established. Any ideas, thank for your time and
patience.Regards
ipvsadm -Ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 172.17.1.13:25 rr
-> 127.0.0.1:25 Local 1 0 0
-> 172.17.1.15:25 Route 1 0 0
-> 172.17.1.16:25 Route 1 0 2
________________________________________________________________
XII Edicion del Evento Nacional de Informatica para Jovenes. INFOCLUB.
Abril. 2015. Ver www.jovenclub.cu
________________________________________________________________
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel