Resume-ClusterNode

Resume-ClusterNode

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

Sintaxis

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

Descripción detallada

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.

Parámetros

-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.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Failback<ResumeClusterNodeFailbackType>

Sets the policy to bring back drained workloads to the node. Los valores aceptables para este parámetro son los siguientes: NoFailback, Immediate, and Policy. Policy can be configured to not failback, failback immediately, or failback only during specific hours.

Alias

ninguno

¿Requerido?

false

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-InputObject<PSObject>

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

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

-Name<StringCollection>

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

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • Microsoft.FailoverClusters.PowerShell.ClusterNode

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.FailoverClusters.PowerShell.ClusterNode

Ejemplos

EXAMPLE 1

This example resumes node1 on the local cluster.

PS C:\> Resume-ClusterNode node1

EXAMPLE 2

This example resumes node2 on the cluster called mycluster.

PS C:\> Resume-ClusterNode node2 -Cluster mycluster

EXAMPLE 3

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

PS C:\> Get-ClusterNode | Resume-ClusterNode

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

Temas relacionados

Add-ClusterNode

Clear-ClusterNode

Get-ClusterNode

Remove-ClusterNode

Start-ClusterNode

Stop-ClusterNode

Suspend-ClusterNode