1OCF_HEARTBEAT_COROSY(7)       OCF resource agents      OCF_HEARTBEAT_COROSY(7)
2
3
4

NAME

6       ocf_heartbeat_corosync-qnetd - Corosync QNet daemon resource agent
7

SYNOPSIS

9       corosync-qnetd [start | stop | status | monitor | meta-data |
10                      validate-all]
11

DESCRIPTION

13       OCF Resource script for corosync-qnetd. It manages a corosync-qnetd
14       instance as a HA resource. It is required to copy nss db directory
15       (usually /etc/corosync/qnetd/nssdb) across all nodes (only once - after
16       database is initialized).
17

SUPPORTED PARAMETERS

19       binary
20           Location of the corosync-qnetd binary
21
22           (optional, string, default "/usr/bin/corosync-qnetd")
23
24       qnetd_opts
25           Additional options for corosync-qnetd binary. "-4" for example.
26
27           (optional, string, no default)
28
29       qnetd_tool_binary
30           The absolute path to the corosync-qnetd-tool for monitoring with
31           OCF_CHECK_LEVEL greater zero.
32
33           (optional, string, default "/usr/bin/corosync-qnetd-tool")
34
35       ip
36           IP address to listen on. By default the daemon listens on all
37           addresses (wildcard).
38
39           (optional, string, no default)
40
41       port
42           TCP port to listen on. Default port is 5403.
43
44           (optional, string, no default)
45
46       nss_db_dir
47           Location of the corosync-qnetd nss db directory (empty for default
48           - usually /etc/corosync/qnetd/nssdb)
49
50           (optional, string, no default)
51
52       pid
53           Location of the corosync-qnetd pid/lock
54
55           (optional, string, default
56           "/var/run/corosync-qnetd/corosync-qnetd-RESOURCE_ID.pid")
57
58       ipc_sock
59           Location of the corosync-qnetd ipc socket
60
61           (optional, string, default
62           "/var/run/corosync-qnetd/corosync-qnetd-RESOURCE_ID.sock")
63
64       user
65           User running corosync-qnetd
66
67           (optional, string, default "coroqnetd")
68
69       group
70           Group running corosync-qnetd
71
72           (optional, string, default "coroqnetd")
73

SUPPORTED ACTIONS

75       This resource agent supports the following actions (operations):
76
77       start
78           Starts the resource. Suggested minimum timeout: 20s.
79
80       stop
81           Stops the resource. Suggested minimum timeout: 20s.
82
83       status
84           Performs a status check. Suggested minimum timeout: 20s.
85
86       monitor
87           Performs a detailed status check. Suggested minimum timeout: 20s.
88           Suggested interval: 10s.
89
90       validate-all
91           Performs a validation of the resource configuration. Suggested
92           minimum timeout: 20s.
93
94       meta-data
95           Retrieves resource agent metadata (internal use only). Suggested
96           minimum timeout: 20s.
97

EXAMPLE CRM SHELL

99       The following is an example configuration for a corosync-qnetd resource
100       using the crm(8) shell:
101
102           primitive p_corosync-qnetd ocf:heartbeat:corosync-qnetd \
103             op monitor depth="0" timeout="20s" interval="10s" start-delay="10s"
104

EXAMPLE PCS

106       The following is an example configuration for a corosync-qnetd resource
107       using pcs(8)
108
109           pcs resource create p_corosync-qnetd ocf:heartbeat:corosync-qnetd \
110             op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s" start-delay="10s"
111

SEE ALSO

113       http://clusterlabs.org/
114

AUTHOR

116       ClusterLabs contributors (see the resource agent source for information
117       about individual authors)
118
119
120
121resource-agents UNKNOWN           10/11/2023           OCF_HEARTBEAT_COROSY(7)
Impressum