table of contents
OCF_HEARTBEAT_ANYTHI(7) | OCF resource agents | OCF_HEARTBEAT_ANYTHI(7) |
NAME¶
ocf_heartbeat_anything - Manages an arbitrary service
SYNOPSIS¶
anything [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
This is a generic OCF RA to manage almost anything.
SUPPORTED PARAMETERS¶
binfile
(required, string, no default)
cmdline_options
(optional, string, no default)
workdir
(optional, string, no default)
pidfile
(optional, string, default "/var/run/anything_RESOURCE_ID.pid")
logfile
(optional, string, default "/dev/null")
errlogfile
(optional, string, no default)
user
(optional, string, default "root")
monitor_hook
(optional, string, no default)
stop_timeout
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
meta-data
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a anything resource using the crm(8) shell:
primitive p_anything ocf:heartbeat:anything \
params \
binfile=string \
op monitor depth="0" timeout="20s" interval="10s"
EXAMPLE PCS¶
The following is an example configuration for a anything resource using pcs(8)
pcs resource create p_anything ocf:heartbeat:anything \
binfile=string \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
10/05/2024 | resource-agents 4.15.1-2 |