Provided by: resource-agents-extra_4.11.0-1ubuntu1_amd64 bug

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
           Location of the corosync-qnetd binary

           (optional, string, default "/usr/bin/corosync-qnetd")

       qnetd_opts
           Additional options for corosync-qnetd binary. "-4" for example.

           (optional, string, no default)

       qnetd_tool_binary
           The absolute path to the corosync-qnetd-tool for monitoring with OCF_CHECK_LEVEL
           greater zero.

           (optional, string, default "/usr/bin/corosync-qnetd-tool")

       ip
           IP address to listen on. By default the daemon listens on all addresses (wildcard).

           (optional, string, no default)

       port
           TCP port to listen on. Default port is 5403.

           (optional, string, no default)

       nss_db_dir
           Location of the corosync-qnetd nss db directory (empty for default - usually
           /etc/corosync/qnetd/nssdb)

           (optional, string, no default)

       pid
           Location of the corosync-qnetd pid/lock

           (optional, string, default "/var/run/corosync-qnetd/corosync-qnetd-RESOURCE_ID.pid")

       ipc_sock
           Location of the corosync-qnetd ipc socket

           (optional, string, default "/var/run/corosync-qnetd/corosync-qnetd-RESOURCE_ID.sock")

       user
           User running corosync-qnetd

           (optional, string, default "coroqnetd")

       group
           Group running corosync-qnetd

           (optional, string, default "coroqnetd")

SUPPORTED ACTIONS

       This resource agent supports the following actions (operations):

       start
           Starts the resource. Suggested minimum timeout: 20s.

       stop
           Stops the resource. Suggested minimum timeout: 20s.

       status
           Performs a status check. Suggested minimum timeout: 20s.

       monitor
           Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval:
           10s.

       validate-all
           Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

       meta-data
           Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 20s.

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

       http://clusterlabs.org/

AUTHOR

       ClusterLabs contributors (see the resource agent source for information about individual
       authors)