Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

3.0.1 ESX Server VM Clone Help

3.0.1 ESX Server VM Clone Help

3.0.1 ESX Server VM Clone Help

What I need to do is copy cvm02 to cvm01 on the same esx server. cvm02 is running windows server 2003 r2.

The problem is that I've tried several different ways and the same problem always returns. When I power on cvm01 it causes cvm02 to weird out.

The tutorial I used was on this page: http://www.dannorris.com/2007/08/31/cloning-a-vm-on-esx-server-301/

I'm not sure if i'm cloning the vm wrong or if I'm missing something inside the vm.

Any help will be greatly appreciated!

RE: 3.0.1 ESX Server VM Clone Help

Firstly, what OS is cvm01?  You can clone cvm01 to cvm02 but you will have to follow some other procedures depending on OS.

If it is a Windows OS you will need to run something like NEWSID.EXE to change the SID (also changes the name properly).  

Also if the Windows Server is in a Domain, you will need to remove cvm02 from the domain once cloned and before you connect it to "the network" (disable the vNIC) and run the SID changer.  Also change the IP before you connect it back to the network.

"Insert funny comment in here!"

RE: 3.0.1 ESX Server VM Clone Help

cvm01 and cvm02 are virtual machines running on my esx server, both ran microsoft windows server 2003 and were used as terminal services.

Here is what I did:
1. deleted cvm01 because it basically crashed
2. used vmware converter to copy cvm02 to cvm01(and the process in the other link by copying from command line)
3. renamed the clone of cvm02 to cvm01
4. disabled both nics and booted the machine up
5. changed both nics to different static ip's
6. unjoined the domain
7. rebooted
8. renamed the server from cvm01 to cvm02
9. rebooted
10. ran newsid from microsoft
11. rebooted
12. joined domain
13. rebooted

But even after all that, when cvm01 was running it caused cvm02 to have problems, mostly people not being able to log into it.

RE: 3.0.1 ESX Server VM Clone Help

forgot to add that i enabled the nics in between step 11 and 12

RE: 3.0.1 ESX Server VM Clone Help

are you saying cvm02 works when cvm01 is not powered on?.

Did you activate terminal services on cvm02 after the clone.

RE: 3.0.1 ESX Server VM Clone Help

ok let me explain this again, you're not getting it.

i had 2 vm's both running windows server 2003. there names were cvm01 and cvm02. cvm01 crashed. cvm02 works great. i deleted cvm01 and i cloned cvm02 to cvm01.

cvm02 works great until i power on cvm01 (which was cloned from cvm02).

RE: 3.0.1 ESX Server VM Clone Help

Try replacing vnics, i.e if you have 2x nics add another 2 so there are now 4 and then delete the first 2 so you now only have 2 nics (3&4). power up and configure with ip settings.

What is the role of the two servers?

When I was born I was so suprised I didn't talk for 18 months

RE: 3.0.1 ESX Server VM Clone Help

They are Terminal Servers

Can you explain what error messages are displayed when users try to login (and are there any errors in the Event Viewer of either server)?

I have followed a similar procedure to you before (except I used NEWSID to rename the server as well as changing the SID) and I have not had any issues...

"Insert funny comment in here!"

RE: 3.0.1 ESX Server VM Clone Help

Both servers are terminal servers.

I will create the 2 new nics and delete the old 2, rename the box to cvm01a, and then use newsid to rename back to cvm01.

after that i will also check the event viewer to see if there is anything strange in there.

Basically when i power on cvm01, you can't log into cvm02 anymore and users that are logged in, have their desktop freeze.

RE: 3.0.1 ESX Server VM Clone Help

That looks exactly like a SID problem

Try running sidgen or ghostwalker if you have it.

RE: 3.0.1 ESX Server VM Clone Help

And make sure the cloned server is out of the domain before you run the SID changer, then add it back to the domain when the SID changer has run and rebooted

"Insert funny comment in here!"

RE: 3.0.1 ESX Server VM Clone Help

Ok here is what i did:

1. Added 2 nics to cvm01 (total is 4 now, and disconnected all nics)
2. joined cvm01 to a workgroup
3. rebooted
4. renamed cvm01 to cvm01a
5. shutdown
6. deleted nic's 1 and 2 (connected nics 3 and 4)
7. powered on
8. ran newsid and through that renamed the server back to cvm01
9. rebooted
10. deleted server name out of active directory
11. went to set the static ip's but they carried from from the old cards. verified that the mac's were different on cvm01 from the mac's on cvm01
12. but then it wouldn't let me join the domain (i started thinking that when i deleted nic 1 and 2 something went wrong)
13. i added to more nics, now 5 and 6. total still is 4 (so there is 3, 4, 5, 6)
14. i disabled the 3 and 4 which had static ip's and ran dhcp on the other 2.
15. joined the domain
16. rebooted
17. set 3 and 4 nics to automatic but left them disabled
18. gave the static ip's to the 5 and 6
19. tested and was good to go

Did I do something wrong with the nic's? I had named nic 1 (local area connection),  nic 2 (load balance nic), nic 3 (new3), and nic 4 (new4). When I deleted nic 1 and 2, it appeared to rename nic 3 and 4 to local area connection and load balance nic and had the same static ip's. So i think somehow when i deleted nic 1 and 2 it really deleted nic 3 and 4.

Right now it is working like a champ. Thank you guys very much!

RE: 3.0.1 ESX Server VM Clone Help

You seem to have a lot of NICs there - do you only have one per vSwitch in the ESX config?

RE: 3.0.1 ESX Server VM Clone Help

not sure how to check to see how many I have per the vswitch.

typically on my terminal servers, they only have 2. 1 is for load balancing and 1 is for management.

other application servers only have 1.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close