[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [GENERAL] Postgresql and OS cluster
From:       Greg Stark <gsstark () mit ! edu>
Date:       2004-07-30 15:46:03
Message-ID: 878yd1pkg4.fsf () stark ! xeocode ! com
[Download RAW message or body]


Nilabhra Banerjee <nil_ban@yahoo.co.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


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic