Emulex PRO Management Pack For Virtual Machine Manager 2008

Emulex announced in Barcelona this week that they’ve released a PRO management pack for VMM 2008 and Operations Manager (OpsMgr) 2007.

The concept is pretty simple.  Your VM will be configured to have it’s own World-Wide Name (WWN) on the SAN fabric.  This means that your zoning must include the VM.  That’s more management in the storage provisioning so I’m not sure it’s something I’d do.  Maybe it can be done selectively for key VM’s? The management pack can detect when an Emulex HBA is being overlaoded andidentify which VM’s are responsible for the excessive traffic.  You can then take whatever preventative action you need.

EDIT:

I went to the HP stand afterwards and asked them what they were doing with "PRO tips".  They have a management pack coming out maybe in December 2008 or January 2009.  In their canned demo (AVI) you could see a wide range of components including storage.  The presenter wasn’t sure but he reckoned HP would have to cover by Emulex and QLogic controllers for end-to-end storage management in a Hyper-V/VMM farm.

Software Router For Hyper-V

There’s a good chance that lots of people will use their TechNet licenses and Hyper-V for labs and self training.  If so, you’re going to want a router or even routers.  There’s been many options for a software router or "appliance" for VMware.  I just did some searching and found a blog entry by Stefan Stranger on how to get Vyatta Virtual Router working on Hyper-V.  It looks pretty straight forward.

Credit: Stefan Stranger.

Hyper-V 2.0 Feature Overview

HyperVoria has listed the features that will be introduced with Hyper-V V2.0, some of which were public knowledge (live migration, cluster file system), some of which a few of us heard about but couldn’t comment on publicly (boot from VHD – the VM has dedicated hardware and the bootloader loads an OS from VHD instead of hard disk) and some of which were new to me (dynamically pooled RAM for VM’s, i.e. RAM over subscription as in ESX).

The latter may not make it into RTM of Windows Server 2008 R2.  Hopefully it will.

Credit: HyperVoria.

Virtual Machine Manager 2008 RTM’s

Microsoft has released System Center Virtual Machine Manager 2008.  VMM 2008 is to Hyper-V what VMware Virtual Center is to ESX.  Just like Virtual Center, it is an additional purchase.  Just like Virtual Center, it add’s additional management functionality to Hyper-V.

VMM offers:

  • Integration with other management products, i.e. System Center Operations Manager via PRO to give hardware to application (including all points in between including virtualisation) and cradle to grave management.  Your virtualisation layer is managed by the same management infrastructure as all your other platforms.
  • Improvements on the clustering experience for virtual machines.
  • A library for scripts and virtual machine templates.
  • A web portal for KVM access to virtual machines.
  • Simpler delegation, e.g. non administrators can be given a quote for self service VM deployment.
  • Manage ESX servers.
  • Perform P2V (convert physical to virtual) or V2V (ESX to Hyper-V conversions).

VMM 2008 can be purchased as part of the System Center CAL/SAL.  This includes OpsMgr, ConfigMgr and Data Protection Manager CAL’s/SAL’s at a price where you get 4 products for the price of 2.

There is a free evaluation and an online video demonstration.

Highly Available Hyper-V Virtual Disks

TONYSO talks about planning VHD strategies when setting up highly available Hyper-V VM’s (using Windows clustering services).

First off, MS only supports Pass Through disks and fixed size VHD’s in production so forget about using differencing disks.

The VM will usually be on a LUN of it’s own.  So you need to allocate a LUN from your cluster’s shared storage for each VM.  (Note: Shared storage will be used in Windows Server 7 Hyper-V thanks to a new cluster file system that allows simultaneous multiple host access).  You’ll want to save space on this LUN so you need to size it correctly.  Here’s how I size a dedicated LUN or volume for storing a VHD:

LUN Size = (VM RAM + VHD Size) * 1.1

This works out as:

  • VM RAM: The amount of RAM assigned to the virtual machine, e.g. 2GB RAM.  This is required to allow the VM to save state, e.g. during host shutdown or for quick migration.
  • VHD Size: The amount of disk assigned to the virtual machine, e.g. 40GB.
  • 1.1: This allows for 10% free space on the volume.  You need to allow free disk space for a healthy volume.

