public inbox for [email protected]  
help / color / mirror / Atom feed
DB Switch over and Switch back support
2+ messages / 2 participants
[nested] [flat]

* DB Switch over and Switch back support
@ 2024-11-22 15:58 jayakumar s <[email protected]>
  2024-11-22 16:27 ` Re: DB Switch over and Switch back support SOzcn <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: jayakumar s @ 2024-11-22 15:58 UTC (permalink / raw)
  To: [email protected]

Hi Team,

I have configured master and slave DB's. Need to configure switcher and
switch back setup. I checked google but I am unable to find the correct
link. Kindly share with me. If any one has the setup document.

Also please confirm. Without using any third party s/w. We can do DB switch
over and switch activity?

Regards,
Jayakumar.S


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: DB Switch over and Switch back support
  2024-11-22 15:58 DB Switch over and Switch back support jayakumar s <[email protected]>
@ 2024-11-22 16:27 ` SOzcn <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: SOzcn @ 2024-11-22 16:27 UTC (permalink / raw)
  To: jayakumar s <[email protected]>; +Cc: [email protected]

Hello,

If you did this with the replication method physically it's not possible.
You can manage it with Crontab on the OS.

As an example ;
Switchover 1  from node 1 to node 2.
- Make failover on your replica.   sudo pg_ctlcluster 14 main promote
Switchover 2 :
On node 1 clear your data path and make a new replica from node 2 to node 1
then make failover again.

You can prepare the steps and manage them with Crontab or some bash script.
Bash script might work better for this I think.

It could work mostly with less data-sizing environments. If you have a load
environment I would advice you to patroni cluster system.

Have a nice weekend.

jayakumar s <[email protected]>, 22 Kas 2024 Cum, 18:59
tarihinde şunu yazdı:

> Hi Team,
>
> I have configured master and slave DB's. Need to configure switcher and
> switch back setup. I checked google but I am unable to find the correct
> link. Kindly share with me. If any one has the setup document.
>
> Also please confirm. Without using any third party s/w. We can do DB
> switch over and switch activity?
>
> Regards,
> Jayakumar.S
>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-11-22 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-11-22 15:58 DB Switch over and Switch back support jayakumar s <[email protected]>
2024-11-22 16:27 ` SOzcn <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox