On 9/2/21 10:38 AM, Vano Beridze wrote:
Hello, I've got 2 VMs with Postgresql 9.5 cluster with streaming replication. VMs have Ubuntu 16.04. I would like to upgrade Ubuntu and Postgresql to newer versions. Ubuntu 16.04 supports upgrading to 18.04. What is the safest way to upgrade Postgresql cluster along with it?
What repo are you getting Postgres from, Ubuntu or PGDG?
The database is not big and I can afford completely shutdown the cluster during the upgrade.
That is going to happen whether you want it or not 16.04 -> 18.04 is going to involve a reboot.
What would you suggest? Kind regards, Vano
-- Adrian Klaver adrian.klaver@xxxxxxxxxxx