Hello,
I would like to rename a Virtual Machine folder and the files in Datastore from the old name to new name.
The VM is named as New Virtual Machine in the Datastore I would like to rename it to the actual server name.
It’s a Standalone ESX box (ESX 3.5 build 110268)
Thanks
Aravind
Hi,
Power down the VM, use vmkfstools to edit name of the disk
vmkfstools -E <src.vmdk> <new.vmdk>
other files & VM name can be changed in GUI vi cleint.
Hope this helps!
Hi,
Power down the VM, use vmkfstools to edit name of the disk
vmkfstools -E <src.vmdk> <new.vmdk>
other files & VM name can be changed in GUI vi cleint.
Hope this helps!
Raj's method may work, but this was always my method of renaming vms..
Shut down the VM
Putty into the host that the VM resides on
unregister the VM
vmware-cmd -s unregister (should be /home/vmware/NewServerName/NewServerName.vmx)
It will show up under Discovered VMs in Virtual Center. Drag and drop to whereever you want it.
Hi ,
It is very easy actually. Just few steps :
1) Power down the VM
2) Rename the display name of the VM to reflect the original server name
3) Move it to the different Datastore.
Then , all the VM files in the datastore will take the same ame as VM display name.
Hope this helps.
Cheers
Hi,
I have renamamed the VMDK using VMKFSTOOLS and other files using GUI and also edited the vmx files using nano and changed the old server name to the new server name.
After registering the VM, when i try to power ON the VM its getting struck, tried getting the status using vmware-cmd getstate command its showing as stuck . Have killed the process and unregisted the VM and re-registered and tried still its failing to Power ON.
Can you please help!!
Thanks
Hi,
VM was asking for the UUID value after creating a new UUID server powered ON without any issues.
Thanks!!