How do you do....it? Thread, Creating a MS Active Directory test environment in Technical; How do you do it?
I want to replicate my Active Directory environment - complete with all of the data ...
2nd June 2013, 07:54 PM #1
Creating a MS Active Directory test environment
How do you do it?
I want to replicate my Active Directory environment - complete with all of the data and use it in an isolated test environment.
What's the best way to do this?Is there a standard MS tool for this?
I was tempted to create a new member server, DCPromo it and then take it offline - but I'm sure that cleaning up the mess afterwards would be non-trivial, besides I'd like to keep the name of the DC. Could I just use VMWare to replicate the machine, export it and run on a separate box?
Any gotchas (other than it accidentally going back on the original domain)?
2nd June 2013, 08:17 PM #2
P2V would probably be the quickest way of doing it. Either just keep it off network or dont add networking ability to the VM until you've altered the settings.
2nd June 2013, 08:19 PM #3
I have just got a VM built up on my PC called a new domain and a couple of clients connected to it and it does the job for testing things.
2nd June 2013, 08:28 PM #4
I really need the live test data with thousands of users/computers.
Originally Posted by MatthewL
2nd June 2013, 08:28 PM #5
Can I run P2V on a virtual machine then?
Originally Posted by synaesthesia
2nd June 2013, 08:31 PM #6
Ah, sorry didn't see t was already a VM. Just copy it over to another box/hypervisor then, stick with VMWare and you shouldn't have to do any conversion - if you do though, VMWare converter will do it all for you.
Thanks to synaesthesia from:
CyberNerd (2nd June 2013)
2nd June 2013, 08:41 PM #7
Thanks. I'll give that a try.
3rd June 2013, 08:08 PM #8
That worked pretty well.
For reference I did:
qemu-img convert /pathtovmdkfile.vmdk convertedbinfile.bin
Then I started virtualbox. Stripped the SATA controller and added an IDE controller.
VBoxManage convertdd convertedbinfile.bin convertedvdifile.vdi
booted to safemode, installed the virtualbox drivers and it all worked.
3rd June 2013, 11:54 PM #9
What do you use for backups? I've used Veeam to restore my DC in to a sandboxed environment. Gives me a good chance to test the backups
4th June 2013, 08:50 AM #10
@CyberNerd. It's worth considering changing the domain name and/or making sure you have some other means of making sure you are running scripts against the test rather than the live domain. It can be too easy if you happen to be working with both, to lose track and start running test scripts against the production server.
4th June 2013, 09:21 AM #11
It's ok. I'm only running it on a laptop at home for testing out some ldap user creation scripts.
4th June 2013, 09:23 AM #12
It always *starts* like that!
By WithoutMotive in forum Windows
Last Post: 6th February 2009, 12:20 PM
By calapso in forum How do you do....it?
Last Post: 14th January 2009, 07:32 PM
By DaveP in forum Windows Server 2008
Last Post: 3rd December 2008, 07:37 AM
By Wiseman82 in forum Wireless Networks
Last Post: 20th May 2008, 12:54 AM
By tosca925 in forum How do you do....it?
Last Post: 24th January 2006, 12:38 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)