PauseClusterNode function (clusapi.h)
Requests that a node temporarily suspend its cluster activity. The PCLUSAPI_PAUSE_CLUSTER_NODE type defines a pointer to this function.
Syntax
DWORD PauseClusterNode(
[in] HNODE hNode
);
Parameters
[in] hNode
Handle to the node to suspend activity.
Return value
If the operation succeeds, the function returns ERROR_SUCCESS.
If the operation fails, the function returns a system error code.
Remarks
When a node temporarily suspends its cluster activity, groups cannot be moved to the node. Furthermore, groups that would normally fail over to the node cannot do so when it is in the paused state.
Groups that are owned by a paused node remain owned by the node. A paused node's groups and resources can be taken offline, but they cannot be brought online. Because the paused state is persistent, a paused node that is rebooted continues to be paused when it comes back up.
A paused node is said to be in the ClusterNodePaused state (see GetClusterNodeState). To resume a node's cluster activity, use the ResumeClusterNode function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
Target Platform | Windows |
Header | clusapi.h |
Library | ClusAPI.lib |
DLL | ClusAPI.dll |