How to Move VMware Workstation Virtual Machine to VMware ESXi Server

Move VMware Virtual Machine to ESXi ServerThis 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.

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.

What I’m going to do is, export the working Windows 2003 VM from Workstation to ESXi 4.1 server via network.

Here is the working OS.

Move VMware Virtual Machine to ESXi Server

Steps to Move VMware Workstation Virtual Machine to ESXi Server

1) 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)

2) Shutdown the virtual machine and remove floppy drives, USB and sound devices. If not removed now, converter will remove them with warning message later.

3) Make sure network connectivity is OK and firewalls are opened between VMware workstation host and ESXi server.  In workstation go to File on menu and select Import or Export.

See Also,

Convert Physical Computer to Virtual by VMware Stand alone converter

4) Select Virtual Appliance in source type.

desktop virtualization software

5) 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.

Server virtualization

6) It should detect the configurations of virtual machine properly. In next screen you can select and resize the disks which should be exported.

data center virtualization

7) Now time to select destination. Select ‘VMware Infrastructure Virtual Machine’ and click next.

8.) 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.

Move VMware Virtual Machine to ESXi Server

9) It should login without any issues and ask for VM name. Give a name and go to next step.

10) Select the resource pool to export if more than one available. Otherwise select local host and press Next.

11) Choose datastore to move virtual disk. My ESXi server have single datastorage.

Move VMware Virtual Machine to ESXi Server

12) Next is to select network cards. Network cards can be added during export by selecting number of NICs.

desktop virtualization software

13) 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.

System restore checkpoints are useless after converting since any time we can’t restore to earlier checkpoints, because of the different environment later.

server virtualization software

14) After completing the customize steps, check the summary before start. Select the Power on the new VM after creation (Optional) option and click ‘Finish’ to start the procedure.

server virtualization

15) Conversion and export should run smoothly and complete successfully. Warning messages can be seen on progress dialog box.

It failed initially because of space issue on VMware ESXi Server. There was no space on host computer to allow growing ESXi’s VMDK file.

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.

desktop virtualization software

It is very simple and useful if all are correct. This will be helpful to configure and test Operating Systems on local computer before exporting to live servers.

I will be publishing a post on how to export VirtualBox virtual machines to VMware ESX in coming days. Stay tuned with Sysprobs.com

In case you face any difficulties on this method, feel free to share your comments.

11 thoughts on “How to Move VMware Workstation Virtual Machine to VMware ESXi Server”

  1. Hi, Nice job on the explanation. I finally have a virtual machine on my esxi 4.1 server. I installed Leopard fine and built the CDR from the retail. Lacking a DL DVD, I had to install macdisk on the PC running the VSphere client. Then just attached an external mac formated USB to the virtual machine and voila Snow Leopard on the ESxi server.

    But this is not very satisfying – I am still struggling with trying to get OS X onto a home brew system. Looks like the rest of the day will be spent researching that little project.

    Regards

  2. Nice article. File->Import or Export. seems to be missing in VM Ware Workstation 8. Any idea how I can do it in that version?

  3. I made a conversion from ESXi5 to Workstation 7, didn’t remove the tools.
    Well so I do it again… you better remove the tools as described. (You can only UPdate not DOWNdate)

  4. Hi,

    Please help me,, recently i have created one VM workstation 7.1 for Windows XP OS.

    In that VM workstation i am running Oracle Database .

    I wanted to Migrate this Windows XP from Workstation to VM server , Is it Possible ??

    What are the thinks i have to do. without down the Windows XP Os because User accessing the DATABASE.

    Workstation Installed in Windows 2008 R2

    Regards
    Hamid

Comments are closed.