Given these numbers:

LUN Size = (2 + 40) * 1.1

LUN Size = 46.2GB

This figure will be rounded out as 47GB because your SAN management software probably won’t handle decimal points for the GB allocation.

The VM will probably not be able to do snapshots with this calculation.  Note that MS does not support snapshots in production – according to PSS.  They want you to use backup tools with Hyper-V VSS support instead for state saves.  If you do want to do snapshots then you need to allocate more disk.  How much … who knows!  Snapshots are done using differencing disks, e.g. anything done after the snapshot is saved in a differencing disk (hence the lack of production support from PSS?).  This differencing disk will grow as time passes so you need to allocate disk for this.  I’d recommend a central store for saved states.  You can configure this on a per VM basis.  This means the VM LUN doesn’t need to be expanded to allow for snapshots.  Forget shrinking the VM disk if you expand it for snapshots.  I’ve tested that with a HP EVA and it screwed up the file system/VM.

Credit: TONYSO.

EDIT:

You might want to add 5GB of disk space to the above if you want to leave room for an ISO image if using VMM 2008.  Remember that VMM 2008 cannot share ISO’s from the library so you have to copy them … that copies them to the VM’s LUN.  You’ll also need more space if you want to use snapshots.

Free Online Training: Hyper-V and VMM 2008

This is pretty handy.  Microsoft has launched a couple of free online training courses for their virtualisation platform:

Clinic 5935 – Introducing Hyper-V in Windows Server 2008

This 2-hour online clinic provides IT Professionals experienced in Windows 2000 Server or Windows Server 2003 with the knowledge and skills to implement and manage Hyper-V in an IT environment.

Topics covered in the clinic include:

  • Features of Hyper-V
  • Features of server consolidation
  • Hyper-V implementation
  • Creation of virtual machines
  • Dynamic datacenters
  • Clustering in virtual environments

Access it online at
http://www.microsoft.com/learning/elearning/course/5935.mspx

Clinic 6334: Exploring Microsoft System Center Virtual Machine Manager 2008

This 2-hour online clinic provides IT Professionals experienced in Windows 2000 Server or Windows Server 2003 with the knowledge to implement and manage Microsoft System Center Virtual Machine Manager 2008.

Topics covered in the clinic include:

  • Features and functionalities of VMM
  • Implementation and management of VMM
  • Management of VMM library
  • Management of hosts by using VMM
  • Implementation of virtual machine Self-Services

Access it online at
http://www.microsoft.com/learning/elearning/course/6334.mspx

Please note you will need to sign-in with a Live ID before accessing.

Running SQL 2008 on Hyper-V

I just stumbled across this white paper that covers running SQL 2008 on Hyper-V:

  • Performance analysis;
  • Conclusions and
  • Recommendations.

Some interesting titbits:

  • SQL 2008 performance doesn’t suffer much at all.  You should be sure you need no more than 4 CPU’s for your SQL installation … remember that the guest/child VM will share CPU with other child VM’s on the host.
  • Storage: optimal storage I/O is possible with passthrough disks.  However, fixed size VHD only has a tiny overhead.  The other VHD types are not supported in production.  VHD’s advantage over passthrough is mobility, e.g. DR planning.
  • Virtual networking has a minimal CPU overhead as well.  Make sure you don’t use a legacy NIC in the VM spec (it’s not the default anyway).

Other things I’ll add:

  • Use IDE (you have to) for the VM boot disk.  Use SCSI disks for the VM log and data disks.
  • Physical storage RAID 1 and 5 rules still apply, e.g. RAID 1 for OS, Paging and Log volumes.  Database volumes can be RAID5 but RAID1 is best for databases with lots of write activity.
  • Use integration services.  Be sure you are running RTM (and the latest) Hyper-V and integration services.  Upgrading Hyper-V on a host does not upgrade the integration services in a VM.  This is a manual task.