Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - VMware
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the name of the virtual machine and it's files

SOLVED
Go to solution
r23733
Occasional Contributor

Changing the name of the virtual machine and it's files

Hi,

 

 We have built a virtual machine recently on ESXi 4.1 host.  We have made some mistake while giving the name for virtual machine. So I need help to change the name of the VM and its files  VMDKs, flat-VMDKs and VMX while the virtual machine is up and running.

 

Could someone please provide the solution for this?

4 REPLIES
Bart_Heungens
Honored Contributor

Re: Changing the name of the virtual machine and it's files

Hi,

 

First rename the VM inside the vSphere GUI by clicking the right mouse button and select rename. This will nog change the directory nehind the VM...

 

However if you do a storage migration (storage vMotion) the destination directory will be the new name and all files will be renamed...

 

 

Kr,

Bart

--------------------------------------------------------------------------------
If my post was useful, clik on my KUDOS! "White Star" !
My blog: http://blog.bitcon.be
indus
HPE Pro
Solution

Re: Changing the name of the virtual machine and it's files

Hi,

 

Only option is to do svmotion, before you start the svmotion, rename the VM by right clicking on the VM which is to be renamed and later do a svmotion this will change all the names related to the VM.

 

Note: svmotion or cold migration only changes the names of the virtual machine files when the destination datastore is different from the original.

 

Thanks,

----------

If you like this post please click on the kudos star on the left pane of this post

 

I work for HP
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details

r23733
Occasional Contributor

Re: Changing the name of the virtual machine and it's files

Thanks, that solved the issue.
r23733
Occasional Contributor

Re: Changing the name of the virtual machine and it's files

Thanks for your solution.