LooksAlivePollInterval Property for Resource Types

The LooksAlivePollInterval property is the recommended interval in milliseconds that the Cluster Service should poll resources of the particular resource type to determine if they appear operational. The polling occurs when the Resource Monitor calls a resource DLL's LooksAlive entry point function.

Quick Info

Type: DWORD
Access: Read/write
Function: ClusterResourceTypeControl
Structure: CLUSPROP_DWORD
Control Code: CLUSCTL_RESOURCE_TYPE_GET_COMMON_PROPERTIES

Remarks

A resource type must have a value for its LooksAlivePollInterval property; it is not optional. LooksAlivePollInterval should be set to a value that is as small as possible so as to cause failovers to occur in a timely manner. Zero is not a valid setting because it prevents the Resource Monitor from calling any of the resources' LooksAlive entry point functions.

When ClusterResourceTypeControl processes the CLUSCTL_RESOURCE_TYPE_GET_COMMON_PROPERTIES control code, it returns a property list that includes the LooksAlivePollInterval property as one of the entries. The property value portion of the entry contains a CLUSPROP_DWORD structure that is set as follows:

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

The LooksAlivePollInterval property is also a common resource property.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.