Hyper-V Podcasts.

Posted by DH on 20th May 2009

Hyper-V Podcasts.

Thanks to Tony Soper:  http://blogs.technet.com/tonyso/archive/2009/05/19/hyper-v-how-to-roll-your-own-virtualization-mixtape.aspx

 

 

Tags: ,
Posted in Management, Server Virtualization | Comments Off

Hyper-V 2008 R2: News from the front.

Posted by DH on 15th May 2009

Hyper-V 2008 R2: News  from the front.

64 logical processor support. This is a 4x improvement over Hyper-V R1 and means that Hyper-V can take advantage of larger scale-up systems with greater amount of compute resources. As our friends at AMD and Intel drive up core counts, we want you to know that Hyper-V is ready to take advantage of the compute resources in your server today and those you’re buying tomorrow.

Support for up to 384 Concurrently Running Virtual Machines & 512 Virtual Processors PER SERVER. (No, that’s not a typo.) Going hand in hand with our support for 64 logical processors, we’re upping the maximum number of concurrently running virtual machines to 384 per server and the maximum number of virtual processors to 512 for the highest virtual machine density on the market. Here are a few examples. You could run:

  • 1. 384 single virtual processor vms OR
  • 2. 256 dual virtual processor vms (512 Virtual Processors) OR
  • 3. 128 quad virtual processor vms (512 Virtual Processors) OR
  • 4. any combination so long as you’re running up to 384 VMs and up to 512 Virtual Processors

Live Migration & Processors.

With the addition of Live Migration in Hyper-V R2, one of the immediate questions we’re asked is: “Do the physical processors have to be exactly the same?”

Scenario 1: Suppose you bought three servers for live migration and created a three node cluster. Everything’s working well and a 6-12 months down the road you want to add another couple of nodes to increase the compute resources in your cluster. In the meantime, your OEM has upgraded their server hardware line with new processors, now what do you do?

Scenario 2: You work in a small/medium business or K-12 education and you need to squeeze every nickel you can out of your budget. You want to use virtualization and would love to use Live Migration, but you have a mix of different servers ranging from Pentium 4, Core 2 and maybe next year you’ll get budget to purchase a new Core i7 server.

Wouldn’t it be great if you could Live Migrate virtual machines across different processor generations?

We think so too.

Introducing: Processor Compatibility

With Hyper-V R2, we include a new Processor Compatibility feature. Processor compatibility allows you to move a virtual machine up and down multiple processor generations from the same vendor. Here’s how it works.

When a Virtual Machine (VM) is started on a host, the hypervisor exposes the set of supported processor features available on the underlying hardware to the VM. This set of processor features are called guest visible processor features and are available to the VM until the VM is restarted.

When a VM is started with processor compatibility mode enabled, Hyper-V normalizes the processor feature set and only exposes guest visible processor features that are available on all Hyper-V enabled processors of the same processor architecture, i.e. AMD or Intel.  This allows the VM to be migrated to any hardware platform of the same processor architecture. Processor features are “hidden” by the hypervisor by intercepting a VM’s CPUID instruction and clearing the returned bits corresponding to the hidden features.

Just so we’re clear: this still means AMD<->AMD and Intel<->Intel. It does not mean you can Live Migrate between different processor vendors AMD<->Intel or vice versa.

In addition, you may be aware that both AMD and Intel have provided similar capabilities in hardware, Extended Migration and Flex Migration respectively. Extended and Flex Migration are cool technologies available on relatively recent processors, but this is a case where providing the solution in software allows us to be more flexible and provide this capability to older systems too. Processor Compatibility also makes it easier to upgrade to the newest server hardware. In addition, Hyper-V Processor Compatibility can be done on a per VM basis (it’s a checkbox) and doesn’t require any BIOS changes.

Processor Compatibility In Action

Here’s an example of a cluster we’ve been testing. This is a 4 node cluster using 4 generations of Intel Processors with VT all attached to a small iSCSI SAN over 1 Gb/E. We have a script that continuously Live Migrates VMs from one node to the next every 15 seconds. We’ve been running this test for about a week and have successfully completed over 110,000 Live Migrations.

Time To Get Uber-Geeky

Now that I’ve explained what processor compatibility mode does and the flexibility provides, I’m guessing there are a few propeller heads who want to go further and know exactly what a “normalized processor” means from a processor feature standpoint. Happy to oblige. When a VM in processor compatibility mode is started, the following processor features are hidden from the VM:

 

Host running AMD based processor

 

Host running Intel based processor

 

SSSE3, SSE4.1, SSE4.A, SSE5, POPCNT, LZCNT, Misaligned SSE, AMD 3DNow!, Extended AMD 3DNow!

 

SSSE3, SSE4.1, SSE4.2, POPCNT, Misaligned SSE, XSAVE, AVX

FAQ

Q: What happens if a vendor has written an application that uses one of these features that isn’t visible with processor compatibility enabled?

A: Since the feature isn’t exposed to the virtual machine, the application won’t “see it” and it’s up to the application to determine how to proceed; however, there are two likely paths.

Path 1: The application will check to see if a specific processor feature is available and use it if it’s available. If the processor features isn’t available, it will use a different code path. Remember that applications that make use of these advanced processor features are generally written in a flexible fashion to accommodate the servers in market today and there are still thousands of older Xeons and Opterons on the market that don’t have some of the latest processor features.

Path 2: The application requires a specific processor feature and refuses to launch. At this point in time, we haven’t found any application that fall into this category. It’s possible they exist, but we haven’t hit one yet. Since we can’t test every application out there, processor compatibility is defaulted off. (We’re conservative by nature.).

BTW, if there were issues with Hyper-V Processor Compatibility, you’d also see it with other virtualization products which rely on underlying hardware capabilities to mitigate this problem as well.

Q: Does processor compatibility have a hardware requirement? Does it require Intel Flex Migration or AMD Extended Migration?

A: Hyper-V processor compatibility mode has no dependencies on these technologies.

Q: Does Hyper-V processor compatibility allow you to migrate a VM from an AMD host to an Intel host and vice versa?

A: No. Processor compatibility allows you to move a virtual machine up and down multiple processor generations from the same vendor. It does not allow migrating a VM (with or without processor compatibility mode) from AMD based hosts to Intel based hosts, and vice versa.

Read the full story: http://blogs.technet.com/virtualization/archive/2009/05/12/tech-ed-windows-server-2008-r2-hyper-v-news.aspx

 

Tags: , ,
Posted in Server Virtualization | Comments Off

SCVMM R2 RC Features

Posted by DH on 13th May 2009

SCVMM R2 RC Features

 Storage Migration

We’ve heard from customers as well as field for the need for migrating storage of a running VM. This is especially relevant as customers migrate from their existing one VM per LUN deployments and consolidate their VMs into a single CSV (clustered shared volume) LUN when they upgrade to Windows 2008 Server R2.

With VMM R2, we’ve added the capability to do what we call “Quick Storage Migration”. This feature enables migration of a VM’s storage both within the same host and across hosts while the VM is running with a minimum of downtime. The downtime depends on the amount of activity going on in the VM at the time of migration, our tests have shown typical downtimes to be less than 2 mins.

We’ve also added the capability to do VMWare storage vMotion which allows the storage of a VM to be transferred while the VM remains on the same host with no downtime.

Queuing of Live migrations

While live migration is the much awaited new feature in Windows 2008 Server R2, it does come with a limitation in that a host can participate in only one live migration at any given time, both as source and destination. This means that the user has to wait for the live migration to complete before attempting another one.

In VMM R2, we’ve added the capability to detect the condition where live migration fails due to another live migration in progress and queue up the request in the background and retry the request after a period of time. The retry intervals are exponentially backed off to avoid overloading the system and the retries are capped to a max time period (15 mins). This feature enables users to do multiple live migrations without needing to keep track of other live migrations that are happening within the cluster and VMM R2 will automatically do the queuing and retries in the background.

