Home > VMWare > Copy Virtual Machines on VMWare Server 2

Copy Virtual Machines on VMWare Server 2

May 12th, 2009 by Charles Gardner

This is a simple note to capture process.

  • On the VMWare server, copy the guest’s directory to a new name.
    • cp -ax /vm/srv1 /vm/srv2
  • Rename the vmdk disk image
    • cd /vm/srv2
    • vmware-vdiskmanager -n srv1.vmdk srv2.vmdk
  • Rename the other files
    • mv srv1.* srv2.*
  • Open the VM configuration and change the names there
    • vi srv2.vmx
    • :%s/srv1/srv2/
  • In the VMWare host’s web console, use the Add Virtual Machine to Inventory to add the new VM.

VMWare

  1. No comments yet.
  1. No trackbacks yet.