SlideShare a Scribd company logo
Linux Cluster
Administration RHEL 5
1Linux Clustering Document www.expertslogin.com
2Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Cluster Basics
What is cluster
Cluster types
Storage
High Availability
Load balancing
High performance
3Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Storage Clusters
Provide consistent file system image across
nodes
Simplify storage administration
Simplify backup & disaster recovery
RHCS provides storage clustering through
Red Hat GFS
4Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
High Availability Clusters
Provide continuous availability of services
Maintain data integrity
Node failures in a high-availability cluster are not vis-
ible from outside the cluster
RHCS provides high-availability clustering
through its High availability Service
Management component
5Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Load balancing clusters
Dispatch network service requests to multiple
cluster nodes
Provide cost-effective scalability
Failures in a load-balancing cluster are not
visible from outside the cluster
RHCS provides load-balancing through LVS
6Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Performance Clusters
Use cluster nodes to perform concurrent
calculations
Allow applications to work in parallel
Referred to as computational clusters or grid
computing
7Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Red Hat Cluster Suite
RHCS
RHCS major components:
RHCS optional components
Cluster infrastructure
HA Service Management
Cluster Administration tools
Linux Virtual Server ( LVS)
Global File System (GFS)
Cluster Logical Volume Manager (CLVM)
Global Network Block Device (GNBD)
8Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Red Hat Cluster Suite
RHCS
9Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Cluster Management
Lock Management
Fencing
Cluster Configuration Management
Cluster Infrastructure
10Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Cluster Infrastructure Cluster Management
(CMAN)
Distributed across all nodes
CMAN track cluster quorum
	 Prevents split-brain
CMAN tracks membership
11Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Service provides mechanism for other
cluster components to synchronize
their access to shared resources
Distributed Lock Manager (DLM)
GFS & CLVM use locks from DLM
Cluster Infrastructure
Lock Management
12Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Cluster Infrastructure Fencing
Disconnection of a node from the cluster’s
shared storage fenced daemon performs
fencing
DLM & GFS recover after fenced
Fencing methods
13Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Fencing methods:
SCSI3 Persistent Reservation Fencing
Fiber Channel switch fencing
GNBD fencing
Cluster Infrastructure Fencing
Power fencing
External
Integrated
14Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Cluster Infrastructure Cluster
ConfigurationSystem
(CCS)
CCS manage cluster configuration
CCS provide information to other cluster
components
CCS ensures configuration file is up-to-date
in all nodes
15Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Configuration file /etc/cluster/cluster.conf
Cluster characteristics
Cluster Infrastructure Cluster
ConfigurationSystem
(CCS)
Cluster name
Cluster
Fence Device
Managed Resources
16Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
HA Service Management
Create & manage HA cluster services
rgmanager implements cold failover
HA service must be configured in cluster.
conf
Associate service to failover domain
Failover priority in a failover domain
17Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Failover Domains
18Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Failover Domains
Failover characteristics
Unrestricted
Restricted
Unordered
Ordered
Failback
19Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
GFS/GFS2 is a native file system
GFS/GFS2 provides data sharing among
nodes with single, consistent view of the
file system name space
GFS/GFS2 file system must be created on
an LVM logical volume (linear or mirror)
Red Hat Global File System
20Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Cluster Logical Volume
(CLVM)
CLVM provides the same capabilities as
LVM2 on a single node
CLVM makes volume available to all nodes
clvmd daemon provides clustering exten-
sions
to LVM2
21Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Provides block-device access to GFS over
TCP/IP
Useful when FC or single initiator SCSI are
not necessary or are cost prohibitive
GNBD client , GNBD server
Global Network Block Device
(GNBD)
22Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Global Network Block
Device (GNBD)
23Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Set of integrated s/w for load balancing
Runs on equally configured computers
LVS roles:
Linux Virtual Server (LVS)
Active LVS router
Backup LVS router
Load balancing
Integrity of services check
24Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Linux Virtual Server (LVS)
25Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Two tiers : LVS routers & real servers
Active LVS router uses NAT to direct from
public network to real servers
Service requests arrive to LVS to a virtual
IP (VIP)
Only one LVS is active at a time
LVS distributes requests based on load
balancing algorithms
Linux Virtual Server (LVS)
26Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Linux Virtual Server (LVS)
Load-balancing algorithms:
Round-Robin Scheduling
Weighted Round-Robin Scheduling
Least-Connection
Weighted Least-Connections (default)
NAT Routing
Direct Routing
27Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Routing Methods:
Linux Virtual Server (LVS)
28Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Cluster Administration tools
Conga
Cluster Administration GUI
Command line administration tools
29Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
s/w provides centralized configuration &
management
Conga primary components
luci server runs on one computer & commu-
nicates with multiple clusters & computers via
ricci
ricci agent that runs on each computer
Cluster Administration tools
Conga
luci
ricci
30Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
System-config-cluster
Cluster status tool
Cluster Administration GUI
- ccs_tool → cluster configuration
- cman_tool → cluster management
- fence_tool → fence tool
- clustat → cluster status
- clusvcadm → cluster user service administration
31Linux Clustering Document www.expertslogin.com
Linux Cluster Concepts And
Administration on RHEL 5
Command Line Administration Tools
Cluster Administration tools

