table of contents
OCF_HEARTBEAT_FIO(7) | OCF resource agents | OCF_HEARTBEAT_FIO(7) |
NAME¶
ocf_heartbeat_fio - fio IO load generatorSYNOPSIS¶
fio [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
fio is a generic I/O load generator. This RA allows start/stop of fio instances to simulate load on a cluster without configuring complex services.SUPPORTED PARAMETERS¶
argsArguments to the fio client. Minimally, this should be a
(list of) job descriptions to run.
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):start
Starts the resource. Suggested minimum timeout: 60.
stop
Stops the resource. Suggested minimum timeout: 60.
monitor
Performs a detailed status check. Suggested minimum
timeout: 60. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only).
Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration.
Suggested minimum timeout: 20.
EXAMPLE CRM SHELL¶
The following is an example configuration for a fio resource using the crm(8) shell:primitive p_fio ocf:heartbeat:fio \ op monitor timeout="60" interval="10"
EXAMPLE PCS¶
The following is an example configuration for a fio resource using pcs(8)pcs resource create p_fio ocf:heartbeat:fio \ op monitor timeout="60" interval="10"
SEE ALSO¶
http://clusterlabs.org/AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)06/04/2017 | resource-agents 4.0.0~rc1-4 |