Solved

Workstation to ESX

Posted on 2014-10-06
6
363 Views
Last Modified: 2014-10-11
I want to move a machine from Vmware Workstation to ESX. Should I just drag and drop?
0
Comment
Question by:Starquest321
  • 4
6 Comments
 
LVL 4

Assisted Solution

by:Vishalnarse
Vishalnarse earned 334 total points
ID: 40365349
Hi,

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.

Convert Physical Computer to Virtual by VMware Stand alone converter

4) Select Virtual Appliance in source type.

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.

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

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.

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.

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

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.

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.

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.

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 have attach the attachment with screenshot.

Workstation-to-ESX.docx
0
 

Author Comment

by:Starquest321
ID: 40365356
Let me be clear: This is a VIRTUAL machine running on workstation 10 to ESX. . . No need to do a physical machine converstion.
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40365358
Yes, I understood that and I believe that I have provided the Steps to Move VMware Workstation Virtual Machine to ESXi Server.

Please clearly go through the steps and I have additional details provided.
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 166 total points
ID: 40365361
The recommended method of transferring a Virutal Machine from VMware Workstation to ESXi, us to use "VMware Converter".

Please see my EE Articles

HOW TO: FAQ VMware P2V Troubleshooting

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.5

You could also attempt, uploading the files, see an example in this article for an ISO file


Part 4: HOW TO: Upload an ISO CD-ROM/DVD-ROM image to a VMware datastore for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client, and checking its MD5 checksum signature is correct.
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40365370
You can copy past the file VMware Workstation Virtual Machine to ESX vsphere in inventory the step are below.

Open the vSphere/VMware Infrastructure (VI) Client and log in with appropriate credentials.
If connecting to vCenter Server, click on the desired host.
Click the Configuration tab.
Click Storage.
Right-click on the appropriate datastore and click Browse Datastore.
Navigate to the folder named after the virtual machine, and locate the <virtual machine>.vmx file.
Right-click the .vmx file and click Add to inventory. The Add to Inventory wizard opens.
Continue to follow the wizard to add the virtual machine.

To register a virtual machine from a command line on an ESX host:
Log in as root to the ESX host with an SSH client.
Run the command:

# vmware-cmd -s register <full path to virtual machine>\<virtual machine name>.vmx
To register a virtual machine from a command line on an ESXi host:
Log in as root to the ESXi host with an SSH client. For information on using Tech Support mode, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).
Run the command:

# vim-cmd solo/registervm /vmfs/volumes/datastore_name/VM_directory/VM_name.vmx

Thank you
0
 
LVL 4

Accepted Solution

by:
Vishalnarse earned 334 total points
ID: 40365374
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question