summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/iscsid.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/iscsid.conf b/etc/iscsid.conf
index b0ac7c9..e3a13cb 100644
--- a/etc/iscsid.conf
+++ b/etc/iscsid.conf
@@ -29,6 +29,32 @@
# Default for upstream open-iscsi scripts (uncomment to activate).
iscsid.startup = /sbin/iscsid
+# If instead of doing discovery with iscsiadm and then logging
+# into the targets stored in the node db, set the following value
+# to have iscsid perform SendTargets discovery and log into all
+# the portals found.
+#
+# This will use the ifaces that are set up when iscsid is started up.
+#
+# This value for this is a list of addresses and ports. The address and
+# port should be separated by a comma. Each address port tuple should be
+# separated by a space. The port is optional. If not set then the iSCSI
+# default 3260 will be used.
+#
+# Example (first address has a port and the final two use the default 3260):
+# discovery.daemon.sendtargets.addresses = 192.168.0.21,1234 192.168.1.20 192.168.10.10
+#
+# By default iscsid will check the discovery addresses above every 30
+# seconds. To change this change the following value. poll_interval is
+# in seconds, and 0 will instruct iscsid to not poll (will do discovery
+# once then complete).
+#
+# discovery.daemon.sendtargets.poll_interval = 30
+#
+# Note: This currently only logs into new portals. It does not
+# log out of portals that are no longer returned from SendTargets.
+# To remove them run "iscsiadm -m session -r $SID -u"
+
#############################
# NIC/HBA and driver settings