ocf_heartbeat_fio man page

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 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://www.linux-ha.org/wiki/fio_(resou…

Author

Linux-HA contributors (see the resource agent source for information about individual authors)

Info

02/09/2016 resource-agents UNKNOWN OCF resource agents