Failover, Wal Logging, and Multiple Spares - Mailing list pgsql-general

From Bryan Murphy
Subject Failover, Wal Logging, and Multiple Spares
Date
Msg-id 7fd310d10908161935w465c882ctd72e6115bc19e860@mail.gmail.com
Whole thread Raw
Responses Re: Failover, Wal Logging, and Multiple Spares
List pgsql-general
Assuming we are running a Postgres instance that is shipping log files to 2 or more warm spares, is there a way I can fail over to one of the spares, and have the second spare start receiving updates from the new master without missing a beat?  I can live with losing the old master, and at least at the moment it would be a controlled failover, but I would like to to know if it's possible during an uncontrolled failover as well (catastrophic hardware failure).

Right now, we have just that setup, but every time I've failed over to the new master, we've had to rebuild our spares from scratch and unfortunately this is a multi-hour long process.  We can't afford the risk of not having a warm spare for that length of time.  We're planning to move entirely to a slony cluster, but I'd like to fail over to a more powerful machine before we begin the slony migration as the current server is already overloaded.

Thanks,
Bryan

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: Generating random unique alphanumeric IDs
Next
From: Kalai R
Date:
Subject: Database Security