OCF_HEARTBEAT_RABBIT(7) | OCF resource agents | OCF_HEARTBEAT_RABBIT(7) |
ocf_heartbeat_rabbitmq-server-ha - Resource agent for RabbitMQ HA cluster
rabbitmq-server-ha [start | stop | status | monitor | promote | demote | meta-data | validate-all]
Resource agent for RabbitMQ promotes a node, then cluster nodes can join it
binary
(optional, string, default "/usr/sbin/rabbitmq-server")
ctl
(optional, string, default "/usr/sbin/rabbitmqctl")
pid_file
(optional, string, default "/var/run/rabbitmq/pid")
log_dir
(optional, string, default "/var/log/rabbitmq")
username
(optional, string, default "rabbitmq")
groupname
(optional, string, default "rabbitmq")
admin_user
(optional, string, default "guest")
admin_password
(optional, string, default "guest")
definitions_dump_file
(optional, string, default "/etc/rabbitmq/definitions")
command_timeout
(optional, string, no default)
start_time
(optional, string, default "7")
stop_time
(optional, string, default "7")
debug
(optional, boolean, default false)
mnesia_base
(optional, boolean, default /var/lib/rabbitmq/mnesia)
mnesia_schema_base
(optional, string, default "/var/lib/rabbitmq")
host_ip
(optional, boolean, default 127.0.0.1)
node_port
(optional, boolean, default 5672)
default_vhost
(optional, string, default "/")
erlang_cookie
(optional, boolean, default false)
erlang_cookie_file
(optional, boolean, default /var/lib/rabbitmq/.erlang.cookie)
use_fqdn
(optional, boolean, default false)
fqdn_prefix
(optional, string, no default)
max_rabbitmqctl_timeouts
(optional, string, default "3")
policy_file
(optional, string, default "/usr/local/sbin/set_rabbitmq_policy")
rmq_feature_health_check
(optional, boolean, default true)
rmq_feature_local_list_queues
(optional, boolean, default true)
limit_nofile
(optional, string, default "65535")
avoid_using_iptables
(optional, boolean, default false)
allowed_cluster_nodes
(optional, string, no default)
This resource agent supports the following actions (operations):
start
stop
status
monitor
monitor (Promoted role)
promote
demote
notify
validate-all
meta-data
The following is an example configuration for a rabbitmq-server-ha resource using the crm(8) shell:
primitive p_rabbitmq-server-ha ocf:heartbeat:rabbitmq-server-ha \
op monitor depth="0" timeout="30s" interval="5s" \
op monitor depth="0" timeout="30s" interval="3s" role="Promoted"
ms ms_rabbitmq-server-ha p_rabbitmq-server-ha \
meta notify="true" interleave="true"
The following is an example configuration for a rabbitmq-server-ha resource using pcs(8)
pcs resource create p_rabbitmq-server-ha ocf:heartbeat:rabbitmq-server-ha \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="5s" \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="3s" role="Promoted" promotable
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |