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.

Support for an adjustable PathRecoveryInterval in Windows Server 2008


View products that this article applies to.

Source: Microsoft Support

↑ Back to the top


Rapid publishing

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

↑ Back to the top


Symptom

SUMMARY



Windows Server 2008 Service Pack 2 includes new functionality that allows for custom configuration of the path recovery interval used by MPIO. Configuration is controlled through the registry, after adding the following values as REG_DWORDs:
  • UseCustomPathRecoveryInterval
  • PathRecoveryInterval


These were introduced to account for the following scenario:
  • A transient error causes a path to briefly fail and recover.
  • MPIO detects that the path has failed and thus performs a fail-over.
  • The failed path was the last path for a particular pseudo-LUN, so its PDO Remove Timer starts ticking down.
  • The transient error was so brief, that PnP did not register the fact that the path went away and then came back. Thus, there are no PnP events generated to indicate that the path is back online.
  • The pseudo-LUN never sees the path come back online and it gets removed once its PDO Remove Timer runs out.


In this scenario, the system now has at least one path and one device online, but no pseudo-LUN to represent that device.

↑ Back to the top


More information



In most cases, the default is applicable, but it does not solve the problem in this particular scenario. That is where the settings above come into play. They allow the user to configure the timer that determines the period at which path recovery attempts are done. Thus, by setting the PathRecoveryInterval to less than the PdoRemovePeriod, the path recovery attempt will happen before the pseudo-LUN gets removed, the path will be detected as back online, and the pseudo-LUN can be saved from removal.

Caution is advised when setting the PathRecoveryInterval to small values. By decreasing this value, larger amounts of path verification traffic will be generated. This traffic will increase with the number of LUNs available on the host, and the smaller the value. It is recommended that use of this value be tested before widespread deployment in production to ensure that path recovery attempts are not happening so frequently that it has a significant impact on regular I/O.

For example, if PDORemovePeriod is set to 60 seconds, a good starting point for PathRecoveryInterval may be 30 seconds. This would cause path recovery to be attempted every 30 seconds.

There are two registry subkeys involved in this new timer (both are DWORDs):
  • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\mpio\Parameters\UseCustomPathRecoveryInterval
  • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\mpio\Parameters\PathRecoveryInterval


If both the UseCustomPathRecoveryInterval value and the PathRecoveryInterval value are non-zero, then the MPIO driver's internal path recovery interval is set to the PathRecoveryInterval from the registry.

If either the UseCustomPathRecoveryInterval value or the PathRecoveryInterval value is zero, the driver defaults to the behavior where PathRecoveryInterval is twice that of PDORemovePeriod.

↑ Back to the top


Disclaimer

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE �MATERIALS�) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

↑ Back to the top


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Keywords: KB972324, kbnomt, kbrapidpub, kbarchive, kbnosurvey

↑ Back to the top

Article Info
Article ID : 972324
Revision : 2
Created on : 1/15/2015
Published on : 1/15/2015
Exists online : False
Views : 419