|
NAMEocf_heartbeat_storage-mon - storage I/O health statusSYNOPSISstorage-mon [start | stop | monitor | meta-data | validate-all] DESCRIPTIONSystem 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.SUPPORTED PARAMETERSstate_fileLocation to store the resource state in.
(unique, optional, string, default "/var/run/resource-agents/storage-mon-RESOURCE_ID.state") drives The drive(s) to check as a SPACE separated list. Enter
the full path to the device, e.g. "/dev/sda".
(unique, required, string, no default) io_timeout Specify disk I/O timeout in seconds. Minimum 1,
recommeded 10 (default).
(optional, integer, default 10) inject_errors Used only for testing! Specify % of I/O errors to
simulate drives failures.
(optional, integer, no default) SUPPORTED ACTIONSThis resource agent supports the following actions (operations):start Starts the resource. Suggested minimum timeout:
10s.
stop Stops the resource. Suggested minimum timeout:
120s.
monitor Performs a detailed status check. Suggested minimum
timeout: 120s. Suggested interval: 30s.
meta-data Retrieves resource agent metadata (internal use only).
Suggested minimum timeout: 5s.
validate-all Performs a validation of the resource configuration.
Suggested minimum timeout: 10s.
EXAMPLE CRM SHELLThe 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" EXAMPLE PCSThe 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" SEE ALSOhttp://clusterlabs.org/AUTHORClusterLabs contributors (see the resource agent source for information about individual authors)
Visit the GSP FreeBSD Man Page Interface. |