ocf_heartbeat_rabbitmq-cluster (7) - Linux Man Pages

ocf_heartbeat_rabbitmq-cluster: rabbitmq clustered

NAME

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" 

AUTHOR

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