table of contents
OCF_HEARTBEAT_MINIO(7) | OCF resource agents | OCF_HEARTBEAT_MINIO(7) |
NAME¶
ocf_heartbeat_minio - OCF Resource Agent compliant Minio server script.
SYNOPSIS¶
minio [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
This script manages Minio in an Active-Passive setup
SUPPORTED PARAMETERS¶
binary
(optional, string, default "/opt/minio/minio-server")
confdir
(optional, string, default "/etc/minio")
pidfile
(optional, string, default "/var/run/minio.pid")
address
(optional, string, default ":9000")
volumepaths
(optional, string, default "/home/shared")
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 minio resource using the crm(8) shell:
primitive p_minio ocf:heartbeat:minio \
op monitor depth="0" timeout="20s" interval="60s"
EXAMPLE PCS¶
The following is an example configuration for a minio resource using pcs(8)
pcs resource create p_minio ocf:heartbeat:minio \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
11/10/2024 | resource-agents 4.16.0-1 |