AWS Storage Gateway User Guide
Customizing iSCSI Settings
b. Navigate to the
Disk
subkey in the
Services
subkey of the
CurrentControlSet
, shown following.
HKEY_Local_Machine\SYSTEM\CurrentControlSet\Services\Disk
c.
Open the context (right-click) menu for the
TimeOutValue
DWORD (32-bit) value, choose
Modify
, and then change the value to 600.
This value represents a timeout of 600 seconds. The example following shows the
TimeOutValue
DWORD value with a value of 600.
3. To ensure that the new configuration values take effect, restart your system.
Before restarting, you must make sure that the results of all write operations to volumes are flushed.
To do this, take any mapped storage volume disks offline before restarting.
Customizing Your Linux 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 following,
you make your application better at dealing with write operations that take a long time and other
transient issues such as network interruptions.
Note
Commands might be slightly different for other types of Linux. The following examples are
based on Red Hat Linux.
To customize your Linux iSCSI settings
1. Increase the maximum time for which requests are queued.
a. Open the
/etc/iscsi/iscsid.conf
file and find the following lines.
node.session.timeo.replacement_timeout =
[replacement_timeout_value]
node.conn[0].timeo.noop_out_interval =
[noop_out_interval_value]
node.conn[0].timeo.noop_out_timeout =
[noop_out_timeout_value]
b. Set the
[replacement_timeout_value]
value to 600.
Set the
[noop_out_interval_value]
value to 60.
Set the
[noop_out_timeout_value]
value to 600.
All three values are in seconds.
Note
The
iscsid.conf
settings must be made before discovering the gateway. If you have
already discovered your gateway or logged in to the target, or both, you can delete
the entry from the discovery database using the following command. Then you can
rediscover or log in again to pick up the new configuration.
API Version 2013-06-30
376