Vous êtes sur la page 1sur 124

Comprehensive, hands-on training that solves real-world problems

Red Hat Enterprise


High Availability Clustering

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Welcome

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Course Objectives and Structure

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY ONE

DAY TWO

DAY THREE

DAY FOUR

Creating
High-availability
Clusters

Troubleshooting
High-availability
Clusters

Managing iSCSI
Initiators

Providing
Storage with
GFS2 Cluster

Managing
Cluster Nodes
and Quorum

Controlling
Complex
Resource Groups

Accessing
Storage Devices
Redundantly

Eliminating
Single Points
of Failure

Managing
Fencing

Managing
Two Node
Clusters

Configuring
LV for
Cluster File Sys

Comprehensive
Review

Creating and
Configuring
Resources

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Orientation to Classroom
Network

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Internationalization

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY ONE
Creating HighFirst
availability Clusters
Managing Cluster
Second
Nodes and Quorum
Managing
Third
Fencing

Chapter 1:
Creating High-availability
Clusters

High-availability Clustering

Architectural Overview

Configuring a Basic Cluster

Creating and
Fourth
Configuring Resources

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

High-availability Clustering

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Quiz: Cluster Types

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Architectural Overview

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Quiz: Cluster Architecture

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Configuring a Basic Cluster

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring a Basic


Cluster

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Creating High Availability


Clusters

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY ONE
Creating HighFirst
availability Clusters
Managing Cluster
Second
Nodes and Quorum
Managing
Third
Fencing

Chapter 2:
Managing Cluster Nodes
and Quorum

Managing Cluster Membership

Quorum Operations

Managing Quorum Calculations

Creating and
Fourth
Configuring Resources

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Managing Cluster Membership

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Manage Cluster


Membership

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Quorum Operations

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Quorum Operations

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Managing Quorum Calculations

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Manage Quorum


Calculations

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Managing Cluster Nodes and


Quorum

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY ONE
Creating HighFirst
availability Clusters
Managing Cluster
Second
Nodes and Quorum
Managing
Third
Fencing
Creating and
Fourth
Configuring Resources

RH436-RHEL7.1-en-1-20150813

Chapter 3:
Managing Fencing

Protecting Data with Fencing

Setting Up Fencing Devices

Configuring Cluster Fencing


Agents

Copyright 2015 Red Hat, Inc.

Protecting Data with Fencing

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Quiz: Protecting Data with


Fencing

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Setting Up Fencing Devices

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Setting Up Fencing


Devices

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Configuring Cluster Fencing


Agents

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring Cluster


Fencing Agents

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Managing Fencing

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY ONE
Creating HighFirst
availability Clusters

Chapter 4:
Creating and Configuring
Resources

Managing Cluster
Second
Nodes and Quorum

Managing
Third
Fencing

Creating and
Fourth
Configuring Resources

RH436-RHEL7.1-en-1-20150813

Creating and Configuring


Resources
Creating and Configuring
Resource Groups
Managing Resource Groups

Copyright 2015 Red Hat, Inc.

Creating and Configuring


Resources

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Creating and


Configuring Resources

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Creating and Configuring


Resource Groups

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Creating and


Configuring Resource Groups

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Managing Resource Groups

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Managing Resource


Groups

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Creating and Configuring


Resources

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY TWO
Troubleshooting HighFirst
availability Clusters
Controlling Complex
Second
Resource Groups
Managing Two
Third
Node Clusters

Chapter 5:
Troubleshooting
High-availability Clusters

RH436-RHEL7.1-en-1-20150813

Configuring Cluster Logging


Configuring Cluster
Notifications
Troubleshooting Resource
Failures
Troubleshooting Cluster
Networking

Copyright 2015 Red Hat, Inc.

Configuring Cluster Logging

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring Cluster


Logging

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Configuring Cluster Notifications

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring Cluster


Notifications

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Troubleshooting Resource
Failures

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Troubleshooting
Resource Failures

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Troubleshooting Cluster
Networking

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Troubleshooting
Cluster Networking

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Troubleshooting
High-availability Clusters

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY TWO
Troubleshooting HighFirst
availability Clusters

Chapter 6:
Controlling Complex
Resource Groups

Controlling Complex
Second
Resource Groups

Managing Two
Third
Node Clusters

RH436-RHEL7.1-en-1-20150813

Managing Resource Startup


Order
Configuring Location
Constraints

Copyright 2015 Red Hat, Inc.

Managing Resource Startup


Order

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Managing Resource


Startup Order

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Configuring Location Constraints

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring Location


Restraints

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Controlling Complex


Resource Groups

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY TWO
Troubleshooting HighFirst
availability Clusters

Chapter 7:
Managing Two Node
Clusters

Controlling Complex
Second
Resource Groups

Managing Two
Third
Node Clusters

RH436-RHEL7.1-en-1-20150813

