ocf_heartbeat_SphinxSearchDaemon

Langue: en

Version: 06/26/2010 (ubuntu - 25/10/10)

Section: 7 (Divers)

NAME

ocf_heartbeat_SphinxSearchDaemon - Manages the Sphinx search daemon.

SYNOPSIS

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

DESCRIPTION

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

SUPPORTED PARAMETERS

config

searchd configuration file (optional, string, default /etc/sphinx/sphinx.conf)

searchd

searchd binary (optional, string, default /usr/local/bin/searchd)

search

Search binary for functional testing in the monitor action. (optional, string, default /usr/local/bin/search)

testQuery

Test query for functional testing in the monitor action. The query does not need to match any documents in the index. The purpose is merely to test whether the search daemon is is able to query its indices and respond properly. (optional, string, default Heartbeat_Monitor_Query_Match_string)

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.

monitor

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

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.

validate-all

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

EXAMPLE

The following is an example configuration for a SphinxSearchDaemon resource using the crm(8) shell:

 primitive example_SphinxSearchDaemon ocf:heartbeat:SphinxSearchDaemon \
 
   op monitor timeout="20" interval="10" depth="0" 
 

SEE ALSO

m[blue]http://www.linux-ha.org/wiki/SphinxSearchDaemon_(resource_agent)m[]

AUTHOR

Linux-HA contributors (see the resource agent source for information about individual authors)