Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Import Data from ESX host

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 22-07-2009
Member
 
Join Date: Mar 2009
Posts: 36
Import Data from ESX host

I want a ask a simple question here. I had made a ESX 3.5 u2 host. Now I want to import from the virtual machine. I am having a ESX server with access to SAN. Now what is the way to get the data. The SAN is configured. To import larges VMS to the ESX host by a .VMX file. Here I had did some more. In order to increase the capacity of SAN datastore I bound a new LUN on the SAN and assigned it as VMFS3. Then I moved all the files from old datastore to the new. But the issue here is that all VMs after reboot still rely on the old datastore.
Reply With Quote
  #2  
Old 22-07-2009
Calvin K's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,479
Re: Import Data from ESX host

To import the datastore you will need to restore back the existing vm that was removed from the virtual center. Do this. First select the ESX server in the Virtual Center. Then on the right click on the summary tab on the datastore and select browse datastore. Select the folder in which the VM files are and right click on teh VMX file. Select add to inventory. Give a desired name and location and click next. Then select the host or cluster for the VM and click on next. After choose a resource pool and select next. Now click finish.
Reply With Quote
  #3  
Old 22-07-2009
Lillebror's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,259
Re: Import Data from ESX host

The best benefit of virtual machines I believe is that you will not loose you VMFS volumes or the VM's once you need to rebuild you ESX host. Here is some tips to imports a mass VMs from the ESX host. The built in ESX console command reduce the time and offer proper functionality. Here in the command console vmware-cmd and the vmware-s option offers you to mass import VMs via some simple scripting. Save the below code in a notepad file and give extension .sh. Place the file on your ESX host and then as root run the file - #./importvms.sh

for i in `find /vmfs/volumes/ -name "*.vmx" `
do
echo "Registering VM $i"
vmware-cmd -s register $i
done
Reply With Quote
  #4  
Old 22-07-2009
jesse's Avatar
Member
 
Join Date: Nov 2005
Posts: 2,965
Re: Import Data from ESX host

I do not understand that how many VMs are you talking about. If it not a large number the had you ever try to test if you can re-import them. Just remove a VM from the inventory. That does not means that you delete them. The browse the datastore for that VMs file and select it. Follow the wizard and add the VM back to inventory.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Import Data from ESX host"
Thread Thread Starter Forum Replies Last Post
Import & Export Data AnkitSingh007 Off Topic Chat 2 09-12-2011 04:18 PM
Navicat : Import Data into MySQL Martien Windows Software 4 22-01-2010 12:56 PM
Import data from another workbook Chhaya Software Development 3 03-10-2009 07:59 PM
Import Data from Microsoft Money Maximilian5 Windows Software 3 24-06-2009 12:23 PM
Export/Import AD data mtsint@yahoo.com Active Directory 3 20-11-2008 08:21 PM


All times are GMT +5.5. The time now is 02:03 AM.