Advanced Stack

In this chapter, we will learn to build and manipulate a fault-tolerant, high-performance foundation for our PostgreSQL clusters. We will cover the following recipes in this chapter:

  • Preparing systems for the stack
  • Starting with the Linux Volume Manager
  • Adding block-level replication
  • Incorporating the second LVM layer
  • Verifying a DRBD filesystem
  • Correcting a DRBD split brain
  • Formatting an XFS filesystem
  • Tweaking XFS performance
  • Maintaining an XFS filesystem
  • Using LVM snapshots
  • Switching live stack systems
  • Detaching a problematic node
  • Building and attaching a new node

Get PostgreSQL High Availability Cookbook - 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.