Moving the master to a new server - Mailing list pgsql-general

From Glen Eustace
Subject Moving the master to a new server
Date
Msg-id 8891e8ab-2351-8b97-5496-f3bf4b19922b@godzone.net.nz
Whole thread Raw
Responses Re: Moving the master to a new server  (Alan Hodgson <ahodgson@lists.simkin.ca>)
List pgsql-general
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"




pgsql-general by date:

Previous
From: JORGE MALDONADO
Date:
Subject: npgsql versus dotConnect data provider
Next
From: Alan Hodgson
Date:
Subject: Re: Moving the master to a new server