Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-04-11
7
Medium Priority
?
3,233 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 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1200 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 43

Assisted Solution

by:Adam Brown
Adam Brown earned 800 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

824 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