Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linux High Availability Clustering
Rating: 4.6 out of 5(1,441 ratings)
8,014 students

Linux High Availability Clustering

Design and deploy a high availability cluster to provide active/passive or active/active services using HA Pacemaker
Created byShikhar Verma
Last updated 8/2024
English

What you'll learn

  • Students should understand HA cluster concepts and how to manage different nodes, start/stop services
  • Creating High-Availability Clusters
  • Managing Cluster Nodes and Quorum
  • Managing Fencing
  • Creating and Configuring Resources
  • Managing Constraints
  • About Order, Location & Colocation Constraints
  • Troubleshooting High-Availability Clusters
  • Controlling Complex Resource groups
  • Managing Two Node Clusters
  • Concept about Split Brain, Fence death/fence racing
  • Managing iSCSI Initiators
  • Configuring & Managing High-Availability Logical Volumes
  • Managing Clustered Logical Volumes
  • GFS2 Concepts
  • Creating a GFS2 formatted Cluster File Systems
  • Growing & Repairing a GFS2 File System

Course content

11 sections56 lectures6h 39m total length
  • Overview about the course module8:41

    Explore linux high availability clustering with pacemaker, deploying active-passive and active-active clusters using KVM labs, shared storage, quorum, resource groups, and other clustering concepts.

  • Introduction7:25

    Explore Linux high availability clustering and pacemaker components; learn how clusters use active-passive and active-active failover across multiple nodes to keep web services available.

  • Resource & Resource Group6:43

    Explore how storage clusters use gfs2 cluster file system to enable simultaneous read and write across nodes, with resource groups including content, floating IP, and httpd configuration in shared storage.

  • About failover, fencing4:00

    Explore failover in high availability clusters by migrating web services to another node when a node fails, and learn fencing to prevent corruption by rebooting malfunctioning nodes.

  • About shared storage & quorum3:33

    Explore shared storage across a four-node cluster, enabling failover as nodes access website content. Understand quorum, a voting rule that preserves cluster integrity and prevents resource start without majority.

  • Cluster Architecture6:23

    Explore the architecture of a four-node Linux high availability cluster, including hardware components, public and private networks, fencing, shared storage, and the Corosync and Pacemaker cluster services.

  • Lab Setup using KVM Environment12:50

    Establish a Linux high availability cluster using a KVM environment, creating three nodes on a server, configuring KVM, disk images, ISO storage, a bridge network, and passwordless ssh.

  • Configuring a Basic Cluster - lab session 17:31

    Configure a basic kvm-based multi-node cluster (node A, B, C) using tmux for synchronized commands, installing pacemaker, corosync, and fence agents, and enable firewall and pcsd for cluster communication.

  • Configuring a Basic Cluster - lab session -24:57

    Configure a basic Linux high availability cluster by installing packages, creating a cluster user, authenticating nodes, and setting up cluster zero with pcs. Note the missing stonith device for fencing.

  • Fencing configuration4:17

    Configure fencing in a Linux high availability cluster to isolate unresponsive nodes, prevent data corruption, and enable safe failover using an external fencing agent and stonith, such as fence_xvm.

  • Lab Session - fencing device10:35

    Install and configure fencing components to enable high availability. Create a secret key, configure fence_wd with multicast, open port 1229 UDP, and deploy fence_xvm stonith agents on all nodes.

  • Troubleshooting fencing device8:04

    Practice configuring and testing fencing in a Linux high availability cluster by using fence_xvm to power cycle nodes A, B, and C, verify status, and confirm automatic node recovery.

  • Quiz

Requirements

  • PC or Laptop with internet Connection
  • Red Hat Certified Engineer (RHCE) certification or equivalent experience.
  • CentOS 7, RHEL7 ISO Image
  • Vmware workstation

Description

This course helps you to understand high availability clustering by providing a strong concept and hands-on experience with Pacemaker and Corosync components of Red Hat / CentOS Enterprise High Availability Cluster.

Lab Design : KVM based lab setup in this course module.

Subtitle is not added in this course module.

Course Content:


Introduction

  • What is clustering & cluster types?

  • Advantages of Clustering Servers

  • Concepts and techniques

  • Resource and resource groups

  • Failover, Fencing, Shared Storage, Quorum

  • Cluster Architecture

  • Lab Setup using KVM Environment

  • Configuring a Basic Cluster

  • Configuring a fencing agent using KVM host mahcine

  • Troubleshooting fencing device


Managing Cluster Nodes

  • Starting & Stopping Cluster Services

  • Enabling & Disabling the Cluster Services

  • Adding & Removing A Cluster Node

  • The Standby & unstandby Nodes

  • Quorum Operations

  • Lab Session on quorum

  • Managing Quorum Calculations

  • Cluster Setup Switches

    1) wait_for_all

    2) auto_tie_breaker


Creating and Configuring Resources

  • Create and configure high-availability resources.

  • Creating a clustered Apache service

  • Managing Resources


Troubleshooting High-Availability Cluster

  • Inspect and configure cluster logging

  • Troubleshooting resource failures

  • Troubleshooting cluster network issues


Complex Resource Group

  • Configuring an Active/Passive NFS Resource Group

  • Lab Session


Managing Constraints

  • Types of constraints:

  • Order, Location & Colocation Constraint

  • Practice Lab Session


Two Node Cluster Issues

  • No room for node failure

  • Split Brain

  • Fence death/fence racing

  • The cluster does not start until both nodes have started.

  • Practice Lab Session


Managing iSCSI Initiators

  • iSCSI fundamentals

  • Configuring an iSCSI Server

  • Several types of backing Storage

  • block, fileio, pscsi & ramdisk

  • Creating iSCSI Target

  • Lab Session to create a block backstore from the targetcli shell


Managing High Availability Logical Volumes

  • Clustered LVM & HA-LVM

  • Lab Session to shared a disk (lun) to all cluster nodes

  • Practice Lab Session on HA-LVM


Managing Clustered Logical Volumes

  • Active/Active configuration of logical volumes

  • Distributed Lock Manager (DLM) for lock management

  • clvmd daemon

  • Practice Lab Session


Global File System 2 (GFS2)

  • GFS2 concepts

  • Creating a GFS2 formatted Cluster File Systems

  • Managing a GFS2 File System

  • Managing a GFS2 Resource in the cluster

  • Growing & Repairing a GFS2 File System

Who this course is for:

  • Linux High Availability Clustering course is aimed at senior system administrators responsible for maximizing resiliency though high availability clustering services