Name

ocf_heartbeat_fio — fio IO load generator

Synopsis

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

args

Arguments 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

The following is an example configuration for a fio resource using the crm(8) shell:

primitive example_fio ocf:heartbeat:fio \

  op monitor timeout="60" interval="10" 

See also

http://www.linux-ha.org/wiki/fio_(resource_agent)