HOME

TheInfoList



OR:

Cluster Shared Volumes (CSV) is a feature of
Failover Clustering High-availability clusters (also known as HA clusters, fail-over clusters) are groups of computers that support server applications that can be reliably utilized with a minimum amount of down-time. They operate by using high availability soft ...
first introduced in Windows Server 2008 R2 for use with the Hyper-V role. A Cluster Shared Volume is a shared disk containing an NTFS or ReFS (ReFS: Windows Server 2012 R2 or newer) volume that is made accessible for read and write operations by all nodes within a Windows Server Failover Cluster.


Benefits

This enables a virtual machine (VM) complete mobility throughout the cluster as any node can access the VHD files on the shared volume. Cluster Shared Volumes simplifies storage management by allowing large numbers of VMs to be accessed off a common shared disk. CSV also increases the resiliency of the cluster by having I/O fault detection and recovery over alternate communication paths between the nodes in the cluster. While CSV is not required for Live Migration of VMs, it reduces the potential disconnection period at the end of the migration since the NTFS file system does not have to be unmounted/mounted as is the case with a traditional cluster disk. This helps ensure seamless live migration since the physical disk resource does not need to be moved between nodes. CSV increases the chance that a live migration will complete within the TCP reconnect window and ensure a seamless operation to clients.


Requirements

To use CSV, a Hyper-V VM is configured and the associated
virtual hard disk VHD (Virtual Hard Disk) and its successor VHDX are file formats representing a virtual hard disk drive (HDD). They may contain what is found on a physical HDD, such as disk partitions and a file system, which in turn can contain files and f ...
(s) are created on or copied to a CSV disk. Multiple VHDs can be placed on a CSV that in turn are associated with multiple VMs which can be running on different nodes in the cluster.


Technical Details

Cluster Shared Volumes operates by orchestrating metadata I/O operations between the nodes in the cluster via the Server Message Block protocol. The node with ownership of the LUN orchestrating metadata updates to the NTFS volume is referred to as the Coordinator Node. Read / Write operations are passed directly to the Serial attached SCSI, iSCSI,
Fibre Channel Fibre Channel (FC) is a high-speed data transfer protocol providing in-order, lossless delivery of raw block data. Fibre Channel is primarily used to connect computer data storage to servers in storage area networks (SAN) in commercial data cent ...
, or Fibre Channel over Ethernet shared storage via block based protocols. CSV builds a common global namespace across the cluster using
NTFS reparse point An NTFS reparse point is a type of NTFS file system object. It is available with the NTFS v3.0 found in Windows 2000 or later versions. Reparse points provide a way to extend the NTFS filesystem. A reparse point contains a reparse tag and data tha ...
. Volumes are accessible under the %SystemDrive%\ClusterStorage root directory from any node in the cluster. The Cluster will automatically prioritize the most favorable network to route I/O operations by selecting the cluster shared network with the lowest cluster network metric value, this can also be manually configured. Public networks (i.e. networks that connect to users) are assigned higher cluster network metric values by default; this favors I/O operations from using the public network which may already be saturated with user requests. CSV can be enabled in the Failover Cluster Manager MMC snap-in by selecting 'Enable Shared Volumes' from the information pane after creating a cluster. Additionally, CSV can be enabled using PowerShell: Import-Module FailoverClusters (Get-Cluster Name .EnableSharedVolume="Enabled"


References

{{reflist


External links

*Step-by-Step (Microsoft Clustering & HA Team): http://blogs.msdn.com/clustering/archive/2009/02/19/9433146.aspx *Step-by-Step (in English): https://archive.today/20130222154920/http://www.servercare.nl/Lists/Posts/Post.aspx?ID=89 *Explained: How CSV works (in German): http://www.server-talk.eu/2009/09/15/einblicke-in-cluster-shared-volume-csv/ *EMC Symmetrix with Hyper-V (in English): https://web.archive.org/web/20101011204459/http://www.emc.com/collateral/hardware/white-papers/h6643-symmetrix-microsoft-hyper-v-wp.pdf *NetApp Storage Best Practices(in English): https://web.archive.org/web/20100106063807/http://www.netapp.com/us/library/technical-reports/tr-3702.html Windows Server