Rapid Provisioning

This feature is again in response to customers and field requests. In VMM 2008, the only way to deploy a new VM is to copy the VHD from the library to the host over the network using BITS. Depending on the size of VHD and the available bandwidth, this could take several minutes or even hours.  We heard from a lot of customers that they have sophisticated SAN technologies that enables them to clone a LUN which contains the VHD and present it to the host. But they still want to use VMM’s template so the OS customization and IC installation can be done. So they basically wanted  new-VM without the network copy which is exactly what we did in R2. You can now create a template which includes the OS answer file and which references a dummy VHD which is not used. Then, using Powershell (we didn’t have enough time to add UI support, so this feature is cmdline only. The power users that would use this feature would most likely use scripting to mass deploy VMS anyway) you can do a new-VM and specify the path to the VHD using a new switch -UseLocalVirtualHardDisk.

 Here’s a sample script:

Get-VMMServer -ComputerName “VMMServer1.Contoso.com”

$JobGroupID = [Guid]::NewGuid().ToString()

$Template = Get-Template | where {$_.Name -eq MyTemplate”}

$VMHost = Get-VMHost | where {$_.Name -eq “VMHost.Contoso.com”}

Move-VirtualHardDisk -IDE -BUS 0 -LUN 0 -Path “L:\OS.VHD” -JobGroup $JobGroupID

New-VM -Name “VM06″ -Path “L:\” -Template $Template -VMHost $VMHost -JobGroup -$JobGroupID -UseLocalVirtualHardDisks

 Host compatibility checks

VM migration requires host hardware to be compatible. This includes things like CPU features, enlightenment parity etc. In VMM R2, we’ve added deep check for compatibility using Hyper-V and VMWare compat check APIs. This enables users to check if VM is compatible with the destination host instead of doing the migration and then finding out that the VM cannot start on the host.

A related feature is to make VM compatible; it’s a setting per VM that turns off certain CPU features in VM so it becomes compatible with the host. This is a tradeoff between using advanced CPU features of the host versus making VM more compatible for migration. This setting requires that the VM be restarted to take effect.

 Support for 3rd party CFS

There are companies that build clustered file systems that functionally is similar to CSV in that it enables multiple hosts to have shared access to a disk resource. In VMM R2, we support such file systems by detecting it’s a CFS disk and allow for deploying multiple VMs per LUN. This enables customers who have deployed such file systems (Melo from Sanbolic is one that we’ve tested with) to take advantage of this new capability.

 Support for Veritas Volume Manager

We’ve also added support for Veritas volume manager which enables VMM R2 to recognize Veritas volume manager disk as a cluster disk resource.

As you can see, there’s a ton of new stuff that’s coming in RC and this list doesn’t include all those features that we already shipped in Beta.

http://blogs.technet.com/scvmm/archive/2009/05/11/scvmm-r2-rc-features.aspx

Tags: ,
Posted in Management, Server Virtualization | Comments Off

Free Microsoft Virtualization E-learning courses.

Posted by DH on 20th April 2009

Microsoft App-V

This online course provides IT Professionals the knowledge to implement and manage Microsoft Application Virtualization. Topics covered in the clinic include:

  • Features and functionalities of Application Virtualization
  • Deployment and maintenance of Application Virtualization
  • Management of Application Virtualization by using the Application Virtualization Management console

 
Exploring Microsoft Application Virtualization

SCVMM 2008

This online course provides IT Professionals 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

Exploring Microsoft System Center Virtual Machine Manager 2008
 
Terminal Services in Server 2008

This online course provides IT Professionals the knowledge to implement and manage Terminal Services in Windows Server 2008. Topics covered in the clinic include:

  • Implementation of Terminal Services
  • Working with Terminal Services RemoteApp, Terminal Services Web Access, Terminal Services Gateway, Terminal Services Session Broker, and Terminal Services Licensing

 
Exploring Terminal Services in Windows Server 2008

Microsoft Hyper-V

