Search Postgresql Archives

Moving the master to a new server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need to move my master postgresql deployment to a new server.

I am comfortable with stopping all connections then doing a pg_dumpall > psql to move the databases, they are not huge so this completes in an acceptable time and I am not expecting any data loss but I am unsure of what impact this will have on the streaming replication.  I will be rebooting the new server with the old servers network configuration so I am hoping that when I let connections back in, replication will just restart but I cant find any documentation that says so.

Currently the slave serves as a read-only target for various services so they should all just keep running.

The postgresql versions are 10.20 on the old and 10.17 on the new. (Basically this is a CentOS7 to Rocky8 migration) I have been using the PGDG rhel version so it is a little ahead of the appstream

Comments ?

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Glen Eustace,
GodZone Internet Services, a division of AGRE Enterprises Ltd.,
P.O. Box 8020, Palmerston North, New Zealand 4446 Ph +64 6 357 8168, Mob +64 27 542 4015

“Specialising in providing low-cost professional Internet Services since 1997"






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux