Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


November 19, 2008

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

RSS
Subscribe to Windows IT Pro | See More Clustering and Load Balancing Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Battery Life Issues Almost Certainly Not Windows 7's Fault

While Microsoft is still investigating a notebook battery life issue that was supposedly caused by Windows 7, some interesting trends have emerged. ...

Confirmed: Battery Life Issues Not Windows 7's Fault

Microsoft on Monday issued a lengthy statement about the recent Windows 7 battery controversy, echoing my assessment from earlier in the day, but backing it up with hard, cold evidence. ...

Getting your iPhone to Sync with Exchange 2003

Follow these steps to use an iPhone with Exchange. ...


Windows OSs Whitepapers Protecting Microsoft SharePoint

Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

7 Ways To Get More From Your SharePoint Deployment Now

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2010 Penton Media, Inc. Terms of Use | Privacy Statement