Line One
asked on
What is the best way to copy VHD to create 2 virtualized-Terminal Servers
I have a virtualized Terminal Server (TS01) with TS01.VHD virtual hard drive. I want to make a copy of it and run it as if they both are two different Terminal Servers. My purpose was that each of them are independent from each other, so I will be able to install different applications on each of the TS.
What I did was copying the TS01.VHD to different folder and rename it as TS02.VHD, and then I created a new Virtual Machine:
- TS01.vhd is located in C:\Virtual HDD\TS01\ folder and
- TS02.vhd is located in C:\Virtual HDD\TS02\ folder.
So they both are located in different folder and have different name.
I turned the TS02 VM on, sysprep-ed it, and then I changed the computer name, IP address, and join to the same domain.
The problem is: When I run them both (TS01 vs. TS02) side by side, every time I create a folder on either one, it will also be created on another. This is not what I want. I want them to be independent to each other.
Does anyone know what step did I miss, or probably have a better way?
What I did was copying the TS01.VHD to different folder and rename it as TS02.VHD, and then I created a new Virtual Machine:
- TS01.vhd is located in C:\Virtual HDD\TS01\ folder and
- TS02.vhd is located in C:\Virtual HDD\TS02\ folder.
So they both are located in different folder and have different name.
I turned the TS02 VM on, sysprep-ed it, and then I changed the computer name, IP address, and join to the same domain.
The problem is: When I run them both (TS01 vs. TS02) side by side, every time I create a folder on either one, it will also be created on another. This is not what I want. I want them to be independent to each other.
Does anyone know what step did I miss, or probably have a better way?
Which virtualization technology are you using ? hyperV ,VMwere, virtual box...etc.
If you have SCVMM, use the clone wizard.
If not, check if you specified TS1.vhd as a basedisk.
If not, check if you specified TS1.vhd as a basedisk.
Try ing NEWSID.
If they are independent VMs this should not be happening. Check your settings make sure they are both not running on same VHD files
If they are independent VMs this should not be happening. Check your settings make sure they are both not running on same VHD files
ASKER
Thanks for the replies.
Sulimanw:
I am using 2008 R2 Enterprise with HyperV.
fr0nk:
I do not have SCVMM.
Where would I have specified "TS1.vhd as a basedisk" - not familiar with that option.
Dariusq:
Are you saying to try NEWSID? This is what I found about NEWSID per this MS link - http://technet.microsoft.com/en-us/sysinternals/bb897418.aspx
"Regarding SIDs, Microsoft does not support images that are prepared using NewSID, we only support images that are prepared using SysPrep. Microsoft has not tested NewSID for all deployment cloning options"
We used Sysprep which generates a new SID.
As per my original note these are two completely separate VHD's - separate names/separate folders?
Sulimanw:
I am using 2008 R2 Enterprise with HyperV.
fr0nk:
I do not have SCVMM.
Where would I have specified "TS1.vhd as a basedisk" - not familiar with that option.
Dariusq:
Are you saying to try NEWSID? This is what I found about NEWSID per this MS link - http://technet.microsoft.com/en-us/sysinternals/bb897418.aspx
"Regarding SIDs, Microsoft does not support images that are prepared using NewSID, we only support images that are prepared using SysPrep. Microsoft has not tested NewSID for all deployment cloning options"
We used Sysprep which generates a new SID.
As per my original note these are two completely separate VHD's - separate names/separate folders?
Try to export the original VM then export it from the Hyperv manager. Not copy/past the VHD.
Try to export the original VM then import it from the Hyperv manager. Not copy/past the VHD.
Strange..If you sysprepped it then you should be OK... I guess it might have something to do with TS role installed before sysprepping.... do/did you have file server role installed on the server?
I think it is something relate to the hardware ID specifically the VHD ID.
ASKER
Sulimanw:
Where is the hardware ID found?
Msmamji:
I will check on the all the roles assigned thoroughly on each computer but I thought other than the DC I could have multiple servers with the same role e.g. 3 servers with TS role, 4 servers with File Server role. Is that not correct? Or are you saying it's some combination of roles? Or some option where for some reason a server has been chosen as the 'sole' role of that kind for the domain?
Where is the hardware ID found?
Msmamji:
I will check on the all the roles assigned thoroughly on each computer but I thought other than the DC I could have multiple servers with the same role e.g. 3 servers with TS role, 4 servers with File Server role. Is that not correct? Or are you saying it's some combination of roles? Or some option where for some reason a server has been chosen as the 'sole' role of that kind for the domain?
Did you tried to export/import the VM using hyperv manager ?
No. There is nothing wrong with having multiple roles on a server/VM or having multiple server with the same roles or any combination of that. As a best practice, you should add roles after sysprepping the image.
I asked if you have file server role on the original server (before sysprepping)? If so was it configured with DFS?
I asked if you have file server role on the original server (before sysprepping)? If so was it configured with DFS?
ASKER
Sulimanw: I will try to export/import later, because I can't shut it down now. I'll try it and back to you as soon as I've done trying export\import.
msmamji: On the original server TS01, I didn't set any File Server nor DFS config. Actually, I didn't set any role on TS01 yet, so it shouldn't be a problem should it?
msmamji: On the original server TS01, I didn't set any File Server nor DFS config. Actually, I didn't set any role on TS01 yet, so it shouldn't be a problem should it?
ASKER
Still looking for a good time to do this.
msmamji: On the original server TS01, I didn't set any File Server nor DFS config. Actually, I didn't set any role on TS01 yet, so it shouldn't be a problem should it?
msmamji: On the original server TS01, I didn't set any File Server nor DFS config. Actually, I didn't set any role on TS01 yet, so it shouldn't be a problem should it?
Yep. No problem in this case.
ASKER
Sulimanw:
I tried the export. After I exported I couldn't start up the VM normally. The only way I could get the VM started was to delete the exported file.
I tried the export. After I exported I couldn't start up the VM normally. The only way I could get the VM started was to delete the exported file.
"After I exported I couldn't start up the VM normally"
which VM the original or the copy?
which VM the original or the copy?
ASKER
The original.
ASKER
Any further thoughts?
ASKER
Still thinking?
Sorry for not post back here.
whats the exact error message you got ( screenshot if possible).
whats the exact error message you got ( screenshot if possible).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad you problem solved!
If I understand you, do you mean domain GPOs or local polices ? how did you change them if the VM cant start ?
If I understand you, do you mean domain GPOs or local polices ? how did you change them if the VM cant start ?
ASKER
It worked fine now, after I set GPOs to default (microsoft default - no costumized settings) on original TS01 and then copy to TS02