Name

ocf_heartbeat_conntrackd — This resource agent manages conntrackd

Synopsis

conntrackd [ start | stop | monitor | promote | demote | meta-data | validate-all ]

Description

Master/Slave OCF Resource Agent for conntrackd

Supported Parameters

conntrackd

Name of the conntrackd executable. If conntrackd is installed and available in the default PATH, it is sufficient to configure the name of the binary For example "my-conntrackd-binary-version-0.9.14" If conntrackd is installed somewhere else, you may also give a full path For example "/packages/conntrackd-0.9.14/sbin/conntrackd" (optional, string, default conntrackd)

config

Full path to the conntrackd.conf file. For example "/packages/conntrackd-0.9.14/etc/conntrackd/conntrackd.conf" (optional, string, default /etc/conntrackd/conntrackd.conf)

Supported Actions

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 30.

promote

Promotes the resource to the Master role. Suggested minimum timeout: 30.

demote

Demotes the resource to the Slave role. Suggested minimum timeout: 30.

notify

Suggested minimum timeout: 30.

stop

Stops the resource. Suggested minimum timeout: 30.

monitor (Slave role)

Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 20.

monitor (Master role)

Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.

validate-all

Performs a validation of the resource configuration. Suggested minimum timeout: 30.

Example

The following is an example configuration for a conntrackd resource using the crm(8) shell:

primitive example_conntrackd ocf:heartbeat:conntrackd \

  op monitor depth="0" timeout="20" interval="20" role="Slave" 
  op monitor depth="0" timeout="20" interval="10" role="Master" 

See also

http://www.linux-ha.org/wiki/conntrackd_(resource_agent)