ocf_heartbeat_clvm man page

ocf_heartbeat_clvm — clvmd

Synopsis

clvm [start | stop | monitor | meta-data | validate-all]

Description

This agent manages the clvmd daemon.

Supported Parameters

with_cmirrord

Start with cmirrord (cluster mirror log daemon).

(optional, boolean, default false)

daemon_options

Options to clvmd. Refer to clvmd.8 for detailed descriptions.

(optional, string, default "-d0")

activate_vgs

Whether or not to activate all cluster volume groups after starting the clvmd or not. Note that clustered volume groups will always be deactivated before the clvmd stops regardless of what this option is set to.

(optional, boolean, default true)

Supported Actions

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 90.

stop

Stops the resource. Suggested minimum timeout: 90.

monitor

Performs a detailed status check. Suggested minimum timeout: 90. Suggested interval: 30.

reload

Suggested minimum timeout: 90.

meta-data

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

validate-all

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

Example Crm Shell

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

primitive p_clvm ocf:heartbeat:clvm \
  op monitor timeout="90" interval="30" depth="0"

Example Pcs

The following is an example configuration for a clvm resource using pcs(8)

pcs resource create p_clvm ocf:heartbeat:clvm \
  op monitor timeout="90" interval="30" depth="0"

See Also

http://www.linux-ha.org/wiki/clvm_(reso…

Author

Linux-HA contributors (see the resource agent source for information about individual authors)

Info

02/09/2016 resource-agents UNKNOWN OCF resource agents