February 2020
Intermediate to advanced
734 pages
38h 13m
English
For this recipe, we will need two PostgreSQL servers, pg1 and pg2, where pg1 is the currently active node. Follow these steps as the root user on the system indicated to move an active PostgreSQL service from one node to another:
sudo systemctl stop postgresql@12-main
sudo systemctl stop postgresql-12
umount /db
vgchange -a n VG_POSTGRES
drbdadm secondary pg
drbdadm primary pg
Read now
Unlock full access