Identifying Two-node Cluster


Issues
Configuring Two-node Clusters

Copyright 2015 Red Hat, Inc.

Identifying Two-node Cluster


Issues

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Quiz: Identifying Two-node


Cluster Issues

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Configuring Two-node Clusters

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring a Two-node


Cluster

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Managing Two-node


Clusters

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY THREE
Managing iSCSI
First
Initiators
Accessing Storage
Second
Devices Redundantly
Configuring LVM
Third
For Cluster File Sys

RH436-RHEL7.1-en-1-20150813

Chapter 8:
Managing iSCSI Initiators

Managing iSCSI Initiators

Managing iSCSI Timeouts

Copyright 2015 Red Hat, Inc.

Managing iSCSI Initiators

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Accessing iSCSI


Storage

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Managing iSCSI Timeouts

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Modifying iSCSI


Timeouts

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Managing iSCSI Initiators

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY THREE
Managing iSCSI
First
Initiators
Accessing Storage
Second
Devices Redundantly
Configuring LVM
Third
For Cluster File Sys

Chapter 9:
Accessing Storage
Devices Redundantly

RH436-RHEL7.1-en-1-20150813

Multipathing Concepts
Configuring Redundant Storage
Access
Testing Redundant Storage

Copyright 2015 Red Hat, Inc.

Multipathing Concepts

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

#14344

Server
hba 1

hba 2

SAN 1

SAN 2

cntrlr 1

cntrlr 2

RAID A
HW RAID

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Quiz: Multipathing Concepts

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Configuring Redundant Storage


Access

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring Redundant


Storage Access

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Testing Redundant Storage

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Testing Redundant


Storage

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Accessing Storage Devices


Redundantly

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY THREE
Managing iSCSI
First
Initiators
Accessing Storage
Second
Devices Redundantly
Configuring LVM
Third
For Cluster File Sys

Chapter 10:
Configuring Logical
Volumes For Cluster File
Systems

RH436-RHEL7.1-en-1-20150813

Reviewing LVMs
Managing High Availability
Logical Volumes
Managing Clustered Logical
Volumes

Copyright 2015 Red Hat, Inc.

Reviewing LVMs

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Logical Volumes

lvcreate

Volume Group

vgcreate

Physical Volumes

pvcreate

Linux Partitions

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Reverting LVM Changes

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Managing High Availability


Logical Volumes

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Using HA-LVM

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Managing Clustered Logical


Volumes

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring Clustered


LVM

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Configuring Logical Volumes


for Cluster File Systems

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY FOUR
Providing Storage
First
with GFS2 Cluster FS
Eliminating Single
Second
Points of Failure
Comprehensive
Third
Review

Chapter 11:
Providing Storage with
the GFS2 Cluster File
System

RH436-RHEL7.1-en-1-20150813

GFS2 Concepts
Creating a GFS2 Cluster File
System
Maintaining a GFS2 File System
Managing a GFS2 File System as
a Cluster Resource

Copyright 2015 Red Hat, Inc.

GFS2 Concepts

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Quiz: GFS2 Filesystem Concepts

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Creating a GFS2 Cluster File


System

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Creating a GFS2 File


System

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Maintaining a GFS2 File System

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Maintaining a GFS2


File System

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Managing a GFS2 File System as


a Cluster Resource

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Managing a GFS2 File


System as a Cluster Resource

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Providing Storage with the


GFS2 Cluster File System

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY FOUR
Providing Storage
First
with GFS2 Cluster FS
Eliminating Single
Second
Points of Failure
Comprehensive
Third
Review

Chapter 12:
Eliminating Single Points
of Failure

RH436-RHEL7.1-en-1-20150813

Planning for Failures


Configuring Network
Redundancy for Cluster
Communication
Configuring Multiple
Fencing-device Levels

Copyright 2015 Red Hat, Inc.

Planning for Failures

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Quiz: Planning for Failures

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Configuring Network Redundancy


for Cluster Communication

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring Network


Redundancy for Cluster
Communication

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Configuring Multiple
Fencing-device Levels

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Practice: Configuring Multiple


Fencing-device Levels

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Lab: Eliminating Single Points


of Failure

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

Summary

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

DAY FOUR
Providing Storage
First
with GFS2 Cluster FS
Eliminating Single
Second
Points of Failure
Comprehensive
Third
Review

RH436-RHEL7.1-en-1-20150813

Chapter 13:
Comprehensive Review

Red Hat High-availability


Clustering Comprehensive
Review

Copyright 2015 Red Hat, Inc.

Red Hat High-availability


Clustering Comprehensive
Review

RH436-RHEL7.1-en-1-20150813

Copyright 2015 Red Hat, Inc.

XX000-XXXX0-en-1-2013mmdd

Copyright 20
Copyright 2015 Red Hat, Inc.

125