Virtual Desktop Infrastructure…

As many of you know I am not shy about sharing my opinions on the IT industry.  So when Mitch Tulloch – an IT Professional and writer of great renown – asked me to write an editorial for his site www.wservernews.com I was not about to pass up the opportunity.

Mitch asked me to discuss VDI – Virtual Desktop Infrastructure.  I was excited because it is a topic that bridges three subjects that I am passionate about – virtualization, the Windows client (desktop), and the management tools that make them viable in the enterprise.  I had a lot to say on the subject, and although I am used to pushing up against deadlines, this time it was not because of procrastination.

My editorial was published Monday morning, and I am very excited to share it with you, and to hear your comments about it.  It is called VD Why? VD Sigh… or VD Aye!

Taking Back Your Lunch Hour: A Friday Funny

Someone just forwarded this to me.  It is a commercial for Windows Azure’s Infrastructure as a Service (Iaas) offering, and it is absolutely hilarious!  Thanks for following guys… Let me end the week with one funny post!

http://www.youtube.com/watch?feature=player_embedded&v=vu0Mc3gY8yE

Two new books on Hyper-V: Networking & Storage!

I love promoting IT Pros and Microsoft, but when one of the champions is a Canadian it is even better for me.  Mitch Tulloch is an IT Pro author from Winnipeg, and is one of the guys I really look up to.  I have a bunch of his books, and every time a new one comes out I try to add it to my collection.  Here are two more that are right in my wheelhouse – Hyper-V in Windows Server 2012.  Pick them up and you will not regret it! –MDG 

Microsoft Press is releasing two new titles for IT pros who work with the Hyper-V virtualization platform:

The author team includes Mitch Tulloch, series editor, and over a dozen individuals at Microsoft including Support Escalation Engineers, Premier Field Engineers, Program Managers, Data Center Specialists, and experts from Microsoft Consulting Services.  These short titles will be available in June in both ebook and print format and while their primary focus is on the Windows Server 2012 version of Hyper-V, much of what they cover can also be applied to previous versions of Hyper-V.  Note that these titles are not intended as systematic guides and instead cover various scenarios on how to optimize Hyper-V environments and how to troubleshoot different kinds of issues involving networking and storage for Hyper-V hosts and virtual machines.

clip_image001 clip_image002

Calgary Here I Come!

Even before joining Microsoft Canada’s DPE team as a Virtual Evangelist (the Virtual part means I am a contractor in case you were curious, but I also specialize in Virtualization so it works in my favour!) I have had the opportunity to crisscross our great nation talking to audiences of all sorts and sizes – communities and user groups, enterprise customers, internal and external audiences, and more.  I have the greatest position I could imagine!

It continues today… I am heading to Calgary Alberta – a city that I have now visited a half dozen times in as many months, and one that I consider to be an important city for many reasons.  In October I had the opportunity to host a Windows 8 Launch Party for Calgary at Bottlescrew Bill’s, and have been back since for Windows 8, Office 365, Windows Server 2012, System Center 2012, and of course Hyper-V.  Every time I am there I am greeted by some of the greatest and most engaged and enthusiastic audiences.  Ever since I first spoke to the Calgary IT Community (CIC) in January of 2007, I have always been glad to go back to them.

While the CIC is going strong even today, a number of other user groups have popped up in that time.  The Calgary Systems Management User Group was founded in 2009 by Microsoft MVP Kevin Kaminski, and focuses on System Center, Desktop Deployment, and other topics of interest. 

The latest group to come about in Calgary is the Calgary Virtualization User Group (CVUG).  Founded by Marcos Noguiera, the group is one of the new breed of user groups that is technology agnostic and instead focuses on all topics related to virtualization.  The CVUG held their first meeting in February of this year, and they are building and growing, and from what I can tell all in the right direction.

Tonight (Monday April 15th) I will be speaking at CVUG for the first time.  For the first part of the meeting I will be comparing and contrasting VMware’s vSphere and Microsoft’s Virtualization & Private Cloud, and for the second part I will be discussing how to manage a heterogeneous virtualization environment using Microsoft’s System Center 2012.  Needless to say it should be an interesting meeting, hopefully evoking a lot of great conversation and debate between the members.

