{"id":2204,"date":"2014-04-01T10:15:51","date_gmt":"2014-04-01T02:15:51","guid":{"rendered":"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/?p=2204"},"modified":"2014-04-01T10:15:51","modified_gmt":"2014-04-01T02:15:51","slug":"p2v-by-vmware-vcenter-converter-standalone-2","status":"publish","type":"post","link":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/?p=2204","title":{"rendered":"P2V by VMWare vCenter Converter Standalone"},"content":{"rendered":"<p>Here is my record of my test on conversion of an old physical Dell GX280 machine running Fedora 11 into an ESXI 5.1 guest VM. I will need VMWare vCenter Convertor Standalone and also the Fedora 11 DVD iso  for it. <\/p>\n<p>Since FC11 is running kernel version 2.6.* , and this is not supported in current version of  VMware vCenter Standalone version 5.5. I need to install an older version 5.0.1 in order to make P2V for  FC11 physical machine. <\/p>\n<p><a href=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v00.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v00.png\" alt=\"p2v00\" width=\"768\" height=\"529\" class=\"alignnone size-full wp-image-2205\" srcset=\"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v00.png 768w, https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v00-300x206.png 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/p>\n<p>I change the original layout of all disks from LVG to basic during conversion. Some discussions says it not necessary, but I don&#8217;t want to waste my time as each conversion takes several hours.<\/p>\n<p>Start the conversion by choosing Powered-on machine as source type :<br \/>\n<a href=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v01.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v01.png\" alt=\"p2v01\" width=\"572\" height=\"385\" class=\"alignnone size-full wp-image-2207\" srcset=\"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v01.png 572w, https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v01-300x201.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/a><\/p>\n<p>Select the VMWare ESXi Server as the destination:<br \/>\n<a href=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v03.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v03.png\" alt=\"p2v03\" width=\"635\" height=\"307\" class=\"alignnone size-full wp-image-2209\" srcset=\"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v03.png 635w, https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v03-300x145.png 300w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/a><\/p>\n<p>As for the destination Virtual Machine, a new VM guest with the name as the hostname of the original physical machine will be created .<\/p>\n<p>For the Options tab, Under &#8220;Data to copy&#8221; , go to &#8220;Advanced Tab&#8221;  and edit the layout of disk volumes to change the destination layout from  LVG  to basic for all Virtual disks. I also change the provision type from Thick to Thin to save space in the storage ESXi server as I will rarely have any disk IO for old VM.  <\/p>\n<p><a href=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v04.png\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v04.png\" alt=\"p2v04\" width=\"637\" height=\"291\" class=\"alignnone size-full wp-image-2210\" srcset=\"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v04.png 637w, https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v04-300x137.png 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p>Under the Helper VM network, type in a temporary IP which will be used for the transfer of data from physical machine to the guest. In my case, I use a temporary static IP for the transfer.<\/p>\n<p>In case your VMWare ESXi Server has firewall setup , ensure you have update it to allow files transfer between the machine and guests. Update the firewall from Configuration -> Software -> Security Configuration -> Firewall<\/p>\n<p>After things done, click finish , and wait for the conversion to finish. <\/p>\n<p><a href=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v05.png\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v05.png\" alt=\"p2v05\" width=\"1124\" height=\"463\" class=\"alignnone size-full wp-image-2211\" srcset=\"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v05.png 1124w, https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v05-300x123.png 300w, https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v05-1024x421.png 1024w\" sizes=\"auto, (max-width: 1124px) 100vw, 1124px\" \/><\/a><\/p>\n<p>For the first Time boot up , it will fail to recognize LV disk labels. This is normal as the LVG layout is removed:<\/p>\n<p><a href=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v06.png\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v06.png\" alt=\"p2v06\" width=\"692\" height=\"387\" class=\"alignnone size-full wp-image-2212\" srcset=\"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v06.png 692w, https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v06-300x167.png 300w\" sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/a><\/p>\n<p>Now, boot the VM with FC11 DVD iso and select &#8220;Rescue installed system&#8221;<br \/>\n<a href=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v07.png\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v07.png\" alt=\"p2v07\" width=\"504\" height=\"454\" class=\"alignnone size-full wp-image-2213\" srcset=\"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v07.png 504w, https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/wp-content\/uploads\/2014\/04\/p2v07-300x270.png 300w\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" \/><\/a><\/p>\n<p>Proceed to mount the system disk with &#8220;chroot \/mnt\/sysimage&#8221; . Run &#8220;fdisk -l&#8221; to locate the correct the correct disk devices. Edit the \/etc\/fstab with correct disk devices and reboot. In case the network is not working, probably the network interface name is changed. Verify by &#8220;ifconfig -a&#8221; .  Edit all files with correct network interface under \/etc\/sysconfig\/networking and \/etc\/sysconfig\/network-scripts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is my record of my test on conversion of an old physical Dell GX280 machine running Fedora 11 into an ESXI 5.1 guest VM. I will need VMWare vCenter Convertor Standalone and also&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2205,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2204","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2204"}],"version-history":[{"count":3,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2204\/revisions"}],"predecessor-version":[{"id":2214,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2204\/revisions\/2214"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/2205"}],"wp:attachment":[{"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www1.se.cuhk.edu.hk\/~hmleung\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}