HA OCF Agents

Contents

ocf:anything — Manages an arbitrary service
ocf:AoEtarget — Manages ATA-over-Ethernet (AoE) target exports
ocf:apache — Manages an Apache web server instance
ocf:AudibleAlarm — Emits audible beeps at a configurable interval
ocf:ClusterMon — Runs crm_mon in the background, recording the cluster status to an HTML file
ocf:CTDB — CTDB Resource Agent
ocf:db2 — Manages an IBM DB2 Universal Database instance
ocf:Delay — Waits for a defined timespan
ocf:drbd — Manages a DRBD resource (deprecated)
ocf:Dummy — Example stateless resource agent
ocf:eDir88 — Manages a Novell eDirectory directory server
ocf:Evmsd — Controls clustered EVMS volume management (deprecated)
ocf:EvmsSCC — Manages EVMS Shared Cluster Containers (SCCs) (deprecated)
ocf:Filesystem — Manages filesystem mounts
ocf:ICP — Manages an ICP Vortex clustered host drive
ocf:ids — Manages an Informix Dynamic Server (IDS) instance
ocf:IPaddr2 — Manages virtual IPv4 addresses (Linux specific version)
ocf:IPaddr — Manages virtual IPv4 addresses (portable version)
ocf:IPsrcaddr — Manages the preferred source address for outgoing IP packets
ocf:IPv6addr — Manages IPv6 aliases
ocf:iSCSILogicalUnit — Manages iSCSI Logical Units (LUs)
ocf:iSCSITarget — iSCSI target export agent
ocf:iscsi — Manages a local iSCSI initiator and its connections to iSCSI targets
ocf:ldirectord — Wrapper OCF Resource Agent for ldirectord
ocf:LinuxSCSI — Enables and disables SCSI devices through the kernel SCSI hot-plug subsystem (deprecated)
ocf:LVM — Controls the availability of an LVM Volume Group
ocf:MailTo — Notifies recipients by email in the event of resource takeover
ocf:ManageRAID — Manages RAID devices
ocf:ManageVE — Manages an OpenVZ Virtual Environment (VE)
ocf:mysql-proxy — Manages a MySQL Proxy daemon
ocf:mysql — Manages a MySQL database instance
ocf:nfsserver — Manages an NFS server
ocf:oracle — Manages an Oracle Database instance
ocf:oralsnr — Manages an Oracle TNS listener
ocf:pgsql — Manages a PostgreSQL database instance
ocf:pingd — Monitors connectivity to specific hosts or IP addresses ("ping nodes") (deprecated)
ocf:portblock — Block and unblocks access to TCP and UDP ports
ocf:proftpd — OCF Resource Agent compliant FTP script.
ocf:Pure-FTPd — Manages a Pure-FTPd FTP server instance
ocf:Raid1 — Manages a software RAID1 device on shared storage
ocf:Route — Manages network routes
ocf:rsyncd — Manages an rsync daemon
ocf:SAPDatabase — Manages any SAP database (based on Oracle, MaxDB, or DB2)
ocf:SAPInstance — Manages a SAP instance
ocf:scsi2reservation — scsi-2 reservation
ocf:SendArp — Broadcasts unsolicited ARP announcements
ocf:ServeRAID — Enables and disables shared ServeRAID merge groups
ocf:sfex — Manages exclusive acess to shared storage using Shared Disk File EXclusiveness (SF-EX)
ocf:SphinxSearchDaemon — Manages the Sphinx search daemon.
ocf:Squid — Manages a Squid proxy server instance
ocf:Stateful — Example stateful resource agent
ocf:SysInfo — Records various node attributes in the CIB
ocf:syslog-ng — Syslog-ng resource agent
ocf:tomcat — Manages a Tomcat servlet environment instance
ocf:VIPArip — Manages a virtual IP address through RIP2
ocf:VirtualDomain — Manages virtual domains through the libvirt virtualization framework
ocf:vmware — Manages VMWare Server 2.0 virtual machines
ocf:WAS6 — Manages a WebSphere Application Server 6 instance
ocf:WAS — Manages a WebSphere Application Server instance
ocf:WinPopup — Sends an SMB notification message to selected hosts
ocf:Xen — Manages Xen unprivileged domains (DomUs)
ocf:Xinetd — Manages an Xinetd service

All OCF agents require several parameters to be set when they are started. The following overview shows how to manually operate these agents. The data that is available in this appendix is directly taken from the meta-data invocation of the respective RA. Find all these agents in /usr/lib/ocf/resource.d/heartbeat/.

When configuring an RA, omit the OCF_RESKEY_ prefix to the parameter name. Parameters that are in square brackets may be omitted in the configuration.