Re: How can I avoid PGPool as a single point of failure?

From: Chander Ganesan <chander(at)otg-nc(dot)com>
To: "snewman18(at)gmail(dot)com" <snewman18(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How can I avoid PGPool as a single point of failure?
Date: 2008-01-30 02:30:12
Message-ID: 479FE134.7020809@otg-nc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello...

snewman18(at)gmail(dot)com wrote:
>
> I'm interested in using PGPool to do the load balancing, and it was
> suggested that I put one server running PGPool in front of two
> database servers. This only seems to move my risk to the PGPool
> machine.
>
You could use linux hearbeat to allow one Pgpool server to "watch after"
another (and take over in the case of a failure), or you could try to do
something with CARP or some other related balancing scheme. In the CARP
case you would have a single master that would respond to network
requests, and another slave (running pgpool) that would sit idle until
it needed to leap into action to "save the day".
> Is it possible to point two servers running PGPool at the same two
> database servers? If so, I seem to recall reading about being able to
> use some kind of virtual IP address to split the traffic to both.
CARP...I've never tried to use it for such a thing (I've used it for
firewall redundancy in the past..which is what I think it was designed
for), but I'm fairly certain you could do so without too much trouble.

--
Chander Ganesan
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC 27560
Phone: 877-258-8987/919-463-0999
http://www.otg-nc.com
Ask me about our Expert PostgreSQL & PostGIS Training

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Reece Hart 2008-01-30 02:36:02 Re: OT - pg perl DBI question
Previous Message Selena Deckelmann 2008-01-30 01:03:55 Re: PGCon vs Postgresql Conference