From: Prashanth Reddy [mailto:prash4783@gmail.com] Sent: Tuesday, July 18, 2017 8:36 AM To: Maddali, Srinivas <Srinivas.Maddali@nuance.com>; Ashish Tiwari <tashish786@gmail.com> Cc: pgsql-admin@postgresql.org; pgus-general@postgresql.org; pgsql-sql@postgresql.org; pgsql-in-general@postgresql.org; pgsql-novice@postgresql.org Subject: Re: [EXTERNAL] Re: [pgus-general] Steps to place standby database in read write
Hi Srinivas, Thanks for reaching out to me. We are not in the process of setting up the hot-standby. we are in the process of testing the DR databases, so we want to place the standby database out of sync from PROD by disabling the replication on DR site , place the DR database in read-write mode for testing purpose, once the application testing is done, we would like to place the DR database back in sync with PROD.
NOTE: For Hot-standby we are using rsync method.
another question on postgres database logs: Is there any other location for the log files apart from "/var/log/postgresql" location?
On Mon, Jul 17, 2017 at 8:27 PM, Prashanth Reddy <prash4783@gmail.com> wrote:
Hi,
Can you please provide me the steps as how to stop the replication and open the standby database for read write and put the standby database back in sync with production.