move virtual machines from one server to another

Posted on 2008-11-12
Medium Priority
Last Modified: 2012-05-05

We need to reinstall our ESXi server and we need to backup all virtual machines then reinstall ESXi clean and import virtual machines again.
Any easy free way to do this?  Or we need Virtual Infrastructure to do this?
Question by:itmti

Expert Comment

ID: 22940692
What about using VMWare Consolidated Backup?

LVL 16

Expert Comment

ID: 22942356
you can hook up another additional drive to this box, create a datastore on it, clone the vms to it, then unhook it.  then you do the esx clean install, re hook up the additional drive, and clone back.  that's my idea.

Good Luck,

- gurutc

Expert Comment

ID: 22943326
Alternatively, you can download those VMs to either a network share, your workstation's local drive, or external hard drive. Make sure that destination target has enough space to store your VMs.

Note: Before doing this, make sure to power down each VM that you're going to download.

Using the VI Client, click the ESX server that has hosts your VMs. Click the Summary Tab. Under Resources, right click the datastore that contains your VMs and select Browse Datastore...

Then on the right column, select all the VM folders to download, right click and select Download...
In the Browse for Folder window that appears, select the location to save these files and click OK. The download process begins...this may take some time depending on how many VMs you have in your environment. Since downtime is expected, schedule this to be done after business hours or during the weekend. The longest part is waiting for the VMs to finish downloading to your chosen location.

Once you're ready to re-import the VMs, you can do the same thing except, when you're in the datastore, simply click on Upload icon (a Storage icon with a green arrow point up), choose Upload folder, and go to the location that you stored your VMs and click OK to begin uploading.

This isn't an ideal way of doing it, but it's simple, it works, and you don't have to do any additional configuration. However, as Sinder255248 pointed out, you may want to look into VCB. You can look at vendors such as EsXpress (http://www.esxpress.com/), Vizioncore (http://www.vizioncore.com/vRangerPro.html), and other 3rd party vendors that make use of your VCB license (if you have it or when you get it). This will stream line the backup and restore process. They'll do image and file level backups.
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.


Author Comment

ID: 22943446
Aldach, i like this approch copy it off to another network drive then copy it back in.  Seems easiest.

Question is, after copying back in, how to make ESXi see those servers in the list?  Or will it see them automatically?

LVL 42

Expert Comment

by:Paul Solovyovsky
ID: 22943962
Setup Openfiler on a sparebox and attach via NFS or ISCSI.  Migrate the VMs over and connect back on a new box.

www.openfiler.org - about 30 min to setup.

Accepted Solution

aldanch earned 2000 total points
ID: 22944297

It won't see it automatically. You have to manually add each VM into the inventory list.

After uploading all your VM folders, go into the datastore interface
On the left column, click one of the VM folders (or double click the VM folder on the right column)
On the right column, right click the .vmx file and select Add to Inventory
Complete the Add to Inventory Wizard, and your VM is added to your list
Repeat steps for remaining VMs

Author Comment

ID: 22944641
Excellent ThANK YOU!

Expert Comment

ID: 22945670
You're welcome itmti.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
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 delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Suggested Courses

807 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