Set up a domain controller for a BI test environment

 

Applies to: SharePoint Server 2010

Important

This article is part of the baseline setup for the Configuring a BI infrastructure: Hands-on labs series. To complete the steps in this article, you must first have completed Hyper-V quick start for creating a BI test environment.

This article describes how to set up a domain controller on a virtual machine that is running Windows Server 2008 or Windows Server 2008 R2. This article and the remaining articles in this series assume that you have created the following infrastructure of virtual machines:

Virtual machine Operating system

Contoso-DC

Windows Server 2008 or Windows Server 2008 R2

Contoso-SQL

Windows Server 2008 or Windows Server 2008 R2

Contoso-AppSrv

Windows Server 2008 or Windows Server 2008 R2

Contoso-Client

Windows 7

To perform the procedures in this article, log on to the Contoso-DC virtual machine as an administrator.

Video demonstration

This video shows how to set up the Contoso-DC domain controller for use in these labs.

Image of video

Running time: 4:58

Play video Watch the video.

Download video For an optimal viewing experience, download the video.

Right-click the link, and then click Save Target As to download a copy. Clicking the link opens a .wmv file in the default video viewer for full-resolution viewing.

Configure the domain controller

The first step in setting up a domain controller is to set a static IP address. Domain controllers require static IP addresses to function correctly.

Important

Before you start, ensure that the network connection on the Contoso-DC virtual machine is set to Internal Network.

In this series of articles, we are using the 10.0.0.0 – 10.255.255.255 IP address range that is reserved for private networks. This address range is used on the internal network for the virtual domain. In situations where the External Network is used (such as for downloading Microsoft SharePoint Server 2010 prerequisites from the Internet), we assume that your existing corporate network will assign an appropriate IP address to the network adapter by using dhcp.

Depending on the network configuration, you may be able to use the 10.0.0.0 – 10.255.255.255 IP address range on a network adapter connected to your corporate network. This would enable you to span the virtual machines across multiple physical host computers. However, you should beware of potential IP address conflicts when you use static IP addresses of any kind on a shared network.

Perform the following procedure to configure a static IP address.

To configure a static IP address

  1. Click Start, and then click Control Panel.

  2. Click Network and Internet.

  3. Click Network and Sharing Center.

  4. Click Change Adapter Settings.

  5. Right-click the local area connection, and then click Properties.

  6. On the Local Area Connection Properties dialog box, clear the Internet Protocol Version 6 (TCP/IPv6) check box.

  7. Select Internet Protocol Version 4 (TCP/IPv4) and then click Properties.

  8. On the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, select the Use the following IP address option, and then type 10.0.0.1 in the IP address box.

  9. In the Subnet mask box, type 255.0.0.0.

  10. Select the Use the following DNS server addresses option, and then type 10.0.0.1 in the Preferred DNS server box.

  11. Click OK.

  12. Click Close.

  13. Click Close.

Once you have set the static IP address, you are ready to promote the virtual machine to a domain controller. This is performed at a command prompt by using the dcpromo command.

Note

The password that you chose for the local administrator account for this virtual machine becomes the domain administrator password as soon as the domain controller has been configured.

Perform the following procedure to configure the domain controller.

To configure the domain controller

  1. Click Start, click Run, type dcpromo, and then click OK.

  2. On the Welcome to the Active Directory Domain Services Installation Services page, click Next.

  3. On the Operating System Compatibility page, click Next.

  4. On the Choose a Deployment Configuration page, select the Create a new domain in a new forest option, and then click Next.

  5. In the Name the Forest Root Domain page, type contoso.local in the FQDN of the forest root domain box, and then click Next.

  6. On the Set Forest Functional Level page, select Windows Server 2008 from the dropdown list, and then click Next.

  7. On the Set Domain Functional Level page, select Windows Server 2008 from the dropdown list, and then click Next.

  8. On the Additional Domain Controller Options page, ensure that the DNS server check box is selected, and then click Next.

  9. On the warning dialog box, click Yes.

  10. On the Location for Database, Log Files, and SYSVOL page, keep the default values, and then click Next.

  11. On the Directory Services Restore Mode Administrator Password page, type and confirm a password, and then click Next.

  12. On the Summary page, click Next.

  13. When the wizard has finished running, click Finish.

  14. Restart the virtual machine.

Once the domain controller setup is complete, you can add the other virtual machines to the domain. See the next article, Add a virtual machine to the virtual domain in a BI test environment.