Ever since the appearance of Hyper-V in the market, I have been stressing and promoting the blessings of the Microsoft Virtualization platform. I started writing articles and blogs about Hyper-V and joined Jaap Wesselius in the Dutch Hyper-V User Group which assembles quarterly in different parts of the country. We have been presenting Hyper-V and related technologies many times and have grown a small community in the Netherlands. My endeavors have even earned me an MVP, albeit not for Hyper-V but for Cluster. If you meet me on Twitter, you know that whatever I communicate on this social network deals with Hyper-V and System Center related topics. I use it to promote the further growth of Hyper-V.
What’s next?
We have seen Hyper-V version 1 still beta in Windows Server 2008, Hyper-V RTM as an update, the major update Hyper-V R2 and Hyper-V Server 2008 R2. Now we are looking forward to Hyper-V vNext, “the next version” of Hyper-V, Hyper-V in Windows 8, Hyper-V Next Generation, Hyper-V Cloud, Hyper-V 2012 or whatever the marketing people at Microsoft think will capture our minds. I personally believe not even the word Hyper-V is sacred and could be replaced if it serves a purpose.
[image not preserved in the archive]
Hyper-V Cloud Practice
Over 80% of our server virtualization projects we implement or manage at Nobel (a large system integrator in the Netherlands with +300 employees) are built on Hyper-V clusters, usually HP DL or BL ProLiant type servers, HP storage and networking equipment. It is a combination of hardware and software we’ve come to know inside and out. Many of our customers started with small clusters of only 3 or 4 nodes. In a number of larger projects we implemented 8 to 12 node clusters, some of which span multiple sites including live migrating virtual machines between sites. How cool can you get?
[image not preserved in the archive]
Playing Chase
In less than three years Microsoft has attempted to catch up with its major competitor VMware. I really think the developing team at Microsoft deserve respect for the immense speed of bringing Hyper-V up to what it is now. We do have High Availability. We do have Live Migration. We do have Storage Migration. We do have extremely well performing virtual machines and by the time you read this, we will also have Dynamic Memory and graphically very performant virtual machines. As we are getting ready for the first big hop to the public cloud, Hyper-V Private Cloud will be our main focus for the coming two or three years. System Center Virtual Machine Manager 2012 will play a major part in making this a success. Microsoft is on the right road to integrated configuration and provisioning of bare metal servers, clusters, storage, network devices and virtual machines. I see this as a major improvement to the overall usability and consistency of Microsoft Server Virtualization. Also Server App-V will contribute to the further decoupling of virtual machine images and applications in virtual machines.
[image not preserved in the archive]
The most notable observation in the past two years has been the ‘turtle speed’ of OEMs adapting to and getting ready for the new Microsoft Server Virtualization platform. We’ve had disappointing experiences with faulty network drivers and teaming software from the vendor we so care to work with. We’ve seen so little understanding with storage vendors and it took a while before they became fully aware of the intricacies of Cluster Shared Volumes. Firmware and drivers were not up to their expected tasks. It is my strong conviction that major server, storage and network vendors had an ultra-slow start and have only just become aware of the market chances with Hyper-V. There also seems to be a disconnect between Europe and North America. Hyper-V has been growing much faster in this part of the world than in the country of its originator. But I could be wrong. Maybe the competitor had been more firmly established in that part of the world with many more very large enterprises.
Many of our customers with smaller Hyper-V clusters never had any problems and were just happy to work with a platform that looked and felt very familiar. Things became more complicated when clusters began to grow bigger. In our own Nobel Cloud Services practice we use several large clusters, some of which have grown to the maximum size of 16 nodes with hundreds of virtual machines. Larger projects we got involved in required bigger Hyper-V clusters and the highest availability and scalability we could get. We often had to wait until storage controller firmware arrived that could handle the task, until network drivers were updated and teaming software were up to the job. You’ll find several blogs of mine discussing the required hotfixes, updates and improvements to the products we need for building a stable and high available virtualized server infrastructure or private cloud as we’ve come to call it.
Will Cluster Shared Volumes be able to do the job?
One such technology that makes a Hyper-V R2 cluster tick is Cluster Shared Volumes. Before CSV arrived in Hyper-V R1, we had to present one or more dedicated LUNs for each and every virtual machine. This was not a problem for small clusters with only a few VM’s but even then we would run out of letters in the alphabet. We were able to circumvent the limitation of drive letters by using the disk GUID with friendly names such as ?Volume{4ae9dd19-b72b-11df-b3c7-001e37b8e37e} but of course a remedy was needed. Before the solution was made available by Microsoft, I had already looked at Sanbolic’s clustered file system Melio FS, which was ready to use for Hyper-V R1 clusters. A
t that time, I anticipated that Microsoft would simply buy this company because it lacked a full-blown symmetrical clustered file system. I guess things got into the way as Microsoft decided to write a file system filter driver on top of NTFS to improve its usability in a Hyper-V Cluster. For almost fifteen years MS Cluster Services had been based on the “Shared Nothing” concept for its shared disks in a cluster. Only one node was able to use the disk at the same time. Only a single node was owning the disk and control to that disk had to be passed to another node in the cluster if the owning node were to fail or when the administrator decided to failover the disk for maintenance purposes. Meanwhile Sanbolic has worked very closely with Microsoft to integrate Melio FS with both Hyper-V clusters and Virtual Machine Manager 2008 R2. More about this in a later blog in which I will share my experiences testing Sanbolic’s Melio FS.
[image not preserved in the archive]
The good thing about CSV is that all Hyper-V nodes can both read and write to the shared disks in the cluster, while the underlying file system remains good old NTFS. With CSV the concept of the owning node, also referred to as the coordinator node, is still preserved. Only one node in the cluster is allowed to fully control what happens to that shared disk. Each node that is running VM’s place an file level lock on the VHD’s that are used by the VM’s on that node. This works at very high speeds. Each file system request is then filtered by the CSV filter driver to analyze the request. The cluster node will get a green light for read or write requests to its own VHD’s. If there is any request dealing with changing metadata (create file, rename file, extend file, snapshot etc), the red light turns on and the node that is owner of the disk will have to do the metadata change. This also explains why copying files is faster on the owning node than on the remote node. This construct is also responsible for the Redirected Access state when all storage paths for a cluster node have gone down. Microsoft calls Fault Tolerance because a failure in the storage path is transparently failed over to one of the designated networks in the cluster. In fact it is the network with the lowest network metric that is used for CSV communication. If that network is not properly configured, it could use a network that is also used for regular communications. Things could really slow down or even fail when this situation happens.
CSV and backup
Another example where the architecture of Cluster Shared Volumes sits in the way is with Volume Shadow Copy backups such as with Data Protection Manager 2010 and other vendor’s backup products that utilize VSS. If a backup agent wants to take a snapshot of a CSV disk, it has to take control of that disk. In other words, if the cluster node running the active agent is not the coordinator node (owning node) of the disk, it simply takes control of that disk. While the disk is moving over to the node that is taking the backup, VM’s do not suffer a lot. Disk I/O is temporarily queued until ownership is transferred. Now this works really well if storage and network devices operate well. In the real world we know that this is not always the case. So in situations where you really need failover to work or when you want to make VSS snapshots, you cannot afford to leave this disk in Redirected Access mode for very long. During this period VM’s will suffer from suboptimal performance. A suggested solution is that VSS hardware providers are used instead of the built-in Windows VSS software providers. Using your vendor’s VSS hardware providers will shorten the Redirected Access mode to the creation of the snapshot (which is typically 1 or 2 minutes or so), not until the backup of the snapshot is finished (which is the case with the VSS software provider).
Another problem with multiple VM’s on one CSV is that the entire disk is snapped if only one VM needs to be protected. So you might just as well backup them all in one go. If you do that, you must make sure you don’t backup VM’s simultaneously. If you cannot use a VSS hardware provider, you must run a script that serializes the backup of your VM’s and change the MaxAllowedParallelBackups registry key to tell the backup server to only backup one VM at a time. Not very elegant to say the least.
[image not preserved in the archive]
Again I must admit that storage vendor’s have done a very poor job in writing VSS hardware providers that work (with Hyper-V clusters and Data Protection Manager 2010). In most cases I had to remove these hardware providers to get the backup done without errors. Is it lack of focus, too little resources, is it Hyper-V’s smaller market share or is it just a lack of understanding of the underlying technologies. I feel we have a long way to go before Hyper-V is really treated equal to its major competitor.
New oxygen with Hyper-V Cloud Initiative
Last November at Microsoft TechEd Europe in Berlin, a significant part of Brad Anderson’s keynote focused on Hyper-V Private Cloud and the Hyper-V Fast Track program aimed at improving deployment time and cost of Hyper-V and System Center projects. Six server vendors with their own or associated storage products had dedicated resources for creating a Hyper-V Private Cloud solution. These solutions were comprised of validated configurations, deployment guides and pre-tested, pre-assembled and fully supported hardware. They represent 80% of the server market. Working very closely with Microsoft would significantly improve the chances of a winning Hyper-V Private Cloud.
Although the intention to blow new life into Microsoft Server Virtualization was thrilling to me and was also something that needed to happen, I was rather disappointed to find that the reference architectures – which in several cases scaled up to more than 1000 VMs – were built on single Hyper-V servers with shared storage, not Hyper-V clusters. Did marketing ever talk to the Microsoft product managers of Hyper-V and Cluster?
[image not preserved in the archive]
What we really lack is a fully tested and absolutely proven set of working hardware and software, including versions of rock solid drivers and firmware. Not on paper, not in promises but in actual fact. We need a per vendor tested Hyper-V Server, Storage and Network Matrix that stands out in clarity, detail and openness. If you know there is a problem, please communicate you know there is a problem and dedicate all possible resources to fix what is broken. Don’t let those people in the field grope in the dark! Simply put, we need a model that is fully guaranteed to work properly in medium to large scale Hyper-V clusters. After all, a Hyper-V private cloud is not intended or built for SMB only.
Where will we go with Microsoft Virtualization?
Last year during MVP Summit 2010, I met the people of the Hyper-V and Cluster product teams. I know they are working really hard to make Hyper-V a better product and tune clustering into that rock solid product we all need. Because they don’t make the hardware, they also strongly depend on the efforts of OEMs. During that time they could not say much about the future of Windows but they listened and had tons of questions about our experiences in the field as well as requests for the next version. In a few weeks I will meet them again and hope to hear and see what they have come up with. I am really looking forward to the progress I expect them to have made. After all, the 3rd generation of Hyper-V and its virtualization management software will have to live up to its expectations because Microsoft will not get a second chance.