Platform SDK: Windows Clustering |
The LooksAlivePollInterval property is the recommended interval in milliseconds at which 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. The following table summarizes the attributes of the LooksAlivePollInterval property.
Attribute | Value |
---|---|
Data type | DWORD |
Access | Read/write |
Structure | CLUSPROP_DWORD |
Minimum | 1 |
Maximum | 0xFFFFFFFF |
Default | 5000 |
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 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.
The LooksAlivePollInterval property for resources is also a common resource property.
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;
Version: Requires Windows NT Server Enterprise Edition 4.0 SP3; Windows NT Server Enterprise Edition 4.0 SP4; Windows 2000 Advanced Server; Windows 2000 Data Center.