Link to home
Start Free TrialLog in
Avatar of NeonetTech
NeonetTechFlag for United States of America

asked on

Hyper-V 2012 - P2V via SCVMM fails...

Hi,
We got a new server and want to migrate our old servers to the new and convert them into virtual servers.
The new server is Hyper-V 2012, currently we installed one Windows 2012 virtual server on it with System Center Virtual Machine Manager 2012 on it. The one machine we are trying to migrate over is a Windows 2008 R2 (roles: secondary AD, file server, database server for internal ticketing system). So we we went through the "Create Virtual Machine"-"Convert Physical Machine" wizard. We are selecting offline - because it is a domain controller, the wizard goes through, finds no errors, starts the job but then it gets hung up at 40% (or 33% if we select to start the vm after the conversion) and the error 3140 - it never reboots the server into WinPE.
When I check the event log on the W2008 server I see the following warning:
"Event ID 5605:
The root\scvmmp2v namespace is marked with the RequiresEncryption flag. Access to this namespace might be denied if the script or application does not have the appropriate authentication level. Change the authentication level to Pkt_Privacy and run the script or application again."

Google search on either gives no conclusive answer.
Error 3140 - people say that the VMM agent tries to install a boot image in the "system reserved" partition (100MB) but that is too small - and the recommendation is to copy the boot sector and boot image to the c-drive (e.g.: http://www.rozmazat.cz/articles/2011/08/22/vmm-2008-r2-sp1-error-3140-when-trying-to-offilne-p2v-ws2008r2.html).

I followed the steps - even went as far as deleted the 100MB partition to make sure the vmm agent has no way of trying to use that partition.

Then I read that resource intensive applications and antivirus applications should be shut down during the p2v migration - tried that no go.

But the warning about the encryption flag shows up every single time we try to run the migration.

I am not sure how to change the authentication level of the script that starts the process.

I am not sure what else to try - has anyone successfully migrated a Windows 2008 R2 server with SCVMM 2012 yet? Anyone ran into the same issue? Ideas? ;-)

Thank you for your help,

Frank
Avatar of Faisal Shah
Faisal Shah
Flag of United States of America image

You need to turn-off database services. I had the same issue with P2V and once database services (i.e. SQL, MySQL, etc.) were stopped, the system P2V'ed fine.

Since this is your 2nd DC, I would suggest demoting (DC Promo) and running it (DC Promo) after P2V is completed to bring 2nd DC back online. This way, you can do P2V while server is running and file sharing can continue.
Avatar of NeonetTech

ASKER

I did turn off all database servers - but I will double check tomorrow and verify. Not sure if I want to do the demote - since we have DFS running I am not without the file shares since the main server has the files as well.
Did you get the same error though - 3140 and the WMI warning?
ASKER CERTIFIED SOLUTION
Avatar of Faisal Shah
Faisal Shah
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I demoted the server to a member server and I am running an online conversion - it looks like it is going but it will take a few hours due to the amount of data stored on that server.
I will keep you posted.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
the original question wasn't really answered (why the offline conversion wouldn't work and failed with error 3140) - plus there were a few extra things I noticed during the process that might help others.