More Related Content

PDF
Citrix StoreFront - Implementation Guide
PPTX
Windows Server 2012 Managing Active Directory Domain
PPT
Server configuration
PPT
Basic 50 linus command
PDF
Ansible Tutorial.pdf
PPTX
What is active directory
Citrix StoreFront - Implementation Guide
Windows Server 2012 Managing Active Directory Domain
Server configuration
Basic 50 linus command
Ansible Tutorial.pdf
What is active directory

What's hot (20)

PPT
Best practices in IBM Operational Decision Manager Standard 8.7.0 topologies
PDF
Getting Started With Linux Administration
PDF
MySQL Deep dive with FusionIO
PPT
Linux Administration
PDF
Vmware virtualization in data centers
PPTX
Virtualization 101
PDF
Deep Dive AdminP Process - Admin and Infrastructure Track at UKLUG 2012
PDF
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
PPTX
Rhel cluster basics 1
PPTX
Ldap intro
PDF
Engage2022 - Domino Admin Tips
PPTX
Active directory architecture
PPTX
Introduction To Docker
PPTX
RHCSA EX200 - Summary
PDF
Linux File System
PPTX
Microsoft Offical Course 20410C_02
PDF
HCL Sametime 12.0 on Docker - Step-By-Step.pdf
PPTX
Linux
PPT
active-directory-domain-services
PDF
HCL Notes and Nomad Troubleshooting for Dummies
Best practices in IBM Operational Decision Manager Standard 8.7.0 topologies
Getting Started With Linux Administration
MySQL Deep dive with FusionIO
Linux Administration
Vmware virtualization in data centers
Virtualization 101
Deep Dive AdminP Process - Admin and Infrastructure Track at UKLUG 2012
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Rhel cluster basics 1
Ldap intro
Engage2022 - Domino Admin Tips
Active directory architecture
Introduction To Docker
RHCSA EX200 - Summary
Linux File System
Microsoft Offical Course 20410C_02
HCL Sametime 12.0 on Docker - Step-By-Step.pdf
Linux
active-directory-domain-services
HCL Notes and Nomad Troubleshooting for Dummies
Ad

Viewers also liked (20)

ODP
Using CloudStack With Clustered LVM
PPTX
Redhat ha cluster with pacemaker
PDF
RedHat Cluster!
PDF
Linux-HA with Pacemaker
PPTX
Linux containers
PDF
Red Hat Enterprise Linux and NFS by syedmshaaf
PDF
Scalable Object Storage with Apache CloudStack and Apache Hadoop
PDF
Building an Enterprise Cloud on OpenStack
ODP
Linux cluster introduction
PDF
Introduction to OpenStack (Juno)
PPTX
Using the KVMhypervisor in CloudStack
ODP
Red Hat Gluster Storage : GlusterFS
PDF
HPC Cluster Computing from 64 to 156,000 Cores 
PDF
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
PPS
Linux10 sendmail
PPTX
Kubernetes Basics
PPS
Linux12 clustering onlinux
PDF
Cluster in linux
PDF
Red Hat Storage - Introduction to GlusterFS
PPS
Linux05 DHCP Server
Using CloudStack With Clustered LVM
Redhat ha cluster with pacemaker
RedHat Cluster!
Linux-HA with Pacemaker
Linux containers
Red Hat Enterprise Linux and NFS by syedmshaaf
Scalable Object Storage with Apache CloudStack and Apache Hadoop
Building an Enterprise Cloud on OpenStack
Linux cluster introduction
Introduction to OpenStack (Juno)
Using the KVMhypervisor in CloudStack
Red Hat Gluster Storage : GlusterFS
HPC Cluster Computing from 64 to 156,000 Cores 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Linux10 sendmail
Kubernetes Basics
Linux12 clustering onlinux
Cluster in linux
Red Hat Storage - Introduction to GlusterFS
Linux05 DHCP Server
Ad

