共用方式為


DrainOnShutdown

Specifies whether to enable Node Drain for a cluster.

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

" 0" disables Node Drain, "1" enables it.

Remarks

The constant for this property is CLUSREG_NAME_DRAIN_ON_SHUTDOWN.

When a cluster node is about to shut down for maintenance, Node Drain first pauses the node, and then distributes the roles to active nodes in the cluster.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2

See also

Cluster Common Properties