Re: Postgresql and OS cluster

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql and OS cluster
Date: 2004-07-30 15:46:03
Message-ID: 878yd1pkg4.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Nilabhra Banerjee <nil_ban(at)yahoo(dot)co(dot)uk> writes:

> Now do I need to run initdb again... or running postmaster directly (when
> node 2 is up and node 1 is down) can make the database up?

No, a postgres database consists entirely of the files in the data directory.
If the database process is set up properly to read those files either with -D
on startup or the PGDATA environment variable then you're done.

But you do have to be very careful to never have both nodes up at the same
time. If they are I think your database will quickly be corrupted. And both
nodes have to be the same architecture and compiled the same way.

--
greg

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mage 2004-07-30 16:08:33 Re: 7.2 - 7.4.2 production server migration issue
Previous Message Bruno Wolff III 2004-07-30 15:34:11 Re: 7.2 - 7.4.2 production server migration issue