OCF_HEARTBEAT_STORAG(7) | OCF resource agents | OCF_HEARTBEAT_STORAG(7) |
ocf_heartbeat_storage-mon - storage I/O health status
storage-mon [start | stop | monitor | meta-data | validate-all]
System health agent that checks the storage I/O status of the given drives and updates the #health-storage attribute. Usage is highly recommended in combination with the HealthSMART monitoring agent. The agent currently support a maximum of 25 devices per instance.
state_file
(unique, optional, string, default "/run/resource-agents/storage-mon-RESOURCE_ID.state")
drives
(unique, required, string, no default)
io_timeout
(optional, integer, default 10)
inject_errors
(optional, integer, no default)
This resource agent supports the following actions (operations):
start
stop
monitor
meta-data
validate-all
The following is an example configuration for a storage-mon resource using the crm(8) shell:
primitive p_storage-mon ocf:heartbeat:storage-mon \
params \
drives=string \
op monitor timeout="120s" interval="30s" start-delay="0s"
The following is an example configuration for a storage-mon resource using pcs(8)
pcs resource create p_storage-mon ocf:heartbeat:storage-mon \
drives=string \
op monitor timeout="120s" interval="30s" start-delay="0s"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |