Go to main content

Managing SAN Devices and Multipathing in Oracle® Solaris 11.3

Exit Print View

Updated: March 2018
 
 

Tuning Other iSCSI Parameters

You can modify parameters to adjust various response or connection time values of the iSCSI initiator either for all targets the initiator system is connected to or for a specific target.

To change a parameter value of a specific iSCSI target:

iscsiadm modify target-param -T tunable-prop=value target-name

For example, to set the maximum connection retry time to 90 seconds for one target:

# iscsiadm modify target-param -T conn-login-max=90 iqn.1986-03.com.sun:
02:47ac0506-cd48-67f5-fc0d-ab7544d37538

To adjust a parameter value for all targets:

iscsiadm modify initiator-node -T tunable-prop=value

For example, to set the maximum connection retry time to 90 seconds for all targets:

# iscsiadm modify initiator-node -T conn-login-max=90

To change a parameter value of a specific iSCSI target:

# iscsiadm modify target-param -T tunable-prop=value target-name

For example, to set the maximum connection retry time to 90 seconds for a specific target:

# iscsiadm modify target-param -T conn-login-max=90 iqn.1986-03.com.sun:
02:47ac0506-cd48-67f5-fc0d-ab7544d37538

The tunable parameters listed in the following table apply to the active connection, and change the behavior of the iSCSI initiator and the targets that connect to the initiator.

Table 2  iSCSI Tunable Parameters
Parameter Name
Description
Valid Values (seconds)
Default Value (seconds)
recv-login-rsp-timeout
Session login response time – Specifies how long an iSCSI initiator waits for the response of an iSCSI session login request from a given iSCSI target.
03600
60
conn-login-max
Maximum connection retry time – Determines the maximum number of times the iSCSI initiator tries to connect to the target after the iSCSI initiator to the target I/O times out or the connection fails.
03600
180
polling-login-delay
Login retry time interval – Determines the time interval between each iSCSI session login retry after the iSCSI initiator to the target I/O times out or the connection fails.
03600
60