Renaming a VMWare Virtual Machine
Posted by Dan Israel on Mar 4, 2010 in Information & Technology
This procedure was documented using VM Infrastructure 3.5 for altering ESXi 3.5 virtual machines. You may need to use Veeam to make the renaming adjustments. Could also be done via SSH.
CAUTION: If snapshots do exist and are needed, then you may need to alter the *.vmdk files to keep the chaining in place. If you do not need the snapshots, select “delete all” under the snapshot manager and perform this procedure after the host has consolidated them.PROCEDURE FOR NON-SNAPSHOT
- Copy to new directory for backup
- Remove from inventory (do not select DELETE)
- Alter folder name if desired
- Rename the following inside the folder
- Rename *.vmx, vmdk, vmsd, vmxf, nvram
- Edit *.vmx (using a text editor)
extendedConfigFile = “(old to new).vmxf”
scsi0:0.fileName = “(old to new).vmdk”u
- Edit *.vmdk
“Extent description” RW 16777216 VMFS “(old to new)-flat.vmdk”
- Edit *.vmxf
Sandbox XP.vmx
- Add *.vmx file to inventory