SUSE Linux Enterprise Server

Heartbeat Guide

Legal Notice

Contents

About This Guide
1. Feedback
2. Documentation Updates
3. Documentation Conventions
1. Overview
1.1. Product Features
1.2. Product Benefits
1.3. Cluster Configurations
1.4. Heartbeat Cluster Components
1.5. Architecture
2. Installation and Setup
2.1. Hardware Requirements
2.2. Software Requirements
2.3. Shared Disk System Requirements
2.4. Preparations
2.5. Installing Heartbeat
2.6. Configuring STONITH
3. Setting Up a Simple Resource
3.1. Configuring a Resource with the Heartbeat GUI
3.2. Manual Configuration of a Resource
4. Configuring and Managing Cluster Resources
4.1. Graphical HA Management Client
4.2. Creating Cluster Resources
4.3. Configuring Resource Constraints
4.4. Specifying Resource Failover Nodes
4.5. Specifying Resource Failback Nodes (Resource Stickiness)
4.6. Configuring Resource Monitoring
4.7. Starting a New Cluster Resource
4.8. Removing a Cluster Resource
4.9. Configuring a Heartbeat Cluster Resource Group
4.10. Configuring a Heartbeat Clone Resource
4.11. Migrating a Cluster Resource
5. Manual Configuration of a Cluster
5.1. Configuration Basics
5.2. Configuring Resources
5.3. Configuring Constraints
5.4. Configuring CRM Options
5.5. For More Information
6. Managing a Cluster
cibadmin — read, modify, or administer Heartbeat Cluster Information Base
crmadmin — control the Cluster Resource Manager
crm_attribute — manipulate attributes in the CIB
crm_diff — identify changes to the cluster configuration and apply patches to the configuration files
crm_failcount — manipulate the failcount attribute on a given resource
crm_master — determine which resource instance to promote to master
crm_mon — monitor the cluster's status
crm_resource — interact with the Cluster Resource Manager
crm_standby — manipulate a node's standby attribute to determine whether resources can be run on this node
crm_uuid — get a node's UUID
crm_verify — check the CIB for consistency
7. Creating Resources
7.1. STONITH Agents
7.2. Resource Agents
7.3. Writing OCF Resource Agents
8. Troubleshooting
A. HB OCF Agents
ocf:apache — Apache web server
ocf:AudibleAlarm — AudibleAlarm resource agent
ocf:ClusterMon — ClusterMon resource agent
ocf:db2 — db2 resource agent
ocf:Delay — Delay resource agent
ocf:drbd — This resource agent manages a Distributed Replicated Block Device (DRBD) object as a master/slave resource. DRBD is a mechanism for replicating storage; please see the documentation for setup details.
ocf:Dummy — Dummy resource agent
ocf:eDir88 — eDirectory resource agent
ocf:Evmsd — Evmsd resource agent
ocf:EvmsSCC — EVMS SCC resource agent
ocf:Filesystem — Filesystem resource agent
ocf:ICP — ICP resource agent
ocf:ids — OCF resource agent for the IBM's database server called Informix Dynamic Server (IDS)
ocf:IPaddr2 — Manages virtual IPv4 addresses
ocf:IPaddr — Manages virtual IPv4 addresses
ocf:IPsrcaddr — IPsrcaddr resource agent
ocf:IPv6addr — manages IPv6 alias
ocf:iscsi — iscsi resource agent
ocf:Ldirectord — Wrapper OCF Resource Agent for ldirectord
ocf:LinuxSCSI — LinuxSCSI resource agent
ocf:LVM — LVM resource agent
ocf:MailTo — MailTo resource agent
ocf:ManageRAID — Manages RAID devices
ocf:ManageVE — OpenVZ VE resource agent
ocf:mysql — MySQL resource agent
ocf:o2cb — OCFS2 membership layer manager.
ocf:oracle — oracle resource agent
ocf:oralsnr — oralsnr resource agent
ocf:pgsql — pgsql resource agent
ocf:pingd — pingd resource agent
ocf:portblock — portblock resource agent
ocf:Pure-FTPd — OCF Resource Agent compliant FTP script.
ocf:Raid1 — RAID1 resource agent
ocf:rsyncd — OCF Resource Agent compliant rsync daemon script.
ocf:SAPDatabase — SAP database resource agent
ocf:SAPInstance — SAP instance resource agent
ocf:SendArp — SendArp resource agent
ocf:ServeRAID — ServeRAID resource agent
ocf:SphinxSearchDaemon — searchd resource agent
ocf:Stateful — Example stateful resource agent
ocf:SysInfo — SysInfo resource agent
ocf:tomcat — tomcat resource agent
ocf:VIPArip — Virtual IP Address by RIP2 protocol
ocf:WAS6 — WAS6 resource agent
ocf:WAS — WAS resource agent
ocf:WinPopup — WinPopup resource agent
ocf:Xen — Manages Xen DomUs
ocf:Xinetd — Xinetd resource agent
Terminology

List of Figures

1.1. Three-Server Cluster
1.2. Three-Server Cluster after One Server Fails
1.3. Typical Fibre Channel Cluster Configuration
1.4. Typical iSCSI Cluster Configuration
1.5. Typical Cluster Configuration Without Shared Storage
1.6. Heartbeat Architecture
2.1. Node Configuration
2.2. Authentication Keys
2.3. Media Configuration
2.4. Startup Configuration
4.1. Group Resource

List of Examples

5.1. Structure of an Empty Configuration

SUSE Linux Enterprise Server Heartbeat Guide 10 SP2