REDHAT HA CLUSTER WITH
PACEMAKER
Indika Dias
REDHAT CLUSTER MODE
Storage
High Availability
Load Balancing
High Performance
REDHAT CLUSTER SUIT COMPONENTS
Cluster infrastructure
Basic functions to work as a cluster
High-availability Service Management
Provide failover services from one node to other
Cluster administration tools
Setting up ,configuring, Management cluster
Linux Virtual Server (LVS)
For IP Load Balancing
3rd Party components
GFS/GFS2 -Cluster file system used with RHCS
CLVM -Cluster logical volume manager –Volume management with RHCS
GNBD -Global Network Block Device – making available of block storage to GFS
CLUSTER INFRASTRUCTURE
Cluster Management
Lock Management
Fencing
Cluster configuration Management
CLUSTER MANAGEMENT
Manage cluster quorum & cluster management
CMAN distributed in all nodes
Cluster quorum prevent stopping of services if half
or fewer nodes are active by allowing cluster
instances to access resources without other
instances involvement
LOCK MANAGEMENT
To synchronize cluster nodes access to shared
resources.
GFS - synchronize access to file meta data
CLVM- synchronize update to LVM
FENCING
Disconnection of node from cluster’s shared
storage
o Power fencing
integrate
HP ilo,DRAC/MC,Blade centers
external
WTI power controllers
o SCSI3 Persistent Reservation Fencing
o Fiber Channel switch fencing
o GNBD Fencing
POWER FENCING
CLUSTER CONFIGURATION SYSTEM
Make sure cluster configuration up to date in every
node
CLUSTER CREATION WITH PCS
Pacemaker is cluster resource manager
detection of services-level or node failure &
recovery
No requirement of shared storage
Support quorate & resource driven clusters
support service types
Clones : service should up in multiple
nodes
Multi-state service with multi-mode
#yum install pcs fence-agents
#pcs cluster auth node1 node2 -u hacluster –p
password
#pcs cluster --start –name clustername node1 node2
#pcs cluster enable –all
CREATE FENCING DEVICE
#pcs stonith list
#pcs create vmstonth fence_hpblade auth=password
ipaddr=192.168.0.1 login=Administrator
passwd=password
CREATE CLUSTER RESOURCES
#pcs resource create virtualip IPaddr2
ip=192.168.100.20 cidr_netmask=24 monitor
interval=30s
#pcs resource create web apache
configfile=/etc/httpd/conf/httpd.conf –group apache
MONITOR CLUSTER
#pcs status
#pcs cluster status
#pcs cluster stop –all
#pcs cluster kill
Top Related