iscsi超时设置
来源:互联网 发布:指南针指标公式源码 编辑:程序博客网 时间:2024/05/29 18:17
24.16.3. iSCSI Root
When accessing the root partition directly through an iSCSI disk, the iSCSI timers should be set so that iSCSI layer has several chances to try to reestablish a path/session. In addition, commands should not be quickly re-queued to the SCSI layer. This is the opposite of what should be done when
dm-multipath
is implemented.To start with, NOP-Outs should be disabled. You can do this by setting both NOP-Out interval and timeout to zero. To set this, open
/etc/iscsi/iscsid.conf
and edit as follows:node.conn[0].timeo.noop_out_interval = 0node.conn[0].timeo.noop_out_timeout = 0
In line with this,
replacement_timeout
should be set to a high number. This will instruct the system to wait a long time for a path/session to reestablish itself. To adjustreplacement_timeout
, open /etc/iscsi/iscsid.conf
and edit the following line:node.session.timeo.replacement_timeout = replacement_timeout
After configuring
/etc/iscsi/iscsid.conf
, you must perform a re-discovery of the affected storage. This will allow the system to load and use any new values in/etc/iscsi/iscsid.conf
. For more information on how to discover iSCSI devices, refer toSection 24.12, “ Scanning iSCSI Interconnects”.Configuring Timeouts for a Specific Session
You can also configure timeouts for a specific session and make them non-persistent (instead of using
/etc/iscsi/iscsid.conf
). To do so, run the following command (replace the variables accordingly):# iscsiadm -m node -Ttarget_name
-ptarget_IP
:port
-o update -n node.session.timeo.replacement_timeout -v $timeout_value
- iscsi超时设置
- OpenSolaris iSCSI initiator设置
- AIX iscsi initiator设置
- 超时设置
- 设置超时
- 超时设置
- 设置超时
- 超时设置
- centos iscsi target服务设置
- iscsi
- iscsi
- iSCSI
- iSCSI
- iSCSI
- iSCSI
- ISCSI
- iSCSI
- iscsi
- 2012年文思创新健康体检须知
- 孔乙己学C语言(1)
- VS2010编写C#代码时..只要想选中一排代码.想复制粘贴..就会出错..然后问我发不发送错误信息..然后就又重启
- 一些思考的问题
- 二叉查找树的基类实现(上)
- iscsi超时设置
- GaussRBFKernel
- Prologue
- shell的字符串截取
- 控制GridView中选中的背景
- Android学习笔记(五二):服务Service(中)- 继承Service类
- log4net地址
- memcached缓存失效时的高并发访问问题解决
- Android调用ITelephony类的endCall()方法 【转】