diff options
author | Jim Ramsay <jim_ramsay@dell.com> | 2011-07-01 11:55:08 -0400 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2011-07-07 16:39:14 -0500 |
commit | ec7d7431c8ec19d6c17c2e0fe3aec47fdfc12796 (patch) | |
tree | 2bfe6f5cd4afb32a29b18813d4966df4f9bde809 /etc | |
parent | 6b13206fbcdb4ffbce7836b836f8593608f478fd (diff) | |
download | open-iscsi-ec7d7431c8ec19d6c17c2e0fe3aec47fdfc12796.tar.gz |
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 <jim_ramsay@dell.com>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/iscsid.conf | 4 |
1 files changed, 4 insertions, 0 deletions
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 |