Resume-ClusterNode
Updated: August 15, 2012
Applies To: Windows Server 2012
Resume-ClusterNode
Syntax
Parameter Set: InputObject Resume-ClusterNode [[-Name] <StringCollection> ] [[-Failback] <ResumeClusterNodeFailbackType> ] [-Cluster <String> ] [-InputObject <PSObject> ] [ <CommonParameters>]
Detailed Description
The Resume-ClusterNode cmdlet resumes activity on a failover cluster node after it has been suspended, or paused, or brings back drained workloads to the node, or both. When a node is resumed, clustered roles that were drained from the node are returned to it, and clustered roles or resources that are currently offline can be brought online on that node.
Parameters
-Cluster<String>
Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-Failback<ResumeClusterNodeFailbackType>
Sets the policy to bring back drained workloads to the node. The acceptable values for this parameter are: NoFailback, Immediate, and Policy. Policy can be configured to not failback, failback immediately, or failback only during specific hours.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
2 |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-InputObject<PSObject>
Specifies the group, node, resource, or service for which or cluster on which to run the cmdlet.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
True (ByValue) |
|
Accept Wildcard Characters? |
false |
-Name<StringCollection>
Specifies the name of the group, node, resource, or service for which or cluster on which to run the cmdlet.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
1 |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- Microsoft.FailoverClusters.PowerShell.ClusterNode
Outputs
The output type is the type of the objects that the cmdlet emits.
- Microsoft.FailoverClusters.PowerShell.ClusterNode
Examples
EXAMPLE 1
This example resumes node1 on the local cluster.
PS C:\> Resume-ClusterNode node1
Name State ---- ----- node1 Up
EXAMPLE 2
This example resumes node2 on the cluster called mycluster.
PS C:\> Resume-ClusterNode node2 -Cluster mycluster
Name State ---- ----- node2 Up
EXAMPLE 3
This example resumes all cluster nodes that are suspended, or paused, on the local cluster.
PS C:\> Get-ClusterNode | Resume-ClusterNode
Name State ---- ----- node1 Up
EXAMPLE 4
This example resumes all cluster nodes that are suspended, or paused, on the local cluster and immediately brings back the workloads drained from the nodes.
PS C:\> Get-ClusterNode | Resume-ClusterNode -Failback Immediate
Name State ---- ----- node2 Up
Related topics
