Solved

Preserving Hyper-V virtual machines during operating system re-install

Posted on 2015-02-11
5
372 Views
Last Modified: 2015-02-12
Hi

I've inherited a Hyper-V 2008 Server ( no GUI) which has two partitions.  The C: partition contains the host OS and the VHD for the site's DC/main server.  The F: partition contains two other VHDs for servers running Exchange and some application software.  Because of space limitations the DC virtual disk can't be moved off the system partition.

We want to upgrade the system to Server 2012 Standard Edition i.e. with a GUI.  As I understand it, there is no support for an in-place upgrade between 2008 Hyper-V server and 2012 Standard.  

So, we have to do a fresh OS install.  I am hoping to do a 2012 custom installation and install the new OS onto the existing partition i.e. not formatting it and thus preserving the VHD that is already there.  

Before we crack on with this I'd be grateful if someone could confirm that what I'm suggesting is actually valid.  Also, assuming it is, what happens to the 2008 OS files?  Are they simply renamed to Windows.old?

Many thanks

Mark.
0
Comment
Question by:MarkoIreland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 38

Expert Comment

by:Philip Elder
ID: 40604357
We always install our hosts in the following manner:
 C: Host OS Only
 X: Data/VHDX/Configuration Files

With a properly configured dual partition layout we can flatten the host at any time or recover the host at any time without an issue. The import process in 2012 R2 is fantastic. Little if any tweaking of the VM's own OS is required after being imported. Integration Services would need to be updated.
0
 

Author Comment

by:MarkoIreland
ID: 40604386
Yes, this is the way I would configure a new server.  Unfortunately, we are bound with what is already there. I would love to move the DC vhd off the system partition but there is no room and no prospect of getting more hardware.
0
 
LVL 38

Expert Comment

by:Philip Elder
ID: 40604597
Back up the VM(s) on the C:, flatten, re-install the new OS, update, and configure.

Restore the backed up VM(s) after setting up the base VM configuration on the newly installed host.
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
ID: 40604975
Easiest way to do this would be to export the DC VM to an external USB drive (make sure you shut down the VM first), install the new host OS, then import the VM back into Hyper-V.

As a precaution you could also take a System State backup within the DC itself. This will let you restore from the backup in case something happens to the exported VM files.

I'd also make a copy of the VHD file(s) for the DC VM on a separate USB drive as you can always build a new VM in Hyper-V and attach the VHD file to that. Just note that with this method you will need to reconfigure the NIC settings again.

Make sure you note down the following before you blow away the old host VM:
- Virtual Switch configuration
- TCP/IP settings of the DC itself
- Locations of VHD and VM configuration files

This article doesn't exactly apply to your situation but there are some parts that are relevant: http://blogs.technet.com/b/tommypatterson/archive/2013/02/15/migrating-hyper-v-virtual-machines-from-server-2008r2-to-server-2012-part-10-of-the-migration-and-deployment-series.aspx
0
 

Author Comment

by:MarkoIreland
ID: 40605118
Thanks.  Will be taking a backup to external drives anyway as part of the process, but perhaps it would be cleaner just to wipe C: as you say and then re-import the VM.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question