Similar to Linux Cluster Concepts (20)

PDF
Configuring and managing a red
PDF
Cluster administration rh
PDF
PPT
linuxcluster.ppt
PDF
PDF
Dell linux cluster sap
PPTX
Rhel cluster basics 2
PPTX
Rhel cluster basics 3
PPT
2.1 Red_Hat_Cluster1.ppt
PDF
Red Hat Global File System (GFS)
PPTX
Presentation on rhce
PDF
2008-01-22 Red Hat (Security) Roadmap Presentation
PDF
2008-09-09 IBM Interaction Conference, Red Hat Update for System z
PDF
Virtual server administration
PDF
Webinar: Linux administration : Past, Present and Is the Future
ODP
Software defined storage
PDF
Postgres & Red Hat Cluster Suite
 
PPT
PPTX
Computer_Cluster in Parallel and Distributed computer.pptx
PDF
Linux-HA with Pacemaker
Configuring and managing a red
Cluster administration rh
linuxcluster.ppt
Dell linux cluster sap
Rhel cluster basics 2
Rhel cluster basics 3
2.1 Red_Hat_Cluster1.ppt
Red Hat Global File System (GFS)
Presentation on rhce
2008-01-22 Red Hat (Security) Roadmap Presentation
2008-09-09 IBM Interaction Conference, Red Hat Update for System z
Virtual server administration
Webinar: Linux administration : Past, Present and Is the Future
Software defined storage
Postgres & Red Hat Cluster Suite
 
Computer_Cluster in Parallel and Distributed computer.pptx
Linux-HA with Pacemaker

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Spectroscopy.pptx food analysis technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Cloud computing and distributed systems.
PDF
Approach and Philosophy of On baking technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Machine learning based COVID-19 study performance prediction
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Electronic commerce courselecture one. Pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Building Integrated photovoltaic BIPV_UPV.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Spectroscopy.pptx food analysis technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Cloud computing and distributed systems.
Approach and Philosophy of On baking technology
The AUB Centre for AI in Media Proposal.docx
20250228 LYD VKU AI Blended-Learning.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Network Security Unit 5.pdf for BCA BBA.
Machine learning based COVID-19 study performance prediction
Spectral efficient network and resource selection model in 5G networks
Electronic commerce courselecture one. Pdf
MIND Revenue Release Quarter 2 2025 Press Release
Digital-Transformation-Roadmap-for-Companies.pptx