The event is free for all; all you have to do is register on their website.  I hope to see you there tonight and remember… make sure you say hi! –MDG

The Virtualization Landscape

Dan Stolts is a Senior IT Pro Evangelist with Microsoft. Earlier this month he sat down with Tony Asaro on TechNet Radio to discuss the Virtualization Landscape in a Heterogeneous World.  Listen in and let me know what you think! –MDG

If He Can Do It YOU Can Too!

I have been saying for the past couple of years that Microsoft’s Hyper-V is much simpler than vSphere, but I never imagined that I would see this:  Caleb, a 5th grader, shows us how to create a virtual machine, install an OS, and even create a virtual switch.  Not only was I impressed with how well he does it, but his communication skills far exceed those of many adult IT Pros that I have met!  (Not you of course… I mean the other guys…)

http://blogs.technet.com/b/yungchou/archive/2013/03/18/are-you-smarter-than-a-5th-grader-in-creating-hyper-v-virtual-machine-and-installing-windows-server-2012.aspx?wa=wsignin1.0

So the question is if he can do it, why can’t you?  Of course you can, it is that simple!

Virtual Networking in Hyper-V 2012

Microsoft has released a poster diagramming virtual networking in Hyper-V 2012.  Much of it revolves around Virtual Machine Manager, and is actually branded System Center 2012 SP1.  If you are building or managing datacenters – even smaller ones – you should download this document and review it.  We all have something to learn from it!

The VMM networking poster is available for download here.

Now: If you are going to be at MMS, I am told that the Windows Server team will be giving out printed copies – I had one of the original Hyper-V environment and wore it out – it was my most referenced document for months!

If you are interested in evaluating Windows Server or System Center 2012 you can can do so by clicking here:

It’s Official: My SIXTH MVP Award Category

Two weeks ago 1,400 Microsoft MVPs gathered in Redmond, Washington (the MotherShip, as some call it!) to ‘geek out’ for three days (or as many as six for some, depending on pre-day and post-day events).  We spent at least two and as many as four days in closed-door sessions with the product teams for which we were awarded… in my case it was with the Windows Client product team, which includes Windows 8, Microsoft Desktop Optimization Pack (MDOP), Microsoft Deployment Toolkit (MDT) and other deployment technologies, and of course the folks behind the Microsoft Surface.

While we all enjoyed ourselves immensely, I realized early on that although I do spend a lot of time discussing and presenting Windows 8, it is simply not the area where I spend most of my energies and focus.  As such, after meeting with both Stephen Rose (a Senior Product Marketing Manager for Windows) and Ben Armstrong, and then making the formal request through proper channels, I am proud to say that I have officially switched MVP competencies to Virtual Machine.

For those of you keeping score, here is the official list:MVP_Horizontal_FullColor

  1. Windows Server – Customer Experience
  2. Small Business Server
  3. Essential Business Server
  4. Windows Desktop Experience
  5. Windows Expert – IT Pro
  6. Virtual Machine

I want you all to know that this is not because I cannot make up my mind… simply over the years interests and areas of focus change.  A couple of years ago I was spending a lot of time talking about desktop deployment, which put me square into the Windows DE (and then Windows Expert – IT Pro) camp.  My primary focus of late has been virtualization, and it looks like that is where I am going to stay for at least a couple of years.  I am sure you all know that this is not simply a whim – I am as passionate about virtualization as is possible.

For any of you who might be interested in seeing my MVP Profile Page, it can be viewed at: http://mvp.microsoft.com/profiles/Mitch.

I want to thank all of my friends in the Windows space – Stephen Rose, David Trupkin, Michael Niehaus, and everyone else (too many to mention!) for everything they have done for me over the past few years.  I promise that I am not abandoning you – simply adjusting to the realities.  I will continue to participate in the STEP (Springboard Technical Experts Panel) as long as I am allowed, and will speak at every user group that invites me!

I am looking forward to my new program – new lists, mail servers, and so on… time to reintroduce myself to another group of poor, unsuspecting souls who have no idea what they have coming to them fine MVPs with whom I have so much in common!

Supported Hosts Revisited

