Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

November 19, 2008 12:00 AM

Q. How do Cluster Shared Volumes work in Windows Server 2008 R2?

Windows IT Pro
InstantDoc ID #100867
Rating: (23)

NTFS is not a clustered file system because it's designed to be accessed only by a single server and does not support concurrent access by multiple servers simultaneously. This is not usually a problem. In a failover cluster, only one node is active for a service/application, and the LUN containing pertinent data is owned by the active node. If the service/application has to move to another node, the physical disk resource is dismounted then remounted to the new active node, which means a few seconds of downtime while the LUN is failed over between nodes. This few seconds needed to move the LUN is not acceptable with virtualization; you want zero seconds of downtime when moving a virtual machine (VM) between nodes, which means you need a way for multiple nodes to concurrently access the VHD files on a LUN.  Server 2008 R2 now has Cluster Shared Volumes (CSVs), which are shared disks in Available Storage visible by all cluster nodes (such as LUNs on a SAN) that have been allocated to Cluster Shared Volumes. Cluster Shared Volumes appear as subfolders of a common %systemroot%:\ClusterStorage folder. Each volume is named Volume (e.g., C:\ClusterStorage\Volume1 and C:\ClusterStorage\Volume2).  A VM is placed in its own subfolder of a VolumeN folder. The great feature of CSV is that all nodes in the cluster can access the content of a CSV concurrently, which means there is no delay if a different node needs to start accessing a VHD. This means each VM is placed in its own sub-folder of a volume, so you no longer need one LUN per VM to get granular failover capabilities. This figure shows the ClusterStorage folder of a cluster with two volumes that are part of CSV.  For each CSV, one node in the cluster acts as the coordinator node for that volume, as this figure shows. It's the only node that can write NTFS metadata to the volume. This means all nodes trying to write metadata to a CSV send the metadata updates to the coordinator node for the volume. All nodes in the cluster can write normal block level information to the volume directly which is the majority of write activity. CSV is actually implemented via the CSVFilter.sys file system mini-filter driver which is responsible for the interception of the NTFS metadata requests and all I/O requests in the event a node loses communication with the target volume. A node can ask the coordinator to perform all its I/O if it can no longer communicate with the target volume.   CSV is currently only supported for Hyper-V purposes. As an additional bonus, CSV removes the previous problem where each VHD had to be on its own LUN to allow the LUN to be moved independently between nodes in the cluster. This was a requirement in order for VMs to be moved independently of each other, since the LUN access was the smallest unit of failover. With the CSVs, you can use a single LUN with multiple VHDs all being accessed by different nodes in the cluster at the same time, removing the need for 1 LUN per VM. This saves on complexity and saves on wasted space by pooling free space with potentially hundreds of small LUNs

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.