Renaming VM issue

cgeorgeisaac
cgeorgeisaac used Ask the Experts™
on
I attempted to rename my vm.
However, the name did not get changed inside the  Folder i.e. After I open the VM in the  Storage the Filename is changed but not the .vmdk, .vmx, vmsd files.  - Why is that??  . See attachment.

I tried vMotion and Storage vMotion too.
Why is it so
Cancel.docx
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
You cannot rename, from the Web Client, it's not supported and does not work.

Options are Storage vMotion or complete in manually.

see here (it's alot of work!)

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1029513

If you Storage vMotion from one datastore to another datastore, the filenames will change to the Inventory Name.
cgeorgeisaacSenior Engineer

Author

Commented:
I tried renaming from the vSphere Client (5.1.0)
I did a storage vMotion - did not work
I removed and readded to the Inventory (registered) did not work
Still  only the folder name has been changed but not the files inside the folder ie..vmdk, .vmx etc.

Any other suggestion please.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Renaming using the Web Client does not work, this is to be expected.

1. Rename the VM name in the inventory.

2. Complete a Storage vMotion to another datastore.

Do you have storage vMotion license ?
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

cgeorgeisaacSenior Engineer

Author

Commented:
Yes I tried your Points 1 & 2. I have valid license for Storage vMotion - confirmed  it was a different Datastore  - this failed to rename the   .vmx, .vmdk files!

The only option that seems to work is cloning.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
CLONE will will do the same function, and rename the VM.
cgeorgeisaacSenior Engineer

Author

Commented:
noted but I want to make a point here that  storage vMotion does not rename the  internal files of a vm in vSphere 5.1.
Correct, Renaming vmdk with storage VMotion does not supports in 5.1, but it does supports in 5.5 web client.
cgeorgeisaacSenior Engineer

Author

Commented:
Thanks for the clarification Kaustubh. Appreciate it.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial