Provided by: cluster-agents_1.0.4-0ubuntu2_amd64
NAME
ocf_heartbeat_db2 - Manages an IBM DB2 Universal Database instance
SYNOPSIS
db2 [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for db2. It manages a DB2 Universal Database instance as an HA resource. Multiple partitions are supported. Configure each partition as a separate HA instance.
SUPPORTED PARAMETERS
instance The instance of database. (required, string, no default) admin The admin user of the instance. (optional, string, no default) dbpartitionnum The number of the partion (DBPARTITIONNUM) to be managed. (optional, string, default 0)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 120. stop Stops the resource. Suggested minimum timeout: 120. status Performs a status check. Suggested minimum timeout: 60. monitor Performs a detailed status check. Suggested minimum timeout: 60. Suggested interval: 10. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. methods Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a db2 resource using the crm(8) shell: primitive example_db2 ocf:heartbeat:db2 \ params \ instance=string \ op monitor depth="0" timeout="60" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/db2_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)