NAME
ocf_heartbeat_AoEtarget - Manages ATA-over-Ethernet (AoE) target
exports
SYNOPSIS
AoEtarget [start | stop | monitor | reload | meta-data | validate-all]
DESCRIPTION
This resource agent manages an ATA-over-Ethernet (AoE) target using
vblade. It exports any block device, or file, as an AoE target using
the specified Ethernet device, shelf, and slot number.
SUPPORTED PARAMETERS
device
The local block device (or file) to export as an AoE target.
(required, string, no default)
nic
The local Ethernet interface to use for exporting this AoE target.
(required, string, default eth0)
shelf
The AoE shelf number to use when exporting this target. (optional,
integer, no default)
slot
The AoE slot number to use when exporting this target. (required,
integer, no default)
pid
The file to record the daemon pid to. (optional, string, default
/var/run/heartbeat/rsctmp/AoEtarget-default.pid)
binary
Location of the vblade binary. (optional, string, default
/usr/sbin/vblade)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 15.
stop
Stops the resource. Suggested minimum timeout: 15.
monitor
Performs a detailed status check. Suggested minimum timeout: 15.
Suggested interval: 10.
reload
Suggested minimum timeout: 15.
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: 15.
EXAMPLE
The following is an example configuration for a AoEtarget resource
using the crm(8) shell:
primitive example_AoEtarget ocf:heartbeat:AoEtarget \
params \
device=string \
nic="eth0" \
slot=integer \
op monitor timeout="15" interval="10" depth="0"
SEE ALSO
http://www.linux-ha.org/wiki/AoEtarget_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information
about individual authors)