Process for cloning a SQL Server in VMWare


I have a SQL Server Standard 2008 (x64) server on VMWare currently that I'd like to clone in order to create a test/development server.  

I realize that after cloning SQL commands will need to be run to change the server name.  However, when I tried cloning the SQL Server services won't load at startup for me to be able to run commands to update the server name.  FYI, the Windows OS clone process changed both the computer name and also the SID.

Anyone have any process tips on how to successfully clone a SQL Server within VMWare?

Thank you!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris MConsulting - Technology ServicesCommented:
First of all, I recommend that before you clone your SQL server, change the start-up mode of all your critical services like SQL server and pplication services (if any) from "Automatic" to "Manual" start-up.

If SQL server and its related services are started by local Windows accounts, then I suggest that you change the service account to "Local system" for now.

Restart your virtual node before cloning just to put everything is put to test. Now you're ready to do the clone.

After cloning, you can change the new virtual server's hostname. SQL server will automatically aquire and hold the new name which you give your virtual server.
This should change everything.

After renaming your new virtual server (your clone), to resolve any cases of services which were originally started by Windows accounts, i suggest that you redo the credentials of those service accounts. Also remember to change the start-up mode of the services back to automatic.

SQL server should then work with the server name.
Be careful not to have an IP address conflict on your VMWare network.

Let me know if you need any more help.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Have you tried to use VMWare Converter to do this? I have done this before and worked well. During the conversion, you can change the name for the server. When the newly converted SQL server started, change the server name that SQL server holds using:

select @@servername
sp_dropserver '<old server name>'
sp_addserver '<new server name>', local

restart your SQL server for the changes to take effect.

hope this helps.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.