1OCF_HEARTBEAT_AOETAR(7)       OCF resource agents      OCF_HEARTBEAT_AOETAR(7)
2
3
4

NAME

6       ocf_heartbeat_AoEtarget - Manages ATA-over-Ethernet (AoE) target
7       exports
8

SYNOPSIS

10       AoEtarget [start | stop | monitor | meta-data | validate-all]
11

DESCRIPTION

13       This resource agent manages an ATA-over-Ethernet (AoE) target using
14       vblade. It exports any block device, or file, as an AoE target using
15       the specified Ethernet device, shelf, and slot number.
16

SUPPORTED PARAMETERS

18       device
19           The local block device (or file) to export as an AoE target.
20
21           (required, string, no default)
22
23       nic
24           The local Ethernet interface to use for exporting this AoE target.
25
26           (required, string, default "eth0")
27
28       shelf
29           The AoE shelf number to use when exporting this target.
30
31           (optional, integer, no default)
32
33       slot
34           The AoE slot number to use when exporting this target.
35
36           (required, integer, no default)
37
38       pid
39           The file to record the daemon pid to.
40
41           (unique, optional, string, default
42           "/run/resource-agents/AoEtarget-RESOURCE_ID.pid")
43
44       binary
45           Location of the vblade binary.
46
47           (optional, string, default "/usr/sbin/vblade")
48

SUPPORTED ACTIONS

50       This resource agent supports the following actions (operations):
51
52       start
53           Starts the resource. Suggested minimum timeout: 15s.
54
55       stop
56           Stops the resource. Suggested minimum timeout: 15s.
57
58       monitor
59           Performs a detailed status check. Suggested minimum timeout: 15s.
60           Suggested interval: 10s.
61
62       reload
63           Suggested minimum timeout: 15s.
64
65       meta-data
66           Retrieves resource agent metadata (internal use only). Suggested
67           minimum timeout: 5s.
68
69       validate-all
70           Performs a validation of the resource configuration. Suggested
71           minimum timeout: 15s.
72

EXAMPLE CRM SHELL

74       The following is an example configuration for a AoEtarget resource
75       using the crm(8) shell:
76
77           primitive p_AoEtarget ocf:heartbeat:AoEtarget \
78             params \
79               device=string \
80               nic="eth0" \
81               slot=integer \
82             op monitor timeout="15s" interval="10s" depth="0"
83

EXAMPLE PCS

85       The following is an example configuration for a AoEtarget resource
86       using pcs(8)
87
88           pcs resource create p_AoEtarget ocf:heartbeat:AoEtarget \
89             device=string \
90             nic="eth0" \
91             slot=integer \
92             op monitor timeout="15s" interval="10s" OCF_CHECK_LEVEL="0"
93

SEE ALSO

95       http://clusterlabs.org/
96

AUTHOR

98       ClusterLabs contributors (see the resource agent source for information
99       about individual authors)
100
101
102
103resource-agents UNKNOWN           11/03/2021           OCF_HEARTBEAT_AOETAR(7)
Impressum