Hi, i am currently working on a PoC of a HA iSCSI setup, 2 Nodes, shared external array, and i got some issues with too slow reconnects after a failover has been triggered. what i am looking for is a way to make the iscsi initiator reconnect much more quickly after a disconnect occoured. current status is, that after the initiator is disconnected all active iscsi sessions (iscsiadm -m session -P3) switch to blocked status, then it takes ~15 secs until the iscsi initiator triggers a reconnect. since the iscsi target is already fully operational way earlier i need to reduce the reconnect interval.
my initiator configuration looks like this at the moment: node.startup = automatic node.leading_login = No node.session.timeo.replacement_timeout = 120 node.conn[0].timeo.login_timeout = 15 node.conn[0].timeo.logout_timeout = 15 node.conn[0].timeo.noop_out_interval = 1 node.conn[0].timeo.noop_out_timeout = 30 node.session.err_timeo.abort_timeout = 30 node.session.err_timeo.lu_reset_timeout = 5 node.session.err_timeo.tgt_reset_timeout = 5 node.session.initial_login_retry_max = 8 node.session.cmds_max = 128 node.session.queue_depth = 32 node.session.xmit_thread_priority = -20 node.session.iscsi.InitialR2T = No node.session.iscsi.ImmediateData = Yes node.session.iscsi.FirstBurstLength = 262144 node.session.iscsi.MaxBurstLength = 16776192 node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144 node.conn[0].iscsi.MaxXmitDataSegmentLength = 0 discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768 node.conn[0].iscsi.HeaderDigest = None node.session.nr_sessions = 1 node.session.iscsi.FastAbort = Yes node.session.scan = auto the iscsi target is a CentOS 7 host using the LIO Target as you can see i played around with some of the timeout settings, which already improved the situation a lot. maybe someone could give me a hint which setting / settings i should touch to archive this. thanks! Juergen -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
