WAL archiving to 2 standby servers

From: John Scalia <jayknowsunix(at)gmail(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: WAL archiving to 2 standby servers
Date: 2014-07-02 17:28:49
Message-ID: 53B44151.4030200@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi all,

I'm wondering as I've never seen anyone doing this if I can/should setup WAL archiving from the primary server to 2 different standby servers. These machines are configured to be
streaming replication and I've got the archive command on the primary doing an scp to both standbys, but for some reason the second one isn't getting anything. What the
archive_command looks like is "scp %p user(at)standby1:/<dir>/%f; scp %p user(at)standby2:<dir>/%f". That's not wokring correctly, but I'm wondering if it's even necessary for the 2nd
standby?

Just askin',
Jay

PS. There are two standby's to deal with the problem of synchronous_commit and the failure of one of the standby's.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jerry Sievers 2014-07-02 18:30:59 Re: WAL archiving to 2 standby servers
Previous Message Luis Marin 2014-07-02 16:03:21 PostgreSql 9.3 High Availability Best Practices