Linux Cluster Concepts

  • 1. Linux Cluster Administration RHEL 5 1Linux Clustering Document www.expertslogin.com
  • 2. 2Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Cluster Basics What is cluster Cluster types Storage High Availability Load balancing High performance
  • 3. 3Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Storage Clusters Provide consistent file system image across nodes Simplify storage administration Simplify backup & disaster recovery RHCS provides storage clustering through Red Hat GFS
  • 4. 4Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 High Availability Clusters Provide continuous availability of services Maintain data integrity Node failures in a high-availability cluster are not vis- ible from outside the cluster RHCS provides high-availability clustering through its High availability Service Management component
  • 5. 5Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Load balancing clusters Dispatch network service requests to multiple cluster nodes Provide cost-effective scalability Failures in a load-balancing cluster are not visible from outside the cluster RHCS provides load-balancing through LVS
  • 6. 6Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Performance Clusters Use cluster nodes to perform concurrent calculations Allow applications to work in parallel Referred to as computational clusters or grid computing
  • 7. 7Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Red Hat Cluster Suite RHCS RHCS major components: RHCS optional components Cluster infrastructure HA Service Management Cluster Administration tools Linux Virtual Server ( LVS) Global File System (GFS) Cluster Logical Volume Manager (CLVM) Global Network Block Device (GNBD)
  • 8. 8Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Red Hat Cluster Suite RHCS
  • 9. 9Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Cluster Management Lock Management Fencing Cluster Configuration Management Cluster Infrastructure
  • 10. 10Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Cluster Infrastructure Cluster Management (CMAN) Distributed across all nodes CMAN track cluster quorum Prevents split-brain CMAN tracks membership
  • 11. 11Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Service provides mechanism for other cluster components to synchronize their access to shared resources Distributed Lock Manager (DLM) GFS & CLVM use locks from DLM Cluster Infrastructure Lock Management
  • 12. 12Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Cluster Infrastructure Fencing Disconnection of a node from the cluster’s shared storage fenced daemon performs fencing DLM & GFS recover after fenced Fencing methods
  • 13. 13Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Fencing methods: SCSI3 Persistent Reservation Fencing Fiber Channel switch fencing GNBD fencing Cluster Infrastructure Fencing Power fencing External Integrated
  • 14. 14Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Cluster Infrastructure Cluster ConfigurationSystem (CCS) CCS manage cluster configuration CCS provide information to other cluster components CCS ensures configuration file is up-to-date in all nodes
  • 15. 15Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Configuration file /etc/cluster/cluster.conf Cluster characteristics Cluster Infrastructure Cluster ConfigurationSystem (CCS) Cluster name Cluster Fence Device Managed Resources
  • 16. 16Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 HA Service Management Create & manage HA cluster services rgmanager implements cold failover HA service must be configured in cluster. conf Associate service to failover domain Failover priority in a failover domain
  • 17. 17Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Failover Domains
  • 18. 18Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Failover Domains Failover characteristics Unrestricted Restricted Unordered Ordered Failback
  • 19. 19Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 GFS/GFS2 is a native file system GFS/GFS2 provides data sharing among nodes with single, consistent view of the file system name space GFS/GFS2 file system must be created on an LVM logical volume (linear or mirror) Red Hat Global File System
  • 20. 20Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Cluster Logical Volume (CLVM) CLVM provides the same capabilities as LVM2 on a single node CLVM makes volume available to all nodes clvmd daemon provides clustering exten- sions to LVM2
  • 21. 21Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Provides block-device access to GFS over TCP/IP Useful when FC or single initiator SCSI are not necessary or are cost prohibitive GNBD client , GNBD server Global Network Block Device (GNBD)
  • 22. 22Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Global Network Block Device (GNBD)
  • 23. 23Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Set of integrated s/w for load balancing Runs on equally configured computers LVS roles: Linux Virtual Server (LVS) Active LVS router Backup LVS router Load balancing Integrity of services check
  • 24. 24Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Linux Virtual Server (LVS)
  • 25. 25Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Two tiers : LVS routers & real servers Active LVS router uses NAT to direct from public network to real servers Service requests arrive to LVS to a virtual IP (VIP) Only one LVS is active at a time LVS distributes requests based on load balancing algorithms Linux Virtual Server (LVS)
  • 26. 26Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Linux Virtual Server (LVS) Load-balancing algorithms: Round-Robin Scheduling Weighted Round-Robin Scheduling Least-Connection Weighted Least-Connections (default)
  • 27. NAT Routing Direct Routing 27Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Routing Methods: Linux Virtual Server (LVS)
  • 28. 28Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Cluster Administration tools Conga Cluster Administration GUI Command line administration tools
  • 29. 29Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 s/w provides centralized configuration & management Conga primary components luci server runs on one computer & commu- nicates with multiple clusters & computers via ricci ricci agent that runs on each computer Cluster Administration tools Conga luci ricci
  • 30. 30Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 System-config-cluster Cluster status tool Cluster Administration GUI
  • 31. - ccs_tool → cluster configuration - cman_tool → cluster management - fence_tool → fence tool - clustat → cluster status - clusvcadm → cluster user service administration 31Linux Clustering Document www.expertslogin.com Linux Cluster Concepts And Administration on RHEL 5 Command Line Administration Tools Cluster Administration tools