Update and install necessary packages (both nodes)
Update your system:
$ sudo apt update && sudo apt upgrade -y
Install the necessary packages:
$ sudo apt install corosync pacemaker pcs -y
Update your system:
$ sudo apt update && sudo apt upgrade -y
Install the necessary packages:
$ sudo apt install corosync pacemaker pcs -y