Solved

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

Posted on 2014-04-11
7
2,951 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 117

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
Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

762 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

19 Experts available now in Live!

Get 1:1 Help Now