OCF_HEARTBEAT_SPHINX(7)
β¨ OCF_HEARTBEAT_SPHINX(7) β¨
okay bestie, welcome to the OCF resource agents section of the man pages π this one's about OCF_HEARTBEAT_SPHINX β and no, it's not about pyramids or riddle-guarding cats, it's about the Sphinx search daemon. sit with me, we're gonna get you fluent fr fr π¦
π NAME π
ocf_heartbeat_SphinxSearchDaemon β she manages the Sphinx search daemon. that's the whole job description and she does it flawlessly, periodt π
πΈ SYNOPSIS πΈ
SphinxSearchDaemon [start | stop | monitor | meta-data | validate-all]
look at her. five little actions. so demure, so mindful π
π DESCRIPTION π
okay so real talk: this is a searchd Resource Agent. its whole entire vibe is managing the Sphinx Search Daemon. that's it, that's the arc, and honestly? iconic. π
β¨ SUPPORTED PARAMETERS β¨
these are the little knobs you can turn. every single one of them matters, don't skip any π«Ά
configβ the searchd configuration file. this one is unique (only one of her, she's the main character), it's optional, it's a string, and the default is"/etc/sphinx/sphinx.conf".searchdβ the searchd binary itself. optional, a string, default"/usr/local/bin/searchd".searchβ the Search binary, used for functional testing in the monitor action. optional, a string, default"/usr/local/bin/search".testQueryβ the test query for functional testing in the monitor action. and listen, this query does not need to match any documents in the index β like, zero matches is fine, she's not here to be popular. the whole point is just to test whether the search daemon is able to query its indices and respond properly. optional, a string, default"Heartbeat_Monitor_Query_Match_string".
π SUPPORTED ACTIONS π
this resource agent supports the following actions (operations). each one comes with a suggested minimum timeout, so take notes π
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: 20s. suggested interval: 10s. she's the nosy friend who checks in constantly and honestly we love her for it πmeta-dataβ retrieves resource agent metadata (internal use only). suggested minimum timeout: 5s.validate-allβ performs a validation of the resource configuration. suggested minimum timeout: 20s.
π EXAMPLE CRM SHELL π
here's what it looks like to set up a SphinxSearchDaemon resource using the crm(8) shell β copy it, don't freestyle it bestie:
primitive p_SphinxSearchDaemon ocf:heartbeat:SphinxSearchDaemon \
op monitor timeout="20s" interval="10s" depth="0"
π¦ EXAMPLE PCS π¦
and here's the same energy but using pcs(8):
pcs resource create p_SphinxSearchDaemon ocf:heartbeat:SphinxSearchDaemon \
op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
two ways, same slay π
β SEE ALSO β
go touch some grass and also read this:
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). a whole team of legends, no cap π
heads up bestie: this page ships withresource-agentsversion UNKNOWN, dated 04/08/2026, and it lives atOCF_HEARTBEAT_SPHINX(7). mwah, go forth and daemon responsibly πβ¨
π¦ where this page comes from
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms