Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Move-ClusterSharedVolume

Move-ClusterSharedVolume

Moves a CSV to ownership by a different node in a failover cluster.

Syntax

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




Detailed Description

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.

Parameters

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


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<PSObject>

Specifies the Cluster Shared Volume to move.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of the Cluster Shared Volume to move.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Node<String>

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


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

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.


Aliases

none

Required?

false

Position?

named

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

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume

Examples

Example 1: Move a cluster shared volume to any node

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: Move a cluster shared volume to a node

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"

Related topics

Community Additions

ADD
Show:
© 2016 Microsoft