RE: How to change standby node to sync from the new master without rebooting the PostgreSQL service?

From: Scot Kreienkamp <Scot(dot)Kreienkamp(at)la-z-boy(dot)com>
To: Madan Kumar <madankumar1993(at)gmail(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: RE: How to change standby node to sync from the new master without rebooting the PostgreSQL service?
Date: 2018-10-30 12:57:12
Message-ID: 17082AAFC33A934082836458CB53494374D693D9@MONDB03.na.lzb.hq
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Point it at a VIP that travels with the master.

Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: 734-384-6403 | | Mobile: 7349151444 | Email: Scot(dot)Kreienkamp(at)la-z-boy(dot)com
From: Madan Kumar [mailto:madankumar1993(at)gmail(dot)com]
Sent: Tuesday, October 30, 2018 7:20 AM
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: How to change standby node to sync from the new master without rebooting the PostgreSQL service?

Hi,

Whenever there is a change in master, PostgreSQL service on standby nodes must be restarted (after changing the master IP in the recovery.conf) to ensure it is syncing with the new master.
Is there a way to point to new master without reboot of PostgreSQL on the standby?

Warm Regards,
Madan Kumar K<https://about.me/madankumark>

"There is no Elevator to Success. You have to take the Stairs"

This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-10-30 13:29:41 Re: Question about servicescript for stopping and starting postgresql instance
Previous Message Amit Langote 2018-10-30 12:27:42 Re: Should pg 11 use a lot more memory building an spgist index?