From ec7d7431c8ec19d6c17c2e0fe3aec47fdfc12796 Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Fri, 1 Jul 2011 11:55:08 -0400 Subject: Implement leading-login support Leading-login only takes effect when performing "login-by-startup" (ie, iscsiadm -m node -L ...). For any nodes with the new 'node.leading_login' config value set to "Yes" (The default is "No"), a login attempt will be made on each successive iface record until one succeeds. The intent is to only have a single iSCSI session for each configured target at startup but also allow for fallthrough to alternate ifaces in case of network issues. Signed-off-by: Jim Ramsay --- etc/iscsid.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') diff --git a/etc/iscsid.conf b/etc/iscsid.conf index 4e8c08d..ef76dc0 100644 --- a/etc/iscsid.conf +++ b/etc/iscsid.conf @@ -39,6 +39,10 @@ iscsid.startup = /sbin/iscsid # To manually startup the session set to "manual". The default is manual. node.startup = manual +# For "automatic" startup nodes, setting this to "Yes" will try logins on each +# available iface until one succeeds, and then stop. The default "No" will try +# logins on all availble ifaces simultaneously. +node.leading_login = No # ************* # CHAP Settings -- cgit v1.2.1