Clusters from Scratch

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

Abstract

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

The example cluster will use:

  • AlmaLinux 9 as the host operating system
  • Corosync to provide messaging and membership services
  • Pacemaker 2 as the cluster resource manager
  • 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