Solved

VMM - Migrate VMs from 2008R2 to 2012R2 (Error 2901)

Posted on 2014-04-11
7
2,982 Views
Last Modified: 2014-04-21
When I try to use Virtual Machine Manager 2012 SP1 to migrate my VMs from our 2008 R2 Hyper V Cluster to my 2012 R2 Hyper V Cluster, I get the following error:

Error (2901)
The operation did not complete successfully because of a parameter or call sequence that is not valid.
The parameter is incorrect (0x80070057)

Recommended Action
Ensure that the parameters are valid, and then try the operation again.


I was able to successfully migrate VMs from a 2012 R2 Hyper V instance to my 2012 R2 Hyper V Cluster without a problem. Any ideas why I am getting a hiccup here?

Thanks!

-IT_Crowd

P.s. I found this question, but didn't think it was related because we don't have VMware in our environment.

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2012/Q_27998031.html
0
Comment
Question by:IT_Crowd
  • 5
7 Comments
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 300 total points
ID: 39994157
We have used this method in the past successfully, please see my EE Article

HOW TO: Migrate a Windows Server 2008 R2 Hyper-V Virtual Machine (VM) to a Windows Server 2012 Hyper-V host server
0
 
LVL 38

Assisted Solution

by:Adam Brown
Adam Brown earned 200 total points
ID: 39994948
For info, if the VM you are trying to migrate is either Running on Server 2008R2 or if there is a save state stored for it (this includes snapshots) it will fail to migrate unless you are using VMM 2012 SP1. http://blogs.technet.com/b/scvmm/archive/2013/02/25/support-tip-migrating-a-vm-from-windows-server-2008r2-to-windows-server-2012-fails-with-unable-to-migrate-or-clone-the-virtual-machine.aspx has more info on how to handle this.
0
 
LVL 13

Author Comment

by:IT_Crowd
ID: 39998972
Thank you - I will investigate this a little more and report back.
0
Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

 
LVL 13

Author Comment

by:IT_Crowd
ID: 40004178
My scenario was slightly more complicated because I was going from 2008 R2 to 2012 R2. Andrew, I couldn't get your method to work because we were migrating to 2012 "R2", not just normal 2012. When I tried your method, I ended up getting "Hyper-V did not find virtual machines to import from location..."

I found the following website:
http://blogs.technet.com/b/rmilne/archive/2013/10/22/windows-hyper-v-2012-amp-8-1-hyper-v-did-not-find-virtual-machine-to-import.aspx

"VM's that are exported from Windows Server 2008 or 2008 R2 utilized the version 1 WMI namespace which resulted in an .exp file to represent the exported virtual machine. In Windows Server 2012 we introduced a new WMI namespace (version 2 or root\virtualization\v2) which implemented a much better import/export model – allowing you to effectively just copy the virtual machine folder (with the VM’s XML configuration file inside it) as well as the VM’s VHDs and then import that directly. For Windows Server 2012 we maintained the version 1 WMI namespace which allowed for importing of Windows Server 2008/R2 VM’s on 2012.

In Windows Server 2012 R2 we have removed the old version 1 namespace which means we can’t import virtual machines that where exported from Windows Server 2008/R2."
0
 
LVL 13

Accepted Solution

by:
IT_Crowd earned 0 total points
ID: 40004180
Solution (from website above):
If you exported from Windows Server 2008 or 2008 R2, and the original host is still available with the VMs then probably the easiest option will be to get the VMs off that machine in a format that is easily importable to Hyper-V 2012 R2.

On the original Hyper-V server, power down the VMs.  Once they have shut down, then stop the Hyper-V Virtual Machine Management Service (VMMS).  This will unlock the VM’s files.  Simply copy over the VM folders to the Windows Server 2012 R2 server and they can be imported.  Remember this was one of the features added to Windows Server 2012 - we do not have to specifically export a VM before it can be imported
0
 
LVL 13

Author Comment

by:IT_Crowd
ID: 40004183
As a further note, when I tried to stop the service mentioned above, it would "restart" itself within 10 seconds. I needed to disable the service each time I wanted to perform a move.  Each time, I moved around 10-20 of our VMs.

Also there were quite a few VMs that needed to have their snapshots/checkpoints removed, so thank you for that comment as well.
0
 
LVL 13

Author Closing Comment

by:IT_Crowd
ID: 40012214
My solution was slightly different than the proposed solutions by the experts. I have given them partial credit as both of their comments aided in my migration.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
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 show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now