In a recent article I posted a list of hypervisors that are supported by System Center 2012 (See http://garvis.ca/2013/01/28/system-center-vmm-supported-hosts/).  I have since been informed that although this list of hosts may work, the only supported hosts are indeed as listed in the TechNet article.  ESXi 5.0 is not supported, nor is ESX or ESXi 4.0.

I apologize for this error.  I have used and managed these environments from System Center and I assumed that they were supported.

Thanks to Robert Larson for the clarification!

M

Windows 8: Client Hyper-V and Why It Matters

In December I sat down with Kevin Remde, Technical Evangelist with Microsoft USA, to discuss how Windows 8 now includes Microsoft Hyper-V.  It is a great conversation about why you might want to use the power of Hyper-V virtualization on the desktop, what is required, and how to get started.  I invite you to watch and listen in, and comment! -M

http://channel9.msdn.com/Series/Reimagining-Windows-An-In-Depth-Look-at-Windows-8-for-the-Enterprise/Episode-6-Windows-8-Client-Hyper-V-and-Why-It-Matters

Getting Started With Hyper-V in Server 2012 and Windows 8

You all know by now that I am a huge Hyper-V fan… I have been using it since 2008, but with the latest release I am unabashedly loving Microsoft’s Layer 1 hypervisor.  The fact that it has been included in Windows 8  – as in, no different from the virtualization platform I use in my servers – is just the icing on the cake.

It is true that almost any IT Pro would be able to install and use Hyper-V on either the server or client platform without much guidance.  However when you do start out – either with Hyper-V in general, or on a new system – there are a few things that you should know before you go.  Here are some of my tips, in no particular order of importance.

1) Change the default file locations!

The default file locations for virtual hard disks and virtual machines are a bit obscure.  I like to change them right out of the gate.  Depending on which drive I want to store them on (in Windows 8 it is usually the C drive, while on proper servers it will usually not be) I will store them both right off the root… x:\VHDs and x:\VMs.  That way I do not have to navigate to the defaults whenever I want to copy a file.  I find x:\VHDs much easier than c:\Users\Public\Documents\Hyper-V\Virtual Hard Disks and c:\ProgramData\Microsoft\Windows\Hyper-V.

If I am going to use Failover Clustering with Cluster Shared Volumes the defaults will be different, but for standalone servers these defaults suit me fine.

STEPS:

  1. In Hyper-V Manager click on Hyper-V Settings… in the Actions Pane.
  2. Under the Server context, click on Virtual Hard Disks and change the default location.  You will have to create the directory before going ahead.
  3. Still under the Server context, click on Virtual Machines and change the default location.  Again, you will have to create the directory first.

It’s as easy as that.  Of course, VMs that are already there will not be moved, but going forward all VMs will be placed in the proper directory.

2) Create your Virtual Switch!

When you start creating virtual machines there will be nowhere for them to go and nobody for them to talk to… that is, unless you create a virtual switch (previously called virtual network) to connect them to.  Depending on your server and your environment this might be simple or complex, and may require more planning.  However the long and the short of it is you have to make three decisions when creating a virtual switch:

  • Is the network going to be External (can communicate beyond the physical host), Internal (can only communicate with other VMs on the same host, plus with the host), or Private (can only communicate with other VMs on the same host)?
  • If External, what physical NIC (uplink) will it be bound to?
  • Can the Management OS (on the host) use the same NIC?

STEPS:

  1. In the Action Pane of Hyper-V Manager click Virtual Switch Manager…
  2. In the navigation pane click New virtual switch
  3. In the right screen select External, Internal, or Private and click Create Virtual Switch
  4. In the Virtual Switch Properties window delete New Virtual Switch and name the switch something that you will understand (i.e.: CorpNet).
  5. Click OK to close the Virtual Switch Manager.

Again, this is all there is to it.  Plain and easy, no fuss, no muss.

3) Configure Dynamic Memory

When you create a virtual machine there are a few defaults that Hyper-V thinks is a good idea… which I don’t.  The main one that comes to mind is the Dynamic Memory option (per VM).  When you configure Dynamic Memory the defaults are going to be:

Startup RAM: 512 MB

Minimum RAM: 512 MB

Maximum RAM: 1048576 MB

