Move-ClusterSharedVolume

Move-ClusterSharedVolume

Moves a Cluster Shared Volume (CSV) to ownership by a different node in a failover cluster.

Sintaxis

Parameter Set: InputObject
Move-ClusterSharedVolume [[-Name] <String> ] [[-Node] <String> ] [-Cluster <String> ] [-InputObject <PSObject> ] [-Wait <Int32> ] [ <CommonParameters>]

Descripción detallada

The Move-ClusterSharedVolume cmdlet moves a Cluster Shared Volume (CSV) to ownership by a different node in a failover cluster.

On a failover cluster that uses CSVs, at any given time, access to each CSV is controlled by a particular node, called the owner of that CSV. However, a single CSV can contain virtual hard disk (VHD) files used by multiple clustered virtual machines that are distributed across multiple cluster nodes.

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

-InputObject<PSObject>

Specifies the Cluster Shared Volume to move.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue)

¿Aceptar caracteres comodín?

false

-Name<String>

Specifies the name of the Cluster Shared Volume to move.

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Node<String>

Specifies the name of the cluster node to which to move the Cluster Shared Volume.

Alias

ninguno

¿Requerido?

false

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Wait<Int32>

Specifies the time in seconds to wait for the cmdlet. If the Wait parameter is not specified, then the cmdlet waits for completion. If -Wait 0 is specified, then the call is initiated and the cmdlet returns without waiting.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

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

Salidas

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

  • Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume

Ejemplos

Example 1

This example moves the Cluster Shared Volume called Cluster Disk 3 to another cluster node.

PS C:\> Move-ClusterSharedVolume –Name "Cluster Disk 3"

Example 2

This example moves the Cluster Shared Volume called Cluster Disk 3 to the node named node1.

PS C:\> Move-ClusterSharedVolume –Name "Cluster Disk 3" -Node node1

Temas relacionados

Add-ClusterSharedVolume

Get-ClusterSharedVolume

Remove-ClusterSharedVolume

Repair-ClusterSharedVolume

Resume-ClusterResource

Start-ClusterResource

Stop-ClusterResource

Suspend-ClusterResource