Upgrade Hyper-V 2008 Datacenter to 2012 R2

Our primary hyper-v host is running 2008 and I plan to upgrade it to 2012 R2. My question is regarding the guests. I don't mind the downtime over a weekend, so I don't plan on setting up a temporary server. The guests are on a separate raid, can I re-install the os/host then point them to the guest vm's or do I have to do an export/import of each one? Pretty sure I know the answer is do an export/import, but that adds a lot of downtime, since I'm only rebuilding the host.
bhiebAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick BogersDatacenter platform engineer LindowsCommented:
If the vm's are in a shut down state they are the same as exported.
You do need to import them to the new hyper-visor.

Cheers
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bhiebAuthor Commented:
Really? Interesting so you are saying if I shut one down. Copy it to a different machine and use the import option it will work? I thought there was some internal ID that that would cause it to fail.
0
Patrick BogersDatacenter platform engineer LindowsCommented:
I believe so Yes.
Internal id errors occur when you create a new vm and attach a foreigh vhd(x) to it if i remember correctly.
0
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

bhiebAuthor Commented:
I'll test it out and see what happens.
0
Patrick BogersDatacenter platform engineer LindowsCommented:
Thats always best practise!

BTW: You need not only the vhd right, snapshots and config files should also be copied.
(Sure you know but just for completeness)
0
bhiebAuthor Commented:
Yep, no snapshots so all good there, my VHD's are in a subfolder of the VM config so I'll take the whole thing.
0
bhiebAuthor Commented:
Worked fine Patrick except for one gotcha. FYI to others.

I could not import the VM since it was on 2008 NON-R2. The approved way is to rebuild the VM using the VHD's, but that can be a pain. Found a solution to modify the XML here.

https://social.technet.microsoft.com/Forums/en-US/14c1e571-9e04-4658-9579-b3e3b04f4efc/hyperv-encountered-an-error-during-the-import-operation-hyperv-2012-r2?forum=winserverhyperv

Here are the steps.
Open the xml config file with a serious editor ( I use Notepad ++, but you could use XML notepad)

Locate the <properties> section

At the end of the section add this line: <version type="integer">512</version>

Be sure to add the line in the right position, before </properties>

Done, now your VM will be recognized as It was created on an Hyper-V 2008 R2!

Open in new window

1
Patrick BogersDatacenter platform engineer LindowsCommented:
This is why i love EE so much, one helps from experience, blindly trust everything is R2 and at the end learn something to never forget again.
Thank you for this feedback.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hyper-V

From novice to tech pro — start learning today.