VMware Cloud Community
mroets
Contributor
Contributor

Vim Fault Already Exists

Hi all, I have 2 ESX host servers, I cannot migrate a VM from one host to the other without the error message (Vim.Fault.AlreadyExists) .

There was a vm with the same name on the host I want to migrate to, but I removed it and created a new VM from a template with the same name.

Now it gives me the error that “Vim.Fault.AlreadyExists” when I want to migrate the vm to the second ESX host where I deleted it from.

Any ideas

Reply
0 Kudos
3 Replies
Texiwill
Leadership
Leadership

Hello,

Login to the system's service console and run the command:

vmware-cmd -l

To list all VMs on the system. Does it appear twice, if so 'unregister' it from the second host.

vmware-cmd -s unregister /full/path/to/vmxfile

Best regards,

Edward

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos
mroets
Contributor
Contributor

Hi edward,

The name is not in there...

vmware-cmd -l

the server name does not appear, it is only listing the .vmx files of the servers that is currently on the ESX server. Tried to run the vmwaere-cmd -s unregister , it gave me an error "the servername could not be found" so cannot unregister something that is not there.

Tried to run the migrate again and it gave me the same error "Vim Fault Already Exists"

any other suggestion?

Reply
0 Kudos
madcult
Enthusiast
Enthusiast

Hi! Did you solve this problem?

A few days ago our VirtualCenter server crashed during a deployment of a virtual machine. Since this happened we are not able to create a virtual machine with the same name anymore. That is really strange because I cannot find any information about the old virtual machine! I've been searching for days on our ESX servers and on our VirtualCenter server but there is nothing. Maybe there is something left in the database.

Reply
0 Kudos