ocf_heartbeat_minio - Man Page
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
The Minio server binary
(optional, string, default "/opt/minio/minio-server")
- confdir
The Minio configuration directory path. For example, "/etc/minio"
(optional, string, default "/etc/minio")
- pidfile
The Minio PID file. The location of the PID file.
(optional, string, default "/var/run/minio.pid")
- address
Address to bind minio to.
(optional, string, default ":9000")
- volumepaths
The storage volumes for minio to use.
(optional, string, default "/home/shared")
Supported Actions
This resource agent supports the following actions (operations):
- start
Starts the resource. Suggested minimum timeout: 20s.
- stop
Stops the resource. Suggested minimum timeout: 20s.
- monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 60s.
- validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 2s.
- meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
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)