Re: [lvs-users] One realserver must connect to services to other realservers (routing problem).

2011-08-26 Thread L.S. Keijser
On Thu, 2011-08-25 at 13:03 +, Markus Hofer wrote: > REALSERVER (A)REALSERVER (B) > (192.168.0.10)(192.168.0.10) You probably made a typo here since they both have the same RIP. Anyway, in LVS-NAT you indeed set the default gateway to the VIP of the director. On a /24

Re: [lvs-users] MySQL Cluster Balancing

2011-08-26 Thread Darren.Mansell
I get that when the DB server is overloaded. It's just that the query times out. Looking at the script to check MySQL in ldirectord, it's very simple and doesn't specify any timeouts etc so I assume will be using Perl DBI defaults. Thing is, if the server is heavily loaded and ldirectord is moving

Re: [lvs-users] One realserver must connect to services to other realservers (routing problem).

2011-08-26 Thread Markus Hofer
Hello Léon, >>/ REALSERVER (A)REALSERVER (B)/ >/> (192.168.0.10)(192.168.0.10)/ Yes i have made a typo. Correct is: Loadbalancer (LVS) (IP 192.168.200.15) ^ | | | |

Re: [lvs-users] One realserver must connect to services to other realservers (routing problem).

2011-08-26 Thread Graeme Fowler
Hi Have a read of this: http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.lvs_clients_on_realservers.html There are several candidate solutions in that document. *cough* One of them is mine :) Graeme ___ Please read the documentation before pos

Re: [lvs-users] One realserver must connect to services to other realservers (routing problem).

2011-08-26 Thread Joseph Mack NA3T
On Fri, 26 Aug 2011, Markus Hofer wrote: > For example: Realserver A must go to meteo.example.com > (192.168.200.15) (VIP: service), which then redirects it > to the realserver B, but i do not receive on realserver A > answer from realserver B. LVS doesn't do this. See http://www.austintek.co

Re: [lvs-users] One realserver must connect to services to other realservers (routing problem).

2011-08-26 Thread Joseph Mack NA3T
On Fri, 26 Aug 2011, L.S. Keijser wrote: > On Thu, 2011-08-25 at 13:03 +, Markus Hofer wrote: > REALSERVER (A)REALSERVER (B) > (192.168.0.10)(192.168.0.10) > You probably made a typo here since they both have the > same RIP. Anyway, in LVS-NAT you indeed set the def

Re: [lvs-users] One realserver must connect to services to other realservers (routing problem).

2011-08-26 Thread L.S. Keijser
On Fri, 2011-08-26 at 12:26 +, Joseph Mack NA3T wrote: > > You probably made a typo here since they both have the > > same RIP. Anyway, in LVS-NAT you indeed set the default > > gateway to the VIP of the director. On a /24 network you > > would set it to 192.168.0.x > > it's safer to set th

Re: [lvs-users] One realserver must connect to services to other realservers (routing problem).

2011-08-26 Thread Markus Hofer
Solution are: 1. Change host entry for services to other realserver. Negative: Problem is if you have a lot of services with different DNS-Names an you have to insert every new services in every realserver (or make a little DNS-Server in the realserver-net), but it isn't nice.