Share via


Hosting the Lync Server 2013 Test Lab with Windows Server 2012 Hyper-V

The Lync Server 2013 test lab consists of five separate computers on the Corpnet subnet:

  • DC1: The domain controller, DNS server, and DHCP server
  • APP1: A web and file server
  • LYNC1: A Lync Server 2013 server
  • CLIENT1 and CLIENT2: Client computers

All computers are members of the corp.contoso.com AD DS domain.

The following figure shows the Lync Server 2013 test lab.

This figure shows the computers and their connections using a hub or switch. You can implement this configuration using physical computers and a switch, virtual computers and a switch, or a combination of physical and virtual components.

If you are using Windows Server 2012 Hyper-V for your virtualization solution, you can configure the integrated test lab on a single Hyper-V server as shown in the following figure (click on it for a larger version):

The key elements of this configuration are the following:

  • All five computers (DC1, APP1, LYNC1, CLIENT1, and CLIENT2) are virtual machines running on the Hyper-V server.
  • The Corpnet subnet is implemented as the Corpnet private virtual switch, to which all seven computers are connected.
  • The Hyper-V server has at least one physical network adapter that connects to your organization intranet and the Internet. You can use this connection to connect a computer to the real Internet to install software or updates. For more information, see How do I get my base configuration computers on the Internet?

To build out the Lync Server 2013 test lab in Windows Server 2012 Hyper-V, do the following:

  1. Create a private virtual switch named Corpnet. For the steps to do this, see Creating a new virtual switch.
  2. Create a new virtual machine named DC1 that is connected to the Corpnet virtual switch. For the steps to do this, see Creating a new virtual machine.
  3. Create new virtual machines named APP1, LYNC1, CLIENT1, and CLIENT2, all of which connect to the Corpnet virtual switch.
  4. Follow the instructions in the Test Lab Guide: Demonstrate Lync Server 2013.
    • Step 1 installs and configures DC1, APP1, and CLIENT1. To install Windows Server 2012 or Windows 8 on a virtual machine, see Installing an operating system on a new virtual machine.
    • Steps 2 and 3 install and configure CLIENT2.
    • Steps 4 and 5 install and configure LYNC1.
    • Step 6 demonstrates Lync Server 2013 functionality with CLIENT1 and CLIENT2.
Windows PowerShell commands
The following Windows PowerShell commands perform the same function as steps 1-3 of the preceding procedure. You must supply values for the –MemoryStartupBytes and -NewVHDSizeBytes parameters for each virtual machine. Enter each command on a single line, even though they may appear word-wrapped across several lines here because of formatting constraints.

New-VmSwitch -Name Corpnet -SwitchType Private
New-VM –Name DC1 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes <DiskSize> –SwitchName Corpnet New-VM –Name APP1 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes <DiskSize> –SwitchName Corpnet
New-VM –Name LYNC1 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes < DiskSize> –SwitchName Corpnet
New-VM –Name CLIENT1 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes < DiskSize> –SwitchName Corpnet
New-VM –Name CLIENT2 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes < DiskSize> –SwitchName Corpnet

 

For additional Hyper-V test lab configuration articles, see Hosting Test Lab Guide Environments in Windows Server 2012 Hyper-V.

For more information, see Test Lab Guides.

For the latest developments in the Test Lab Guides initiative, see the Microsoft Test Lab Guides blog  .