Ok, for a lot of our virtual machines 512MB may be a fine minimum… but unless you are driving a BAWL (Big @$$ Work Load) server on the VM you will nearly never need a terabyte of RAM.  Granted it is nice that we have that ability, it is not going to be the norm.  On the other hand, not setting a realistic maximum would mean that if your VM were to place a huge memory demand – say, because of an unchecked memory leak or a compromised server, or even something as simple as an Exchange Server grabbing as much physical (ahem… virtual) RAM as it can – then this would necessarily be at the expense of contention resources, which would no longer be available to other virtual machines on the same host.

My recommended best practice is to pick minimums and maximums that are reasonable to you for each server (and those will be different from VM to VM, depending on the load expectations).  You will be able to tweak these up or down as needed, but the point is you will have reasonable limits.  For many of my servers I set limits such as these:

Startup RAM: 512 MB

Minimum RAM: 512 MB

Maximum RAM: 4096 MB

These settings allow the VM to consume up to 4 GB of RAM when needed and available, but no more than that.  If I discover the VM workload needs more then I will tweak it up incrementally.  I am not letting resources go to waste, and I am making sure that my VMs work within their means – i.e.: as efficiently as they can.

STEPS:

  1. imageWithin Hyper-V Manager click on the VM in question and then in the Action Pane (VM Name) click Settings…
  2. In the Navigation Pane click Memory
  3. In the Memory window change the Minimum and Maximum RAM as needed.
  4. Click OK.

4) …and Hard Disks!

By default the virtual hard disks that are created for us in the New Virtual Machine Wizard will be 127 GB.  But do they really need to be that big?  Actually, in a lot of cases they do.  In many cases they should be bigger.  Sometimes they should be smaller.  If you are creating your disks this way then you should right-size them in the wizard.

With that being said, the one question that the wizard does not ask you is ‘what type of disk would you like to create?’  In Server 2012 there are actually three questions that you should be asked that are only asked when creating your disks using the New Virtual Hard Disk Wizard:

a) Would you like to create a VHD file (with backward-compatibility, and limited to 2 TB in size) or a VHDX file (which adds resilience to consistency issues that might occur from power failures, and are limited to 64 TB in size but offer no backward compatibility)

b) Would you like the disk to be Fixed size (pre-provisioned storage), Dynamically expanding (storage on demand), or Differencing disk (associated with a parent-child relationship with another disk)?

c) Would you like to create the new VHD(X) file based on the contents of an attached physical drive?

The solution is to pre-create your VHD(X) files to spec, and then point to them from the New Virtual Machine Wizard.  While dynamically expanding disks are fine for labs and offer greater portability, I never recommend them in a production environment.  Also if you think you might need to port your VMs back to Server 2008 (or Windows 7) then VHD will be required.

STEPS:

    1. From the Hyper-V Manager console in the Actions Pane click New > Hard Disk…
    2. Go through the wizard and select the options you choose.
    3. From the New Virtual Machine Wizard click the radio button Use an existing virtual hard disk and point to the right file.
    4. Click Finish.

image

Alternately, you could select the radio Attach a virtual hard disk later and create your VMs, then create your VHD(X) files, and then attach them.  It seems like more work to me though…

5) …and CPUs!

There are a few new settings in the Processor tab of Hyper-V VMs than there used to be.  Not only can you set the number of virtual processors (to the lesser of either a maximum of 64, or the number of physical cores in your computer), but you can also set the VM reserve, the percent of total system resources, the VM limit, and the relative weight.  These are all set in the main screen of the Processor Settings page.

imageWhat a lot of people do not realize is that there are two subsections to the Processor tab: Compatibility and NUMA.  In order to access these you need to expand the + next to Processor in the navigation pane.

NUMA stands for Non-Uniform Memory Architecture, and essentially means that a single VM can use memory that is assigned to different physical CPUs.

Compatibility in this context refers to CPU families, and is a very handy option indeed.  In virtualization there is no way to live-migrate a VM from a host running on AMD CPUs to a host running on Intel CPUs.  This is not a limitation of Hyper-V, rather of the architecture of CPUs, and is identical in VMware.  However CPU family is not the only limiting factor to allow live migrations; CPU properties are a factor too, and because of advancements in the technology it would generally not be possible to live migrate a VM from a host with an older CPU to a host with a newer CPU.

A few years ago VMware saw this as an issue, and along with Intel developed a technology called EVC, or Enhanced vMotion Compatibility.  What EVC does is it masks the newer chipset features (generally multimedia signatures and things like that) from the VM, so that all of a sudden you can migrate between older and newer hosts (say, an Intel i7 to an Intel Core Duo).  In VMware this is assigned at the Cluster level.

Of course the technology is simple enough, but the intellectual property is not.  EVC has the word vMotion (a trademark) in the title.  Microsoft cannot use the term vMotion.  As such their compatibility mechanism (which works the same way) is called Migrate to a physical computer with a different processor version (MTPCWDPV).  The name is not nearly as sexy as EVC, but they compensated by assigning it to the VM instead of the cluster.  It is a simple checkbox that you check (or uncheck) under the Compatibility Configuration screen.

If you are going to be using Live Migration between hosts with potentially incompatible CPU then follow these steps:

STEPS:

      1. imageWithin Hyper-V Manager click on the VM in question and then in the Action Pane (VM Name) click Settings…
      2. In the Navigation Pane click Processor, then click the + next to Processor to expand the tree.
      3. Click on Compatibility
      4. Click the checkbox Migrate to a physical computer with a different processor version.
      5. Click OK.

Following these simple best practices will not make you an expert in Hyper-V by any means, but it is a good start… what they will allow you to do is get started comfortably and play with the technology without hitting some of the more common stumbling blocks that beginners seem to run into.  As your needs grow you will be comfortable enough with the technology to try new things, explore new possibilities.  Before long you will be as virtualization expert, ready to tackle concepts such as Shared Nothing Live Migration, Failover Clustering, Cluster Shared Volumes, and much much more.

In the meantime dip your toes into the virtualization waters… it’s warm and inviting, the hazards are not too dangerous, and the rewards are incredible.  In no time you will be ready to get certified… but even if that is not your goal you have already taken the first steps to becoming a virtual wiz!

The Haiku Goes On…

Zen......

Zen…… (Photo credit: Moyan_Brenn_BE_BACK_on_10th_OCT)

Yesterday I began my journey to improve the world through haikus about Windows Server 2012.  Here is my second Windows Server 2012 haiku!  And remember… if you like the poem, you will love the product!  Download your evaluation copy today!

Also… if you have a poem about Windows Server, Hyper-V, Windows 8, or Office 2013 I will publish it here for you!

Hyper virtual

V will lead the industry

Competitors cringe

In interesting survey from VMworld…

I have a lot of conversations with people about virtualization… it’s what I do (well, among other things).  While most people agree that I am technically knowledgeable on both Microsoft and vSphere virtualization, sometimes my analysis and commentary strike people as skewed and unrealistic based on my relationship with Microsoft. 

For the past couple of years I have been talking about the advancements that Microsoft has made with regard to virtualization with Hyper-V and the associated technologies, not only from a technological standpoint, but also with regard to market share.  A lot of people have told me that I am dead wrong,and that I am living a fantasy if I think that Microsoft could ever make a dent in VMware’s market share. 

That is one of the reasons I am so happy to read an article posted yesterday in NetworkWorld (www.networkworld.com) called VMware, the bell tolls for thee, and Microsoft is ringing itThe writer (Zeus Kerravala) writes about a survey conducted recently at VMworld, which for those of you unfamiliar is VMware’s large yearly event, equivalent to Microsoft’s TechEd events.

NetworkWorld surveyed attendees about their Hyper-V usage, and got some very encouraging (for Microsoft) answers.  Read what he has to say here, and feel free to start a local discussion here… I would love to know (especially from traditionally VMware shops) if you are running Hyper-V – in test? production?  Are you discussing it?  Let me know! -M

http://www.networkworld.com/community/node/81559

When I’m Sixty-Four… TERABYTES!

Hard Disk Spindle

Hard Disk Spindle (Photo credit: Fr3d.org)

Okay, I am asking for a show of hands: How many of you remember 100MB hard drives? 80? 40?  While I remember smaller, my first hard drive was a 20 Megabyte Seagate drive.  Note that I didn’t say Gigabytes…

Way back then the term Terabyte might have been coined already as a very theoretical term, but in the mid-80s most of us did not even have hard drives – we were happy enough if we had dual floppy drives to run our programs AND store our data.  We never thought that we could ever fill a gigabyte of storage, but were happier with hard drives than with floppies because they were less fragile (especially with so many magnets about).

Now of course we are in a much more enlightened age, where most of us need hundreds of gigabytes, if not more.  With storage requirements growing exponentially, the 2TB drives that we used to think were beyond the needs of all but the largest companies are now available for consumers, and corporations are needing to put several of those massive drives into SAN arrays to support the ever-growing database servers.

As our enterprise requirements grow, so must the technologies that we rely on.  That is why we were so proud to announce the new VHDX file format, Microsoft’s next generation virtual hard drive files that has by far the largest capacity of any virtualization technology on the market – a whopping 64 Terabytes.

Since Microsoft made this announcement a few months ago several IT Pros have asked me ‘Why on earth would I ever need a single drive to be that big?’  A fair question, that reminds me of the old quote from Bill Gates who said that none of us would ever need more than 640KB of RAM in our computers.  The truth is big data is becoming the rule and not the exception.

Now let’s be clear… it may be a long time before you need 64TB on a single volume.  However rather than questioning the limit, let’s look at the previous limit – 2TB.  Most of us likely won’t need 64TB any time soon; however over the last couple of years I have come across several companies who did not think they could virtualize their database servers because of 2.2TB databases.

Earlier this week I got an e-mail from a customer asking for help with a virtual to physical migration.  Knowing who he reached out to, this was an obvious cry for help.

‘Mitch we have our database running on a virtual machine, and it is running great, but we are about to outgrow our 2TB limitation on the drive, and we have to migrate onto physical storage.  We simply don’t have any other choice.’

As a Technical Evangelist my job is to win hearts and minds, as well as educate people about new technologies (as well as new ways to use the existing technologies that they have already invested in).  So when I read this request I had several alternate solutions for them that would allow them to maintain their virtual machine while they burst through that 2TB ‘limit’.

  1. The new VHDX file format shatters the limit, as we said.  In an upcoming article I will explain how to convert your existing VHD files to VHDX.  The one caveat: if you are using Boot from VHD from a Windows 7 (or Server 2008 R2) base then the VHDX files are not supported.
  2. Storage Pools in Windows Server 2012 allow you to pool disks (physical or virtual) to create large drives.  They are easy to create and to add storage to on the fly.  I expect these will be among the most popular new features in Windows Server 2012.
  3. Software iSCSI Target is now a feature of Windows Server 2012, which means that not only can you create larger disks on the VM, you can also create large Storage Area Networks (SANs) on the host, adding VHDs as needed and giving access as BitLocker-encrypted Cluster Shared Volumes (CSVs), another new functionality of the new platform.
  4. New in Windows Server 2012, you can now create a virtual connection to a real Fibre Channel SAN LUN.  As large a volume as you can create on the SAN is your limit – in other words if you have the budget your limit would be petabytes!

With all of these options available to us, the sky truly is the limit for our virtualization environments… Whether you opt for a VHDX file, Storage Pool, Software- or Hardware-SAN, Hyper-V on Windows Server 2012 has you covered.  And if none of these are quite right for you, then migrating your servers into an Azure VM in the cloud offers yet more options for the dynamic environment, without the capital expenses required for on-premises solutions.

Knowing all of this, there really is no longer any reason to do a V2P migration, although of course there are tools that can do that.  There is also no longer a good reason to invest in third-party virtualization platforms that limit your virtual hard disks to 2TB.

Adaptable storage the way you want it… just one more reason to pick Windows Server 2012!

Mitch is Back on TechNet Radio’s Community Corner!

On July 6th I sat down with John Weston and talked about Virtualization once again.  This is the third show that I recorded with John, and I love going back because we go back and forth so well.

TechNet Radio is a great resource for learning about new and existing technologies.  If you spend any time commuting you should be downloading those podcasts and listening in your car, on the train, bus, or subway.

This latest session is called ‘What’s New in Hyper-V for Windows Server 2012’.  How timely is it that the new platform was released to manufacturing (RTM) on August 1st, and will be publicly available next month.  Check it out at the link below:

http://channel9.msdn.com/Shows/TechNet+Radio/TechNet-Radio-Community-Corner-Whats-New-in-Hyper-V-for-Windows-Server-2012

%d bloggers like this: