OCF_HEARTBEAT_COROSY(7) | OCF resource agents | OCF_HEARTBEAT_COROSY(7) |
ocf_heartbeat_corosync-qnetd - Corosync QNet daemon resource agent
corosync-qnetd [start | stop | status | monitor | meta-data | validate-all]
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).
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")
This resource agent supports the following actions (operations):
start
stop
status
monitor
validate-all
meta-data
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"
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"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |