table of contents
OCF_HEARTBEAT_COROSY(7) | OCF resource agents | OCF_HEARTBEAT_COROSY(7) |
NAME¶
ocf_heartbeat_corosync-qnetd - Corosync QNet daemon resource agent
SYNOPSIS¶
corosync-qnetd [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
OCF Resource script for corosync-qnetd. It manages a corosync-qnetd instance as a HA resource. It is required to copy nss db directory (usually /etc/corosync/qnetd/nssdb) across all nodes (only once - after database is initialized).
SUPPORTED PARAMETERS¶
binary
(optional, string, default "/usr/bin/corosync-qnetd")
qnetd_opts
(optional, string, no default)
qnetd_tool_binary
(optional, string, default "/usr/bin/corosync-qnetd-tool")
ip
(optional, string, no default)
port
(optional, string, no default)
nss_db_dir
(optional, string, no default)
pid
(optional, string, default "/var/run/corosync-qnetd/corosync-qnetd-RESOURCE_ID.pid")
ipc_sock
(optional, string, default "/var/run/corosync-qnetd/corosync-qnetd-RESOURCE_ID.sock")
user
(optional, string, default "coroqnetd")
group
(optional, string, default "coroqnetd")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
The following is an example configuration for a corosync-qnetd resource using the crm(8) shell:
primitive p_corosync-qnetd ocf:heartbeat:corosync-qnetd \
op monitor depth="0" timeout="20s" interval="10s" start-delay="10s"
EXAMPLE PCS¶
The following is an example configuration for a corosync-qnetd resource using pcs(8)
pcs resource create p_corosync-qnetd ocf:heartbeat:corosync-qnetd \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s" start-delay="10s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
10/05/2024 | resource-agents 4.15.1-2 |