Re: Live steraming replication setup issue!

From: Venkata Balaji N <nag1010(at)gmail(dot)com>
To: Ashish Chauhan <Ashish(dot)Chauhan(at)support(dot)com>
Cc: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Live steraming replication setup issue!
Date: 2016-02-21 10:14:11
Message-ID: CAEyp7J_ajkURnndSkH3fh+H5JKYvn854RvARaEoFNsg_pcQ5+A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 19, 2016 at 6:24 PM, Ashish Chauhan <Ashish(dot)Chauhan(at)support(dot)com>
wrote:

> Below is recovery.conf on slave
>
>
> #---------------------------------------------------------------------------
> # STANDBY SERVER PARAMETERS
>
> #---------------------------------------------------------------------------
> #
> # standby_mode
> #
> # When standby_mode is enabled, the PostgreSQL server will work as a
> # standby. It will continuously wait for the additional XLOG records, using
> # restore_command and/or primary_conninfo.
> #
> standby_mode = 'on'
> #
> # primary_conninfo
> #
> # If set, the PostgreSQL server will try to connect to the primary using
> this
> # connection string and receive XLOG records continuously.
> #
> primary_conninfo = 'host=<master server ip> port=5432'
> #
> #
> # By default, a standby server keeps restoring XLOG records from the
> # primary indefinitely. If you want to stop the standby mode, finish
> recovery
> # and open the system in read/write mode, specify path to a trigger file.
> # The server will poll the trigger file path periodically and start as a
> # primary server when it's found.
> #
> trigger_file = '/data/main/primary.trigger'
>

Can you consider putting recovery_target_timeline='latest' as well ? and
can you help us know if you can see anything weird in the postgresql
logfiles @ DR ?

Is DR in complete sync with the slave ?

Regards,
Venkata B N

Fujitsu Australia

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2016-02-21 12:56:09 Re: JDBC behaviour
Previous Message Peter J. Holzer 2016-02-21 09:03:22 Re: BRIN Usage