OCF_HEARTBEAT_SQUID - Online Linux Manual PageSection : 7
Updated : 03/25/2021
Source : resource-agents UNKNOWN
Note : OCF resource agents

NAMEocf_heartbeat_Squid − Manages a Squid proxy server instance

SYNOPSISSquid [start | stop | status | monitor | meta−data | validate−all]

DESCRIPTIONThe resource agent of Squid​. This manages a Squid instance as an HA resource​.

SUPPORTED PARAMETERSsquid_exe This is a required parameter​. This parameter specifies squid's executable file​. (required, string, no default) squid_conf This is a required parameter​. This parameter specifies a configuration file for a squid instance managed by this RA​. (unique, required, string, no default) squid_opts This is a optional parameter​. This parameter specifies the start options​. (optional, string, no default) squid_pidfile Deprecated − do not use anymore (unique, optional, string, no default) squid_port This is a required parameter​. This parameter specifies a port number for a squid instance managed by this RA​. If multiple ports are used, you must specify only one of them​. (unique, required, integer, no default) squid_stop_timeout On stop, a squid shutdown is invoked first​. If the resource doesn't stop within this timeout, we resort to stopping processes by sending signals and finally KILLing them​. (optional, integer, default 10) debug_mode This is an optional parameter​. This RA runs in debug mode when this parameter includes 'x' or 'v'​. If 'x' is included, both of STDOUT and STDERR redirect to the logfile specified by "debug_log", and then the builtin shell option 'x' is turned on​. It is similar about 'v'​. (optional, string, no default) debug_log This is an optional parameter​. This parameter specifies a destination file for debug logs and works only if this RA run in debug mode​. Refer to "debug_mode" about debug mode​. If no value is given but is required, it's constructed according to the following rules: "/var/log/" as a directory part, the basename of the configuration file given by "syslog_ng_conf" as a basename part, "​.log" as a suffix​. (optional, string, no default)

SUPPORTED ACTIONSThis resource agent supports the following actions (operations): start Starts the resource​. Suggested minimum timeout: 60s​. stop Stops the resource​. Suggested minimum timeout: 120s​. status Performs a status check​. Suggested minimum timeout: 60s​. monitor Performs a detailed status check​. Suggested minimum timeout: 30s​. Suggested interval: 10s​. 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: 5s​.

EXAMPLE CRM SHELLThe 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 PCSThe 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­http://clusterlabs.org/

AUTHORClusterLabs contributors (see the resource agent source for information about individual authors)
0
Johanes Gumabo
Data Size   :   15,108 byte
man-ocf_heartbeat_Squid.7Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 262,516
Visitor ID   :     :  
Visitor IP   :   18.188.106.47   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.