LooksAlivePollInterval

Provides the recommended interval in milliseconds at which the Cluster service should poll the resource to determine if it appears operational. The polling occurs when the Resource Monitor calls the resource DLL's LooksAlive entry point function. The following table summarizes the attributes of the LooksAlivePollInterval property.

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

Remarks

If a resource does not set the LooksAlivePollInterval property or sets it to 0xFFFFFFFF, the Cluster service uses the LooksAlivePollInterval property for the resource type associated with the resource.

The resource DLL should return an event handle from the Online call that is signaled when a resource fails. For more information, see Implementing LooksAlive and Implementing Online.

Examples

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

DWORD          LooksAlivePollIntervalData = 300;
CLUSPROP_DWORD LooksAlivePollIntervalValue;

LooksAlivePollIntervalValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
LooksAlivePollIntervalValue.cbLength  = sizeof(DWORD);
LooksAlivePollIntervalValue.dw        = LooksAlivePollIntervalData;

Requirements

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

See also

Resource Common Properties

CLUSPROP_DWORD

LooksAlive

LooksAlivePollInterval

Online