POW #3 - Enable Windows Server Backup support for Hyper-V

October 8, 2008 at 9:41 AM2102

POW_Blue_SDid you try to backup Hyper-V Virtual Machines with Windows Server backup and received Event ID 521 error on Hyper-V host?

 

Backup started at '7.10.2008 23:21:14' failed as Volume Shadow copy operation failed for backup volumes with following error code '2155348129'. Please rerun backup once issue is resolved.

vss_error1

 Event ID 12302 error on guest computer?

Volume Shadow Copy Service error: An internal inconsistency was detected in trying to contact shadow copy service writers.  Please check to see that the Event Service and Volume Shadow Copy Service are operating properly.

vss_error2

Result of running vssadmin list writers command is empty?

vss_error3

Event ID 10102 error appears in Microsoft-Windows-Hyper-V-VMMS/Admin Event Log?

Failed to create the backup of virtual machine 'GUEST01'. (Virtual machine ID 0FBA408B-B269-4169-9278-EC650FEEBB1B)

vss_error4

Solution resides in the registry ;).

Fix VSS Event ID 12302 on Hyper-v guests

In order to get rid off Event ID 12302 on Virtual Machines you need to follow the following procedure:

  • Backup registry key:
    HKLM\Software\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions

    vss_error5
  • Delete registry key Subscriptions.
  • Restart Virtual Machine (key will be regenerated after restart).
  • Verify that vssadmin list writers command returns valid list of writers.

    vss_error6

 Enable Hyper-V VSS Writer with Windows Server Backup

In order to enable VSS backups of Hyper-V Virtual Machines, you need to add the following registry keys and String Value to enable Hyper-V VSS Writer with Windows Server Backup on Hyper-V host.

Key:

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

String Value:

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

vss_error7

Also check that Hotfix KB956697 (Windows Server 2008 Hyper-V VSS writer is not used during a backup job because of corrupted or invalid virtual machine configuration files.) is installed!

Microsoft Hyper-V Server 2008

I also have great news for all Hyper-V lovers. Microsoft released Microsoft Hyper-V Server 2008! The best thing about it is that it's FREE! Microsoft Hyper-V Server 2008 is a stripped version of Windows Server 2008 Core and contains only Windows Hypervisor, Windows Server driver model and virtualization components.

Microsoft® Hyper-V™ Server 2008 is a stand-alone product that provides a simplified, reliable, cost-effective and optimized virtualization solution enabling organizations to improve server utilization and reduce costs. It allows organizations to consolidate workloads onto a single physical server and is a good solution for organizations who want a basic and simplified virtualization solution for consolidating servers as well as for development and test environments. Low utilization infrastructure workloads, departmental applications and simple branch office workloads are also candidates to virtualize using Hyper-V Server 2008.

Links:

Hyper-V Maximum Supported Configurations

July 10, 2008 at 8:34 AM2102

Nick MacKechnie posted a great post about Hyper-V maximum supported configurations.

Topics:

  • Operating System Requirements
  • Hardware Requirements
  • Virtual Machine Architecture Support
  • Memory
  • Processors
  • Networking
  • Physical Storage
  • Virtual Hard Disks
  • Virtual Storage Controllers
  • Virtual Storage
  • Virtual CD/DVD
  • Virtual Serial (COM) Ports
  • Virtual Floppy Drive
  • Number of Virtual Machines

Migrating Vista/Server 2008 VMs from Virtual PC, Server or VMware to Hyper-V?

June 29, 2008 at 3:13 PM2102

There is one little trick you need to remember if you are migrating VHDs with Vista/Server 2008 that was previously created on Virtual PC or Virtual Server 2005.

Enable Detect HAL!

How to Enable Detect HAL?

  1. Start the virtual machine and Run Msconfig.exe.

    hal01
  2. In the System Configuration dialog box, click the Boot tab, and then click Advanced Options.
  3. In the BOOT Advanced Options dialog box, click to select the Detect HAL check box, and then click OK.

     hal03
  4. Click Yes to restart the virtual machine.
  5. Clear the Detect HAL check box after reboot (it takes longer to boot).

 

Source: KB 954282 - The VMBus device does not load on a virtual machine that is running on a Windows Server 2008-based computer that has Hyper-V installed

Hyper-V is final!

June 28, 2008 at 6:26 PM2102

Hyper-V RTM version is available for download. It came a little bit ahead of original (180 days) schedule.

