Infrastructure snapshots

The place where you will find posts for Microsoft infrastructure articles, info, latest news and offcourse articles that i create!

Lync Server 2010 RC lab deployment guide (Part 1)

Lync Server 2010 RC lab deployment guide (Part 1)

  • Comments 13
  • Likes

Do you want to build your own Lync lab and you need guideline, I’ll post a series of four parts for a walkthrough for my lab setup and configuration over the next period… So let’s start by part 1:

The Lab environment:

  • Windows 2008 R2 as the OS for Lync
  • Windows 2008 R2 Active Directory (mbdomain.ad)
  • 1 Lync server SE (The Standard Edition server supports IM, presence, A/V conferencing and Web conferencing)
  • 1 Lync consolidated Edge server (Will be used later)
  • TMG as the edge firewall and reverse proxy (Will be used later)
  • Windows 2008 R2 CA standalone
  • Windows 7 for the Lync client
  • Remote Admin is enabled on the Lync server

So I started with preparing the base OS, so I used a Windows Server 2008 R2 VHD from my image library and run the sysprep on it (don’t ever forget to select the Generalize option to create a new SID), attached it to my Hyper-V server and joined it to the domain (only the LyncSE server since Edge will be in workgroup). Now we need to install the following components on the Lync server as a setup prerequisites:

  • IIS with the below components:

Role Heading

Role Service

Common HTTP Features installed

Static Content

Common HTTP Features installed

Default Document

Common HTTP Features installed

HTTP Errors

Common HTTP Features installed

HTTP Redirection

Application Development

ASP.NET

Application Development

.NET Extensibility

Application Development

Internet Server API (ISAPI) Extensions

Application Development

ISAPI Filters

Health and Diagnostics

HTTP Logging

Health and Diagnostics

Logging Tools

Health and Diagnostics

Tracing

Security

Windows authentication

Security

Client Certificate Mapping Authentication

Security

Request Filtering

Performance

Static Content Compression

Management Tools

IIS Management Console

Management Tools

IIS Management Scripts and Tools

  • Remote Server Administration Tools (RSAT)
  • Microsoft .NET Framework 3.5 with SP1

You can use the below cmdlet for ease of deploying these components

Import-module Servermanager

Add-WindowsFeature NET-Framework,RSAT-ADDS,web-server,Web-Static-Content,Web-Default-Doc,Web-Http-Errors,Web-Http-Redirect,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Logging,Web-Log-Libraries,Web-Http-Tracing,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Mgmt-Console,Web-Scripting-Tools –Restart

  • From the installation media, navigate to \Setup\amd64\SQLNCLI.EXE and install the SQL Server native client program
  • MS Silverlight plug-in
  • Lync planning tool (can be downloaded from the web)
  • On the Lync server, I created a file share named Lyncshare. Configured the administrator account to have full rights. Configured everyone else to have read only privileges.

Now let’s see the installation process itself:

1. The Autorun will open the below IE page where I selected the install Lync Server 2010 option

clip_image001

2. First thing the setup prompted me to install the Microsoft Visual C++ 2008 redistributable, for sure I did

clip_image002

3. I accepted the default path below

clip_image003

4. First thing I selected the “prepare Active Directory” option

clip_image005

5. Run the ‘Prepare Schema’ option

clip_image007

6. Click on Next

clip_image009

7. After few min the schema extension finished successfully

clip_image011

8. Clicking on ‘view log’ showed the log with green status

clip_image013

9. Next step is ‘prepare current forest’ option

clip_image015

10. For the UG creation, I selected the local domain since I’m in a single domain anyway

clip_image017

11. Another green status

clip_image019

12. Now we need to prepare the current domain to set the ACEs for the UGs

clip_image021

13. Another green status

clip_image023

14. With this last step the Lync necessary groups are created in the mbdomain.ad

clip_image024

15. To allow access to the Lync admin control panel, manually I add the administrator account to the ‘CSAdministrator’ and the RTCUniversalServerAdmins UG

16. After that from the setup menu I selected to deploy the topology builder

clip_image025

17. Next step is to prepare my SE server to host the Central Management Service with the SQL express, you can do so from the deployment wizard by clicking on ‘Prepare first standard edition server’ option

clip_image027

18. Another green status

clip_image029

Now we are ready for the deployment itself, in part 2 I’ll take you through these steps (don’t worry part 2 is almost ready for bloggingSmile)…

Comments
  • Thank U very much~

  • Thank you very much for the articles.  You may want to change the titles to Lync Server 2010 RC so if things change in the RTM, people know this was based off of the RC.

  • Thanks iamme for your comment. I'll make sure to update the title to RC if things got changed with RTM or i'll udpate the post with the difference if there will be...

  • Excellent series of blogs. Just what I was looking for.

    One note: I think you  need to add a step for installing SQL Server Express. Without SQL express the installation will fail in Part 2.

  • Im pulling my hair out trying to figure how to get this to work externally as well! Does any have any experience getting this to work on the outside?

    Great article though..it works wonderfully internally.

  • I'm getting the following error when configuring on local domain: "Computer is not a member of the root domain. For security reasons, this action must be run on a root domain computer."  When I configure using a FQDN, I get the following error "Command execution failed: Cannot find the object "CrossRef" in Active Directory."

  • Josh, add ur domain user in enterprise admins, and log off - login again.

  • Excellent blog, when will the remaining part be ready? I'm eager to know how you will do the PBX part.

  • Is is possible to set up Lync Server 2010 with just one machine (Windows 2008 Server R2). ?

    Also: how do I "turn on" Active Directory?

    I'm looking for the simplest setup possible (for Lync Server 2010)

    I have Lync Server 2010 running on Windows 2008 Server R2.

    Thanks.

  • Thank you very much.

    It is very easy and usefull for new guys.

  • No coverage of edge and tmg configuration tutorial?

  • When running "get-CsAdDomain...." I got:

    Cannot find the object "CrossRef" in Active Directory.

    I'm running the command on the server which is member of the root domain and target domain was a child domain.

  • Petri X,

    technet.microsoft.com/.../gg412764.aspx.

    Look in the "Note" section under "Detailed description" - that might help you.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment