Transition a Windows Server 8 to Windows 2012 Release Candidate Hyper-V Cluster

For those of you interested in moving their lab from Windows Server 8 beta to Windows Server 2012 Release Candidate I can refer you to my 3 part blog series on Upgrading Hyper-V Cluster Nodes to Windows Server 2012 (Beta).

  1. Part 1 Upgrading Hyper-V Cluster Nodes to Windows Server 2012 (Beta) – Part 1
  2. Part 2 Upgrading Hyper-V Cluster Nodes to Windows Server 2012 (Beta) – Part 2
  3. Part 3 Upgrading Hyper-V Cluster Nodes to Windows 8 (Beta) – Part 3

So the entire process is very similar but for the fact that to go from Windows Server 8 Beta you have to do a clean install on every node you evict during the process. An upgrade is not supported and not possible. I even tried the old trick of editing the cversion.ini file in the sources folder to lower the supported minimum version for an upgrade, but no joy.imageimage

You probably remember this trick to enable an upgrade form the beta/RC  to RTM with Windows Server 2008 R2/Windows 7  But that doesn’t work and even if it did it would not be supported.

But just follow the 3 part series and do an fresh install instead of an upgrade of the cluster nodes and you’ll be just fine.

TRIM/UNMAP Support in Windows Server 2012 & Hyper-V/VHDX

Introduction

