|
Alternately if your VM's have SCSI virtual drives you can just copy the vmdk file to the ESX server using WinSCP and then use vmkfstools -i to import it. Then create a new VM and tell it to use an existing drive. If it has an IDE drive you have to convert it to SCSI first. See these links...
http://www.vmware.com/community/thread.jspa?messageID=620362򗝊 http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1881&sliceId=1&docTypeID=DT_KB_1_1&dialogID=7626758&stateId=0%200%207628024 |
|
Reply
Re: convert VMware Server VM to ESX 3.0.1 VM May 31, 2007 8:29 AM
Reply
3.
Re: convert VMware Server VM to ESX 3.0.1 VM May 31, 2007 8:29 AM
Many, Many thanks.
I'll give that a try. Nice one |
|
Reply
4.
Re: convert VMware Server VM to ESX 3.0.1 VM May 31, 2007 4:08 PM
I just documented this procedure also that I mentioned above...
Method 3 Use FastSCP and vmkfstools to copy the disk to ESX and convert it to VMFS3 format If your Server VM uses IDE disks you will have to convert them to SCSI disks prior to using this method since ESX does not support IDE hard drives. To convert your disks to IDE follow the steps in this VMware knowledge base article: http://kb.vmware.com/kb/1881 Once you complete the conversion to SCSI you can proceed with the below steps. Download FastSCP (http://www.veeam.com/veeam_fast_scp.asp) and install on the VMware Server, FastSCP requires the dot net framework 2.0 so download and install this first if you do not have it (http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en ), alternately you can use WinSCP (http://winscp.net/eng/index.php) which is a bit slower then FastSCP Once FastSCP is installed run it, click Add Server enter your ESX server name/IP, the default port of 22, username and password and click Finish Connect to your ESX server, browse to your /vmfs/volumes/<volume name> and select New Folder and call it temp or whatever you want Shutdown the VM from Server that you will be copying the vmdk file from Using Windows Explorer, browse to your vmdk files and select both the descriptor vmdk file (small file) and the data vmdk file (-flat large file) Paste these into your temp directory on the ESX server and the transfer will begin Once the transfer completes login to your ESX service console and change to your temp directory, ie. cd /vmfs/volumes/<volume name>/temp To import the file to VMFS3 format type vmkfstools i <source file name> <destination file name> the file name is the name of the small descriptor vmdk file, ie. vmkfstools i Win2003vm1.vmdk Win2003vm1-new.vmdk. This create a new copy of your source vmdk file in VMFS3 format, it will automatically create both the descriptor and the data vmdk files Create a new VM on your ESX server, select Custom and then select the VMs configuration. When you get to Select a Disk choose Use an Existing Disk and browse to you destination file name you selected above. Power on your new VM and you should be all set, you can delete your original source file from the temp directory Optionally you can move your vmdk files from the temp directory to the VMs directory that it created. o Shutdown your VM. o Login to the Service Console o Change to your VMs directory, ie. cd /vmfs/volumes/<volume name>/myVM1 o Copy file from the temp directory to the VMs directory using vmkfstools, ie. vmkfstools i /vmfs/volumes/<volume name>/temp/Win2003vm1-new.vmdk myVM1.vmdk This will make a copy of your vmdk file in your VMs directory, you can also change the destination file name to match your VMs name. o In the VI Client, edit your VMs settings, remove the current hard disk (dont delete it yet) and add new new hard disk, select Use an Existing Disk and browse to the new vmdk file in your VMs directory. o Power on the VM and if it boots OK you can delete the original virtual disk, you can use FastSCP for this or right-click on your Datastore in the VI Client and select Browse your Datastore with the VI Client to delete the two original virtual disk files |
|
Reply
5.
Re: convert VMware Server VM to ESX 3.0.1 VM Jul 4, 2007 5:59 AM
One question I meant to ask was this:
What's the difference between BusLogic and LSI Logic SCSI adaptors? Is there a preferred adaptor for use on ESX hosts? Thanks, Richard |
|
They are basically 2 different virtual hardware SCSI adapters. BusLogic adapters should be used with Windows 2000 VM's and LSI Logic should be used for Windows 2003/XP VM's. There is a slight performance difference between the two with LSI being the better adapter. Some OS's like Win2K will not support the LSI adapter.
ESX Server 2 Storage Subsystem Performance in ESX Server: Buslogic vs. LSI Logic - http://www.vmware.com/pdf/ESX2_Storage_Performance.pdf |
|
Reply
7.
Re: convert VMware Server VM to ESX 3.0.1 VM Jul 4, 2007 6:12 AM
once again, many thanks
|
|
Reply
8.
Re: convert VMware Server VM to ESX 3.0.1 VM Jun 5, 2008 6:13 PM
Thanks for this artical. it sure is a help. Ajay Nabh |
|
Reply
9.
Re: convert VMware Server VM to ESX 3.0.1 VM Jun 27, 2008 5:59 AM
HI All, Just install 2 x ESX on VMWaorkstation and add openfiler NAS to this. Now I got One VM Image and got 4 VMDK files ( Exchange 2003) I create 1 200 GB LUN and connect to ESX through ISCSI. ESX got 20GB Local HDD. Where do i need to put those 4 x VMDK files? if i put all onto NAS is that going to boot/start that vm? Or do i need to put OS VMDK on to 20GB HDD and rest onto NAS? If so how do i connect back to those disk bit confuse lol |
|
Hi Cosy as far as I think you can boot from NAS. good idea would be to put you data vmdk on NAS and OS vmdk on local HDD. I hope you are nor running this system for production!!! Cheers Ajay |
|
Reply
Re: convert VMware Server VM to ESX 3.0.1 VM Feb 23, 2009 6:17 AM
Reply
11.
Re: convert VMware Server VM to ESX 3.0.1 VM Feb 23, 2009 6:17 AM
|