AWS Storage Gateway
User Guide (API Version 2012-06-30)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Connecting from a Windows Client to Your Storage Volume

When using a Windows client, you use the Microsoft iSCSI initiator to connect to your gateway storage volume.

The Getting Started exercise provides instructions about how to connect to your storage volumes. For more information, see Step 2.3: Access Your AWS Storage Gateway Volumes.

Customizing Your Windows iSCSI Settings

After setting up your initiator, we highly recommend that you customize your iSCSI settings to prevent the initiator from disconnecting from targets. By increasing the iSCSI timeout values as shown in the following steps, you improve the ability of your application to deal with writes that take a long time and other transient issues such as network interruptions.

Note

Before making changes to the registry, you should make a backup copy. For information on making a backup copy and other best practices to follow when working with the registry, see Registry best practices in the Windows Server TechCenter.

To customize your Windows iSCSI settings

  1. Increase the maximum time for which requests are queued.

    1. Start Registry Editor (Regedit.exe).

    2. Navigate to the device class Globally Unique Identifier (GUID) key that contains iSCSI controller settings.

      Warning

      Make sure you are working in the CurrentControlSet subkey and not another control set like ControlSet001 or ControlSet002.

      HK_Local_Machine\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}

    3. Find the subkey for the Microsoft iSCSI Initiator.

      The key will be represented by a four-digit number such as 0000 or 00001.

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

      Depending on what is installed on your computer, the Microsoft iSCSI initiator may not be the subkey 0000. You can ensure that you have selected the correct subkey by verifying that the string DriverDesc has the value Microsoft iSCSI Initiator as shown in the following example.

    4. Click the Parameters subkey to show the iSCSI settings.

    5. Right-click the MaxRequestHoldTime DWORD (32-bit) value, select modify, and change its value to 600.

      This value represents a hold time of 600 seconds. The example below shows the MaxRequestHoldTime string value with a value of 600.

  2. Increase the disk timeout value.

    1. Start Registry Editor (Regedit.exe).

    2. Navigate to the Disk subkey in the Services subkey of the CurrentControlSet.

      HK_Local_Machine\SYSTEM\CurrentControlSet\Services\Disk
    3. Right-click the TimeoutValue DWORD (32-bit) value, click modify, and change its value to 600.

      This value represents a timeout value of 600 seconds.

  3. Restart your system to ensure that the new configuration values take effect.

    Before restarting, you must make sure that all writes to storage volumes are flushed. To do this, take any mapped storage volume disks offline before restarting.