Multimaster Replication Behind a Load Balancer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



piranha = LVS I do believe- maybe some management scripts are different.
I have been using LVS for 5 years now. It works great!

(Help me understand... I am not an iptables guru but I have done some to
get done what I needed to)

your statements:
-A PREROUTING -d <VIP> -p tcp -m tcp --dport 389 -j REDIRECT
-A PREROUTING -d <VIP> -p tcp -m tcp --dport 636 -j REDIRECT

Does this mean?
-you are assigning an 2 IPs to your LDAP servers, one for loadbalancing
and one for LDAP server
-any traffic to the VIP is redirected to the IP that you have told LDAP
server to use

Correct?




On Mon, 2006-12-04 at 14:03 -0600, Stephen C. Rigler wrote:
> Dave,
> 
> We're still in the early stages of looking at doing this, but we're
> using Piranha doing direct-routing as a load balancer.
> 
> On the real servers, we have iptables rules that look like this:
> 
> -A PREROUTING -d <VIP> -p tcp -m tcp --dport 389 -j REDIRECT
> -A PREROUTING -d <VIP> -p tcp -m tcp --dport 636 -j REDIRECT
> 
> It also becomes necessary to set nsslapd-idletimout so that you don't
> end up with tons of idle connections.
> 
> -Steve
> 
> On Mon, 2006-12-04 at 13:50 -0600, Dave Augustus wrote:
> > Hello All.
> > 
> > I want to have 2 hosts that are setup to do multimaster between
> > themselves. Because my application on allows for a single server entry,
> > I want to put both of these behind Linux Virtual Server director, which
> > is a load-balancer that I use for other services currently. With this
> > configuration, I can have either LDAP server go down and my application
> > won't break.
> > 
> > The load balancer requires that I tell the LDAP servers to not respond
> > to arp requests so that the load balancer can. So how can the LDAP
> > servers communicate with each other for updates ? I looked for some
> > information on how to make the LDAP servers use more than one IP for
> > LDAP but could find no answer.
> > 
> > Thanks for your time,
> > Dave
> > 
> > --
> > Fedora-directory-users mailing list
> > Fedora-directory-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux