共用方式為


DisableGroupPreferredOwnerRandomization

[This property is no longer available for use as of Windows Server 2012.]

This property is not supported.

**Windows Server 2008 R2, Windows Server 2008 and Windows Server 2003: **

Controls whether the cluster service randomizes its internal list of available nodes in the event of a group failover event.

Attribute Value
Data type DWORD
Access Read/write
Structure CLUSPROP_DWORD
Minimum FALSE (0). The cluster service selects a node at random when a group failover event occurs.
Maximum TRUE (1). The cluster service selects a node in order of the internal node list when a group failover event occurs.
Default FALSE

Remarks

If a preferred owner list for resource groups is not specified, the cluster service randomizes the list it keeps internally to describe which node is selected for use when a group failover event occurs. If an ordered list is required for failover, this property should be set to true to disable this randomization

Examples

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

CLUSPROP_DWORD PropertyValue;
PropertyValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
PropertyValue.cbLength = sizeof(DWORD);
PropertyValue.dw = TRUE;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
End of client support
None supported
End of server support
Windows Server 2008 R2 Enterprise, Windows Server 2008 R2 Datacenter

See also

CLUSPROP_DWORD