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

NAME

6       ocf_heartbeat_SphinxSearchDaemon - Manages the Sphinx search daemon.
7

SYNOPSIS

9       SphinxSearchDaemon [start | stop | monitor | meta-data | validate-all]
10

DESCRIPTION

12       This is a searchd Resource Agent. It manages the Sphinx Search Daemon.
13

SUPPORTED PARAMETERS

15       config
16           searchd configuration file
17
18           (unique, optional, string, default "/etc/sphinx/sphinx.conf")
19
20       searchd
21           searchd binary
22
23           (optional, string, default "/usr/local/bin/searchd")
24
25       search
26           Search binary for functional testing in the monitor action.
27
28           (optional, string, default "/usr/local/bin/search")
29
30       testQuery
31           Test query for functional testing in the monitor action. The query
32           does not need to match any documents in the index. The purpose is
33           merely to test whether the search daemon is is able to query its
34           indices and respond properly.
35
36           (optional, string, default "Heartbeat_Monitor_Query_Match_string")
37

SUPPORTED ACTIONS

39       This resource agent supports the following actions (operations):
40
41       start
42           Starts the resource. Suggested minimum timeout: 20s.
43
44       stop
45           Stops the resource. Suggested minimum timeout: 20s.
46
47       monitor
48           Performs a detailed status check. Suggested minimum timeout: 20s.
49           Suggested interval: 10s.
50
51       meta-data
52           Retrieves resource agent metadata (internal use only). Suggested
53           minimum timeout: 5s.
54
55       validate-all
56           Performs a validation of the resource configuration. Suggested
57           minimum timeout: 20s.
58

EXAMPLE CRM SHELL

60       The following is an example configuration for a SphinxSearchDaemon
61       resource using the crm(8) shell:
62
63           primitive p_SphinxSearchDaemon ocf:heartbeat:SphinxSearchDaemon \
64             op monitor timeout="20s" interval="10s" depth="0"
65

EXAMPLE PCS

67       The following is an example configuration for a SphinxSearchDaemon
68       resource using pcs(8)
69
70           pcs resource create p_SphinxSearchDaemon ocf:heartbeat:SphinxSearchDaemon \
71             op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
72

SEE ALSO

74       http://clusterlabs.org/
75

AUTHOR

77       ClusterLabs contributors (see the resource agent source for information
78       about individual authors)
79
80
81
82resource-agents UNKNOWN           03/25/2021           OCF_HEARTBEAT_SPHINX(7)
Impressum