Before we begin...
Before we spend any more time on this chapter, we should ask ourselves a question: is automation necessary? It's certainly nice to have, but is it required? Will we benefit from the admittedly esoteric incantations needed to install and configure these tools?
The answer is not always so straightforward. While exceedingly powerful, Pacemaker is infamously difficult to use and even a little overzealous in applying its rules. Both repmgr and Patroni are far more forgiving in this regard. An improperly built Pacemaker cluster might produce a database that moves to another node at the slightest provocation. Much like Patroni, Pacemaker enforces its current status and can actively thwart management attempts it didn't personally ...
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