About this task

This configuration step is needed for creating an initiator in Windows that can connect to the iSCSI Gateways.

How to

Automatic fix

At the moment, iSCSI connectivity is not supported by Host PowerTools. Therefore, there is an automatic fix.

Manual fix

  1. Open the "iSCSI Initiator" utility from the Windows Start Menu. 
  2. If the iSCSI service is not running, the following dialog will appear. Click "Yes".

  3. If the firewall is blocking the iSCSI service, the following dialog will appear. Click "Yes".

  4. When the "iSCSI Initiator Properties" window will show, you can change the initiator's name there (Optional).
  5. Alternatively, you can start the iSCSI initiator using CLI (Instead of using the above dialogs):

    Start-Service msiscsi
    Set-Service msiscsi -startuptype "automatic"
  6. Make the following configuration changes, using regedit (recommended):
  • Increase portal retry count (default is 5 times x 5 sec) to 300:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number***>\Parameters\PortalRetryCount
  • Set LinkDownTime to 5 seconds:

This value determines how long requests will be held in the device queue and retried if the connection to the target is lost. If MPIO is installed this value is used. If MPIO is not installed MaxRequestHoldTime is used instead. The default value is 15 seconds

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number>\Parameters\LinkDownTime
  • Set SrbTimeoutDelta to 5 seconds: 

The timeout set by class drivers (such as disk.sys, etc) for various requests does not take into account network delays. This value is used to increment the timeout set by class drivers. SrbTimeoutDelta can be as low as 5 seconds. If it is lower than that, initiator will use 15 instead. SrbTimeoutDelta gets added to the timeout set by the class driver. The default value is 15 seconds.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number>\Parameters\SrbTimeoutDelta

These changes should lower "freeze" time to around 20-30 seconds instead of default 35-90 seconds in case of gateway reboot or interface failure.

*** Note that <Instance Number> is a registry "folder". You will know it's the right instance number if it contains a subfolder named "Parameters", and <Instance Number>\InfPath=iscsi.inf.

Was this article helpful?
0 out of 0 found this helpful

0 out of 0 found this helpful

Last edited: 2022-08-06 08:22:58 UTC