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

NAMEocf_heartbeat_docker-compose − This script manages docker services using docker−compose​.

SYNOPSISdocker−compose [start | stop | monitor | meta−data | validate−all]

DESCRIPTIONManages docker services using docker−compose as an OCF resource in an High Availability setup​. It relies on a well−tested docker compose YAML file which distributed on an identical location on all cluster nodes​. Caveat: 1​. A YAML file (docker−compose​.yml) and an optional Dockerfile must be provided in a working directory​. 2​. It is suggested to test run the docker−compose and verify on all cluster nodes before enabling this agent​.

SUPPORTED PARAMETERSbinpath The docker−composer binary path​. For example, "/usr/bin/docker−compose" (optional, string, default "/usr/bin/docker−compose") dirpath The directory contains docker compose yaml file​. For example, "/data/docker" (required, string, no default) ymlfile The docker−compose yaml file​. For example, "docker−compose​.yml" (optional, string, default "docker−compose​.yml")

SUPPORTED ACTIONSThis resource agent supports the following actions (operations): start Starts the resource​. Suggested minimum timeout: 240s​. stop Stops the resource​. Suggested minimum timeout: 20s​. monitor Performs a detailed status check​. Suggested minimum timeout: 10s​. Suggested interval: 60s​. validate−all Performs a validation of the resource configuration​. Suggested minimum timeout: 5s​. meta−data Retrieves resource agent metadata (internal use only)​. Suggested minimum timeout: 5s​.

EXAMPLE CRM SHELLThe following is an example configuration for a docker−compose resource using the crm(8) shell: primitive p_docker−compose ocf:heartbeat:docker−compose \ params \ dirpath=string \ op monitor depth="0" timeout="10s" interval="60s"

EXAMPLE PCSThe following is an example configuration for a docker−compose resource using pcs(8) pcs resource create p_docker−compose ocf:heartbeat:docker−compose \ dirpath=string \ op monitor OCF_CHECK_LEVEL="0" timeout="10s" interval="60s"

SEE ALSO­http://clusterlabs.org/

AUTHORClusterLabs contributors (see the resource agent source for information about individual authors)
0
Johanes Gumabo
Data Size   :   11,020 byte
man-ocf_heartbeat_docker-compose.7Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 198,522
Visitor ID   :     :  
Visitor IP   :   3.144.25.130   :  
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.05
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.