Microsoft Lync Server is the next generation unified communication server. In this article, I will design and deploy Lync Server 2010 on a test platform. You can follow through this article to make up your own Lync Server and modify your design according to your need.
Step1: Prepare a Design Download Microsoft Lync Server 2010, Planning Tool and assess your need for Unified Communication in your company.
In this design, I have shown a full scale deployment of Lync Server. However, you can choose to deploy a standard version of Lync. Once you design Lync Server. you need to create a list of IP address, FQDN and Certificate or you might write project documents and Visio design, Sample as follows.
|FQDN||Internal IP Address||External IP Address|
Necessary URLs and Ports
|Edge Access||https://edge.microsoftguru.com.au (internal)
http://web.microsoftguru.com.au (External-SIP, Web, AV)
443DNS SRV Service record
SRV Service: _sipinternaltls
Important! All the CANME and HOST (A) records must be present at internal DNS server. For external client access you must host all CNAME and public IP through your ISP. Don’t worry about the IP addresses I mentioned here. On a practical project, it will be different for sure.
SQL & File
Step2: Collect Prerequisites
Before you can actually deploy Lync Server 2010 you need to download following prerequisites, install and prepare environment.
- Windows Server 2008 R2 x64 Lync Server Roles
- Windows 7 installed on client computers.
- .NET 3.5 SP1 installed on all servers.
- Microsoft Silverlight browser plug-in installed on Standard Edition Server and Director
- Active Directory Administrative tools feature installed on Standard Edition Server and Director
- All clients and servers are up to date with patches from Windows Update.
- Domain controller is running Windows Server 2008 R2 or Windows Server 2008 configured as a DC, DNS and CA
- FF TMG 2010 is running on Windows Server 2008 R2
- Service Account or Management user account as Domain Admin
A typical Installation of Lync Server involves completion of the following installation Wizard shown as 1, 2 and 3.
Step3: Understanding Lync Server Roles
Internal Users: Lync Server Standard can provide IM, A/V Conferencing, Web Conferencing
External Users: Edge Server, Director and reverse-proxy server provide remote user access, federation, and conferencing
Step4: DNS Creationyou must create all the DNS records, CNAME record, SRV Service Location. I am showing DNS SRV Record here but you can create an Alias records and Host A record yourself. To create a DNS SRV record
- On the DNS server, click Start Menu >click Control Panel>click Administrative Tools>click DNS
- In the console tree for your SIP domain, expand Forward Lookup Zones>right-click the SIP domain in which your Lync Server will be installed> Click Other New Records.
- In Select a resource record type>click Service Location (SRV)>click Create Record>Click Service and type _sipinternaltls.
- Click Protocol and type _tcp.
- Click Port Number, and type 5061
- Click Host offering this service> type the FQDN of the pool
- Click OK>Click Done.
Step5: Prepare Environment Prior to deployment, you must install all the servers as their required platform and join domain. On Lync Server, install following windows roles and features
- IIS 7.0
- Active Directory Admin Tools
- SQL Server 2008 with Native Tools (Available in Lync ISO )
- Windows PowerShell
- Enable Remote Admin
- Prepare File Share
On the Standard Edition server, create a file share named share. Configure the administrator account to have full rights. Configure everyone else to have read only privileges. On the Standard Edition server and Director, enable remote administration of the server. Allow Firewall Rules exception for SQL Server and remote administration. Open Command Prompt in Lync Server as an Administrator and Type as follows
netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = SUBNET profile = CURRENT
netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = localsubnet profile = DOMAIN
To create an exception for SQL Server in Windows Firewall, follow these steps:
- In Windows Firewall, click the Exceptions tab>click Add Program.
- In the Add a Program window, click Browse.
- Click the C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBinnsqlservr.exe executable program, click Open, and then click OK.
Open SQL Server Configuration Manager>Expand SQL Server Network Configuration>Select Protocols>Enable TCP/IP
Step6: Prepare Domain, Forest and Schema
Insert Lync Server DVD>Run Lync Server 2010 Setup
Click on Prepare Active Directory. Follow the screenshots. Run Prepare Schema, Prepare Domain, Prepare Forest.
Step7: Lync Server Privileged Access
Now Open Active Directory Users and Computer Console. Add Users Account whoever installing Lync Server and will be administering Lync Server to the following Groups.
Step8: Create a Topology using Topology Builder
In this step, we’ll use the Planning Tool to define our initial topology. The Planning Tool populates the topology with some initial sample data that will be exported to Topology Builder. Once you import .xml file in Topology Builder, you can edit Topology according to desired IP, Port and URLs.
To configure Admin Site, In Topology Builder, click Lync Server 2010 from the left hand pane>Click Edit Properties>Click Simple URLs. Under Administrative access URL: type https://admin.contoso.net. Click OK to close the Edit Properties window.
Step9: Deploy Lync Server 2010 Standard Edition
Now that the topology has been published to the Central Management Store, you must install a local replica on the Standard Edition Server, followed by the Director. Additionally, you can install the core components and start the services.
On the Deployment Wizard page, click Install or Update Lync Server System. On the Lync Server 2010 page, Install Local Configuration Store, click Run. On the Local Server Configuration page, ensure that the Retrieve configuration automatically from the Central Management Store option is selected, and then click Next. When the Local Server Configuration installation is complete, click Finish.
Setup or Remove Lync Server Components, click Run. On the Setup Lync Server Components page, click Next to set up components as defined in the published topology. When Lync Server components setup completes, click Finish.
In the Lync Server Deployment Wizard, Request, Install or Assign Certificates, click Run.
On the Certificate Wizard page, click Request>click Next.
Immediate Requests page, accept the default Send the request immediately option, and then click Next>accept the default. On the Certification Authority Account page, click Next. On the Name and Security Settings page, for Friendly Name enter Lync Server, accept the remaining defaults, and then click Next.
On the Organization Information page, optionally provide organization information>click Next. On the Geographical Information page>provide State, Country, City, click Next>click Next. On the SIP Domain setting page, select the SIP Domain and then click Next>click Next. On the Certificate Request Summary page, click Next>click Next>click Finish. On the Certificate Assignment page, click Next>click Next>click Finish>click Close.
In the Lync Server Deployment Wizard, on the Lync Server 2010 page, click the Run button>Click Start Services. On the Start Services page, click Next to start the Lync Server services on the server. On the Executing Commands page, after all services have started successfully, click Finish.
In the Lync Server Deployment Wizard, Start Services>Click Run
Open Command Prompt>Type Services.msc hit Enter. Now check all the services related Lync Server are running.
Click on Start Menu>Click All Program>Click Lync Server 2010>Click Lync Server Control Panel
Click Users>Find Active Directory test users>Enable users for Lync Server.
Define SIP Domain, Log on format and Lync Pool. Click Enable.
Step10: Install Lync Client and Test Lync
Install Lync Client on any Windows7 SIP domain client. Click Start Menu>Click All Program>Click Microsoft Lync Client>Click Tools>Click Option as shown on the picture.
Click Manual Configuration>Type Lync.Microsoftguru.com.au>Click Ok.
Type sign-in address as firstname.lastname@example.org
Type users name as microsoftgurutest and password. Hit Sign-in. you are not logged on to Lync Client.