RestartPeriod

Defines an interval of time, in milliseconds, during which a specified number of restart attempts can be made on a nonresponsive resource. The RestartThreshold property specifies the allowable number of restart attempts that can occur within the interval defined by RestartPeriod. The following table summarizes the attributes of the RestartPeriod property:

Attribute Value
Data type
DWORD
Access
Read/write
Structure
CLUSPROP_DWORD
Minimum
0
Maximum
0xFFFFFFFF
Default
900000

Remarks

When a resource fails, the Cluster service attempts to restart the resource (unless the RestartAction property is set to ClusterResourceDontRestart).

The RestartPeriod and RestartThreshold properties work together to limit restart attempts. For example, if the RestartPeriod property is set to 200 milliseconds, and the RestartThreshold property is set to two retry attempts, the Cluster service tolerates two restart failures within any 200 millisecond interval. More than two failures can occur, as long as they occur over an interval that is greater than 200 milliseconds. On the third restart failure within the 200 millisecond interval, the Cluster service considers the resource to have failed and may, depending on the RestartAction property, attempt to fail over the resource's group to another node.

After the interval defined by the RestartPeriod property is exceeded, the Cluster service resets the property to zero.

If not specified, the default value for the RestartPeriod property is 90000 milliseconds.

Examples

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

DWORD          RestartPeriodData = 1800000;
CLUSPROP_DWORD RestartPeriodValue;

RestartPeriodValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
RestartPeriodValue.cbLength =  sizeof(DWORD);
RestartPeriodValue.dw =        RestartPeriodData;

Requirements

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

See also

Resource Common Properties

CLUSPROP_DWORD

RestartAction

RestartThreshold