description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.FailoverClusters.PowerShell.dll-Help.xml |
FailoverClusters |
10/21/2022 |
2.0.0 |
Resume-ClusterNode |
Resumes a node from the paused state or brings back drained workloads to the node or both.
Resume-ClusterNode [[-Name] <StringCollection>] [[-Failback] <ResumeClusterNodeFailbackType>]
[-InputObject <PSObject>] [-Cluster <String>] [<CommonParameters>]
The Resume-ClusterNode
cmdlet resumes activity, or brings back drained workloads to the node, or both,
on a failover cluster node after it has been suspended, or paused. When a node is resumed,
clustered roles that were drained from the node are returned to it (unless the Failback policy is set to
NoFailback
), and clustered roles or resources that are currently offline can be brought online on that node.
Resume-ClusterNode node1
This example resumes node1 on the local cluster.
Resume-ClusterNode node2 -Cluster mycluster
This example resumes node2 on the cluster called mycluster
.
Get-ClusterNode | Resume-ClusterNode
This example resumes all cluster nodes that are suspended, or paused, on the local cluster.
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.
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
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.
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
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.