table of contents
OCF_HEARTBEAT_GCP-I(7) | OCF resource agents | OCF_HEARTBEAT_GCP-I(7) |
NAME¶
ocf_heartbeat_gcp-ilb - Replies to health checks from Google Cloud
SYNOPSIS¶
gcp-ilb [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
Resource Agent that wraps /usr/bin/nc or /usr/bin/socat to reply to health checks in Google Cloud. See https://cloud.google.com/load-balancing/docs/health-checks for more information.
SUPPORTED PARAMETERS¶
port
(optional, string, default "60000")
cat
(optional, string, default "nc")
log_enable
(optional, string, default "false")
log_cmd
NOTE: Only the binary is validated for existence and no further checks are performed. The assumption is that only administrators with root access can configure this tool.
(optional, string, default "gcloud")
log_params
(optional, string, default "logging write GCPILB")
log_end_params
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
The following is an example configuration for a gcp-ilb resource using the crm(8) shell:
primitive p_gcp-ilb ocf:heartbeat:gcp-ilb \
op monitor depth="0" timeout="30s" interval="30s"
EXAMPLE PCS¶
The following is an example configuration for a gcp-ilb resource using pcs(8)
pcs resource create p_gcp-ilb ocf:heartbeat:gcp-ilb \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="30s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |