| From: | Douglas J Hunley <doug(dot)hunley(at)gmail(dot)com> |
|---|---|
| To: | David Guyot <david(dot)guyot(at)europecamions-interactive(dot)com> |
| Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
| Subject: | Re: Hot standby with streaming replication under PgSQL 9.1.x : failover when master crashes? |
| Date: | 2013-04-02 16:51:48 |
| Message-ID: | CALxYTP6ZCEh4_oWuAcuXZFpGks9ONd3qd0YT7GTgk104ohomFg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-sql |
On Tue, Apr 2, 2013 at 10:53 AM, David Guyot <
david(dot)guyot(at)europecamions-interactive(dot)com> wrote:
> Thank you for your answer. I had in mind that this line was for the
> initial start of the standby; should I just comment it before promoting the
> standby, or is this line useless for the day-to-day standby service?
If you're going to do WAL shipping, your 'archive_command' on the master
needs to be copying over to the standby (rsync or whatever). Then the
standby's recovery.conf would be a simple 'cp /path/to/wal-archive' type of
command.
--
Douglas J Hunley (doug(dot)hunley(at)gmail(dot)com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Douglas J Hunley | 2013-04-02 16:54:02 | Re: Hot standby with streaming replication under PgSQL 9.1.x : failover when master crashes? |
| Previous Message | David Guyot | 2013-04-02 14:53:12 | Re: Hot standby with streaming replication under PgSQL 9.1.x : failover when master crashes? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Douglas J Hunley | 2013-04-02 16:54:02 | Re: Hot standby with streaming replication under PgSQL 9.1.x : failover when master crashes? |
| Previous Message | David Guyot | 2013-04-02 14:53:12 | Re: Hot standby with streaming replication under PgSQL 9.1.x : failover when master crashes? |