Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Resume-ClusterNode

Resume-ClusterNode

microsoft.failoverclusters.powershell.dll

Synopsis

Resumes a node from the paused state or brings back drained workloads to the node or both.

Syntax

Resume-ClusterNode [-Name] [-Failback] [-Cluster] [-InputObject] [<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

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

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

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

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Microsoft.FailoverClusters.PowerShell.ClusterNode

Return Type

Microsoft.FailoverClusters.PowerShell.ClusterNode

Notes

None

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 

Online Version
Add-ClusterNode
Clear-ClusterNode
Get-ClusterNode
Remove-ClusterNode
Start-ClusterNode
Stop-ClusterNode
Suspend-ClusterNode