From 4b46754baa181f18cd293a0f377235e1e0de4a82 Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Sat, 12 Jun 2010 13:03:58 -0500 Subject: iscsid: fix sendtargets discovery daemon CHAP handling We may need to have different CHAP settings for each discovery portal. This patch has us use the discovery records instead of the iscsid.conf method of specifying the sendtargets info. If the discovery record has discovery.sendtargets.use_discoveryd = Yes then iscsid will use that record to do sendtargets discovery. The poll interval can be set with discovery.sendtargets.discoveryd_poll_inval. --- README | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'README') diff --git a/README b/README index 074fb56..558058c 100644 --- a/README +++ b/README @@ -870,15 +870,18 @@ will usually get you started. When iscsid starts it will check iscsid.conf for: -discovery.daemon.sendtargets.addresses = -discovery.daemon.sendtargets.poll_interval = - discovery.daemon.isns.addresses = discovery.daemon.isns.poll_interval = -being set. If an address or addresses are set, iscsid will perform discovery -to the address every poll_interval seconds, and it will log into any portals -found from the discovery source using the ifaces in /etc/iscsi/ifaces. +being set and it will check for discovery records in +/etc/iscsi/send_targets that have the setting: + +discovery.sendtargets.use_discoveryd = Yes + +If an address or addresses are set or the use_discoveryd is Yes, +iscsid will perform discovery to the address every poll_interval seconds, +and it will log into any portals found from the discovery source using +the ifaces in /etc/iscsi/ifaces. Note that for iSNS the poll_interval does not have to be set. If not set, iscsid will only perform rediscovery when it gets a SCN from the server. -- cgit v1.2.1