Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Resume-ClusterNode

Brian Lich|Last Updated: 3/28/2017

SYNOPSIS

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

SYNTAX

Resume-ClusterNode [[-Name] <StringCollection>] [[-Failback] <ResumeClusterNodeFailbackType>]
 [-InputObject <PSObject>] [-Cluster <String>] [<CommonParameters>]

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.

EXAMPLES

Example 1

PS C:\> Resume-ClusterNode node1
Name                                                                      State 
----                                                                      ----- 
node1                                                                        Up

This example resumes node1 on the local cluster.

Example 2

PS C:\> Resume-ClusterNode node2 -Cluster mycluster
Name                                                                      State 
----                                                                      ----- 
node2                                                                        Up

This example resumes node2 on the cluster called mycluster.

Example 3

PS C:\> Get-ClusterNode | Resume-ClusterNode
Name                                                                      State 
----                                                                      ----- 
node1                                                                        Up

This example resumes all cluster nodes that are suspended, or paused, on the local cluster.

Example 4

PS C:\> Get-ClusterNode | Resume-ClusterNode -Failback Immediate
Name                                                                      State 
----                                                                      ----- 
node2                                                                        Up

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.

PARAMETERS

-Cluster

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.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Failback

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.

Type: ResumeClusterNodeFailbackType
Parameter Sets: (All)
Aliases: 
Accepted values: NoFailback, Immediate, Policy

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Specifies the group, node, resource, or service for which or cluster on which to run the cmdlet.

Type: PSObject
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Name

Specifies the name of the group, node, resource, or service for which or cluster on which to run the cmdlet.

Type: StringCollection
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.FailoverClusters.PowerShell.ClusterNode

OUTPUTS

Microsoft.FailoverClusters.PowerShell.ClusterNode

NOTES

Add-ClusterNode

Clear-ClusterNode

Get-ClusterNode

Remove-ClusterNode

Start-ClusterNode

Stop-ClusterNode

Suspend-ClusterNode

© 2017 Microsoft