Step-by-Step Guide for Testing Hyper-V and Failover Clustering

May 26, 2008 at 1:10 PM2102

Shows you how to make a virtual machine highly available. You will do this by creating a simple two-node cluster and a virtual machine, and then failing over the virtual machine from one node to the other.

Source: Step-by-Step Guide for Testing Hyper-V and Failover Clustering

MSDN and TechNet Powered by Hyper-V

May 26, 2008 at 1:03 PM2102

Interesting post about Hyper-V and virtualizing MSDN and TechNet web sites at Microsoft.

Hi—I am Rob Emanuel from the Microsoft.com Operations team.  For those of you who may not know what we do, our group designs, deploys, manages and sustains highly available, highly scalable Web and SQL systems for Microsoft for some of the largest corporate web sites in the world (www.microsoft.com, Microsoft Update, Download Center, MSDN and TechNet).  Along with our team’s TechCenter, we maintain a blog on how we adopt our own products and share some of our real world experiences. 

For the last several months we have had the opportunity to focus on virtualizing both the MSDN and TechNet websites with Windows Server 2008 Hyper-V as a start to our overall virtualization adoption strategy. This was a group effort across our entire Operations Team including individuals from the Technical Architecture group I am part of, the System Engineers who run the sites, the data center hosting team which handles our infrastructure changes and the very supportive product group which is responsible for MSDN and TechNet.  Today we are very pleased to be able to share how Hyper-V was deployed for those two sites and our lessons learned through that process.  We have written an article on the TechCenter which goes through how we approached virtualizing MSDN and TechNet and hopefully conveys how successful we found Hyper-V to be as a web platform.

The article covers the reasons and characteristics which made MSDN the first site we looked to move onto Hyper-V.   It provides an overview of how both Hyper-V Beta and Hyper-V RC0 were deployed as well as the general architecture used for the deployment.   Possibly the most surprising finding was that Hyper-V was far more stable than we had expected for a beta version deployment.  There was in fact no difference we found in stability or availability between Hyper-V and a physical deployment!  We were also not able to identify any bugs for the Hyper-V team during our deployment under either full production load or even stress load.

...

Source: MSDN and TechNet Powered by Hyper-V

Hyper-V RC1 Released

May 26, 2008 at 12:58 PM2102

Microsoft Virtualization Cookbooks

October 16, 2007 at 12:55 PM2102
  • Backup and Recovery using Microsoft Virtual Server 2005 R2 Service Pack 1 and Acronis True Image 9.1 Enterprise Edition
  • Deployment Cookbook: Branch Office—Microsoft System Center Virtual Machine Manager Microsoft Virtual Server 2005 R2 Service Pack 1
  • Deployment Cookbook: High Availability with Virtual Server Host Clustering
  • Deployment Cookbook: Hosted Backup—Microsoft System Center Data Protection Manager 2007 and Microsoft Virtual Server 2005 R2 Service Pack 1
  • Deployment Cookbook: Offsite Backup—Microsoft System Center Data Protection Manager 2007 and Microsoft Virtual Server 2005 R2 Service Pack 1
  • Deployment Cookbook: Onsite Backup—Microsoft System Center Data Protection Manager 2007 and Microsoft Virtual Server 2005 R2 Service Pack 1
  • Microsoft System Center Data Protection Manager 2007, Microsoft Virtual Server 2005 R2 Service Pack 1, and Microsoft System Center Virtual Machine Manager
  • Microsoft Virtual Server 2005 R2 Service Pack 1 and Microsoft System Center Virtual Machine Manager
  • Mobile User Access of Applications. Terminal Server running on virtual machines using Microsoft Virtual Server 2005 R2 Service Pack 1
  • Quick Migration with Virtual Server Host Clustering Windows Server 2003 Enterprise Edition & Microsoft Virtual Server 2005 R2 Service Pack 1

Source: Microsoft Virtualization Cookbooks

Posted in: Virtualization | Microsoft

Tags:

Windows Server Virtualization running on a Longhorn Server Core

March 9, 2007 at 1:53 PM2102

I just found this short demo of new virtualization technologies in Longhorn. It covers:

  • Running virtual machines on Longorn Server Core
  • 8-core virtual machine
  • System Center Virtual Machine Manager
  • and some tricks... like hot-add network adapter :)
Longhorn - Windows Server Virtualization
Longhorn - Windows Server Virtualization

Posted in: Windows | Longhorn | Virtualization

Tags: