Add a virtual machine to the virtual domain in a BI test environment


Applies to: SharePoint Server 2010


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 Set up a domain controller for a BI test environment.

This article describes adding virtual machines to the contoso.local domain. For Microsoft SharePoint Server 2010 to function correctly, you must add the remaining virtual machines to the domain before you install Microsoft SQL Server and SharePoint Server 2010.

For this series of articles, we assume the following IP address, operating system, and minimum memory configuration for the domain:

Virtual machine Operating system IP address RAM


Windows Server 2008 R2

512 MB


Windows Server 2008 R2

2048 MB


Windows Server 2008 R2

2048 MB


Windows 7

1536 MB


The memory configurations in this table are the minimum recommended for this configuration. They enable you to deploy this environment on a host computer that has 8 gigabyte (GB) of RAM. If you experience performance issues, add memory, especially to the Contoso-AppSrv virtual machine.


To perform the steps in the Excel Services labs, you must install Microsoft Excel 2010 on the Contoso-Client virtual machine. To perform the steps in the Visio Services labs, you must install Microsoft Visio Professional 2010 or Microsoft Visio Premium 2010 on the Contoso-Client virtual machine.

Video demonstration

This video shows how to add a virtual machine to the domain.

Image of video

Running time: 3:55

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.

Configuring the virtual machine

Perform the following procedure for the Contoso-SQL, Contoso-AppSrv, and Contoso-Client virtual machines. Use the IP addresses listed in the table.


As with the domain controller, each virtual machine must have the virtual network adapter set to Internal Network before you configure the 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 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 the IP address for the virtual machine that you are configuring in the IP address box.

  9. In the Subnet mask box, type

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

  11. Click OK.

  12. Click Close.

Once the static IP address has been configured for each virtual machine, you can join the virtual machine to the contoso.local domain. Perform the following procedure on the Contoso-SQL, Contoso-AppSrv, and Contoso-Client virtual machines.


The default Windows Server 2008 firewall settings can interfere with the ability to join the computer to a domain. If you have problems joining the virtual machines to the domain, contact a network administrator for help. Because this is a private network that is not connected to the corporate network or the Internet, you can also consider turning off Windows Firewall.

To connect to the domain

  1. Click Start, right-click Computer, and then click Properties.

  2. Under Computer, name, domain, and workgroup settings, click Change settings.

  3. On the Computer Name tab, click Change.

  4. Select the Domain option, and then type contoso.local.


    Make sure the Computer name in this dialog box matches the virtual machine name in the previous table. If it does not, repeat this procedure after you join the domain and change the computer name to match the name in the table.

  5. Click OK.

  6. In the Windows Security dialog box, type Contoso\Administrator for the user name, and type the password for that account. (This is the administrator password that you configured for the Contoso-DC virtual machine.)

  7. Click OK.

  8. On the Welcome to the domain dialog box, click OK.

  9. On the Computer Name/Domain Changes dialog box, click OK.

  10. Click Close.

  11. Restart the virtual machine.

Once the virtual machines have been joined to the contoso.local domain, the next step is to set up the domain accounts that you need for SharePoint Server 2010 and its associated applications. See the next article, Set up accounts for a BI test environment.