Site Search:
Sign in | Join | Help
4Penny.net

Steve Gray

Random Thoughts from the 4Penny VP of Development

Cloning a VMWare machine

Clone the Virtual Machine

The current version of VMware Server does not include an option to clone a virtual machine, but the following steps illustrate how this can be achieved manually.

Shut down the virtual machine and copy the directory that contains the VM

Edit the contents of the vmx file, making the following change.

displayName = "myNewName"

In the VMware Server Console, select the File > Open menu options and browse for the new vmx file. Once opened, the new virtual machine is visible on the console. Start the new virtual machine by clicking the "Power on this virtual machine" button and click the "Always Create" button on the subsequent "Question" screen.



The cloning process sometimes alters the network connection setup, so repeat the steps mentioned previously for removing extra network adapters and renaming the connections.

Open the "System Properties" dialog (Start > Control Panel > System), click on the "Computer Name" tab and click the "Change" button. Enter the name "myNewServer" then click the "OK" button.



Click all subsequent "OK" buttons to exit the "System Properties" dialog and restart the server when prompted.

Once the new virtual machine has restarted, start the old virtual machine. When both nodes have started, check they can both ping all the public and private IP addresses using the following commands.

 Rename the SQL Server, if one was installed prior to the clone, like this:
http://forum.4penny.net/blogs/sqlserver/archive/2007/04/10/renaming-a-sql-server.aspx


 

The virtual machine setup is now complete.

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add

About Steve Gray

Steve is a seasoned (translate: old) developer in VB and ASP.NET. He spends most of his time in Dynamics GP, writing custom mods for consulting firms. Crystal reports, eConnect, VS Tools for Dynamics... anything that comes along.