Follow these quick steps to install Pacemaker and Corosync on all PostgreSQL server pairs running a Debian-based distribution:
- Install the main packages and all dependencies with this command as a root-capable user:
sudo apt-get install corosync pacemaker
- Disable the cluster software from starting on system boot:
sudo update-rc.d corosync disable sudo update-rc.d pacemaker disable
For those running a Red-Hat-based operating system, follow these steps to install and prepare Pacemaker:
- Install the main packages and all dependencies with this command as a root-capable user:
sudo yum install corosync pacemaker
- Disable the cluster software from starting on system boot:
sudo chkconfig corosync off sudo chkconfig pacemaker ...