Edit

Share via


Resume-ClusterNode

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

Syntax

Default (Default)

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

Resume-ClusterNode node1

This example resumes node1 on the local cluster.

Example 2

Resume-ClusterNode node2 -Cluster mycluster

This example resumes node2 on the cluster called mycluster.

Example 3

Get-ClusterNode | Resume-ClusterNode

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

Example 4

Get-ClusterNode | Resume-ClusterNode -Failback Immediate

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Failback

Sets the policy to bring back drained workloads to the node. The acceptable values for this parameter are:

  • NoFailBack - Don't failback at all.
  • Immediate - Failback immediately.
  • Policy - Failback only during specific hours.

Parameter properties

Type:ResumeClusterNodeFailbackType
Default value:None
Accepted values:NoFailback, Immediate, Policy
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

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

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

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

Parameter properties

Type:StringCollection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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

Inputs

Microsoft.FailoverClusters.PowerShell.ClusterNode

Outputs

Microsoft.FailoverClusters.PowerShell.ClusterNode