Lists: | pgsql-adminPostg윈 토토SQL : Postg윈pgsql-novicepgsql-sqlpgus-general |
---|
From: | Prashanth Reddy <prash4783(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Steps to place standby database in read write |
Date: | 2017-07-18 01:27:22 |
Message-ID: | CANN5QLbdhn9e66riKBWbONSL=oFYUdF195pJHifoNkSUhQWu4Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-in-general pgsql-novice Postg윈 토토SQL : Postg윈 토토SQL 메일 링리스트 : 2017-07-18 이후 PGSQL-SQL 01:27 pgus-general |
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.
--
Sent from Gmail Mobile
From: | Prashanth Reddy <prash4783(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org, pgus-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org, pgsql-in-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Steps to place standby database in read write |
Date: | 2017-07-18 14:58:12 |
Message-ID: | CANN5QLYRUtFTdV3B3BZ+JCUm98MnvTvcCiftyZx3RaAA_=Nexg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin Postg윈 토토SQL : Postg윈 pgsql-novice pgsql-sql pgus-general |
Help anyone!?
Regards,
Prashanth
9989819107
On Mon, Jul 17, 2017 at 8:27 PM, Prashanth Reddy <prash4783(at)gmail(dot)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.
> --
> Sent from Gmail Mobile
>
From: | "Maddali, Srinivas" <Srinivas(dot)Maddali(at)nuance(dot)com> |
---|---|
To: | Prashanth Reddy <prash4783(at)gmail(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, "pgus-general(at)postgresql(dot)org" <pgus-general(at)postgresql(dot)org>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>, "pgsql-in-general(at)postgresql(dot)org" <pgsql-in-general(at)postgresql(dot)org>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: [EXTERNAL] Re: [pgus-general] Steps to place standby database in read write |
Date: | 2017-07-18 15:01:10 |
Message-ID: | MWHPR05MB3614E0C58845A51C7CCE2130EAA10@MWHPR05MB3614.namprd05.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-in-general pgsql-novice Postg토토 결과SQL : Postg토토 결과SQL 메일 링리스트 : 2017-07-18 이후 PGSQL-SQL 15:01 pgus-general |
Please read the tutorials
https://cloud.google.com/community/tutorials/setting-up-postgres-hot-standby
From: pgus-general-owner(at)postgresql(dot)org [mailto:pgus-general-owner(at)postgresql(dot)org] On Behalf Of Prashanth Reddy
Sent: Tuesday, July 18, 2017 7:58 AM
To: pgsql-admin(at)postgresql(dot)org; pgus-general(at)postgresql(dot)org; pgsql-sql(at)postgresql(dot)org; pgsql-in-general(at)postgresql(dot)org; pgsql-novice(at)postgresql(dot)org
Subject: [EXTERNAL] Re: [pgus-general] Steps to place standby database in read write
Help anyone!?
Regards,
Prashanth
9989819107
On Mon, Jul 17, 2017 at 8:27 PM, Prashanth Reddy <prash4783(at)gmail(dot)com<mailto:prash4783(at)gmail(dot)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.
--
Sent from Gmail Mobile
From: | Ashish Tiwari <tashish786(at)gmail(dot)com> |
---|---|
To: | Prashanth Reddy <prash4783(at)gmail(dot)com> |
Cc: | pgsql-admin <pgsql-admin(at)postgresql(dot)org>, pgsql-novice(at)postgresql(dot)org, pgus-general(at)postgresql(dot)org, pgsql-in-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [ADMIN] Steps to place standby database in read write |
Date: | 2017-07-18 15:02:01 |
Message-ID: | CAH8UkmHh=ys-9uOAVWQBZXKevJ1vpV-38SdhdCO8D51wwh9+fQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-in-general pgsql-novice pgsql-sql pgus-general |
Hi Prashant,
I will forward you document in sometime.
Thanks.
On Jul 18, 2017 8:28 PM, "Prashanth Reddy" <prash4783(at)gmail(dot)com> wrote:
> Help anyone!?
>
> Regards,
> Prashanth
> 9989819107
>
> On Mon, Jul 17, 2017 at 8:27 PM, Prashanth Reddy <prash4783(at)gmail(dot)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.
>> --
>> Sent from Gmail Mobile
>>
>
>
From: | Prashanth Reddy <prash4783(at)gmail(dot)com> |
---|---|
To: | "Maddali, Srinivas" <Srinivas(dot)Maddali(at)nuance(dot)com>, Ashish Tiwari <tashish786(at)gmail(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, "pgus-general(at)postgresql(dot)org" <pgus-general(at)postgresql(dot)org>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>, "pgsql-in-general(at)postgresql(dot)org" <pgsql-in-general(at)postgresql(dot)org>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: [EXTERNAL] Re: [pgus-general] Steps to place standby database in read write |
Date: | 2017-07-18 15:35:53 |
Message-ID: | CANN5QLbL1kMbHOei3p+b8w-19sZM23DATwA+LuMKAgRe7Z42gg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-in-general pgsql-novice pgsql-sql pgus-general |
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?
Regards,
Prashanth
9989819107
On Tue, Jul 18, 2017 at 10:01 AM, Maddali, Srinivas <
Srinivas(dot)Maddali(at)nuance(dot)com> wrote:
> Please read the tutorials
>
>
>
> https://cloud.google.com/community/tutorials/setting-
> up-postgres-hot-standby
>
>
>
>
>
> *From:* pgus-general-owner(at)postgresql(dot)org [mailto:pgus-general-owner@
> postgresql.org] *On Behalf Of *Prashanth Reddy
> *Sent:* Tuesday, July 18, 2017 7:58 AM
> *To:* pgsql-admin(at)postgresql(dot)org; pgus-general(at)postgresql(dot)org;
> pgsql-sql(at)postgresql(dot)org; pgsql-in-general(at)postgresql(dot)org;
> pgsql-novice(at)postgresql(dot)org
> *Subject:* [EXTERNAL] Re: [pgus-general] Steps to place standby database
> in read write
>
>
>
> Help anyone!?
>
>
> Regards,
>
> Prashanth
> 9989819107
>
>
>
> On Mon, Jul 17, 2017 at 8:27 PM, Prashanth Reddy <prash4783(at)gmail(dot)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.
>
> --
>
> Sent from Gmail Mobile
>
>
>
From: | "Maddali, Srinivas" <Srinivas(dot)Maddali(at)nuance(dot)com> |
---|---|
To: | Prashanth Reddy <prash4783(at)gmail(dot)com>, Ashish Tiwari <tashish786(at)gmail(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, "pgus-general(at)postgresql(dot)org" <pgus-general(at)postgresql(dot)org>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>, "pgsql-in-general(at)postgresql(dot)org" <pgsql-in-general(at)postgresql(dot)org>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: [EXTERNAL] Re: [pgus-general] Steps to place standby database in read write |
Date: | 2017-07-18 15:59:23 |
Message-ID: | MWHPR05MB3614318440F8FD37EAA8C954EAA10@MWHPR05MB3614.namprd05.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin pgsql-in-general pgsql-novice pgsql-sql PostgreSQL : |
Then after the maintenance, recv or fsync makes transaction commit wait for XLOG to be received or fsync-ed by the stand by database.
Further read
https://wiki.postgresql.org/wiki/Streaming_Replication#Synchronization_capability
From: Prashanth Reddy [mailto:prash4783(at)gmail(dot)com]
Sent: Tuesday, July 18, 2017 8:36 AM
To: Maddali, Srinivas <Srinivas(dot)Maddali(at)nuance(dot)com>; Ashish Tiwari <tashish786(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org; pgus-general(at)postgresql(dot)org; pgsql-sql(at)postgresql(dot)org; pgsql-in-general(at)postgresql(dot)org; pgsql-novice(at)postgresql(dot)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?
Regards,
Prashanth
9989819107
On Tue, Jul 18, 2017 at 10:01 AM, Maddali, Srinivas <Srinivas(dot)Maddali(at)nuance(dot)com<mailto:Srinivas(dot)Maddali(at)nuance(dot)com>> wrote:
Please read the tutorials
https://cloud.google.com/community/tutorials/setting-up-postgres-hot-standby<https://urldefense.proofpoint.com/v2/url?u=https-3A__cloud.google.com_community_tutorials_setting-2Dup-2Dpostgres-2Dhot-2Dstandby&d=DwMFaQ&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=IyfUvCwneRfj_lQHLqEZ7eNZBHeixfV2raZFP4-zElY&m=t2cHiIwOjRQdGDKkKDAMd-VbZxWE0d3q0Iuje71a-Gw&s=RLGgPEQH26EOJZP7K7wEGU_DPC2o2OBvaETXfKb4r4k&e=>
From: pgus-general-owner(at)postgresql(dot)org<mailto:pgus-general-owner(at)postgresql(dot)org> [mailto:pgus-general-owner(at)postgresql(dot)org<mailto:pgus-general-owner(at)postgresql(dot)org>] On Behalf Of Prashanth Reddy
Sent: Tuesday, July 18, 2017 7:58 AM
To: pgsql-admin(at)postgresql(dot)org<mailto:pgsql-admin(at)postgresql(dot)org>; pgus-general(at)postgresql(dot)org<mailto:pgus-general(at)postgresql(dot)org>; pgsql-sql(at)postgresql(dot)org<mailto:pgsql-sql(at)postgresql(dot)org>; pgsql-in-general(at)postgresql(dot)org<mailto:pgsql-in-general(at)postgresql(dot)org>; pgsql-novice(at)postgresql(dot)org<mailto:pgsql-novice(at)postgresql(dot)org>
Subject: [EXTERNAL] Re: [pgus-general] Steps to place standby database in read write
Help anyone!?
Regards,
Prashanth
9989819107
On Mon, Jul 17, 2017 at 8:27 PM, Prashanth Reddy <prash4783(at)gmail(dot)com<mailto:prash4783(at)gmail(dot)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.
--
Sent from Gmail Mobile