We help IT Professionals succeed at work.

How do I move a virtual machine from VMware Server 2 installed on RHEL 5.2 to a VMware ESX 3.5 host?

Medium Priority
1,608 Views
Last Modified: 2013-12-06
How do I move a virtual machine from VMware Server 2 installed on RHEL 5.2 to a VMware ESX 3.5 host?
Comment
Watch Question

CERTIFIED EXPERT

Commented:
Planning on migrating from VMware Server to VMware ESX 3.5?
http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1297655,00.html
You can use VMware Converter Standalone or the vConverter Plugin which is installed along with Virtual Center to migrate your Virtual Machine from VMware Server to VMware ESX Host.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Another option is to shutdown the VM and use WinSCP to copy the VMDK file manually to the ESX Host.

Use vmkfstools -i to import the VMDK file and create a VM using New Virtual Machine Wizard.

Command Syntax

vmkfstools -i /vmfs/volumes/storage1/Source.VMDK /vmfs/volumes/storage1/Destination.VMDK

When specifying Hard Disk, modify the settings to use the existing VMDK which you have migrated.

Please keep in mind to use the same SCSI Logic which was used in VMware Server 2.0 when the VM was created.
Using Bus Logic or LSI Logic alternatively can cause Kernel Panic issues for the VM

Author

Commented:
kumarnirmal:
I will give a try to VMware converter and as to the second method, how do I gain SSH access to the ESX and enable FTP so I can send the VMDK file from VMware Server 2 to ESX host?

Commented:
You can gain access using SSH to your ESX with root account , just follow these steps:

1.If you have physical access to the server, log into the console of your ESX Server as root .

If you can only connect to the ESX Server host over the network, connect using an SSH client (such as PuTTY) and log in as a user other than root. After you are logged in, switch to the root user with the following command:

2. su -
Note: If you do not have any other users on the ESX Server host, you can create a new user by connecting directly to the ESX Server host with VI Client. You see a Users and a Groups tab. Ensure to give the new user shell access.

3 Edit the configuration file for SSH with the following command:

nano /etc/ssh/sshd_config

4 Find the line that starts with PermitRootLogin and change the "no " to "yes ". You can find this line about 2 pages down from the top. Save the file by first pressing Ctrl-O and then Enter. Exit with Ctrl-X.

5 Restart the SSH service with the following command:

service sshd restart

Commented:
After that you can copy vmdk and vmx files and clone them wherever you want
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.