I’m very exited about the TRIM/UNMAP support in Windows Server 2012 & Hyper-V with the VHDX file. Thin provisioning is a great technology. It’s there is more to it than just proactive provisioning ahead of time. It also provides a way to make sure storage allocation stays thin by reclaiming freed up space form a LUN. Until now this required either the use of sdelete on windows or dd for the Linux crowd, or some disk defrag product like Raxco’s PerfectDisk. It’s interesting to note here that sdelete relies on the defrag APIs in Windows and you can see how a defragmentation tool can pull off the same stunt. Take a look at Zero-fill Free Space and Thin-Provisioned Disks & Thin-Provisioned Environments for more information on this. Sometimes an agent is provided by the SAN vendor that takes care of this for you (Compellent) and I think NetApp even has plans to support it via a future ONTAP PowerShell toolkit for NTFS partitions inside the VHD (https://communities.netapp.com/community/netapp-blogs/msenviro/blog/2011/09/22/getting-ready-for-windows-server-8-part-i).  Some cluster file system vendors like Veritas (symantec) also offer this functionality.

A common “issue” people have with sdelete or the like is that is rather slow, rather resource intensive and it’s not automated unless you have scheduled tasks running on all your hosts to take care of that. Sdelete has some other issue when you have mount points, sdelete can’t handle that. A trick is to use the now somewhat ancient SUBST command to assign a drive letter to the path of the mount point you can use sdelete. Another trick would be to script it yourself see. Mind you can’t just create a big file in a script and delete it. That’s the same as deleting “normal” data and won’t do a thing for thing provisioning space reclamation. You really have to zero the space out. See (A PowerShell Alternative to SDelete) for more information on this. The script also deals with another annoying thing of sdelete is that is doesn’t leave any free space and thereby potentially endangers your operations or at least sets off all alarms on the monitoring tools. With a home grown script you can force a free percentage to remain untouched.

TRIM/UNMAP

With Windows Server 2012 and Hyper-V VHDX we get what is described in the documentation  “’Efficiency in representing data (also known as “trim”), which results in smaller file size and allows the underlying physical storage device to reclaim unused space. (Trim requires physical disks directly attached to a virtual machine or SCSI disks in the VM, and trim-compatible hardware.)  It also requires Windows 2012 on hosts & guests.

I was confused as to whether VHDX supports TRIM or UNMAP. TRIM is the specification for this functionality by Technical Committee T13, that handles all standards for ATA interfaces. UNMAP is the Technical Committee T10 specification for this and is the full equivalent of TRIM but for SCSI disks. UNMAP is used to remove physical blocks from the storage allocation in thinly provisioned Storage Area Networks. My understanding is that is what is used on the physical storage depends on what storage it is (SSD/SAS/SATA/NL-SAS or SAN with one or all or the above) and for a VHDX it’s UNMAP (SCSI standard)

Basically VHDX disks report themselves as being “thin provision capable”. That means that any deletes as well as defrag operation in the guests will send down “unmaps” to the VHDX file, which will be used to ensure that block allocations within the VHDX file is freed up for subsequent allocations as well as the same requests are forwarded to the physical hardware which can reuse it for it’s thin provisioning purpose. Also see http://msdn.microsoft.com/en-us/library/hh848053(v=vs.85).aspx

So unmap makes it way down the stack from the guest Windows Server 2012 Operating system, the VHDX , the hyper visor and the storage array.This means that an VHDX will only consume storage for really stored data & not for the entire size of the VHDX, even when it is a fixed one. You can see that not just the operating system but also the application/hypervisor that owns the file systems on which the VHDX lives needs to be TRIM/UNMAP aware to pull this off.

The good news here is that there is no more sdelete to run, scripts to write, or agents to install. It happens “automagically” and as ease of use is very important I for one welcome this!  By the way some SANs also provide the means to shrink LUNs which can be useful if you want the space used by a volume is so much lower than what is visible/available in windows and you don’t want people to think you’re wasting space or all that extra space is freely available to them.

To conclude I’ll be looking forward to playing around with this and I hope to blog on our experiences with this later in the year. Until Windows Server 2012 & VHDX specifications are RTM and fully public we are working on some assumptions. If you want to read up on the VHDX format you can download the specs here. It looks pretty feature complete.

Experience Days by TechNet BeLux

As a Microsoft MEET member and MVP, I’d like to invite you all to attend the Microsoft “Experience Days”.

728x90_v3

There are several tracks at the Experience Days from which you can choose. The complete track information can be found at here.

There are two tracks that are especially of interest to IP Pros: The Best of Microsoft Management Summit (MMS 2012) and Experience Windows Server 2012.

The Best of Microsoft Management Summit (MMS 2012)

During The Best of Microsoft Management Summit (MMS 2012), we will provide you with the best possible opportunity to learn about what’s new in System Center 2012. Led by experts who attended MMS 2012 in Las Vegas, you can expect in-depth sessions on infrastructure management, service delivery & automation, application management, desktop & device management.
Discover the full program

Experience Windows Server 2012

At Experience Windows Server 2012 day you will discover how Windows Server is going beyond virtualization by scaling and securing workload, how it will enable the modern work style by giving people access to information and data regardless of the infrastructure, network, device or application they use to access it. And you will discover the power of many servers with the simplicity of one by efficiently managing infrastructure while maximizing uptime and minimizing failures and downtime.

Join us and learn more about:

  • New Hyper-V Virtualization Platform
  • What’s new in Active Directory
  • Storage and Management Improvements
  • Clustering Improvements
  • Plus much more…   

    Discover the full program

    Hyper-V

    I’ll be talking on June 7th at 15:00 – 16:00 about Windows Server 2012 Storage Evolved For Hyper-V in the Experience Windows Server 2012 track:

    Windows Server 2012 is a very storage centric version. We’ll cover the changes, improvements and additions to Windows Server 2012 storage capabilities and their impact on Hyper-V. We talk about the enhancements with the new virtual disk format (VHDX), offloaded data transfer (ODX), TRIM/UNMAP, large sector disks and the new storage options for Hyper-V including Storage Spaces, ReFS, Bitlocker, CSV 2.0, NTFS online scan/repair and SMB 3.0 file storage and what the latter means for Live Migration & Storage Options for Hyper-V

    Virtualization with Windows Server 2012 with Hyper-V is simply the best, bar none. If you watched Brad Anderson’s MMS 2012 Keynotes you know what’s coming and that he encouraged you to take the lead in all this. Well here’s you chance. If you agree that there is war on for talent, you also know and understand that knowledge will give you opportunities and choices. Invest in your future and as such in addressing and solving the business needs of your both clients and businesses. We all know it takes a serious effort in combination with a sustained commitment to become and stay competent in ICT. The TechNet BeLux team & the community is there to help you cultivate your talent and gain the knowledge you need.

     
  • Experts2Experts Virtualization Conference – Vienna May 25th-27th 2012

    I’m attending and speaking at one the of the best  small scale virtualization conferences out there. I’m talking about the Experts2Experts Virtualization Conference (E2EVC) organized by Alex Juschin for many years now. I’ll be speaking at the conference on “Making Sense of  RSS, DMVQ, SR-IOV, RDMA and other advanced networking features”. We’ll see where Windows Server 2012 & the new generation of Hyper-V is at in regards to these technologies, how it stacks up against some other solutions and what looks promising. In other words what we are looking at to use in real live once Windows Server 2012 goes RTM.

    I have the good fortune to attend some pretty big, impressive & high quality industry events. These are excellent places for networking and getting up to speed with the latest of the greatest form the big vendors and the ecosystem around it. But they are pretty expensive and large scale, so most people are so crazy busy at those you often miss out on some of the interaction, there is just to much going on.

    E2EVC is special and adds a different kind if value that goes beyond its low cost. For one, nobody is trying to sell you anything. All attendees and all speakers are IT Pro’s that design, build, work with and support the technologies that are discussed. Hence the name, Expert 2 Expert. It’s a reality check on what are people really using, trying, evaluating. You’ll see what is really hurting us and what really works.  An event like this isn’t driven by marketing. It’s driven by interests, passion for technology and even more important from a business perspective the solutions they can and do deliver in real live. This proves that you don’t need to charge premium prices to keep the riff raff out. The fact that 2 days of this conference are in a weekend tells you the attendees are going there with intend and purpose.

    The guys & gals attending & presenting are top notch. They don’t look  like slick advisers and analysts. It’s all very informal and relaxed. But make no mistake, these people are sharp and at the top of their game. Discussion and interaction is stimulated and lively. The aim is not to breed or create rock star speakers but to get people to share their experiences and knowledge. And here in lies the value. I really commend Alex Juschin for having succeeded in this.