table of contents
OCF_HEARTBEAT_SQUID(7) | OCF resource agents | OCF_HEARTBEAT_SQUID(7) |
NAME¶
ocf_heartbeat_Squid - Manages a Squid proxy server instance
SYNOPSIS¶
Squid [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
The resource agent of Squid. This manages a Squid instance as an HA resource.
SUPPORTED PARAMETERS¶
squid_exe
(required, string, no default)
squid_conf
(unique, required, string, no default)
squid_opts
(optional, string, no default)
squid_pidfile
(unique, optional, string, no default)
squid_port
(unique, required, integer, no default)
squid_stop_timeout
(optional, integer, default 10)
debug_mode
(optional, string, no default)
debug_log
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a Squid resource using the crm(8) shell:
primitive p_Squid ocf:heartbeat:Squid \
params \
squid_exe=string \
squid_conf=string \
squid_port=integer \
op monitor depth="0" timeout="30s" interval="10s"
EXAMPLE PCS¶
The following is an example configuration for a Squid resource using pcs(8)
pcs resource create p_Squid ocf:heartbeat:Squid \
squid_exe=string \
squid_conf=string \
squid_port=integer \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="10s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/05/2024 | resource-agents UNKNOWN |