GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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

Location 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, recommended 10 (default).

(optional, integer, default 10)

check_interval

Specify interval between I/O checks in seconds.(Only supported with the damonize option.)

(optional, integer, default 30)

inject_errors

Used only for testing! Specify % of I/O errors to simulate drives failures.

(optional, integer, no default)

daemonize

Specifies to start storage-mon as a daemon and check for devices.

(optional, boolean, default false)

This 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.

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)

07/03/2025 resource-agents 4.13.0

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.