Clusters from Scratch

Step-by-Step Instructions for Building Your First High-Availability Cluster


This document provides a step-by-step guide to building a simple high-availability cluster using Pacemaker.

The example cluster will use:

  • CentOS Stream 8 as the host operating system
  • Corosync to provide messaging and membership services,
  • Pacemaker 2 [1]
  • DRBD as a cost-effective alternative to shared storage,
  • GFS2 as the cluster filesystem (in active/active mode)

Given the graphical nature of the install process, a number of screenshots are included. However the guide is primarily composed of commands, the reasons for executing them and their expected outputs.

Table of Contents


[1]While this guide is part of the document set for Pacemaker 2.0, it demonstrates the version available in the standard CentOS Stream repositories