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. Configuring Hostname Resolution
2.5. Configuring Time Synchronization
2.6. Installing Heartbeat
2.7. Configuring STONITH
3. Setting Up a Simple Resource
3.1. Configuration of a Resource Using the Heartbeat GUI
3.2. Manual Configuration of a Resource
4. Heartbeat Cluster Resource Configuration and Management
4.1. Configuring Heartbeat Cluster Resources
4.2. Migrating a Cluster Resource
5. Manual Configuration of a Cluster
5.1. Configuring Resources
5.2. Configuring Constraints
5.3. Configuring CRM Options
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:Evmsd — Evmsd resource agent
ocf:EvmsSCC — EVMS SCC resource agent
ocf:Filesystem — Filesystem resource agent
ocf:ICP — ICP resource agent
ocf:IPaddr2 — Manages virtual IPv4 addresses
ocf:IPaddr — Manages virtual IPv4 addresses
ocf:IPsrcaddr — IPsrcaddr resource agent
ocf:IPv6addr — manages IPv6 alias
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: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:Stateful — Example stateful resource agent
ocf:SysInfo — SysInfo 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

SUSE Linux Enterprise Server Heartbeat Guide 10 SP1