{"id":491,"date":"2013-04-16T15:09:39","date_gmt":"2013-04-16T19:09:39","guid":{"rendered":"http:\/\/rajdude.com\/blog\/?p=491"},"modified":"2013-04-16T15:09:39","modified_gmt":"2013-04-16T19:09:39","slug":"p2v-using-hyper-v-2012","status":"publish","type":"post","link":"https:\/\/rajdude.com\/blog\/p2v-using-hyper-v-2012\/","title":{"rendered":"P2V using Hyper-V 2012"},"content":{"rendered":"<p>Here is how I started doing P2V on a Hyper-V 2012.<\/p>\n<p>I have SCVMM 2012. I want to do a V2V from a Citrix XenServer VM to a Hyper-V VM. The way to go about it is to do a P2V. The official <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh427286.aspx\" target=\"_blank\">technet documentation<\/a> says run System Center Virtual Machine Manager Configuration Analyzer (VMMCA) first. <\/p>\n<p><strong>Installing and running SC VMMCA<\/strong><\/p>\n<p>So I installed System Center Virtual Machine Manager Configuration Analyzer on my Windows 7 workstation. It needed a couple of prerequisites like MBCA 2.0. Actually VMMCA is run from inside MBCA.<\/p>\n<p>When I run it I get this error message:<\/p>\n<p><a href=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm2.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"vmm2\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"vmm2\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm2_thumb.jpg\" width=\"244\" height=\"160\"><\/a><\/p>\n<p><strong>Troubleshooting:<\/strong><\/p>\n<ol>\n<li>Test ping: yes I can ping the VM<\/li>\n<li>Check Windows Remote Management (WS-Management) aka WinRM server is running on the VM \u2013 yes it is running.<\/li>\n<li>Check firewall. Firewall is on but there is no exception for WinRM. Lets add it:<\/li>\n<li><a href=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm3.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"vmm3\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"vmm3\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm3_thumb.jpg\" width=\"244\" height=\"183\"><\/a><\/li>\n<li>After that I run VMMCA again. I got the same error as before <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-sadsmile\" style=\"border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none\" alt=\"Sad smile\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/wlEmoticon-sadsmile1.png\"><\/li>\n<li>Lets see if turning the firewall off will help\u2026.it did&nbsp; not help\u2026.but the err error message changed slightly:<\/li>\n<li><a href=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm4.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"vmm4\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"vmm4\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm4_thumb.jpg\" width=\"244\" height=\"135\"><\/a><\/li>\n<li>so I ran the command on an elevated prompt on the VM:<\/li>\n<li>winrm quickconfig<\/li>\n<li>It prompted me with this message and I let it configure WinRM:<\/li>\n<li><a href=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm5.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"vmm5\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"vmm5\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm5_thumb.jpg\" width=\"244\" height=\"122\"><\/a><\/li>\n<li>Lets scan again! This time it did connect but I got another error message:<\/li>\n<li><a href=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm6.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"vmm6\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"vmm6\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm6_thumb.jpg\" width=\"244\" height=\"88\"><\/a><\/li>\n<li>I googled this but could not find an answer which works. At this point I am ready to give up on this whole remotely running&nbsp; VMMCA thing and want to try running VMMCA on the VM itself.<\/li>\n<li>So I installed MBCA and VMMCA on the VM itself and by hit and trial found out what are the options you need to choose to make it scan properly. Here are the two screens:<\/li>\n<li><a href=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm7.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"vmm7\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"vmm7\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm7_thumb.jpg\" width=\"244\" height=\"138\"><\/a><\/li>\n<li>Select the dropdown SC VMMCA and then click on start scan. It will come to the \u201cEnter parameters\u201d page where you select these checkboxes:<\/li>\n<li><a href=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm8.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"vmm8\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"vmm8\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/vmm8_thumb.jpg\" width=\"244\" height=\"117\"><\/a><\/li>\n<li>You can leave the individual server blank to have it scan the local machine.<\/li>\n<li>Note: before the scan will run successfully, you need to set the PowerShell policy to RemoteSigned by using this command on an elevated PS window:&nbsp; Set-ExecutionPolicy RemoteSigned<\/li>\n<li>The click the \u201cstart Scan\u201d link in MBCA<\/li>\n<li>The scan finished successfully!<\/li>\n<li>The result gave me two warnings, telling me that two hotfixes were not found on the VM. Impact: VMM may not function correctly or at all without this update or hotfix.<\/li>\n<li>I tried downloading the 2 hotfixes but I was not successful. The Microsoft download server kept on giving me errors (some internal server error).<\/li>\n<\/ol>\n<p>So I gave up on the hotfixes and tried running the P2V from VMM.<\/p>\n<p><strong>P2V using VMM<\/strong><\/p>\n<p>I followed the instructions on technet <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh427286.aspx\" target=\"_blank\">here<\/a><\/p>\n<p>It was pretty straightforward. The P2V is still running. I will report&nbsp; back later.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is how I started doing P2V on a Hyper-V 2012. I have SCVMM 2012. I want to do a V2V from a Citrix XenServer VM to a Hyper-V VM. The way to go about it is to do a P2V. The official technet documentation says run System Center Virtual Machine Manager Configuration Analyzer (VMMCA) first. Installing and running SC VMMCA So I installed System Center Virtual Machine Manager Configuration Analyzer on my Windows 7 workstation. It needed a couple of prerequisites like MBCA 2.0. Actually VMMCA is run from inside MBCA. When I run it I get this error message: Troubleshooting: Test ping: yes I can ping the VM Check Windows Remote Management (WS-Management) aka WinRM server is running on the VM \u2013 yes it is running. Check firewall. Firewall is on but there is no exception for WinRM. Lets add it: After that I run VMMCA again. I got the same error as before Lets see if turning the firewall off will help\u2026.it did&nbsp; not help\u2026.but the err error message changed slightly: so I ran the command on an elevated prompt on the VM: winrm quickconfig It prompted me with this message and I let it configure WinRM: Lets scan again! This time it did connect but I got another error message: I googled this but could not find an answer which works. At this point I am ready to give up on this whole remotely running&nbsp; VMMCA thing and want to try running VMMCA on the VM itself. So I installed MBCA and VMMCA on the VM itself and by hit and trial found out what are the options you need to choose to make it scan properly. Here are the two screens: Select the dropdown SC VMMCA and then click on start scan. It will come to the \u201cEnter parameters\u201d page where you select these checkboxes: You can leave the individual server blank to have it scan the local machine. Note: before the scan will run successfully, you need to set the PowerShell policy to RemoteSigned by using this command on an elevated PS window:&nbsp; Set-ExecutionPolicy RemoteSigned The click the \u201cstart Scan\u201d link in MBCA The scan finished successfully! The result gave me two warnings, telling me that two hotfixes were not found on the VM. Impact: VMM may not function correctly or at all without this update or hotfix. I tried downloading the 2 hotfixes but I was not successful. The Microsoft download server kept on giving me errors (some internal server error). So I gave up on the hotfixes and tried running the P2V from VMM. P2V using VMM I followed the instructions on technet here It was pretty straightforward. The P2V is still running. I will report&nbsp; back later.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[70,73],"class_list":["post-491","post","type-post","status-publish","format-standard","hentry","category-itsys","tag-hyper-v-server-2012","tag-scvmm-2012"],"_links":{"self":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/comments?post=491"}],"version-history":[{"count":1,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/491\/revisions"}],"predecessor-version":[{"id":492,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/491\/revisions\/492"}],"wp:attachment":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/media?parent=491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/categories?post=491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/tags?post=491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}