This 2-hour online course provides IT Professionals the knowledge to implement and manage Hyper-V in an IT environment. Topics covered in the course include:

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

 
Introducing Hyper-V in Windows Server 2008

Tags: , , , , , ,
Posted in Application Virtualization, Desktop Virtualization, General, Management, Server Virtualization | Comments Off

Architectural Differences Between Hyper-V and ESX

Posted by DH on 17th April 2009

If you want to now the architectural differences between Hyper-V and ESX then the following article is a must read. Greg Shields made good overview of both products from an architectural point of view.

Check out the article: http://www.realtime-windowsserver.com/virtualization/2009/04/how_to_correctly_explain_the_a_1.htm

Tags: ,
Posted in Server Virtualization | Comments Off

KB961983: Hotfix rollup package for System Center Virtual Machine Manager 2008

Posted by DH on 16th April 2009

List of issues that are fixed:

Issue 1

When you migrate VMware virtual machines, the resource pools that are associated with the virtual machines are changed.

Issue 2

Hyper-V virtual machines have a status of “unsupported cluster configuration” if a node in a Windows Server 2008 Failover Cluster does not respond or has been restarted.

Issue 3

Differencing disks are lost when the following conditions are true:

  • You migrate a virtual machine from a Virtual Server host.
  • Multiple virtual machines share the same parent virtual hard disk file.

Issue 4

The agent status is not updated for Windows Server 2008 Failover Cluster nodes.

Issue 5

Hyper-V virtual machines in a Windows Server 2008 Failover Cluster have a status of “unsupported cluster configuration” if the cluster has a resource that has an MSCluster_Property_Resource_Cluster_Extension_XP_Type type. This resource type is typically used by storage replication software.

Issue 6

If you add a Virtual Center server by using an account that is a member of the Enterprise Admins group, you receive the following error message when the refresh host job runs:

Error (2951) Virtual Machine Manager cannot complete the VirtualCenter action on server servername.domainname.com because of the following error: Login failed due to a bad username or password. (InvalidLogin).

This hotfix rollup also includes the fixes that are documented in the following Virtual Machine Manager 2008 update:

