Re: Postgres replication question :- One master 2 slaves 9.0.10 - Mailing list pgsql-general

From Chris Travers
Subject Re: Postgres replication question :- One master 2 slaves 9.0.10
Date
Msg-id CAKt_ZfuwW3EoTOQc5LVGasnbr4_Stt9CT0fY9W1w65RSbE4MFQ@mail.gmail.com
Whole thread Raw
In response to Postgres replication question :- One master 2 slaves 9.0.10  (akp geek <akpgeek@gmail.com>)
Responses Re: Postgres replication question :- One master 2 slaves 9.0.10
List pgsql-general



On Mon, Sep 30, 2013 at 7:14 PM, akp geek <akpgeek@gmail.com> wrote:
Hi all -

        Currently we have set up one master one slave , which working fine.  Now we need to replicate to an other slave.  The problem  we have , the port that we use on primary can not be reached from the new slave.  We can't the change the primary port also, because many applications using it.

          I can't reach out to my primary using the recovery.conf on the new slave.

          Can you suggest how I can handle this? Appreciate your help.

Why can't you reach it?  Is it a firewall?

if so basically you have two options.  The first is you can configure your firewall to allow the connection.  The second is you can tunnel through using another port/service like SSH or IPSec ESP. 

Best Wishes,
Chris Travers

Regards




--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.

pgsql-general by date:

Previous
From: akp geek
Date:
Subject: Postgres replication question :- One master 2 slaves 9.0.10
Next
From: Jayadevan M
Date:
Subject: Re: logging statements in PostgreSQL