Linux High Availability Cluster — part 1

Mohammed Tayeh
3 min readOct 18, 2022

step-by-step guide to building a simple high-availability cluster using Pacemaker

in this part of HA cluster will learn:

  • Setup cluster on RHEL/CentOS Stream 9 as the host operating system
  • Configure storage based fencing by using SCSI storage
  • Access to Web GUI

Architecture

we will work with 2 nodes, and will Configure storage based fencing by using SCSI storage like the bellow diagram.

             +-----------------+             
| |
| ISCSI Target |
| |
+--------|--------+
|
+------------+ | +------------+
| | | | |
| Node-1 <--------v--------> Node-2 |
| | | |
+------------+ +------------+

Installing cluster software

do the following command with both nodes

enable the repository for high availability

# on rhel-9 
subscription-manager repos --enable=rhel-9-for-x86_64-highavailability-rpms
# on centos Stream 9
dnf config-manager --set-enabled highavailability

--

--

Mohammed Tayeh
Mohammed Tayeh

Written by Mohammed Tayeh

Seasoned DevOps Engineer with diverse extensive background in cloud platforms. Highly motivated.

Responses (1)