959596  (http://support.microsoft.com/kb/959596/ ) Description of the System Center Virtual Machine Manager 2008 update to address physical to virtual (P2V) issues

This hotfix rollup is available on the following Microsoft Update Web site:

http://update.microsoft.com/microsoftupdate

KB961983: http://support.microsoft.com/kb/961983

Tags: ,
Posted in Server Virtualization | Comments Off

Server 2008 R2 beta and Intel P45/ICH10R drivers

Posted by DH on 15th April 2009

Today I was doing some testing on my home datacenter. I’m installing the first public release of Server 2008 R2 (build 7000). I was running on all my hosts Windows Server 2008, until now. 

My configuration is standardized on:

  • 1x Q6600 CPU,
  • Intel P45 Express chipset with the ICH10R Sata controller (http://www.intel.com/Products/Desktop/Chipsets/P45/P45-overview.htm )
  • 8Gb of RAM,
  • 2 SATA drives in RAID 1 for the OS install and some other data. (semi Hostraid within ICH10R utility)
  • 1 SATA drive for Local VMs. (using ISCSI for SAN connection to test Live migration)

Everything ran ok after the default OS install, but when I enabled the Hyper-V role and did a reboot something happened within my Raid configuration and gave me an “initialize status” when booting. Something was happening downtown. This doesn’t felt good.

The second time I started from scratch I also did an install of the chipset drivers or the Intel Storage manager within the Server 2008 R2 OS. Maybe this could help. No luck either. The reason I did this because I saw the “sm bus controller” missing in the device manager.

Luckily the company I work for has the ability to test some newer builds. After installing the new build (yes that is 3 times in a row) everything went very smooth and the installation was extremely fast.

The first build has no problems with the ICH9R and Intel P35 systems. A colleague of mine runs on this configuration @ home in his datacenter.

Case closed for now.

Tags: ,
Posted in Server Virtualization | Comments Off

Registry setting for VSS based backups of Hyper-V VMs.

Posted by DH on 14th April 2009

To be able use VSS based backups of Hyper-V VMs using Windows Server Backup, we need to add the following registry keys to register the Hyper-V VSS Writer with Windows Server Backup. WindowsServerBackup key is not created when we install the Windows Server Backup feature. We have to create this key manually.

 

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}

 

When the keys listed above created, we also need to create a String Value with the following parameters / settings:

 

Name: Application Identifier
Type: REG_SZ
Value: Hyper-V

 

When backing up virtual machines, we must select all volumes where VM related files is present, because Windows Server Backup only supports volume based backups.

For more information about Hyper-V virtual machine backups, take a look on the KB958662.

Tags: ,
Posted in Server Virtualization | Comments Off

Hyper-V resources

Posted by DH on 14th April 2009

Hyper-V
Hyper-V provides software infrastructure and basic management tools in Windows Server 2008 that you can use to create and manage a virtualized server computing environment. The following resources contain information about Hyper-V.
What’s New in Hyper-V
Windows Server 2008 R2 includes changes to the Hyper-V role in Windows Server 2008. This topic describes some of these new functionalities.
Hyper-V Update List
This topic summarizes the list of software updates and hotfixes for Hyper-V.
Hyper-V Release Notes
Read about the known issues about this release of Hyper-V.
Planning and Deployment
Hyper-V Planning and Deployment Guide
This guide describes the considerations you should take into account when planning to deploy the Hyper-V technology, and provides installation and configuration details that will help you deploy Hyper-V.
Hyper-V: Step-by-Step Guide to Using Live Migration in Windows Server 2008 R2
This guide describes the steps that are required to perform a live migration of Hyper-V virtual machines from one node in a Windows Server 2008 R2 failover cluster to another node.
Virtual Machine Migration Guide: How To Migrate from Virtual Server to Hyper-V
This guide explains how to migrate virtual machines running Virtual Server 2005 R2 Service Pack 1 (SP1) or Virtual PC to Hyper-V.
Getting Started
Hyper-V Getting Started Guide
Become familiar with Hyper-V by installing this new technology and creating a virtual machine.
Hyper-V Step-by-Step Guide: Hyper-V and Failover Clustering
Learn how to use Hyper-V and Failover Clustering together to make a virtual machine highly available by creating a simple 2-node cluster.
Hyper-V Virtual Machine Snapshots: Frequently Asked Questions
Get answers to some common questions about virtual machine snapshots.
Case Study how Microsoft does Server Virtualization
To optimize deployment and management of thousands of virtual machines, Microsoft Information Technology (Microsoft IT) has developed standards and best practices for configuring host servers, storage, and network infrastructure. 
Installed Help
Help installed with Windows Vista and Windows Server 2008 is also available in the Windows Server 2008 Technical Library.
Hyper-V Manager
 Other Resources
Windows Server 2008 TechCenter: Hyper-V
TechCenters provide links to content outside of the Technical Library, including Knowledge Base articles, downloads, technical articles, and other resources.
Best practices
Hyper-V Best Practices – Quick Tips (1)
http://blogs.technet.com/vikasma/archive/2008/07/24/hyper-v-best-practices-quick-tips-1.aspx
 Hyper-V Best Practices – Quick Tips (2)
http://blogs.technet.com/vikasma/archive/2008/07/24/hyper-v-best-practices-quick-tips-2.aspx
 Link to Microsoft site: http://technet.microsoft.com/en-us/library/cc753637.aspx

Tags:
Posted in Server Virtualization | Comments Off

Linux Integration Components for Windows Server 2008 Hyper-V have been released.

Posted by DH on 14th April 2009

Linux Integration Components for Windows Server 2008 Hyper-V

Brief Description
A set of drivers that enable synthetic device support in supported Linux virtual machines under Hyper-V.

Download here: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ab7f4983-93c5-4a70-8c79-0642f0d59ec2

Tags:
Posted in Server Virtualization | Comments Off