move vms to new host

hey guys,

i am running vmware 4.1, and about 3 vms on 2 hosts.

Now i bought 2 hosts and new storage and esx 5.5, and i want to move those vm's to these new hosts. Whats the easiest way to do this?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Oscar PowersCommented:
You could add the existing 4.1 hosts to the new 5.5 cluster, then storage-vMotion the VMs.  This should incur no downtime.

You will need to make the old storage available to the new hosts, if only temporarily.

If you don't have licensing for Storage vMotion, present the storage all the same, then power off your VMs, remove them (but don't delete!) from the old hosts.  In the new hosts, browse the old datastores for the VMs, and add them to inventory.

Once in the new environment, you can storage vMotion the VMs to the new storage.  Again, if no Storage vMotion is available, then just use the CLI on the new hosts to copy the VM folders to their new destination.  Use copy in case something goes wrong, you can always delete the source files after you've confirmed they're OK.
Easiest way to do this would be to:
1. Shutdown the VM's,
2. Go into the datastore,
3. Select the VMs (entire folder)
4. Download it to your machine (this does not delete it from the current datastore)
5. Upload it to the new datastore
6. On the new datastore, right-click the VMX file in the uploaded folder containing the VM files and Add it to the Inventory
7. Voila!
Cobra25Author Commented:
szichen, is it really that easy?
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Many ways to do this....see all my EE Articles, written by me, so any question please ask!

Can you connect the new storage to the existing 4.1 Servers e.g. is it shared storage, and then you can do a migration?

The easiest, is to do the following:- Import and Export (VM must be off!)

Part 10: HOW TO: Backup (Export) and Restore (Import) virtual machines to VMware vSphere Hypervisor 5.1 for FREE

OR, you could do a V2V Conversion...using VMware Converter

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.5.3 - Shellshock "BASH" Fix included in this version

HOW TO: Shrink or Reduce a VMware Virtual Machine Disk (VMDK) using VMware vCenter Converter Standalone v5.5.2

You have got options with converter, or increasing and decreasing the virtual machine disk

or you could do a Live Migration...

HOW TO: "Live Migrate" VMware Virtual Machines between ESX/ESXi hosts and/or datastores for FREE without licenses for vMotion or Storage vMotion

So you see there are many methods, the method proposed of Download to Workstation, using Datastore browser, is old fashioned, and can have issues!

If you do this method, you will need these articles

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0

HOW TO: Select the right answer to "I Moved It" or "I Copied It" in VMware vSphere (ESXi)

So your choice, Export and Import is the easiest....

Please note moving data can take a long time to download, and import!

What Backup Tools do you use, you can also do a Backup and Restore!

Yes it is that easy. Just give it a try. Nothing to lose since the original VM will be available on the original host.
Cobra25Author Commented:
Thank you sir! Will give it a shot this week!
Cobra25Author Commented:
Does it matter that im go ing from 4.1 to 5.5 ESX?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No, this is the benefit of Virtual Machine used in VMware, the hardware is always backwards compatible.

So, 3.0, 3.5, 4.0, 4.1, 5.0, 5.1 VMs will run on 5.5!

IF you want to take advantage of new features that exist in ESXi 5.5, you can upgrade the virtual hardware from 4.1 to 5.5, if you do this (and it' optional!).

Make sure you Update VMware Tools first (recommended), and have a backup OF ALL VMs, not snapshot before you do it!
Cobra25Author Commented:
Andrew, what do you mean upgrade virtual hardware?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That's an option you will see when, you have moved the VMs to ESXi 5.5!

It changes the virtual machine version....

A virtual machine version exists for all VMware platforms.

see here
Cobra25Author Commented:

I tried Downloading the file from the datastore, and i got a "Expected Put Message:Got ERROR"
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
try export and import.
Cobra25Author Commented:
How do I export and import?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
see my EE Articles in my post!
Cobra25Author Commented:
Andrew, can i do this with VEEAM, i have it installed here. Would that be easier?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, if you have Veeam, by all means, BACKUP and RESTORE!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cobra25Author Commented:
Andrew, is that all thats needed, restore to a new VM host?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, that's how we do it!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.