Just made streaming replication. If you want to migrate your database from centos to Redhat, close the apps and then make a failover on your replica server.
> On Jul 30, 2024, at 6:34 AM, Muhammad Waqas <waqas.m@bitnine.net> wrote: > > 1 option is to configure stream replication but in such scenario you can only perform fail-over.
To be a little pedantic, you *can* perform switchover, but there are a number of steps to it, and I wouldn't recommend trying it.