Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

SAN targets should reply to PR_IN commands within 3 seconds on Windows Server 2008 and Server 2008 R2


View products that this article applies to.

Summary

As documented in the following article, a PR_IN (Read Keys) failure may result in a failure of disk resources when using Microsoft Failover Clustering.

MPIO disk is removed unexpectedly when a PR_IN command fails in a Windows Server 2008 R2 environment
http://support.microsoft.com/kb/2718576

By default, a failed PR_IN (Read Keys) command will be retried on the same path for 3 seconds as long as the storage returns a sense data of Unit Attention or Not Ready combined with an additional sense code of LUN Not Ready and a sense code qualifier of Asymmetric Access State Transition.



↑ Back to the top


More Information

Although Microsoft Failover Clustering requires a 3 second response time to reservations, in some cases an array may be unable to respond within 3 seconds to reservation requests depending on other I/O load to the array at the time. 

 
While we recommend that the vendor employ either the use of prioritization on PR requests or provide a custom DSM if different error handling is required, in some cases this may not be feasible.  To address this, we have introduced a registry key which will allow configuring MPIO to wait longer than 3 seconds for a PR when using the Microsoft DSM.

 
Warning:  Microsoft recommends that you do not change this key except at the express recommendation of your array vendor, as there are other timeout values such as Failover Clustering timeouts controlling the time to wait for a reservation which may also need to be changed in conjunction with this timer.

 
If you use this registry key to adjust the timing value, Microsoft Product Support may require changing this key back to the default tested value of 3 seconds, as setting this key to a higher value may mask performance issues which should be addressed directly.


Registry information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows
  1. Open Registry Editor. To do this, click Start, type regedit in the Start Search box, and then press Enter.
  2. Locate and then click the following registry key:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\msdsm\Parameters
  3. On the Edit menu, point to New, and then click DWORD (32 bit)Value.
  4. Type DsmMaximumStateTransitionTime, and then press Enter.
  5. On the Edit menu, click Modify.
  6. In the Value data box, type the value to use (in seconds), and then click OK.
  7. Exit Registry Editor.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2733575
Revision : 1
Created on : 1/7/2017
Published on : 7/10/2012
Exists online : False
Views : 194