Man Linux: Main Page and Category List

NAME

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

SYNOPSIS

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

DESCRIPTION

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

SUPPORTED PARAMETERS

       portal
           The iSCSI portal address in the form:
           {ip_address|hostname}[":"port] (required, string, no default)

       target
           The iSCSI target. (required, string, no default)

       discovery_type
           Discovery type. Currently, with open-iscsi, only the sendtargets
           type is supported. (optional, string, default sendtargets)

       iscsiadm
           iscsiadm program path. (optional, string, no default)

       udev
           If the next resource depends on the udev creating a device then we
           wait until it is finished. On a normally loaded host this should be
           done quickly, but you may be unlucky. If you are not using udev set
           this to "no", otherwise we will spin in a loop until a timeout
           occurs. (optional, string, default yes)

SUPPORTED ACTIONS

       This resource agent supports the following actions (operations):

       start
           Starts the resource. Suggested minimum timeout: 120.

       stop
           Stops the resource. Suggested minimum timeout: 120.

       status
           Performs a status check. Suggested minimum timeout: 30.

       monitor
           Performs a detailed status check. Suggested minimum timeout: 30.
           Suggested interval: 120.

       validate-all
           Performs a validation of the resource configuration. Suggested
           minimum timeout: 5.

       methods
           Suggested minimum timeout: 5.

       meta-data
           Retrieves resource agent metadata (internal use only). Suggested
           minimum timeout: 5.

EXAMPLE

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

           primitive example_iscsi ocf:heartbeat:iscsi \
             params \
               portal=string \
               target=string \
             op monitor depth="0" timeout="30" interval="120"

SEE ALSO

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

AUTHOR

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