| From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
|---|---|
| To: | John Gateley <gateley(at)jriver(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Fault Tolerant Postgresql (two machines, two postmasters, one disk array) |
| Date: | 2007-05-11 19:18:21 |
| Message-ID: | 20070511191821.GB13650@wolff.to |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Thu, May 10, 2007 at 20:43:20 -0500,
John Gateley <gateley(at)jriver(dot)com> wrote:
> Sorry if this is a FAQ, I did search and couldn't find much.
>
> I need to make my Postgresql installation fault tolerant.
> I was imagining a RAIDed disk array that is accessible from two
> (or multiple) computers, with a postmaster running on each computer.
> (Hardware upgrades could then be done to each computer at different
> times without losing access to the database).
>
> Is this possible?
You can't have two postmasters accessing the same data. Doing so will cause
corruption. You can have a failover system where another postmaster starts
after the normal one has stopped. But you need to be completely sure the
normal postmaster has stopped before starting the backup one.
> Is there another way to do this I should be looking at?
Depending on your needs replication might be useful.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dmitry Koterov | 2007-05-11 19:38:30 | Re: What about SkyTools? |
| Previous Message | Alvaro Herrera | 2007-05-11 19:01:56 | Re: UTF-8 to ASCII |