February 2020
Intermediate to advanced
734 pages
38h 13m
English
For this scenario, assume that we have two servers with the addresses of 192.168.1.10 and 192.168.1.20, where 192.168.1.10 is currently the primary server. In addition, we have a virtual IP address of 192.168.1.30 on the eth0 Ethernet device. To upgrade the PostgreSQL software on both nodes, follow these steps:
pg_ctl -D /path/to/database stop -m fast
sudo apt-get install postgresql-12
pg_ctl -D ...
Read now
Unlock full access