[lvs-users] forwarding all ports from VIP to Real Server?

Mark Clarke mark at jumpingbean.co.za
Mon Feb 2 21:09:03 GMT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi all,

I found out the problem. Its the check done via pulse/nanny to
determine if the real server is still alive. Once I replace the http
check with a custom script it all worked.

thanks


On 02/02/2015 20:01, Mark Clarke wrote:
> On 02/02/2015 19:54, Ferenc Wagner wrote:
>> Mark Clarke <mark at jumpingbean.co.za> writes:
> 
>>> I understand that setting port = 0 on the virtual server setup 
>>> and leaving port= out of the real server would result in all 
>>> packets to the VIP being forwarded to the real server?
>>> 
>>> I am using NAT over GRE tunnels as I can't get the tunneling 
>>> option to work at all. If I listen on the tunnel I get no
>>> packets being forwarded by the director. If I specify a port in
>>> the virtual server like "port = 80" then everything works.
> 
>> I never tried it, but from man ipvsadm:
> 
>> A Port of zero is only valid if the service is persistent as the
>>  -p|--persistent option, in which case it is a wild-card port,
>> that is connections will be accepted to any port.
> 
>> Are you OK in that regard?
> 
> Thanks for the reply. Yes, I have persistence setup.
> 
> _______________________________________________ Please read the
> documentation before posting - it's available at: 
> http://www.linuxvirtualserver.org/
> 
> LinuxVirtualServer.org mailing list -
> lvs-users at LinuxVirtualServer.org Send requests to
> lvs-users-request at LinuxVirtualServer.org or go to
> http://lists.graemef.net/mailman/listinfo/lvs-users
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJUz+dvAAoJEM+E/JKBmb2DMLoH/R4Ae2dMbPREZRfXNP12F6Bb
0/4mMPe+d2KwLoZRdzWxNONsSAdngiM4+c0YP9EOtB1qJeBudd2USsqSrSvAvzT0
t58gwlwop0CO7+1ML+X3zdm8To/mg2iMYZHkALWvYp1CWiJgyKX5FC+RTfkraoV6
hMVB0PPNvDDWi4Yf0b5F9t83X2Dhi/VNdCpKCKqXCjlVMcOFOKUu0rHhO1P8J5pe
KKnvjCTweOy6qpIgSjUDS+YJjv+b+nh97Ja3JRhCvDTECbLYQ3Rb7AFLLSi/Ajgj
lDyViqns4dhv62Q1C5qyRCYLWLrFcYWq7lsLXiSmmdS3r7+6yjmSPz3soZx+VOc=
=FYLd
-----END PGP SIGNATURE-----



More information about the lvs-users mailing list