Chapter 7. Understanding Linux High Availability

High Availability (HA) is not just an industry term. The fact that something needs to be available usually also means that it is super important, and that the service must be available to clients, no matter the cost.

High Availability is important in the PostgreSQL world. A database is the central component of most setups, and therefore, availability of the service is the key.

In this chapter, the following topics will be covered:

  • Understanding the purpose of High Availability
  • Measuring availability
  • Linux-HA (Heartbeat), STONITH, and Pacemaker
  • Terminology and concepts
  • PostgreSQL and High Availability

Understanding the purpose of High Availability

To quote Murphy's law:

"Anything that can go wrong will go ...

Get PostgreSQL Replication - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.