跳转到主内容

直接从Windows操作系统服务器进行iSCSI连接的最佳实践是什么?

Views:
19
Visibility:
Public
Votes:
0
Category:
element-software
Specialty:
hci
Last Updated:

可不使用  

适用场景

  • Element软件
  • 直接连接到Element软件的Windows服务器

问题解答

配置指南

适用于Microsoft Windows的NetApp SolidFire存储配置 指南》 详细介绍了 特定于Windows操作系统iSCSI连接的最佳实践建议和要求。

本指南 介绍了 从Windows操作系统与Element存储建立iSCSI连接时必须进行的时间更改。

  • 有关在Windows中进行更改的详细步骤、请参见第16页开始的"调整MPIO路径选择"
追加信息超时:

Windows的默认配置已针对本地磁盘进行了调整。  这意味着各种超时设置非常低、因此对任何瞬时延迟的容错能力非常低。  因此、如果单个IO所用时间超过最低级别对象的设置阈值、则可以执行发生原因:

  • IO发生故障
  • 要脱机的路径
  • 要崩溃的应用程序
  • 要故障转移的(Windows)集群

根据集群设置、该路径可能联机购买、也可能不联机购买、从而可能使集群无法重新启动应用程序资源。

NetApp 工程部已经对Windows生产主机(包括VM)进行了测试、并建议对其进行以下更改。  如果虚拟机托管在Hyper-V上、则也应对Hyper-V进行更改。

请注意、这些设置会影响Windows IO堆栈不同层的容错程度、此处不包含应用程序专用设置。  虽然某些应用程序可能具有其他设置、但这些设置可确保Windows屏蔽大多数瞬时IO问题、从而使所有已安装的应用程序受益。

这些设置对W2k8r2和W2k12r2均有效。  要使更改生效、必须重新启动主机。

请注意、必须在开始执行任何Element集群升级操作之前设置这些设置、以大幅降低触发应用程序故障和后续停机的可能性。
 

参数 默认 首选
超时值 60 60 HKEY_LOCAL_MACHINESystem CurrentControlSetServicesDiskTimeoutValue
PDORemovePeriod 20 120 HKLMSystemCurrentControlSet ServicesmpioParametersPDORemovePerio
UseCustomPathRecoveryInterval 0 1 HKLMSystemCurrentControlSet ServicesmpioParametersUseCustomPathRecoveryInterval
PathRecoveryInterval .5xPDO 60 HKLMSystemCurrentControlSet ServicesmpioParametersPathRecoveryInterval
PathVerifyEnabled 0 1 HKLMSystemCurrentControlSet ServicesmpioParametersPathVerifyEnabled
PathVerificationPeriod 30 30 HKLMSystemCurrentControlSet ServicesmpioParametersPathVerificationPerio
最大请求保持时间 60 90 HKLMSYSTEMCurrentControlSetControlClass{4D36E97B-E325-11CE-BMC1-08002BE10318<Instance Number>}中的最长请求保持时间
LinkDownTime 15 35 HKLMSYSTEMCurrentControlSetControlClass{4D36E97B-E325-11CE-BMC1-08002BE10318}中的<Instance Number>数
启用NOPOut 0 1 HKLMSYSTEMCurrentControlSetControlClass{4D36E97B-E325-11CE-BMC1-08002BE10318}<Instance Number>中的所有参数

 

追加信息

  • LinkDownTime 设置:仅对于iSCSI,LinkDownTime设置指定在与目标的连接断开时请求保留在设备队列中并重试的最长时间(以秒为单位)。
  • 如果安装了MPIO、则使用此值。如果未安装MPIO、则 MaxRequestHoldTime 改用。

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.