Pages

Thursday, January 13, 2011

Find VMX files and Add to Inventory

Sorry there hasn't been many posts of late. Been really busy with VMware problems at work. Trust me there are a ton of upcoming posts on the subject. But for now here a helpful hint on adding VMware VM's back to a ESX Host. I ran into this because I've been migrating ESX hosts and their VM's from one Vmware vCenter to another. I'll make another post on the reason why but for now I wanted to note a faster method in the GUI to do so.

The storage being used by the ESX hosts are the same on both vCenters so you only have to remove the VM from Inventory on the old vCenter and then find the *.vmx file in the DataStore on the new vCenter. Right Click it and say add to Inventory.  So far so good, simple if only doing a couple VM's but i'm doing hundreds. Thus Navigating the Folder structure of the dataStore and then finding the vmx file takes a bit. I found it to be much faster to search the datastore by Virtual Machines. 

With this I don't have to navigate the folder structure and I can right Click them to add to Inventory. This works better than just searching for *.vmx files because when you search for those it doesn't allow you to right click to add to inventory.