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

NAME

6       ocf_heartbeat_iscsi - Manages a local iSCSI initiator and its
7       connections to iSCSI targets
8

SYNOPSIS

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

DESCRIPTION

13       OCF Resource Agent for iSCSI. Add (start) or remove (stop) iSCSI
14       targets.
15

SUPPORTED PARAMETERS

17       portal
18           The iSCSI portal address in the form:
19           {ip_address|hostname}[":"port] (required, string, no default)
20
21       target
22           The iSCSI target IQN.  (unique, required, string, no default)
23
24       discovery_type
25           Target discovery type. Check the open-iscsi documentation for
26           supported discovery types.  (optional, string, default sendtargets)
27
28       iscsiadm
29           open-iscsi administration utility binary.  (optional, string,
30           default iscsiadm)
31
32       udev
33           If the next resource depends on the udev creating a device then we
34           wait until it is finished. On a normally loaded host this should be
35           done quickly, but you may be unlucky. If you are not using udev set
36           this to "no", otherwise we will spin in a loop until a timeout
37           occurs.  (optional, string, default yes)
38

SUPPORTED ACTIONS

40       This resource agent supports the following actions (operations):
41
42       start
43           Starts the resource. Suggested minimum timeout: 120.
44
45       stop
46           Stops the resource. Suggested minimum timeout: 120.
47
48       status
49           Performs a status check. Suggested minimum timeout: 30.
50
51       monitor
52           Performs a detailed status check. Suggested minimum timeout: 30.
53           Suggested interval: 120.
54
55       validate-all
56           Performs a validation of the resource configuration. Suggested
57           minimum timeout: 5.
58
59       methods
60           Suggested minimum timeout: 5.
61
62       meta-data
63           Retrieves resource agent metadata (internal use only). Suggested
64           minimum timeout: 5.
65

EXAMPLE

67       The following is an example configuration for a iscsi resource using
68       the crm(8) shell:
69
70           primitive p_iscsi ocf:heartbeat:iscsi \
71             params \
72               portal=string \
73               target=string \
74             op monitor depth="0" timeout="30" interval="120"
75

SEE ALSO

77       http://www.linux-ha.org/wiki/iscsi_(resource_agent)
78

AUTHOR

80       Linux-HA contributors (see the resource agent source for information
81       about individual authors)
82
83
84
85resource-agents 3.9.2             07/08/2011            OCF_HEARTBEAT_ISCSI(7)
Impressum