SysTutorials

Linux Manual Pages › Section 7

ocf_heartbeat_rabbitmq-cluster(7)

ocf_heartbeat_rabbitmq-cluster – rabbitmq clustered

Synopsis

rabbitmq-cluster [start | stop | monitor | meta-data | validate-all]

Description

Starts cloned rabbitmq cluster instance. NB: note that this RA cannot be spawned across a mix of pacemaker and pacemaker-remote nodes. Only on pacemaker *or* pacemaker-remote nodes exclusively.

Supported Parameters

set_policy

Policy string to pass to ‘rabbitmqctl set_policy’ right after bootstrapping the first rabbitmq instance.

(unique, optional, string, no default)

Supported Actions

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 100.

stop

Stops the resource. Suggested minimum timeout: 90.

monitor

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

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 rabbitmq-cluster resource using the crm(8) shell:

primitive p_rabbitmq-cluster ocf:heartbeat:rabbitmq-cluster \
 op monitor timeout="40" interval="10" depth="0" 

Example Pcs

The following is an example configuration for a rabbitmq-cluster resource using pcs(8)

pcs resource create p_rabbitmq-cluster ocf:heartbeat:rabbitmq-cluster \
 op monitor timeout="40" interval="10" depth="0" 

See Also

m[blue]http://www.linux-ha.org/wiki/rabbitmq-cluster_(resource_agent)m[]

Author

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