查看完整版本: [轉貼]How to Move VMware Workstation VMo VMware ESXi Server

chun 2012-6-20 22:53

[轉貼]How to Move VMware Workstation VMo VMware ESXi Server

<a href="http://www.sysprobs.com/move-vmware-workstation-virtual-machine-vmware-esxi-server">http://www.sysprobs.com/move-vmware-workstation-virtual-machine-vmware-esxi-server</a>
<div><br></div><div><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">This guide shows how to export or move VMware Workstation virtual machine to ESXi server. Sometimes you may need to move a pre configured server OS virtual machine to VMware vSphere 4 to save time on installation and configurations.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">Any virtual machine with configuration file VMX and disk files VMDK can be used here. VMware vCenter converter required for this method and it’s a built-in feature in VMware workstation, so I show these steps on workstation. I have a running ESXi 4.1 and Windows 2003 enterprise OS (already configured as Domain controller) as virtual machine in VMware workstation 7.1. Host is Windows 7 with 3GB RAM.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">What I’m going to do is, export the working Windows 2003 VM from Workstation to ESXi 4.1 server via network.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">Here is the working OS.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="orginal_vm" src="http://www.sysprobs.com/wp-content/uploads/2010/10/orginal_vm_thumb.png" border="0" alt="Move VMware Virtual Machine to ESXi Server" width="600" height="285" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><h2 style="color: rgb(51, 51, 51); font-family: Oswald, arial, serif; font-size: 20px; font-weight: normal; line-height: 26px; margin-bottom: 15px; text-align: -webkit-auto; ">Steps to Move VMware Workstation Virtual Machine to ESXi Server</h2><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>1)</strong>&nbsp;Uninstall VMware tools from guest OS. ( I’m not sure whether workstation and server VMware tools are same, but I think its better to remove now and install later in vSphere Client)</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>2)</strong>&nbsp;Shutdown the virtual machine and remove floppy drives, USB and sound devices. If not removed now, converter will remove them with warning message later.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>3)</strong>&nbsp;Make sure network connectivity is OK and firewalls are opened between VMware workstation host and ESXi server.&nbsp; In workstation go to File on menu and select Import or Export.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><span style="color: rgb(0, 0, 255); "><strong>See Also,</strong></span></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><a href="http://www.sysprobs.com/physical-virtual-machine-vmware-vcenter-converter" target="_blank" style="color: rgb(80, 154, 201); ">Convert Physical Computer to Virtual by VMware Stand alone converter</a><strong></strong></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>4)</strong>&nbsp;Select Virtual Appliance in source type.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="source_type_selection" src="http://www.sysprobs.com/wp-content/uploads/2010/10/source_type_selection_thumb.png" border="0" alt="desktop virtualization software" width="578" height="253" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>5)</strong>&nbsp;Browse the virtual machine’s configuration file VMX in next screen as shown below. Since VMX file has the details of Snapshots VMDK files, it will take care of them while converting.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="VMX_file_location" src="http://www.sysprobs.com/wp-content/uploads/2010/10/VMX_file_location_thumb.png" border="0" alt="Server virtualization" width="582" height="198" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>6)</strong>&nbsp;It should detect the configurations of virtual machine properly. In next screen you can select and resize the disks which should be exported.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="disk_selection" src="http://www.sysprobs.com/wp-content/uploads/2010/10/disk_selection_thumb.png" border="0" alt="data center virtualization" width="580" height="247" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>7)</strong>&nbsp;Now time to select destination. Select ‘<strong>VMware Infrastructure Virtual Machine’</strong>&nbsp;and click next.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>8.)</strong>&nbsp;Provide the IP address of VMware ESX or ESXi server with root user name and password. The same details provided to connect through vSphere client.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="esxi_login" src="http://www.sysprobs.com/wp-content/uploads/2010/10/esxi_login_thumb.png" border="0" alt="Move VMware Virtual Machine to ESXi Server" width="583" height="211" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>9)</strong>&nbsp;It should login without any issues and ask for VM name. Give a name and go to next step.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>10)</strong>&nbsp;Select the resource pool to export if more than one available. Otherwise select local host and press Next.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>11)</strong>&nbsp;Choose datastore to move virtual disk. My ESXi server have single datastorage.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="data_store" src="http://www.sysprobs.com/wp-content/uploads/2010/10/data_store_thumb.png" border="0" alt="Move VMware Virtual Machine to ESXi Server" width="580" height="304" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>12)</strong>&nbsp;Next is to select network cards. Network cards can be added during export by selecting number of NICs.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="Nics" src="http://www.sysprobs.com/wp-content/uploads/2010/10/Nics_thumb.png" border="0" alt="desktop virtualization software" width="586" height="220" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>13)</strong>&nbsp;Its highly recommended to select both options on next screen. Customize the identity of the virtual machine is very important in production environment due to unique machine ID, host name, licensing and domain networking.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">System restore checkpoints are useless after converting since any time we can’t restore to earlier checkpoints, because of the different environment later.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="customize_vms" src="http://www.sysprobs.com/wp-content/uploads/2010/10/customize_vms_thumb.png" border="0" alt="server virtualization software" width="580" height="288" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>14)</strong>&nbsp;After completing the customize steps, check the summary before start. Select the&nbsp;<a href="http://www.sysprobs.com/move-vmware-workstation-virtual-machine-vmware-esxi-server#" id="itxthook0" rel="nofollow" class="itxtrst itxtrsta itxthook" style="color: rgb(0, 100, 0); float: none !important; left: auto; right: auto; top: auto; bottom: auto; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; background-color: transparent; text-align: left; position: static !important; display: inline !important; font-family: inherit; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; border-bottom-color: rgb(0, 100, 0); border-bottom-width: 0.1em; "><span id="itxthook0w0" class="itxtrst itxtrstspan itxthookspan" style="float: none; left: auto; right: auto; top: auto; bottom: auto; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; background-color: transparent; position: static; display: inline; font-family: inherit; font-size: inherit; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-width: initial; border-color: initial; border-width: initial; border-color: initial; border-width: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-bottom-width: 2px; border-bottom-color: transparent; color: rgb(0, 100, 0); ">Power</span></a>&nbsp;on the new VM after creation (Optional) option and click ‘Finish’ to start the procedure.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="summary" src="http://www.sysprobs.com/wp-content/uploads/2010/10/summary_thumb.png" border="0" alt="server virtualization" width="580" height="304" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><strong>15)</strong>&nbsp;Conversion and export should run smoothly and complete successfully. Warning messages can be seen on progress dialog box.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">It failed initially because of&nbsp;<a href="http://www.sysprobs.com/move-vmware-workstation-virtual-machine-vmware-esxi-server#" id="itxthook1" rel="nofollow" class="itxtrst itxtrsta itxthook" style="color: rgb(0, 100, 0); float: none !important; left: auto; right: auto; top: auto; bottom: auto; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; background-color: transparent; text-align: left; position: static !important; display: inline !important; font-family: inherit; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; border-bottom-color: rgb(0, 100, 0); border-bottom-width: 0.1em; "><span id="itxthook1w0" class="itxtrst itxtrstspan itxthookspan" style="float: none; left: auto; right: auto; top: auto; bottom: auto; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; background-color: transparent; position: static; display: inline; font-family: inherit; font-size: inherit; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-width: initial; border-color: initial; border-width: initial; border-color: initial; border-width: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-bottom-width: 2px; border-bottom-color: transparent; color: rgb(0, 100, 0); ">space</span></a>&nbsp;issue on VMware ESXi Server. There was no space on host computer to allow growing ESXi’s VMDK file.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">Export succeeded after fixing the space issue. Because of I selected power on option, exported virtual machine is up and running on server after conversion completed.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; "><img title="exported_vm" src="http://www.sysprobs.com/wp-content/uploads/2010/10/exported_vm_thumb.png" border="0" alt="desktop virtualization software" width="600" height="427" style="max-width: 98%; display: block; margin-left: auto; margin-right: auto; "></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">It is very simple and useful if all are correct. This will be helpful to configure and test Operating<a href="http://www.sysprobs.com/move-vmware-workstation-virtual-machine-vmware-esxi-server#" id="itxthook2" rel="nofollow" class="itxtrst itxtrsta itxthook" style="color: rgb(0, 100, 0); float: none !important; left: auto; right: auto; top: auto; bottom: auto; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; background-color: transparent; text-align: left; position: static !important; display: inline !important; font-family: inherit; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; border-bottom-color: rgb(0, 100, 0); border-bottom-width: 0.1em; "><span id="itxthook2w0" class="itxtrst itxtrstspan itxthookspan" style="float: none; left: auto; right: auto; top: auto; bottom: auto; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; background-color: transparent; position: static; display: inline; font-family: inherit; font-size: inherit; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-width: initial; border-color: initial; border-width: initial; border-color: initial; border-width: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-bottom-width: 2px; border-bottom-color: transparent; color: rgb(0, 100, 0); ">Systems</span></a>&nbsp;on local computer before exporting to live servers.</p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">I will be publishing a post on how to export VirtualBox virtual machines to VMware ESX in coming days.&nbsp;<a href="http://www.sysprobs.com/subscribe-to-sysprobs-newsletter-download-ebook-soon/" style="color: rgb(80, 154, 201); ">Stay tuned with Sysprobs.com</a></p><p style="color: rgb(68, 68, 68); font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 15px; line-height: 20px; padding-bottom: 15px; text-align: -webkit-auto; ">In case you face any difficulties on this method, feel free to share your comments.</p></div>
頁: [1]
查看完整版本: [轉貼]How to Move VMware Workstation VMo VMware ESXi Server