How it works...
All we really want to do here is remove PostgreSQL and DRBD from the list of services that start at system boot time. These are the only two services that are controlled via system start up scripts, so our work here is very short indeed.
One critically important element is that systemd-equipped Linux distributions are fully compatible with the Linux Standard Base (LSB) set of expected status codes. Pacemaker uses this information to always know the result of an action. Stopped services return different codes than running ones when checked with systemctl status, for example. It's possible to manage PostgreSQL and DRBD without systemd, but be aware that LSB codes must be used properly for Pacemaker to operate normally.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access