Link to home
Start Free TrialLog in
Avatar of jsctechy
jsctechyFlag for United States of America

asked on

does the iscsi software adapter perform automatic rescans after a failuer to contact the initial datastore?

was wondering if my iSCSI software adapter performs an automatic rescan, after the failure of the initial LUN it was connected to
example- ESXi host in an ESXi cluster is connected to a SAN via iSCSI.
the SAN goes down which disconnects the iSCSI connection
will the ESXi host perform automatic rescans of the drive until it comes back up?
if so, is there a default interval?
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Yes, when you iSCSI SAN is back up and online, the iSCSI Software adaptor will re-connect and re-scan for new LUNs.

it regularly polls the iSCSI SAN, check Advanced settings under iSCSI Targets for values.
Avatar of jsctechy

ASKER

thanks hanccocka
what would this be labeled as? RecoveryTimeout?
I would not recommend changing any of the iSCSI values, unless your SAN vendor has specific values you need to use for your SAN.

With ESXi 5.0 the iSCSI login timeout is currently set 5 seconds, this means that after 5 seconds the ESXi host kills the iSCSI session if there is no response, and tries to login again immediately after.
thanks Hanccocka
im not looking to change the value of this but here is the situation-
we are doing testing on some equipment at our datacenter, and when we simulate a SAN failure and bring it back up, we want to know how long after we bring the SAN up the iSCSI connection will come back to the ESXi host.
what we have been doing is a manual rescan of the vmhba but we want to know if we should be waiting a couple minutes longer for it to rescan on its own
should be within a few seconds, off the SAN coming online.

we do not need to manually re-scan, if we take the SANs offline.

SAN failure is pull the power, wait 60 seconds, restart SAN!

ESXi should re-connect and datastores should be available, the moment the SAN is up and running.

we normally check with "ping".

what is the SAN?
gotcha- im not 100% they are working that way
they are hp lefthands
do you think its possible that this doesnt happen due to the type of SAN we have?
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial