This is the first step of Setup Virtual Environment for TFS 2013 - Using Virtualbox. Today I'm going to guide step by step on how to configure a primary domain controller (PDC) on an isolated network environment with Virtual Box.
01. Create a virtual hard disk (.vhd) in virtual box and install Windows 2008 R2 SP1(If you prefer to have Windows 2012 server you can use it as well and all steps more or less similar). Refer this post if you want more information or here is the manual. You can refer to this you tube video as well. Install the Guest Additions to get more control over the VM and host.
02. Once you are ready with the virtual box VM with Win2008R2SP1 shut down the VM and make copy of the virtual box hard disk. Name it as BaseWin2008R2SP1.vhd and keep it as the base hard disk so that you can use it to create other VMs required.
Whenever you want to create a new Win2008R2SP1 VM in virtual box, just make copy of the BaseWin2008R2SP1.vhd and name it as you wish. Then change the uuid as shown here and create a virtual box machine with that .vhd.
03. Now create a VM for PDC using the BaseWin2008R2SP1.vhd as described in above step. Set the network adapter as shown in below image. Provide a name for the Internal Network of Virtual box network(in my case it is Chaminda.net). For more information about different network options with virtual box refer here.
04. Set the other options of the PDC VM as shown below.
05. Start PDC VM and Open Network options and configure an IP. I chose 188.8.131.52
06. Change the VM name as PDC and restart.
07. After restart completed in the run window type dcpromo and hit return key
06. Active Directory Domain Service binaries will be installed and a wizard will popup.
07. Choose advance mode of installation.
08. Create a new domain in new forest
09. Give a name to root domain.
10. If you want a different name for the domain you can change the suggested name.
11. Set the functional level to Window 2008 R2 since we will not be adding additional domain controllers any way.
12. Configure DNS server.
say yes here
13. give a password that you can remember.
14. verify all selected options and hit next.
15. Restart the PDC
16. Password will be the password you have given for the administrator of the machine when you initially set up the machine.
17. PDC is ready now
18. Go to firewall and enable network discovery and file and printer sharing for the domain.
19. Verify IPv4 network properties.
20. Go to server manager and set DNS options as shown below.
If IPv6 is set here change it to IP of IPv4.(Right click to get properties)
If you do not understand exactly what you did..do not worry much. Believe me... I did not understand it very much when I did it for the first time..) and I ruined few attempts. After going through several networking articles figured it out a bit and got some help from networking expert to make it to this far.
So we are done with our primary domain controller. In the next post we can have a look at how to create a VM for TFS server and add it to our newly created domain.
Thursday, 19 December 2013
It is great if the latest updates to TFS can be applied as and when they are released. But for a large organization it might not be sometime...
Resolve MSB4019: The imported project "C:\Program Files\dotnet\sdk\1.0.0-rc4-004771\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found or Unable to start the process. No executable found matching command "dotnet-projectmodel-server"You might encounter compilation error in Visual Studio 2015 when a new .NET Core 1 web app is created, if you have installed Visual Studio 2...
TFS 2018 RC1 is now available and you can download it from https://www.visualstudio.com/downloads/ . Release note here explains the new fea...
You needed to setup dedicated machines for testing when using Run Functional Tests and you had to execute, Deploy Test Agent step and Copy...
This extension “ Chamindac.vsts.release.task.download-artifacts ” for VSTS and TFS 2015.2.1 upwards, can be used to filter for build artifac...