OCF_HEARTBEAT_ANYTHI(7) | OCF resource agents | OCF_HEARTBEAT_ANYTHI(7) |
ocf_heartbeat_anything - Manages an arbitrary service
anything [start | stop | monitor | meta-data | validate-all]
This is a generic OCF RA to manage almost anything.
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)
This resource agent supports the following actions (operations):
start
stop
monitor
meta-data
validate-all
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"
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"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |