次の方法で共有


RetryPeriodOnFailure

Specifies the interval of time (in milliseconds) that a resource should remain in a failed state before the Cluster service attempts to restart it. The following table summarizes the attributes of the RetryPeriodOnFailure property.

Attribute Value
Data type DWORD
Access Read/write
Structure CLUSPROP_DWORD
Minimum RestartPeriod value
Maximum 0xFFFFFFFF (no retry)
Default 0x36EE80

Remarks

When adjusting the RetryPeriodOnFailure property:

  • Intervals measured in minutes (multiples of 0xEA60) are recommended.
  • Do not set the interval any lower than that specified by the RestartPeriod property.

The Cluster Service attempts to restart the resource by calling its resource DLL's Online entry point function.

Examples

The property value portion of a property list entry for RetryPeriodOnFailure can be set with the following example code:

DWORD RetryPeriodOnFailureData = ( 5 * 0xEA60 ); // 5 minutes
CLUSPROP_DWORD RetryPeriodOnFailureValue;
RetryPeriodOnFailureValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
RetryPeriodOnFailureValue.cbLength = sizeof(DWORD);
RetryPeriodOnFailureValue.dw = RetryPeriodOnFailureData;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

See also

CLUSPROP_DWORD

RestartAction

RestartPeriod

RestartThreshold