Você está na página 1de 161

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Microsoft Lync Server 2010


Published: March 2012

This document is provided as-is. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. Copyright 2012 Microsoft Corporation. All rights reserved.

Contents
Administrator Rights and Permissions Required for Setup and Administration............................1 Delegate Setup Permissions.................................................................................................... 3 Deploying Lync Server 2010 Enterprise Edition...........................................................................4 Preparing the Infrastructure and Systems................................................................................5 Set Up Hardware and the System Infrastructure...................................................................5 System Requirements for Enterprise Edition Servers...........................................................7 Install Operating Systems and Prerequisite Software on Servers.........................................7 Request Certificates in Advance (Optional).........................................................................10 Configure IIS....................................................................................................................... 11 IIS Configuration.............................................................................................................. 11 Re-Activate Server After Security Configuration Wizard Closes Ports in IIS....................13 Configure SQL Server for Lync Server 2010.......................................................................13 SQL Server Data and Log File Placement.......................................................................14 Configure SQL Server..................................................................................................... 18 Deployment Permissions for SQL Server........................................................................19 Database Installation Using Lync Server Management Shell..........................................21 Understanding Firewall Requirements for SQL Server....................................................24 Configure SQL Server Clustering....................................................................................25 Configure DNS Records for a Front End Pool.....................................................................28 DNS Requirements for Front End Pool............................................................................28 Configure DNS Host Records..........................................................................................33 Create and Verify DNS SRV Records..............................................................................33 Configure DNS for Load Balancing..................................................................................35 Defining the Topology in Topology Builder..............................................................................37 Topology Builder Installation Requirements........................................................................38 Administrator Rights and Permissions Required for Setup and Administration................38 Server and Tools Operating System Support...................................................................41 Administrative Tools Software Requirements..................................................................43 Requirements to Publish a Topology...............................................................................44 Install Lync Server Administrative Tools..............................................................................45 Defining and Configuring the Topology...............................................................................46 Define and Configure a Topology in Topology Builder.....................................................47 Define and Configure a Front End Pool...........................................................................51 Define a New A/V Conferencing Server...........................................................................64 Edit or Configure Simple URLs........................................................................................ 64 Edit Federation Route Settings........................................................................................ 71 Finalizing and Implementing the Topology Design.................................................................71 Verify the Topology Design.................................................................................................. 71 Requirements to Publish a Topology...................................................................................72 Publish the Topology........................................................................................................... 73 Setting Up Front End Servers and Front End Pools...............................................................80 Install the Local Configuration Store...................................................................................81

Install Front End Servers..................................................................................................... 82 Delegate Setup Permissions...............................................................................................82 Configure Certificates for Front End Servers......................................................................83 Start Services on Front End Servers.................................................................................101 Test the Pool Deployment................................................................................................. 101 Setting Up Kerberos Authentication......................................................................................103 Prerequisites for Enabling Kerberos Authentication..........................................................103 Create a Kerberos Authentication Account........................................................................104 Assign a Kerberos Authentication Account to a Site.........................................................106 Setting Up Kerberos Authentication Account Passwords..................................................107 Set a Kerberos Authentication Account Password on a Server.....................................107 Synchronize a Kerberos Authentication Account Password to IIS.................................108 Add Kerberos Authentication to Other Sites......................................................................109 Remove Kerberos Authentication from a Site...................................................................109 Testing and Reporting the Status and Assignment of Kerberos Authentication.................110 Test and Report Functional Readiness for Kerberos Authenticaion...............................110 Report Kerberos Account Assignments..........................................................................110 Adding Server Roles............................................................................................................. 111 Deploying a Stand-alone A/V Conferencing Server.................................................................112 Define the A/V Conferencing Server in Topology Builder......................................................112 Publish the Topology............................................................................................................. 114 Install the Local Configuration Store.....................................................................................121 Install Lync Server 2010 on the A/V Conferencing Server....................................................122 Configure Certificates for Stand-alone A/V Conferencing Servers.......................................123 Start Services on the A/V Conferencing Server....................................................................124 Configuring Dial-in Conferencing.............................................................................................125 Dial-in Conferencing Configuration Prerequisites and Permissions.....................................126 Deployment Process for Dial-In Conferencing......................................................................129 Configure Dial Plans for Dial-in Conferencing......................................................................134 Create a Dial Plan............................................................................................................. 134 Modify a Dial Plan............................................................................................................. 137 Defining Normalization Rules............................................................................................139 Create or Modify a Normalization Rule by Using Build a Normalization Rule................139 Create or Modify a Normalization Rule Manually...........................................................141 Ensure Dial Plans Have Assigned Regions..........................................................................142 (Optional) Verify PIN Policy Settings....................................................................................143 Modify the Default Dial-in Conferencing PIN Settings.......................................................144 Create or Modify Dial-in Conferencing PIN Settings for a Site or Group of Users.............145 Configure Conferencing Policy for Dial-in.............................................................................146 Configure Dial-in Conferencing Access Numbers.................................................................147 Create or Modify a Dial-in Conferencing Access Number.................................................148 (Optional) Verify Dial-in Conferencing Settings....................................................................150 (Optional) Modify Key Mapping for DTMF Commands.........................................................150 (Optional) Enable and Disable Conference Join and Leave Announcements......................151 (Optional) Verify Dial-in Conferencing..................................................................................153 Deploy the Online Meeting Add-in for Microsoft Lync 2010..................................................153

Configure User Account Settings.......................................................................................... 153 (Optional) Welcome Users to Dial-in Conferencing..............................................................154

Administrator Rights and Permissions Required for Setup and Administration


Setup and deployment of Microsoft Lync Server 2010 requires that the person installing and deploying the software be a member of local or domain-level groups. Administrative tools for Lync Server 2010 can require additional permissions.

Group Membership Requirements


The following table summarizes the group or groups that a person should belong to in order to successfully install, manage, and troubleshoot Lync Server 2010.
Lync Server Executable Group Membership Required

Setup.exe Executable that starts the installation of the Lync Server administrative tools.

Member of the Local Administrators group on the computer from which the executable is run. Member of Domain Users group to read information in Active Directory Domain Services (AD DS). This level of permission is required because the automatic installation of required MSI packages on the local computer requires privileges that allow reading from and writing to protected local computer resources such as Program Files directories, and protected registry such as the Local Machine hive. Tip: You can also delegate setup permissions to users or groups to whom you do not want to grant membership in the Domain Admins group. For details, see Granting Setup Permissions in the Deployment documentation.

Deploy.exe Called by setup.exe, deploy.exe is responsible for the deployment of the software components for the server roles.

Member of the Local Administrators group on the computer from which the executable is run. Member of Domain Users group to read information in AD DS. This level of permission is required because the automatic installation of required MSI packages on the local computer requires privileges that allow reading from and writing to protected local computer resources such as Program Files directories, and protected registry such as the Local Machine

Lync Server Executable

Group Membership Required

hive. Membership in RtcUniversalReadOnlyAdmins group is necessary to read the Central Management store. Note: If you are running the Windows Vista operating system or Windows 7 operating system, you will be prompted by User Account Control (UAC) to proceed with installation. If you are logged on with a standard user account, you will need someone who is a member of the Local Administrators group to provide credentials when prompted for an account with permissions to install the software. Bootstrapper.exe Called by setup.exe, bootstrapper.exe is responsible for deployment and configuration of server roles. Member of the Local Administrators group on the computer from which the executable is run. Member of Domain Users group to read information in AD DS. This level of permission is required because the automatic installation of required MSI packages on the local computer requires privileges that allow reading from and writing to protected local computer resources such as Program Files directories, and protected registry such as the Local Machine hive. Member of the Local Administrators group on the computer from which the executable is run. The executable is manifested as requireAdministrator. Member of the Local Administrators group on the computer from which the executable is run to view the topology. Member of the RTCUniversalServerAdmins group to change configuration settings. Member of the RTCUniversalServerAdmins group and Domain Admins group, or member of the RTCUniversalServerAdmins group (only if the group has been granted delegate setup permissions), to publish the topology. For

OCSLogger.exe Administrative troubleshooting tool for capturing messages on server roles. TopologyBuilder.msc Wizard-driven user interface to create, view, adjust, and validate Lync Server topologies.

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Lync Server Executable Group Membership Required

details about delegating setup permissions to allow members of the RTCUniversalServerAdmins group to publish the topology without being members of the Domain Admins group, see Granting Setup Permissions in the Deployment documentation. AdminUIHost.exe Web-based graphical user Member of CsAdministrator group or member of interface for managing Lync Server. another role-based access control (RBAC) role to which the specific administrative task is assigned. Microsoft Lync Server 2010 Control Panel implements configuration changes by running Lync Server Management Shell cmdlets. For a list of predefined roles and the cmdlets members are permitted to run, see Role-Based Access Control in the Planning documentation. PowerShell.exe with the Lync Server module loaded Command-line administrative tool with cmdlets specific to management of Lync Server. Member of CsAdministrator group or member of another RBAC role to which the specific cmdlet has been assigned. For a list of predefined roles and the cmdlets members are permitted to run, see Role-Based Access Control in the Planning documentation. Or, member of one or more of the following groups, depending on the cmdlet: RTCUniversalServerAdmins RTCUniversalUserAdmins RTCUniversalReadOnlyAdmins

The group memberships in the preceding table represent the minimum memberships. Other memberships which will grant the permissions necessary to initiate the setup and deployment are possible, including membership in the Domain Admins group or Enterprise Admins group. See Also Install Lync Server Administrative Tools

Delegate Setup Permissions


If you do not want to grant membership in the Domain Admins group to users or groups who are deploying Microsoft Lync Server 2010, you can enable members of the RTCUniversalServerAdmins group to run the Enable-CsTopology Windows PowerShell cmdlet on servers running Lync Server 2010. By default, members of the RTCUniversalServerAdmins group do not have the ability to run this cmdlet. You grant permissions to run Enable-

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

CsTopology on servers running Lync Server by using the Grant-CsSetupPermission cmdlet and specifying an organizational unit (OU) where computer objects for the server running Lync Server are located. Note: Enable-CsTopology is the key cmdlet to allow the RTCUniversalServerAdmins group members to set up and deploy Lync Server. To add the ability to run Enable-CsTopology to the RTCUniversalServerAdmins group 1. Log on to a server as a member of the Domain Admins group for the domain on which the delegated user will run Enable-CsTopology. 2. Open the Lync Server Management Shell. The Lync Server Management Shell is automatically installed on each Front End Server or any computer where the Lync Server 2010 administrative tools have been installed. For details about the Lync Server Management Shell, see Lync Server Management Shell in the Operations documentation. 3. Run the following cmdlet from the Lync Server Management Shell: Grant-CsSetupPermission ComputerOU <DN of the OU> -Domain <Domain FQDN> In the following example, the OU is Lync Servers, which is in the contoso.com domain. Grant-CsSetupPermission ComputerOU OU=Lync Servers Domain contoso.com

Deploying Lync Server 2010 Enterprise Edition


Deployment of Microsoft Lync Server 2010, Enterprise Edition requires using Topology Builder to define your topology and the components you want to deploy, preparing your environment for deployment of the Lync Server 2010 components, importing and publishing your topology design on the first Front End Server, and then installing and configuring Lync Server 2010 software for the components for your deployment. Tip: Before you begin, watch the short video at http://go.microsoft.com/fwlink/?LinkId=207819 for an overview of using Topology Builder to set up your first Lync Server Front End pool. This documentation provides a staged approach to the Enterprise Edition deployment, starting with the minimum configuration required to get you up and running. The initial Enterprise Edition topology deployment described in this section includes the following environment and components: A single forest, single domain Active Directory structure A single domain controller with Domain Name System (DNS) and an Enterprise Root certification authority (CA) An Enterprise Edition Front End pool consisting of:

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Two Front End Servers

Collocated Mediation Server and collocated A/V Conferencing Server on the Front End Servers A SQL Server-based Back End Server that also contains the Central Management store This documentation then describes how to add optional server roles and components to the initial Enterprise Edition deployment. These optional server roles and components include one or more Directors, a stand-alone A/V Conferencing Server, and a stand-alone Mediation Server. After deployment of your Front End pool, you can deploy other server roles and features, such as Edge Servers to support external user access.

In This Section
Preparing the Infrastructure and Systems Defining the Topology in Topology Builder Finalizing and Implementing the Topology Design Setting Up Front End Servers and Front End Pools Setting Up Kerberos Authentication Adding Server Roles

Preparing the Infrastructure and Systems


Deployment of Microsoft Lync Server 2010 requires the use of Topology Builder to define and publish the topology design. To identify the components required for your topology, you use Topology Builder to create and save a topology design. To publish and enable the topology, you need the internal servers to be represented by computer accounts in Active Directory Domain Services (AD DS). This is accomplished by joining the computers to AD DS. You also must have the file share created, and the person publishing the topology must have permissions to access the file share. For SQL Server setup to succeed, the SQL Server-based server must be online and the person publishing the topology must have permissions to access the instance that Topology Builder is setting up.

In This Section
Set Up Hardware and the System Infrastructure System Requirements for Enterprise Edition Servers Install Operating Systems and Prerequisite Software on Servers Request Certificates in Advance (Optional)

Set Up Hardware and the System Infrastructure


Setting up the hardware and other components required in the infrastructure that you need to implement your topology requires that, prior to publishing your topology in Topology Builder, you do the following:

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Install the hardware for each component in the topology design that you created and saved by using Topology Builder, including all required computers (servers running Lync Server 2010, database servers, servers running Internet Information Services (IIS), and reverse proxy servers, as appropriate), network adapters, hardware load balancers, and storage devices (such as file servers). For details about how to define a topology that specifies the components needed for your deployment, see Defining the Topology in Topology Builder. For details about hardware requirements for servers, see Supported Hardware in the Supportability documentation. Ensure that the networking infrastructure meets requirements. For details, see Network Infrastructure Requirements in the Planning documentation. Set up Active Directory Domain Services (AD DS). Setting up AD DS includes preparing AD DS and defining all components that you want to deploy in AD DS. For details about preparing AD DS, see Preparing Active Directory Domain Services for Lync Server 2010 in the Deployment documentation. Set up the required permissions for creating the file share. Permissions for use of file shares by Lync Server 2010 are automatically configured by Topology Builder when you publish your topology. However, the user account used to publish the topology must have full control (read/write/modify) on the file share in order for Topology Builder to configure the required permissions. To ensure that the file share can be managed properly during the Topology Builder publishing process, the user or domain group that the user is a member of should be made a member of the local Administrators group on the machine where the file share is located. In a multi-domain scenario, Domain A user or group should be made a member of the local Administrators group on the machine in Domain B where the file share will be located.

Warning: The file share for Lync Server 2010, Enterprise Edition cannot be located on the Front End Server. Install and set up the hardware load balancer for Web Services. With Domain Name System (DNS) load balancing deployed, you still need to also use hardware load balancers for these pools, but only for HTTP/HTTPS traffic. The hardware load balancer is used for HTTPS traffic from clients over ports 443 and 80. Although you still need hardware load balancers for these pools, their setup and administration will be primarily for HTTP/HTTPS traffic, which the administrators of the hardware load balancers are accustomed to. After you complete all of the preparation tasks as described in this topic, but prior to publishing the topology, you also need to: Install Operating Systems and Prerequisite Software on Servers Configure IIS Configure SQL Server for Lync Server 2010 Understanding Firewall Requirements for SQL Server Configure DNS Records for a Front End Pool

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

System Requirements for Enterprise Edition Servers


Servers running Microsoft Lync Server 2010, Enterprise Edition are intended for large organizations as the main organizational deployment. Enterprise Edition server is designed to scale to approximately 80,000 homed users per pool. The main difference between Enterprise Edition and Standard Edition is Standard Edition does not support the high availability features of Enterprise Edition. For high availability, multiple Front End Servers are deployed to a pool, the SQL Server-based server can be clustered, and the SQL Server database is deployed as a dedicated SQL Server-based server and maintains instances of data for the Front End pools. With Enterprise Edition server you can choose to collocate or define stand-alone servers for A/V Conferencing Server and Mediation Server. The Monitoring Server and Archiving Server can use a stand-alone SQL Server-based database server, or can have instances created on the SQL Server-based server for the Front End Servers and pools. Operating System Installation Important: Lync Server 2010 is available only in a 64-bit edition, which requires 64-bit hardware and a 64-bit edition of the Windows Server operating system. A 32-bit edition of Lync Server 2010 is not available with this release. Enterprise Edition server can use any of the following: Windows Server 2008 x64 SP2 Windows Server 2008 R2

Install the operating system software on the Enterprise Edition Front End Server. Apply all updates in order to bring the operating system up to the latest update and required update level consistent with your organizations standards. Lync Server 2010 requires Microsoft .NET Framework 3.5 with SP1. You should also apply the update discussed in Microsoft Knowledge Base article 981575, A memory leak occurs in a .NET Framework 2.0-based application that uses the AesCryptoServiceProvider class, at http://go.microsoft.com/fwlink/?LinkId=202909. Additional Software for Lync Server 2010 In addition to the updates required for the operating system, Lync Server 2010 requires operating system roles, features, and software to operate. For details about the additional software that must be installed prior to publishing your topology and installing Lync Server 2010, see Additional Software Requirements in the Planning documentation.

Install Operating Systems and Prerequisite Software on Servers


After you have set up the hardware and system infrastructure, you need to install the appropriate Windows operating systems and updates, in addition to all other prerequisite software on each server that you are deploying. This includes each Lync Server 2010 server role and any additional infrastructure servers and SQL Server-based servers required for your deployment. Note: This section describes installation of operating systems and prerequisite software for internal servers. If you are deploying Edge Servers to support external user access, you will also need to install operating systems and prerequisite software for those servers,

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

including Edge Servers and reverse proxy servers. For details about preparing servers to support external user access, see Preparing for Installation of Servers in the Perimeter Network in the Deploying Edge Servers documentation. Install Windows Operating Systems on Servers On each server that you are deploying, install the appropriate Windows operating system: Servers running Lync Server 2010. For details about the operating system requirements for servers running Lync Server 2010, see Server and Tools Operating System Support in the Supportability documentation. Database servers. For details about operating system requirements for database servers, including the back-end database, Archiving database, and Monitoring database, see the SQL Server documentation. For SQL Server 2005, see the SQL Server Books Online 2005 at http://go.microsoft.com/fwlink/?LinkID=202922. For SQL Server 2008, see the SQL Server 2008 Books Online at http://go.microsoft.com/fwlink/?LinkID=202921. For SQL Server 2008 R2, see the SQL Server 2008 R2 Books Online at http://go.microsoft.com/fwlink/? LinkId=218015. Install Windows Update on Servers Install the Windows Update required by Lync Server 2010 on each server: Windows Update for servers running Lync Server 2010. For details about the Windows Update required for servers running Lync Server 2010, see Additional Software Requirements in the Planning documentation. Database servers. For details about the Windows Update required for database servers, including the back-end database, Archiving database, and Monitoring database, see the SQL Server documentation. For SQL Server 2005, see the SQL Server Books Online 2005 at http://go.microsoft.com/fwlink/?LinkID=202922. For SQL Server 2008, see the SQL Server 2008 Books Online at http://go.microsoft.com/fwlink/?LinkID=202921. For SQL Server 2008 R2, see the SQL Server 2008 R2 Books Online at http://go.microsoft.com/fwlink/? LinkId=218015. Install Other Prerequisite Software on Servers Lync Server 2010 requires the installation of additional software on servers: Prerequisite software for servers running Lync Server 2010. The additional software prerequisites for servers running Lync Server depend on the server role being deployed. For details about the specific software requirements for each server, see Additional Software Requirements in the Planning documentation. Lync Server requires Microsoft .NET Framework 3.5 with SP1. You should apply the update discussed in the Microsoft Knowledge Base article 981575, A memory leak occurs in a .NET Framework 2.0-based application that uses the AesCryptoServiceProvider class at http://go.microsoft.com/fwlink/?LinkId=202909. You should also apply the update discussed in the Microsoft Knowledge Base article 975954, FIX: When you run a .NET Framework 2.0based application, a System.AccessViolationException exception occurs, or a dead-lock occurs on two threads in an application domain at http://go.microsoft.com/fwlink/? LinkId=205337.

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Prerequisite software for database servers. For details about the Windows Update required for database servers, including the back-end database, Archiving database, and Monitoring database, see the SQL Server 2008 documentation at http://go.microsoft.com/fwlink/?LinkId=202921 and SQL Server 2008 R2 documentation at http://go.microsoft.com/fwlink/?LinkId=218015. Note: Lync Server 2010 automatically installs SQL Server 2008 Express on each Standard Edition server and each Lync Server 2010 server on which the local configuration store is located. After deploying the servers, you can upgrade the RTC database on the Standard Edition server and the RTCLocal databases on other server roles to SQL Server 2008 R2 Express by running the SQL Server 2008 R2 Express setup wizard and selecting the upgrade option. Repeat this process for each RTC and RTCLocal database. Windows Media Format Runtime All Front End Servers and Standard Edition servers where conferencing will be deployed must have the Windows Media Format Runtime installed. The Windows Media Format Runtime is required to run the Windows Media Audio (.wma) files that the Call Park, Announcement, and Response Group applications play for announcements and music. We recommend that you install Windows Media Format Runtime before you install Lync Server 2010. If Lync Server 2010 does not find this software on the server, it will prompt you to install it, and then you must restart the server to complete installation. Important With the release of Windows Server 2008 R2 SP1, the name of the package that contains the Windows Media Format runtime has changed. The scripted methods in the Deployment Wizard for Lync 2010 Server do not yet reflect the updated package name. If you are deploying Lync Server to a computer running Windows Server 2008 R2 SP1, you must install the Windows Media Format runtime by using the command line cited below, and then restart the system to apply the change. If you use the Deployment Wizard prior to applying the runtime, the runtime will not install because the Deployment Wizard tries to apply the Windows Server 2008 or Windows Server 2008 R2 runtime, and fails because the package Deployment Wizard expects does not exist. The error may be missed because it is a subtle error. You resolve this issue by either applying the runtime prior to running the Deployment Wizard or after you run the Deployment Wizard. Restart the computer to complete the installation of the runtime. To install the Windows Media Format Runtime on servers running Windows Server 2008, use the following command: %systemroot%\system32\pkgmgr.exe /quiet /ip /m:%windir %\servicing\Packages\Microsoft-Windows-Media-FormatPackage~31bf3856ad364e35~amd64~~6.0.6001.18000.mum To install the Windows Media Format Runtime on servers running Windows Server 2008 R2, use the following command:

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

%systemroot%\system32\dism.exe /online /add-package /packagepath: %windir%\servicing\Packages\Microsoft-Windows-Media-FormatPackage~31bf3856ad364e35~amd64~~6.1.7600.16385.mum /ignorecheck To install the Windows Media Format Runtime on servers running Windows Server 2008 R2 SP1, use the following command: %systemroot%\system32\dism.exe /online /add-package /packagepath: %windir%\servicing\Packages\Microsoft-Windows-Media-FormatPackage~31bf3856ad364e35~amd64~~6.1.7601.17514.mum /ignorecheck Message Queuing. Message Queuing (also known as MSMQ) role components and Directory Service Integration should be installed on the Front End Server, and the Archiving Server if you plan to deploy the Lync Server 2010 Archiving Server roles. The Message Queuing components can be found in Server Manager or can be deployed by using servermanagercmd.exe . For details, see "Install Message Queuing" at http://go.microsoft.com/fwlink/?LinkId=205338. To install Message Queuing by using the Add-WindowsFeature Windows PowerShell cmdlet, do the following: a. On the Windows Server 2008 R2 x64 operating system, use Windows PowerShell 2.0. b. At the Windows PowerShell prompt, type: Import-Module servermanager, and then press Enter. c. Type: Add-WindowsFeature press Enter. MSMQ-Server, MSMQ-Directory, and then

Request Certificates in Advance (Optional)


Certificates are required for all internal servers that are running Microsoft Lync Server 2010, including each Enterprise Edition Front End Server, Standard Edition server, Director, stand-alone A/V Conferencing Server, and stand-alone Mediation Server. Although an internal enterprise certification authority (CA) is recommended for internal servers, you can also use a public CA. For details about certificate requirements and about the use of a public CA, see Certificate Requirements for Internal Servers in the Planning documentation. Lync Server 2010 setup includes the Certificate Wizard, which facilitates the tasks of requesting, assigning, and installing certificates during deployment. If you want to request certificates prior to installing servers (for instance, to save time during actual deployment of servers), you can do so by using a computer on which the Lync Server 2010 administrative tools are installed or by using a certificate request procedure defined in your organization, as long as you ensure that the certificates are exportable and contain all the required subject alternative names. Requesting certificates in advance is optional; if you do not request them in advance, you must request them as part of the setup of each server that requires a certificate.

10

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

This Deployment documentation provides procedures for using the Certificate Wizard to request certificates as part of the setup process, as described in the Configure Certificates for Front End Servers, Configuring Certificates for Standard Edition Servers, Configure Certificates for the Director, Configure Certificates for Stand-alone A/V Conferencing Servers, and Install the Files for Mediation Server sections of this Deployment documentation. If you request certificates in advance, you must modify the certificate deployment procedures in those sections as appropriate to importing and assigning the certificates instead of requesting them at the time of deployment.

Note: Lync Server 2010 includes support for SHA-256 certificates for connections from clients running the Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7 operating systems, and Microsoft Lync 2010 Phone Edition. To support external access using SHA-256, the external certificate is issued by a public CA using SHA-256.

Configure IIS
Configuring Internet Information Services (IIS) for Microsoft Lync Server 2010 involves installing the correct components to support the Web Services needed by Lync Server 2010. For details about installing IIS, see IIS Configuration. If you have a policy to run the Security Configuration Wizard on servers before putting them into service or as a typical part of your maintenance, see Re-Activate Server After Security Configuration Wizard Closes Ports in IIS for information about a side effect of running the wizard that will close ports on a Lync Server IIS configuration. See Also IIS Configuration Re-Activate Server After Security Configuration Wizard Closes Ports in IIS IIS Configuration To successfully complete this procedure, you should be logged on to the server minimally as a local administrator and a domain user. Before you configure and install the Front End Server for Microsoft Lync Server 2010, Standard Edition or the first Front End Server in a pool, you install and configure the server role and Web Services for Internet Information Services (IIS). Important: If your organization requires that you locate IIS and all Web Services on a drive other than the system drive, you can change the installation location path for the Lync Server files in the Setup dialog box when you initially install the Microsoft Lync Server 2010 Administrative tools. You install the Administrative tools before installing IIS. If you install the Setup files to this path, including OCSCore.msi, the rest of the Lync Server 2010 files will be deployed to this drive as well. For details, see Install Lync Server Administrative Tools. For details about how to relocate the INETPUB deployed by Windows Server Manager when installing IIS, see http://go.microsoft.com/fwlink/?LinkId=216888.

11

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

The following table indicates the required IIS 7.0 and 7.5 role services. IIS Role Services
Role Heading Role Service

Common HTTP features installed Common HTTP features installed Common HTTP features installed Application development Application development Application development Application development Health and diagnostics Health and diagnostics Health and diagnostics Security Security Security Security Performance Management Tools Management Tools

Static content Default document HTTP errors ASP.NET .NET extensibility Internet Server API (ISAPI) extensions ISAPI filters HTTP logging Logging tools Tracing Anonymous authentication (installed and enabled by default) Windows authentication Client Certificate Mapping authentication Request filtering Static content compression IIS Management Console IIS Management Scripts and Tools

You can install IIS 7.0 or 7.5 from Server Manager or by using the command line. Run the following command from the command line to install the IIS 7.0 or 7.5 role services: ServerManagerCmd.exe -Install Web-Server Web-Scripting-Tools WebWindows-Auth Web-Asp-Net Web-Log-Libraries Web-Http-Tracing Web-Stat-Compression Web-Default-Doc Web-ISAPI-Ext Web-ISAPI-Filter Web-Http-Errors Web-Http-Logging Web-Net-Ext Web-Client-Auth Web-Filtering Web-Mgmt-Console Or, on the Windows Server 2008 R2 x64 operating system, you can use Windows PowerShell 2.0. You must first import the ServerManager module, and then install the IIS 7.5 role and role services. Import-Module ServerManager

12

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Add-WindowsFeature Web-Server, Web-Scripting-Tools, Web-Windows-Auth, Web-Asp-Net, Web-Log-Libraries, Web-Http-Tracing, Web-Stat-Compression, Web-Default-Doc, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Errors, WebHttp-Logging, Web-Net-Ext, Web-Client-Auth, Web-Filtering, Web-Mgmt-Console Note: Anonymous authentication is installed by default with the IIS server role. You can manage anonymous authentication after the installation of IIS. For details, see Enable Anonymous Authentication (IIS 7) at http://go.microsoft.com/fwlink/?LinkId=203935. See Also IIS Requirements for Front End Pools and Standard Edition Servers Re-Activate Server After Security Configuration Wizard Closes Ports in IIS Some Lync Server 2010 roles run Web Services on Internet Information Services (IIS) port 4443. Running the Lync Server Deployment Wizard, Bootstrapper.exe, or using the EnableCsComputer cmdlet creates an exception in the firewall and opens the port. If you then run the Windows Server 2008 or Windows Server 2008 R2 Security Configuration Wizard (or other hardening scripts), port 4443 will be blocked, and external clients will not be able to contact Web Services. To reopen the port you can either modify the firewall exception directly or re-activate the server. To re-activate the server by using the Deployment Wizard 1. On the Lync Server Deployment Wizard page, click Run next to Step 2: Setup or Remove Lync Server Components. 2. On Setup Lync Server components page, click Next. 3. On the Executing Commands page, when the task status is shown as completed, click Finish. Note: You can also use bootstrapper.exe or Enable-CsComputer to re-activate the server.

Configure SQL Server for Lync Server 2010


The Microsoft Lync Server 2010 Central Management store holds user data for all Enterprise Edition servers within a pool, and is designed to be located on a SQL Server-based Back End Server or a SQL Server cluster. As a centralized repository, the Central Management store cannot be installed on the same computer as any other Lync Server 2010 role. The Central Management store cannot reside on an Enterprise Edition server in the pool. The Central Management store is created automatically when you publish the topology and select to create the databases. The computer that you designate as the Back End Server must already be running Microsoft SQL Server database software in order for the installation to succeed. Before you deploy Enterprise

13

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Edition server, install SQL Server 2008 with Service Pack (SP) 1 (required) or latest service pack (recommended), SQL Server 2008 R2, or SQL Server 2005 with SP3 (required) or latest service pack (recommended) on a dedicated computer that meets the hardware requirements. For details about hardware requirements, see Server Hardware Platforms in the Supportability documentation. Before you create the Front End pool, you must also configure Windows Firewall to allow Lync Server 2010 access to SQL Server 2005 and SQL Server 2008 over specific ports by defining ports for the server using SQL Server Configuration Manager and opening ports in Windows Firewall with Advanced Security. In This Section SQL Server Data and Log File Placement Configure SQL Server Deployment Permissions for SQL Server Database Installation Using Lync Server Management Shell Understanding Firewall Requirements for SQL Server Configure SQL Server Clustering

SQL Server Data and Log File Placement A critical exercise in the planning and deployment of Microsoft SQL Server 2005, Microsoft SQL Server 2008, or Microsoft SQL Server 2008 R2 for your Microsoft Lync Server 2010, Enterprise Edition is the placement of data and log files onto physical hard disks for performance. The most critical files for performance are the Rtcdyn log and the Rtc log. Placing these files on their own hard disk or redundant array of independent disks (RAID) set is the optimal scenario. The database files and what they are responsible for is detailed in the following table. Data and Log Files for Central Management Store
Central Management store database files Data file or log purpose

Xds.ldf Xds.mdf

Transaction log file for the Central Management store Maintains the configuration of the current Lync Server 2010 topology, as defined and published by Topology Builder Location Information service data file Transaction log for the Location Information service data file

Lis.mdf Lis.ldf

Data and Log files for User, Conferencing, and Address Book
Core Lync Server 2010 database files Data file or log purpose

Rtcdyn.mdf

Maintains transient user data (presence runtime data)

14

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Core Lync Server 2010 database files Data file or log purpose

Rtcdyn.ldf Rtc.mdf

Transaction log for Rtcdyn data Persistent user data (for example, access control lists (ACLs), contacts, Standard Edition server or Enterprise Edition Front End pool, scheduled conferences) Transaction log for Rtc data Real-time communications (RTC) address book database is the SQL Server repository where Address Book service information is stored Transaction log for Address Book Service Real-time communications address book database is the SQL Server repository where Address Book service information is stored. (Secondary copy for performance) Transaction log for Address Book service

Rtc.ldf Rtcab.mdf

Rtcab.ldf Rtcab1.mdf

Rtcab1.ldf

Data and Log Files for Call Park and Response Group
Application database Data file or log purpose

Cpsdyn.mdf Cpsdyn.ldf Rgsconfig.mdf Rgsconfig.ldf Rgsdyn.mdf Rgsdyn.ldf

Dynamic information database for the Call Park application Transaction log for Call Park application data file Lync Server Response Group service data file for the configuration of the services Transaction log file for the Response Group application configuration Response Group service data file for runtime operations Transaction log for the Response Group service runtime data file

Data and Log Files for Archiving and Monitoring Server


Archiving and Monitoring database files Data file or log purpose

LcsCdr.mdf

Data store for the call detail recording (CDR)

15

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Archiving and Monitoring database files Data file or log purpose

process of the Monitoring Server LcsCdr.ldf QoEMetrics.mdf QoEMetrics.ldf Lcslog.mdf Lcslog.ldf Transaction log for call detail recording (CDR) data Quality of Experience data file stored from the Monitoring Server Transaction log for Monitoring data Data file for the retention of instant messaging and conferencing data on an Archiving Server Transaction log for Archiving data

In this topic, references are made to disk and to RAID set. Note that in the configuration of SQL Server resources, referring to a disk means a single hardware device. A hard disk drive with two partitions, one holding log files and the other partition holding data files, is not the same as two disks, each dedicated to either log or data files. In reference to RAID sets, there are a number of different RAID technologies from various vendors. And, with the proliferation of storage area networks (SAN), RAID sets dedicated to a single system are rarer. You should consult with your RAID or SAN vendor to determine what the best configuration is for your disk layout when configuring for SQL Server performance with Lync Server 2010. Note also that not all disk drives are created equally; some perform better than others. Even drives from the same manufacturer can vary in performance because of rotational speed, hardware cache size, and other factors. It is advisable that you test your disks to determine the better performing disks, and then place the more critical and speed sensitive log and data files specifically, Rtcdyn log and Rtc log onto the better performing disks. Disk and Database File Distribution There are a number of potential solutions for the placement of the files. Each of the possible combinations has pros and cons. The optimal distribution requires six hard disks or distinct RAID sets. We recommend that the two most active files, the Rtcdyn log file and Rtc log file, should always be placed on their own disks or RAID set. Six-Disk Distribution The distribution scenario using six disks is typically only used in cases where you want to collocate the Archiving and Monitoring databases on the same SQL Server. This solution uses six physical disks or dedicated RAID sets. The distribution of the data and log files is shown in the following diagram. Advantages Very high performing, low latency, and little contention for disk I/O when compared to other solutions. Disadvantage More costly than other solutions. At minimum, you require six hard disks.

16

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Five-Disk Distribution The five-disk distribution uses five disks or five RAID sets. The Rtcdyn and Rtc log files are separated onto their own disks. Archiving and Monitoring logs and data are placed onto their own disks, respectively. The remaining log files and data files are placed on the fifth disk. Advantages Provides good performance for the Rtcdyn and Rtc log files, while reducing the overall number of disks required. Disadvantages All other log files are located on a single disk, potentially causing I/O performance latency for other workloads. Impact is minimized if the Archiving Server, the Monitoring Server, or both are not deployed.

Four-Disk Distribution The four-disk distribution uses four disks or four RAID sets. This configuration is considered to be the best performing of the recommendations due to the low latency and low contention for disk I/O resources. The Rtcdyn and Rtc log files are separated onto their own disks. The remaining log files are placed on the third disk, while the data files are placed on the fourth. Advantages Provides good performance for the Rtcdyn and Rtc log files, while reducing the overall number of disks required. Disadvantages All other log files are located on a single disk, potentially causing I/O performance latency for other workloads. Impact is minimized if the Archiving Server, the Monitoring Server, or both are not deployed.

Three-Disk Distribution The Three Disk Distribution uses three disks or RAID sets. The Rtcdyn and Rtc log files are placed on drive one and drive two. The remaining log and data files are placed on disk three. Advantages Less costly than six and four disk solutions. Placing the Rtcdyn and Rtc log files on their own hard disks allows for good performance for the frequently updated transaction log files. Disadvantages All other log and data files are placed on the remaining disk. Increased potential for latency due to increased I/O of all other workloads on the single disk. If Monitoring and Archiving are not deployed, the impact is lessened, but performance impact is still a concern.

17

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Two-Disk Distribution Two-disk distribution uses two hard disks or RAID sets. The Rtcdyn and Rtc log files are both placed on the first disk. All other log and data files are placed on the second hard disk. Advantages Lowering of cost is the primary advantage. Log and data files for other workloads on the second disk will lessen the overall impact on the Rtcdyn and Rtc log files. Disadvantages Combining the Rtcdyn and Rtc log files will begin to negatively impact performance.

Single-Disk Distribution The single-disk distribution uses a single hard disk or RAID set. The Rtcdyn and Rtc log files are placed on the single disk along with the other log and data files. Advantages significantly lower cost than other solutions. Small user numbers may be able to experience acceptable performance. Disadvantages Disk latency and disk loading from all workload logs and data files on the single disk will have an impact on performance. Deployment of Monitoring and Archiving roles will impact performance further.

Configure SQL Server SQL Server 2005 with Service Pack 3 (SP3) (required) or latest service pack (recommended), SQL Server 2008 with Service Pack 1 (SP1) (required) or latest service pack (recommended), and SQL Server 2008 R2 are supported for the Central Management store. For each database that you deploy, you can use a single SQL Server instance for all databases for your Microsoft Lync Server 2010 deployment that can be collocated on a database server, or you can use a dedicated SQL Server instance for each of these databases. For details about database collocation, see Supported Server Collocation in the Supportability documentation.

18

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Note: Lync Server 2010 automatically installs SQL Server 2008 Express on each Standard Edition server and each Lync Server 2010 server on which the local configuration store is located. After deploying the servers, you can upgrade the RTC database on the Standard Edition server and the RTCLocal databases on other server roles to SQL Server 2008 R2 Express by running the SQL Server 2008 R2 Express setup wizard and selecting the upgrade option. Repeat this process for each RTC and RTCLocal database. Additionally, each SQL Server instance must be installed and available prior to completing the steps in Topology Builder that set up the databases, or manually creating the databases with Windows PowerShell cmdlets. If you intend to provide high availability for Microsoft Lync Server 2010, Enterprise Edition by using SQL Server failover clustering, see Configure SQL Server Clustering. For details about SQL Server supportability, see Set Up Hardware and the System Infrastructure. To install SQL Server 2008 SP1 1. See the SQL Server 2008 SP1 documentation at: http://go.microsoft.com/fwlink/? LinkId=202921. 2. Download SQL Server 2008 SP1 from the Microsoft Download Center at: http://go.microsoft.com/fwlink/?LinkID=202743. To install SQL Server 2008 R2 1. See the SQL Server 2008 R2 documentation at: http://go.microsoft.com/fwlink/? LinkId=218015. To install SQL Server 2005 SP3 1. See the SQL Server 2005 SP3 documentation at: http://go.microsoft.com/fwlink/? LinkId=202922. 2. Download SQL Server 2005 SP3 from the Microsoft Download Center at: http://go.microsoft.com/fwlink/?LinkID=202744.

Deployment Permissions for SQL Server Microsoft SQL Server 2005 and Microsoft SQL Server 2008 have specific requirements when installing and deploying Microsoft Lync Server 2010. Because Windows and SQL Server define their security differently, logging in as an administrator in the Active Directory domain does not implicitly grant permissions for SQL Server. You must also be a member of the sysadmin entity on the SQL Server-based server you are configuring. Permissions Required for Database and Lync Server Installation The following options detail three permissions and group membership associations for installation of Lync Server files and SQL Server databases. Choose the scenario that best meets the requirements of your organization.

19

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Permissions and Group Membership Associations


SQL Server or Lync Server role Role-Typical SQL Server permissions and group membership Role-typical Lync Server permissions and group membership Permissions outcome

Lync Server administrator

Must be granted Must be a member of the membership of RTCUniversalServerAdmins sysadmins SQL group Server security group and member of the SQL Server local Administrators group SQL Server Must be a member of the sysadmin group RTCUniversalServerReadOnly member (or group equivalent) and member of the SQL Server local Administrators group SQL Server Lync Server administrator is administrator is member of member of RTCUniversalServerAdmins sysadmins group (or equivalent) and member of the SQL Server local Administrators group

Lync Server administrator has the proper permissions to install both Lync Server and SQL Server databases. SQL Server administrator has the proper permissions to install both Lync Server and SQL Server databases. The Lync Server administrator can install Lync Server, but cannot install the databases. The SQL Server administrator uses the Lync Server Management Shell and Windows PowerShell cmdlets provided by the Lync Server administrator to install the databases. The Lync Server Management Shell used by the SQL Server administrator is installed on the

SQL Server administrator

Both administrators sharing installation duties

20

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide SQL Server or Lync Server role Role-Typical SQL Server permissions and group membership Role-typical Lync Server permissions and group membership Permissions outcome

Front End Server. This eliminates the need to install the Lync Server administrative tools on the SQL Serverbased server.

Database Installation Using Lync Server Management Shell Separation of roles and responsibilities between server administrators and SQL Server administrators can result in delays in implementation. Microsoft Lync Server 2010 uses rolebased access control (RBAC) to mitigate these difficulties. In some instances, the SQL Server administrator must manage the installation of databases on the SQL Server-based server outside RBAC. The Lync Server Management Shell provides a way for the SQL Server administrator to run Windows PowerShell cmdlets designed to configure the databases with the correct data and log files. For details, see Deployment Permissions for SQL Server. Important: The following procedure assumes that at a minimum the Lync Server 2010 OCSCore.msi, SQL Server 2005 BC (SQLServer2005_BC.msi), and SQL Server Native Client (sqlncli.msi) are installed. The OCSCore.msi is located on the installation media in the \Setup\AMD64\Setup directory. SQLServer2005_BC.msi and sqlncli.msi are located in \Setup\amd64. Additionally, Active Directory preparation for Lync Server 2010 has been successfully completed. Install-CsDatabase is the Windows PowerShell cmdlet you use to install the databases. The Install-CsDatabase cmdlet has a large number of parameters, only a few of which are discussed here. For details about the possible parameters, see the Lync Server Management Shell documentation. Warning: To avoid performance and possible time-out issues, always use fully qualified domain names (FQDNs) when referring to SQL Server-based servers. Avoid using host nameonly references. For example, use sqlbe.contoso.net, but avoid using SQLBE. For installing databases, Install-CsDatabase uses three primary methods for placing the databases onto the prepared SQL Server-based server: Run Install-CsDatabase without DatabasePaths or UseDefaultSqlPath. The cmdlet uses a built in algorithm to determine the best placement for the log and data files. The algorithm only works for stand-alone SQL Server implementations and is not intended for use on SQL

21

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Server clusters. SQL Server clusters should use either DatabasePaths to define the paths for log and data files, or UseDefaultSqlPath. Run Install-CsDatabase with the DatabasePaths parameter. The built-in algorithm to optimize log and data file locations is not used if the DatabasePaths parameter is defined. Using this parameter allows you to define the locations where log and data files will be deployed. This parameter can be used with SQL Server clusters. Run Install-CsDatabase with UseDefaultSqlPaths. This option does not use the built-in algorithm to optimize the log and data file locations. Log and data file are deployed according to the defaults set by the SQL Server administrator. These paths are typically set for the purpose of automatic administration of log and data files on the SQL Server in advance, and are not associated with the setup of Lync Server 2010. This parameter can be used with SQL Server clusters. To use Windows PowerShell cmdlets to configure the SQL Server Central Management store 1. On any computer, log on with administrative credentials for creating the databases on the SQL Server-based server. For details, see Deployment Permissions for SQL Server. 2. Open the Lync Server Management Shell. If you have not adjusted the execution policy for Windows PowerShell, you must adjust the policy to allow Windows PowerShell scripts to run. For details, see Examining the Execution Policy at http://go.microsoft.com/fwlink/?LinkId=203093. 3. Use the Install-CsDatabase cmdlet to install the Central Management store. Install-CsDatabase -CentralManagementDatabase SqlServerFqdn <fully qualified domain name of SQL Server> -SqlInstanceName <named instance> -DatabasePaths <logfile path>,<database file path> -Report <path to report file> Install-CsDatabase -CentralManagementDatabase SqlServerFqdn sqlbe.contoso.net -SqlInstanceName rtc -DatabasePaths C:\CSDBLogs,C:\CSDB-CMS Report C:\Logs\InstallDatabases.html Tip: The Report parameter is optional but is useful if you are documenting the installation process. 4. When the database installation completes, you can close Lync Server Management Shell or proceed to the installation of the Lync Server 2010 configured databases defined in Topology Builder. To use Windows PowerShell cmdlets to configure the SQL Server database and log locations 1. Install-CsDatabase DatabasePaths can use up to six path parameters, each defining the paths for the drives as defined in SQL Server Data and Log File Placement. By the logical rules of the database configuration in Lync Server 2010, drives are parsed

22

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

out into buckets of two, four, or six. Depending on your SQL Server configuration and the number of buckets, you will supply two paths, four paths, or six paths. If you have three drives, the log gets priority and the data files are distributed after. An example for a SQL Server-based server configured with six drives: Install-CsDatabase ConfiguredDatabases SqlServerFqdn sqlbe.contoso.net DatabasePaths D:\CSDynLogs,E:\CSRtcLogs,F:\MonCdrArcLogs,G:\MonCdrArchDa ta,H:\AbsAppLog,I:\DynRtcAbsAppData Report C:\Logs\InstallDatabases.html

2. When the database installation completes, you can close Lync Server Management Shell or proceed to the installation of the Lync Server 2010 configured databases defined in Topology Builder. To use Windows PowerShell cmdlets to configure the SQL Server topology configured databases 1. To install the Topology Builder configured databases for Lync Server 2010, the Lync Server administrator must publish the topology. For details, see Publish the Topology in the Deployment documentation. 2. On any computer, log on with administrative credentials for creating the databases on the SQL Server-based server. See the topic, Deployment Permissions for SQL Server. Important: To be able to configure the SQL Server-based databases, make sure the SQL Server administrator account used to run the steps described here is also a member of the sysadmins group (or equivalent) on the server running SQL Server and holding the Central Management Server role. This is especially important to check for any additional Lync Server pools which require SQL Server database installation or configuration. For example, if you are deploying a second pool (pool02) but the Central Management Server role is held by pool01. The SQL Server sysadmin group (or equivalent) must have permissions on both SQL Server-based databases. 3. Open Lync Server Management Shell, if its not already open. 4. Use the Install-CsDatabase cmdlet to install the Topology Builder configured databases. Install-CsDatabase -ConfiguredDatabases SqlServerFqdn <fully qualified domain name of SQL Server>

23

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

-DatabasePaths <logfile path>,<database file path> -Report <path to report file> Install-CsDatabase -ConfiguredDatabases SqlServerFqdn sqlbe.contoso.net Report C:\Logs\InstallDatabases.html Tip: The Report parameter is optional but is useful if you are documenting the installation process. 5. When the database installation completes, close Lync Server Management Shell. See Also Configure SQL Server Clustering Understanding Firewall Requirements for SQL Server For a Standard Edition deployment, firewall exceptions are created automatically during Microsoft Lync Server 2010 Setup. However, for Enterprise Edition deployments, you must configure the firewall exceptions manually on the Microsoft SQL Server Back End Server. The TCP/IP protocol allows for a given port to be used once for a given IP address. This means that for the SQL Server-based server you can assign the default database instance the default TCP port 1433. For any other instances you will need to use the SQL Server Configuration Manager to assign unique and unused ports. This topic covers: Requirements for a firewall exception when using the default instance Requirements for a firewall exception for the SQL Server Browser service Requirements for static listening ports when using named instances

Requirements for a Firewall Exception When Using the Default Instance If you are using the SQL Server default instance for any database when deploying Microsoft Lync Server 2010, the following firewall rule requirements are used to ensure communication from the Front End pool to the SQL Server default instance.
Protocol Port Direction

TCP

1433

Inbound to SQL Server

Requirements for a Firewall Exception for the SQL Server Browser Service The SQL Server Browser service will locate database instances and communicate the port that the instance (named or default) is configured to use.
Protocol Port Direction

UDP

1434

Inbound

24

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Requirements for Static Listening Ports When Using Named Instances When using named instances in the SQL Server configuration for databases supporting Lync Server 2010, you configure static ports by using SQL Server Configuration Manager. After the static ports have been assigned to each named instance, you create exceptions for each static port in the firewall.
Protocol Port Direction

TCP

Statically defined

Inbound

SQL Server 2005, SQL Server 2008, and SQL Server 2008 R2 documentation provides detailed guidance on how to configure firewall access for databases. For details about SQL Server 2005, see How to: Configure a Firewall for SQL Server Access at http://go.microsoft.com/fwlink/?LinkId=202625. For details about SQL Server 2008, see Configuring the Windows Firewall to Allow SQL Server Access at http://go.microsoft.com/fwlink/?LinkId=202628. For details about SQL Server 2008 R2, see Configuring the Windows Firewall to Allow SQL Server Access at http://go.microsoft.com/fwlink/?LinkId=218031. Configure SQL Server Clustering Microsoft Lync Server 2010 supports clustering for Microsoft SQL Server 2008, Microsoft SQL Server 2008 R2, and Microsoft SQL Server 2005 in an active/passive configuration. For details about SQL Server clustering, see Database Software and Clustering Support in the Supportability documentation. You should set up and configure the SQL Server cluster before you install and deploy the Enterprise Edition Front End Server and back-end database. For procedures to set up and install the clustering and SQL Server software, see SQL Server 2008 How to: Create a New SQL Server Failover Cluster (Setup) at http://go.microsoft.com/fwlink/?LinkId=202919. For procedures to set up and install the clustering and SQL Server software for SQL Server 2008 R2, see Getting Started with SQL Server 2008 R2 Failover Clustering at http://go.microsoft.com/fwlink/? LinkId=218032. For procedures to install and configure a cluster in SQL Server 2005, see How to Create a New SQL Server 2005 Failover Cluster (Setup) at http://go.microsoft.com/fwlink/? LinkId=202920. When you install SQL Server, you should install SQL Server Management Studio to manage the locations for database and log file locations. SQL Server Management Studio is installed as an optional component when you install SQL Server. Important: To install and deploy the databases on the SQL Server-based server, you must be a member of the SQL Server sysadmin group for the SQL Server-based server where you are installing the database files. If you are not a member of the SQL Server sysadmin group, you will need to request that you be added to the group until the database files are deployed. If you cannot be made a member of the sysadmin group, you should provide your SQL Server database administrator with the script to configure and deploy the

25

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

databases. For details about the proper user rights and permissions that you need to accomplish the procedures, see Deployment Permissions for SQL Server. To configure SQL Server clustering 1. After you have completed the installation and configuration of SQL Server clustering, you define the SQL Server store in Topology Builder by using the SQL Server instance virtual cluster name (as configured in the setup for SQL Server clustering) and the instance name of the SQL Server database. Different from a single SQL Server-based server, you will use the virtual node fully qualified domain name (FQDN) for a clustered SQL Server-based server. Note: The individual Windows Server cluster nodes do not have to be configured for Topology Builder. You will use only the virtual SQL Server cluster name. 2. If you are using Topology Builder to deploy your databases, you must be a member of the SQL Server sysadmin group. If you are a member of the SQL Server sysadmin group, but you do not have privileges in the domain (for example, a SQL Server database administrator role), then you have the rights to create the databases but not to read necessary information in Lync Server 2010. For details about the user rights and permissions necessary to deploying Lync Server 2010, see Deployment Permissions for SQL Server. 3. Ensure that the database folder and log files folder defaults are mapped correctly to the shared disks in the SQL Server cluster by using SQL Server Management Studio. This is a required procedure if you will create databases by using Topology Builder. Note: If you did not install SQL Server Management Studio, you can install it by rerunning the SQL Server installation, and then selecting the management tool as an added feature for the existing SQL Server deployment. 4. Install the databases for the SQL Server-based server by using either Topology Builder or Windows PowerShell cmdlets. To create databases by using Topology Builder 1. Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Topology Builder. Warning: The following procedure assumes that you have defined and configured your topology in Topology Builder. For details about defining your topology, see Defining and Configuring the Topology. To use Topology Builder to publish the topology and configure the database, you must log on as a user with the correct user rights and group memberships. For details about the required rights and group memberships, see Deployment Permissions for SQL Server. 2. In Topology Builder, as you publish the topology, on the Create databases page,

26

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

click Advanced. 3. The Select Database File Location page has two options that determine how the database files will be deployed to the SQL Server cluster. Select one of the following: Automatically determine the database file location . This selection uses an algorithm to determine the database log and data file locations based on the drive configuration on the SQL Server-based server. The files will be distributed in such a way as to attempt to provide optimal performance. Use SQL Server instance defaults. Selecting this option will install the log and data files according to the SQL Server instance settings. After deployment of the database files to the SQL Server, your SQL Server database administrator may want to relocate the files to optimize performance for your particular SQL Server configuration requirements. 4. Complete the publishing of the topology and confirm that there were no errors during the operation. To use Windows PowerShell cmdlets to create SQL Server cluster databases 1. Open Lync Server Management Shell. Note: Production SQL Server clusters typically require that logs and data files be placed strategically for performance reasons. 2. Use the Install-CsDatabase cmdlet to install the Topology Builder configured databases. Do one of the following: Install the database files to the clustered SQL Server-based server and respect the definitions that you created in the topology document. The topology document defines the clustered SQL Server-based server instance, but you need to deploy database files to specific disk locations. Install-CsDatabase -ConfiguredDatabases SqlServerFqdn <fully qualified domain name of SQL Server cluster> -DatabasePaths <logfile path>,<database file path> -Report <path to report file> Install-CsDatabase -ConfiguredDatabases SqlServerFqdn sqlvirt.contoso.net -SqlInstanceName RTC -DatabasePaths g:\rtcdynlog,h:\rtclog,i:\dbs -Report C:\Reports\Install-SQL-Cluster-DBs.htm Alternatively, you can use the following command to allow the cmdlet to determine the optimal location for the log and data files, and to override the topology document to use a named instance on the clustered SQL Server-based server. Install-CsDatabase -ConfiguredDatabases SqlServerFqdn <fully qualified domain name of SQL Server cluster> -SqlInstanceName <named instance> -Report <path to report file>

27

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Install-CsDatabase -ConfiguredDatabases SqlServerFqdn sqlvirt.contoso.net -SqlInstanceName RTC -Report C:\Reports\Install-SQL-Cluster-DBs.htm Tip: By omitting the DatabasePaths parameter, the cmdlet is allowed to determine the optimal placement of the log and data files on the named instance.

Configure DNS Records for a Front End Pool


Microsoft Lync Server 2010 uses the Domain Name System (DNS) to register and maintain records for proper domain name to IP address resolution. You need to configure required DNS records for your deployment prior to operating the Front End pool. The following links will provide guidance on what records need to be created to allow for the proper operation of Lync Server 2010. In This Section DNS Requirements for Front End Pool DNS Requirements for Simple URLs Configure DNS Host Records Create and Verify DNS SRV Records Configure DNS for Load Balancing

DNS Requirements for Front End Pool To successfully complete this procedure, you should be logged on to the server or domain minimally as a member of the Domain Admins group or a member of the DnsAdmins group. You need to configure the required Domain Name System (DNS) records prior to publishing your topology in Topology Builder. Additionally, some of the fully qualified domain names (FQDNs) used in the configuration of a Microsoft Lync Server 2010 deployment are logical and not physical server FQDNs, so additional DNS configuration is required prior to publishing. Warning: Lync Server 2010 does not support single-labeled domains. For example, a forest with a root domain named contoso.local is supported, but a root domain named local is not supported. For details, see Microsoft Knowledge Base article 300684, Information about configuring Windows for domains with single-label DNS names, at http://go.microsoft.com/fwlink/?LinkId=143752. Important: The name you specify must be identical to the computer name configured on the server. By default the computer name of a computer that is not joined to a domain is a short name, not an FQDN. Topology Builder uses FQDNs, not short names. So, you must configure a DNS suffix on the name of the computer to be deployed as an Edge Server that is not joined to a domain. Use only standard characters (including AZ, az, 09,

28

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

and hyphens) when assigning FQDNs of your servers running Lync Server, Edge Servers, and pools. Do not use Unicode characters or underscores. Nonstandard characters in an FQDN are often not supported by external DNS and public certification authorities (CAs) (when the FQDN must be assigned to the SN in the certificate). For details about adding a DNS suffix to a computer name, see Configure DNS Records for Edge Support. Prior to operating the topology after it has been deployed, you should ensure that the following Active Directory and DNS records are created (as your needs for specific features dictate): Each server role that will exist in the topology is published as an Active Directory object (Joining the computer to the domain will accomplish this). A DNS A Record exists for each server. A DNS SRV Record exists for each SIP domain if you plan to use automatic logon for clients in the form of _sipinternal_tls.<SIP domain>. If you will use manual configuration for clients, this record is not necessary. A DNS A Record for each configured simple URL, of which there are typically two: meet and dialin. Additionally, there is the admin simple URL which is a special URL for access to the Microsoft Lync Server 2010 Control Panel. The SQL Server-based computer must be domain joined, and reachable by the computer that Topology Builder is publishing from. The table follows the reference architectures presented in the Planning section. For details, see Topologies for External User Access in the Planning documentation. DNS Records Required for the Front End Pool
Location Type FQDN Maps to/Comments

Internal DNS Internal DNS Internal DNS

A A A

pool01.contoso.net pool01.contoso.net pool01.contoso.net

Pool01 (DNS load balancing) Pool01 (DNS load balancing) Pool01 (virtual IP (VIP) of hardware load balancer) Pool01 Front End Server (NODE 1) Pool01 Front End Server (NODE 2) Pool01 (VIP) for client-toserver web traffic Pool01 Back End Server running Microsoft SQL Server 2008, Microsoft

Internal DNS Internal DNS Internal DNS Internal DNS

A A A A

fe01.contoso.net fe02.contoso.net lsweb.contoso.net sqlbe.contoso.net

29

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Location Type FQDN Maps to/Comments

SQL Server 2008 R2, or Microsoft SQL Server 2005 Internal DNS A sip.contoso.com Required for Microsoft Lync 2010 Phone Edition, or automatic logon of clients without DNS SRV records, and for strict domain matching. Not required in all cases. Assumes a second SIP domain. Required for Microsoft Lync 2010 Phone Edition, automatic logon of clients without DNS SRV records, and for strict domain matching. Not required in all cases. Simple URL for dial-in conferencing published internally Front End Server (or Director, if installed) responds to simple URL queries Simple URL for conferences published internally Front End Server (or Director, if installed) responds to simple URL queries Optional record, simple URL for Microsoft Lync Server 2010 Control Panel published internally - Front End Server (or Director, if installed) responds to simple URL queries. Host name only (no

Internal DNS

sip.fabrikam.com

Internal DNS

dialin.contoso.com

Internal DNS

meet.contoso.com

Internal DNS

admin.contoso.com admin

30

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Location Type FQDN Maps to/Comments

domain name) is recommended. Note: VIP = virtual IP address for hardware load balancer

31

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

DNS SRV Records for the Front End Pool


Location Type FQDN Target FQDN Port Maps to/Comments

Internal DNS

SRV

_sipinternaltls._tcp.contoso.com

pool01.contoso.com

5061

Required for automatic configuration of Lync 2010 clients to work internally Required for automatic configuration of Lync 2010 clients to work internally Network Time Protocol (NTP) source required for Microsoft Lync 2010 Phone Edition-based devices. Internally, this should point to the domain controller. If the domain controller is not defined, it will try to use the NTP server time.windows.com

Internal DNS

SRV

_sipinternaltls._tcp.fabrikam.com

pool01.fabrikam.com

5061

Internal DNS

SRV

_ntp._udp.contoso.com

dc01.contoso.com

123

32

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Configure DNS Host Records To successfully complete this procedure, you should be logged on to the server or domain at minimum as a member of the Domain Admins group or a member of the DnsAdmins group. To configure DNS Host A records 1. On the Domain Name System (DNS) server, click Start, click Administrative Tools, and then click DNS. 2. In the console tree for your domain, expand Forward Lookup Zones, and then rightclick the domain in which Microsoft Lync Server 2010 will be installed. 3. Click New Host (A or AAAA). 4. Click Name, type the host name for the pool (the domain name is assumed from the zone that the record is defined in and does not need to be entered as part of the A record). 5. Click IP Address, type the virtual IP (VIP) of the load balancer for the Front End pool. Important: In deployments that use a Director pool, the host (A) records for the simple URLs should point to the VIP of the Director load balancer. Note: If you deploy only one Enterprise Edition server or Director that is connected to the topology without a load balancer, or if you deploy a Standard Edition server, type the IP address of the Enterprise Edition server, Standard Edition server, or Director. A load balancer is required if you deploy more than one Enterprise Edition server or Director in a pool. Load balancers are not used with Standard Edition servers. 6. Click Add Host, and then click OK. 7. To create an additional A record, repeat steps 4 and 5. 8. When you are finished creating all the A records that you need, click Done.

Create and Verify DNS SRV Records To successfully complete this procedure, you should be logged on to the server or domain minimally as a member of the Domain Admins group or a member of the DnsAdmins group. This topic describes how to configure the Domain Name System (DNS) records that you are required to create in Microsoft Lync Server 2010 deployments, and those required for automatic client sign in. When you create a Front End pool, Setup creates Active Directory objects and settings for the pool, including the pool fully qualified domain name (FQDN). Similar objects and settings are created for a Standard Edition server. For clients to be able to connect to the pool or Standard Edition server, the FQDN of the pool or Standard Edition server must be registered in DNS. You must create DNS SRV records in your internal DNS for every SIP domain. This procedure assumes that your internal DNS has zones for your SIP user domains.

33

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To configure a DNS SRV record 1. On the DNS server, click Start, click Administrative Tools, and then click DNS. 2. In the console tree for your SIP domain, expand Forward Lookup Zones, and then right-click the SIP domain in which Lync Server 2010 will be installed. 3. Click Other New Records. 4. In Select a resource record type, click Service Location (SRV), and then click Create Record. 5. Click Service, and then type _sipinternaltls. 6. Click Protocol, and then type _tcp. 7. Click Port Number, and then type 5061. 8. Click Host offering this service, and then type the FQDN of the pool or Standard Edition server. 9. Click OK, and then click Done. To verify the creation of a DNS SRV record 1. Log on to a client computer in the domain with an account that is a member of the Authenticated Users group or has equivalent permissions. 2. Click Start, and then click Run. 3. In the Open box, type cmd, and then click OK. 4. At the command prompt, type nslookup, and then press ENTER. 5. Type set type=srv, and then press ENTER. 6. Type _sipinternaltls._tcp.contoso.com, and then press ENTER. The output displayed for the Transport Layer Security (TLS) record is as follows: Server: <dns server>.contoso.com Address: <IP address of DNS server> Non-authoritative answer: _sipinternaltls._tcp.contoso.com SRV service location: priority weight port =0 =0 = 5061

svr hostname = poolname.contoso.com (or Standard Edition server A record) poolname.contoso.com internet address = <virtual IP Address of the load balancer> or <IP address of a single Enterprise Edition server for pools with only one Enterprise Edition server> or <IP address of the Standard Edition server > 7. When you are finished, at the command prompt, type exit, and then press ENTER. To verify that the FQDN of the Front End pool or Standard Edition server can be resolved 1. Log on to a client computer in the domain.

34

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

2. Click Start, and then click Run. 3. In the Open box, type cmd, and then click OK. 4. At the command prompt, type nslookup<FQDN of the Front End pool> or <FQDN of the Standard Edition server>, and then press ENTER. 5. Verify that you receive a reply that resolves to the appropriate IP address for the FQDN.

Configure DNS for Load Balancing To successfully complete this procedure, you should be logged on to the server or domain minimally as a member of the Domain Admins group or a member of the DnsAdmins group. Domain Name System (DNS) Load Balancing balances the network traffic that is unique to Microsoft Lync Server 2010, such as SIP traffic and media traffic. DNS load balancing is supported for Front End pools, Edge pools, Director pools, and stand-alone Mediation pools. A pool that is configured to use DNS load balancing must have two fully qualified domain names (FQDNs) defined: the regular pool FQDN that is used by DNS load balancing (for example, pool1.contoso.com) and that resolves to the physical IPs of the servers in the pool, and another FQDN for the pools Web Services (for example, web1.contoso.net), which resolves to the virtual IP address of the pool. For details about DNS Load Balancing, see DNS Load Balancing in the Planning documentation. Before you can use DNS load balancing, you must: 1. Override the internal Web Services pool FQDN. 2. Create DNS A host records to resolve the pool FQDN to the IP addresses of all the servers in the pool. 3. Enable IP Address randomization or, for Windows Server DNS, enable round robin. To enable round robin for Windows Server 1. Click Start, click All Programs, click Administrative Tools, and then click DNS. 2. Expand DNS, right-click the DNS server you want to configure, and then click Properties. 3. Click the Advanced tab, select Enable round robin and Enable netmask ordering, and then click OK.

35

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To override internal Web services FQDN 1. Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Topology Builder. 2. From the console tree, expand the Enterprise Edition Front End pools node. 3. Right-click the pool, click Edit Properties, and then click Web Services. 4. Below Internal web services, select the Override FQDN check box. 5. Type the pool FQDN that resolves to the physical IP addresses of the servers in the pool. 6. Below External web services, type the external pool FQDN that resolves to the virtual IP addresses of the pool, and then click OK. 7. From the console tree, click Lync Server 2010 , and then in the Actions pane, click Publish Topology. To create DNS Host (A) Records for all internal pool servers 1. Click Start, click All Programs, click Administrative Tools, and then click DNS.

36

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

2. In DNS Manager, click the DNS Server that manages your records to expand it. 3. Click Forward Lookup Zones to expand it. 4. Right-click the DNS domain that you need to add records to, and then click New Host (A or AAAA). 5. In the Name box, type the name of the host record (the domain name will be automatically appended). 6. In the IP Address box, type the IP address of the individual Front End Server and then select Create associated pointer (PTR) record or Allow any authenticated user to update DNS records with the same owner name, if applicable. 7. Continue creating records for all member Front End Servers that will participate in DNS Load Balancing. For example, if you had a pool named pool1.contoso.com and three Front End Servers, you would create the following DNS entries:
FQDN Type Data

Pool1.contoso.com Pool1.contoso.com Pool1.contoso.com

Host (A) Host (A) Host (A)

192.168.1.1 192.168.1.2 192.168.1.3

For details about creating DNS Host (A) records, see Configure DNS Host Records. See Also DNS Load Balancing

Defining the Topology in Topology Builder


Topology Builder is an installation component of Microsoft Lync Server 2010. You use Topology Builder to display and adjust your planned topology. It also validates topologies, and when you are ready to begin deployment, you use it to author a topology for your Lync Server 2010 deployment. When you install Lync Server 2010 on individual servers, the server reads the authored deployment as part of the installation process, and the installation program deploys the server as directed in the topology. This section describes how to prepare for and then install Topology Builder, and how to use it to define a new Enterprise Edition topology and Front End pool, or a Standard Edition deployment. After defining your topology, you must publish it before you can install Lync Server 2010. Before you publish it, however, you must set up your environment. The topics in this section describe how to use Topology Builder to define the topology, but not how to publish it. The procedures required to prepare your production environment and publish your topology are described in a later section of this Deployment documentation.

In This Section
Topology Builder Installation Requirements

37

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Install Lync Server Administrative Tools Defining and Configuring the Topology

See Also Preparing the Infrastructure and Systems Finalizing and Implementing the Topology Design

Topology Builder Installation Requirements


You can install and run Topology Builder on a workstation or server that meets the requirements described in this section. This makes it possible to use Topology Builder independently of the intended environment. In This Section Administrator Rights and Permissions Required for Setup and Administration Server and Tools Operating System Support Administrative Tools Software Requirements Requirements to Publish a Topology

Administrator Rights and Permissions Required for Setup and Administration Setup and deployment of Microsoft Lync Server 2010 requires that the person installing and deploying the software be a member of local or domain-level groups. Administrative tools for Lync Server 2010 can require additional permissions. Group Membership Requirements The following table summarizes the group or groups that a person should belong to in order to successfully install, manage, and troubleshoot Lync Server 2010.
Lync Server Executable Group Membership Required

Setup.exe Executable that starts the installation of the Lync Server administrative tools.

Member of the Local Administrators group on the computer from which the executable is run. Member of Domain Users group to read information in Active Directory Domain Services (AD DS). This level of permission is required because the automatic installation of required MSI packages on the local computer requires privileges that allow reading from and writing to protected local computer resources such as Program Files directories, and protected registry such as the Local Machine hive. Tip: You can also delegate setup permissions to users or groups to whom you do not want to grant membership in

38

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Lync Server Executable Group Membership Required

the Domain Admins group. For details, see Granting Setup Permissions in the Deployment documentation. Deploy.exe Called by setup.exe, deploy.exe is responsible for the deployment of the software components for the server roles. Member of the Local Administrators group on the computer from which the executable is run. Member of Domain Users group to read information in AD DS. This level of permission is required because the automatic installation of required MSI packages on the local computer requires privileges that allow reading from and writing to protected local computer resources such as Program Files directories, and protected registry such as the Local Machine hive. Membership in RtcUniversalReadOnlyAdmins group is necessary to read the Central Management store. Note: If you are running the Windows Vista operating system or Windows 7 operating system, you will be prompted by User Account Control (UAC) to proceed with installation. If you are logged on with a standard user account, you will need someone who is a member of the Local Administrators group to provide credentials when prompted for an account with permissions to install the software. Bootstrapper.exe Called by setup.exe, bootstrapper.exe is responsible for deployment and configuration of server roles. Member of the Local Administrators group on the computer from which the executable is run. Member of Domain Users group to read information in AD DS. This level of permission is required because the automatic installation of required MSI packages on the local computer requires privileges that allow reading from and writing to protected local computer resources such as Program Files directories, and protected registry such as the Local Machine hive. Member of the Local Administrators group on

OCSLogger.exe Administrative

39

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Lync Server Executable Group Membership Required

troubleshooting tool for capturing messages on server roles. TopologyBuilder.msc Wizard-driven user interface to create, view, adjust, and validate Lync Server topologies.

the computer from which the executable is run. The executable is manifested as requireAdministrator. Member of the Local Administrators group on the computer from which the executable is run to view the topology. Member of the RTCUniversalServerAdmins group to change configuration settings. Member of the RTCUniversalServerAdmins group and Domain Admins group, or member of the RTCUniversalServerAdmins group (only if the group has been granted delegate setup permissions), to publish the topology. For details about delegating setup permissions to allow members of the RTCUniversalServerAdmins group to publish the topology without being members of the Domain Admins group, see Granting Setup Permissions in the Deployment documentation.

AdminUIHost.exe Web-based graphical user Member of CsAdministrator group or member of interface for managing Lync Server. another role-based access control (RBAC) role to which the specific administrative task is assigned. Microsoft Lync Server 2010 Control Panel implements configuration changes by running Lync Server Management Shell cmdlets. For a list of predefined roles and the cmdlets members are permitted to run, see Role-Based Access Control in the Planning documentation. PowerShell.exe with the Lync Server module loaded Command-line administrative tool with cmdlets specific to management of Lync Server. Member of CsAdministrator group or member of another RBAC role to which the specific cmdlet has been assigned. For a list of predefined roles and the cmdlets members are permitted to run, see Role-Based Access Control in the Planning documentation. Or, member of one or more of the following groups, depending on the cmdlet: RTCUniversalServerAdmins RTCUniversalUserAdmins RTCUniversalReadOnlyAdmins

40

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

The group memberships in the preceding table represent the minimum memberships. Other memberships which will grant the permissions necessary to initiate the setup and deployment are possible, including membership in the Domain Admins group or Enterprise Admins group. See Also Install Lync Server Administrative Tools Server and Tools Operating System Support All server roles support the same Windows Server operating systems. The required operating system support for other server roles, such as database servers, depends on what software you install on those servers. Microsoft Lync Server 2010 communications software administrative tools are installed by default on the server running Lync Server 2010, but you can install administrative tools separately on other computers running Windows operating systems. For example, you can use a client computer running Windows 7 as an administrative console for planning purposes. Important: Lync Server 2010 is available only in 64-bit, which requires 64-bit hardware and 64-bit editions of Windows Server. Lync Server 2010 is not available in a 32-bit version. This means that all server roles and computers running Lync Server administrative tools run a 64-bit edition operating system. Operating Systems for Server Roles Microsoft Lync Server 2010 supports the 64-bit editions of the following operating systems: The Windows Server 2008 R2 Standard operating system (required) or latest service pack (recommended) The Windows Server 2008 R2 Enterprise operating system (required) or latest service pack (recommended) The Windows Server 2008 R2 Datacenter operating system (required) or latest service pack (recommended) The Windows Server 2008 Standard operating system with Service Pack 2 (SP2) (required) or latest service pack (recommended) The Windows Server 2008 Enterprise operating system with SP2 (required) or latest service pack (recommended) The Windows Server 2008 Datacenter operating system with SP2 (required) or latest service pack (recommended) Notes: If you have an existing server running Windows Server 2008 with Service Pack 1 (SP1), you must upgrade it to either Windows Server 2008 SP2 (or latest service pack), or Windows Server 2008 R2 (or latest service pack) before deploying Lync Server 2010. To deploy Lync Server 2010 on a computer that is running either the Windows Server 2008 R2 Datacenter operating system or the Windows Server 2008 Datacenter operating system with Service Pack 2 (SP2) and that is configured for multiple processor groups (dynamic hardware partitioning), you must upgrade Microsoft SQL Server 2008 Express database software, which is

41

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

installed by default when you install Lync Server 2010, to Microsoft SQL Server 2008 R2 Express. The SQL instance name is RTC for a Standard Edition server back-end database and RTCLocal for the local configuration store (on each server role). A server running Lync Server 2010 Standard Edition has both SQL instances, and each needs to be upgraded separately. Lync Server 2010 is not supported on the following operating systems: The Server Core installation option of Windows Server 2008 R2 or Windows Server 2008 The Windows Web Server 2008 R2 operating system or the Windows Web Server 2008 operating system Windows Server 2008 R2 HPC Edition or Windows Server 2008 HPC Edition Operating Systems for Other Servers Operating system support for servers other than those on which you deploy Lync Server 2010 server roles is dependent on the software you plan to install on those servers. For details about requirements for Back End Servers and other database servers, see Database Software and Clustering Support. For details about requirements for reverse proxy servers (for edge deployment), see Internet Information Services (IIS) Support. For details about other software requirements, including infrastructure and virtualization support, see the other topics in the Server Software and Infrastructure Support section. Additional Operating Systems for Administrative Tools Lync Server 2010 supports installation of the administrative tools, which includes the Topology Builder, on computers running any of the 64-bit editions of the operating systems supported for deployment of server roles (as described in the previous section). Additionally, you can install administrative tools on the 64-bit editions of the following operating systems: The Windows 7 operating system (required) or latest service pack (recommended) The Windows Vista operating system with SP2 (required) or latest service pack (recommended) Operating System for the Planning Tool Lync Server 2010 supports installation of the Planning Tool on computers running any of the following operating systems: The 32-bit version of Windows 7 operating system (required) or latest service pack (recommended) The 64-bit version of Windows 7 operating system (required) or latest service pack (recommended) using the WOW64 x86 emulator The 32-bit edition of Windows Vista with SP2 operating system (required) or latest service pack (recommended) The 64-bit edition of Windows Vista with SP2 operating system (required) or latest service pack (recommended) using the WOW64 x86 emulator The 32-bit edition of Windows XP with SP3 operating system (required) or latest service pack (recommended) The 64-bit edition of Windows XP with SP3 operating system (required) or latest service pack (recommended) using WOW64 x86

42

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

The 32-bit edition of Windows Server 2008 operating system (required) or latest service pack (recommended) The 64-bit edition of Windows Server 2008 operating system (required) or latest service pack (recommended) using WOW64 x86 The 64-bit edition of Windows Server 2008 R2 operating system (required) or latest service pack (recommended) using WOW64 x86 Administrative Tools Software Requirements This topic describes the software required to install and use Microsoft Lync Server 2010 administrative tools in addition to the operating system requirements. Microsoft .NET Framework 3.5 with Service Pack 1 (SP1) The 64-bit edition of Microsoft .NET Framework 3.5 with SP1 is required for Microsoft Lync Server 2010. Setup prompts you to install this prerequisite and it automatically installs it if it is not already installed on the computer. .NET Framework 4.0 can be installed on the same computer as well, but does not take the place of .NET Framework 3.5 with SP1, which is the required version for Lync Server 2010. After installing the .NET Framework 3.5 SP1 package, you should immediately install the following updates: Microsoft Knowledge Base article 959209, An update for the .NET Framework Service Pack 1 is available, at http://go.microsoft.com/fwlink/?linkid=197396, which addresses a set of known application compatibility issues. Microsoft Knowledge Base article 967190, Update for .NET Framework 3.5 SP1 (KB967190), at http://go.microsoft.com/fwlink/?linkid=197397, which addresses a file association issue for XPS document types. Microsoft Knowledge Base article 981575, A memory leak occurs in a .NET Framework 2.0-based application that uses the AesCryptoServiceProvider class, at http://go.microsoft.com/fwlink/?linkid=202909. Microsoft Knowledge Base article 974954, FIX: When you run a .NET Framework 2.0based application, a System.AccessViolationException occurs, or a dead-lock occurs on two threads in an application domain, at http://go.microsoft.com/fwlink/?linkid=205337. Windows Installer Version 4.5 Microsoft Lync Server 2010 uses Windows Installer technology to install, uninstall, and maintain various server roles. Windows Installer version 4.5 is available as a redistributable component for the Windows Server operating system. Download Windows Installer 4.5 from the Microsoft Download Center at http://go.microsoft.com/fwlink/?linkid=197395. Windows PowerShell 2.0 Windows PowerShell 2.0 command-line interface is automatically installed with the Windows Server 2008 R2 operating system and the Windows 7 operating system. On servers running the Windows Server 2008 SP2 operating system or Windows Vista operating system with Service Pack 2 (SP2), you must install Windows PowerShell 2.0 manually. Before doing so, you must remove any previous versions of Windows PowerShell from the computer.

43

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To install Windows PowerShell 2.0, see the Microsoft Knowledge Base article 968929, Windows Management Framework (Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0), at http://go.microsoft.com/fwlink/?linkid=197390. Microsoft Silverlight 4 browser plug-in Microsoft Lync Server 2010 Control Panel is a web-based tool and requires that you install Microsoft Silverlight 4 browser plug-in version 4.0.50524.0 or the latest version. When you start Lync Server 2010 Control Panel, if this software is not installed or if an earlier version earlier than 4.0.50524.0 is installed, Lync Server Control Panel prompts you to install the required version. See Also Server and Tools Operating System Support Administrative Tools Infrastructure Requirements Administrator Rights and Permissions Required for Setup and Administration Requirements to Publish a Topology This topic describes the infrastructure and software requirements that are specific to publishing a topology, whether by using Topology Builder or the Lync Server Management Shell command-line interface. These requirements are in addition to the general operating system, software, and permissions requirements applicable to all Microsoft Lync Server 2010 administrative tools. Ensure that you satisfy all administrative tools requirements before you publish a topology. You must run Topology Builder on a computer that is joined to the same domain or forest of the Lync Server 2010 deployment you are creating so that Active Directory Domain Services (AD DS) preparation steps are already completed, enabling you to use the administrative tools on that computer to successfully publish your topology. Note: For details about preparing AD DS, see Preparing Active Directory Domain Services for Lync Server 2010 in the Deployment documentation. The computers defined in the topology must be joined to the domain, except for Edge Servers, and in AD DS. However, the computers do not need to be online when you publish the topology. The file share for the pool must be created and available to remote users. In order to publish an Enterprise Edition Front End pool, the SQL Server-based Back End Server must be joined to the domain in which you are deploying the servers, online, and configured with the appropriate firewall rules to make it available to remote users. For details about specifying firewall exceptions, see Understanding Firewall Requirements for SQL Server. For other details about configuring SQL Server, see Configure SQL Server for Lync Server 2010. Note: Standard Edition server has a collocated database that will accept the published configuration. You must first run the Prepare first Standard Edition server setup task in the Lync Server Deployment Wizard.

44

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

If you run Topology Builder on a computer where you plan to later install Lync Server, then you must install the Microsoft SQL Server 2005 backward compatibility components by running the first setup task in the Lync Server Deployment Wizard before you publish the topology. For details, see Install the Local Configuration Store or Install the Standard Edition Local Configuration Store. Note: You do not need the Microsoft SQL Server 2005 backward compatibility components to publish the topology if you run Topology Builder on a dedicated administrative console or if you run Topology Builder on a computer where Lync Server is already installed. (Lync Server setup automatically installs the backward compatibility components along with other component files required by Lync Server.) See Also Publish the Topology Administrative Tools Software Requirements Server and Tools Operating System Support Administrator Rights and Permissions Required for Setup and Administration Delegate Setup Permissions

Install Lync Server Administrative Tools


This topic describes how to install the administrative tools you need to use to deploy and manage Microsoft Lync Server 2010. The administrative tools are installed by default on each server running Lync Server 2010. Additionally, you can install the administrative tools on other computers, such as dedicated administrative consoles. We strongly recommend that you install the administrative tools on a computer that is in the same domain or forest as the Microsoft Lync Server 2010 deployment you are creating because by doing so you ensure that Active Directory Domain Services (AD DS) preparation steps are already complete, which enables you to use the administrative tools on that computer later to publish your topology. Ensure that you review infrastructure, operating system, software, and administrator rights requirements before you install or use the Lync Server administrative tools. For details about infrastructure requirements, see Administrative Tools Infrastructure Requirements. For details about operating system and software requirements to install the Lync Server 2010 administrative tools, see Server and Tools Operating System Support, Additional Software Requirements, and Additional Server Support and Requirements. For details about the user rights and permissions required to install and use the tools, see Administrator Rights and Permissions Required for Setup and Administration. Important: If your organization requires that you locate Internet Information Services (IIS) and all Web Services on a drive other than the system drive, you can change the installation location path for the Lync Server files in the Setup dialog box. If you install the Setup files to this path, including OCSCore.msi, the rest of the Lync Server 2010 files will be deployed to this drive as well.

45

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To install the Lync Server 2010 administrative tools 1. Log on as a local administrator (minimum requirement) to the computer where you want to install the administrative tools. If you are logged on as an a standard user on the Windows Vista or Windows 7 operating systems, and User Account Control (UAC) is enabled, you will be prompted for the local administrator or a domain equivalent user name and password. 2. Locate the installation media on your computer, and then double-click \Setup\amd64\Setup.exe. 3. If you are prompted to install the Microsoft Visual C++ 2008 distributable, click Yes. 4. On the Microsoft Lync Server 2010 Installation Location page, click OK. Change this path to another location or drive if you need to have the files installed to another location. Important: If your organization requires that you locate Internet Information Services (IIS) and all Web Services on a drive other than the system drive, you can change the installation location path for the Lync Server files in the Setup dialog box. If you install the Setup files to this path, including OCSCore.msi, the rest of the Lync Server 2010 files will be deployed to this drive too. 5. On the End User License Agreement page, review the license terms, click I accept, and then click OK. This step is required before you can continue. 6. On the Microsoft Lync Server 2010 Deployment Wizard page, click Install Topology Builder. 7. When the installation successfully completes, click Exit. See Also Lync Server Administrative Tools Open Lync Server Administrative Tools

Defining and Configuring the Topology


You define and configure your topology by using Topology Builder. Topology Builder does not require you to be a member of the local Administrators group or a privileged domain group (such as Domain Admins). You can define your topology as a standard user. When you start Topology Builder on first use and subsequent edit sessions, you are prompted for the location where you want Topology Builder to load the current configuration document. The choices are the following: Download topology from existing deployment Open topology from a local file New topology

If you have already defined a topology and have established the Central Management store, you should choose to download a topology from an existing deployment. Topology Builder will read the database and retrieve the current definition. If you have an existing Central Management store, you should always choose this option.

46

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

If you have not established a Central Management store and want to edit a previously saved configuration, you should choose to open the topology from a local file. The file that you will open would be the configuration file that was saved in a previous session. You can use this option to edit the previously saved topology. Warning: If you already have a published topology, you should not load a local configuration file. You should choose to download the topology from an existing deployment. Choose to create a new topology, if you want to create a new Topology Builder configuration. A previously saved design is not overwritten unless you choose to save it as the same file that you created in an earlier design session. In each of these options, you will be prompted for a location to store the Topology Builder configuration file. The location for the file could be a local location, a shared location on an established file share, or removable media. In This Section Define and Configure a Topology in Topology Builder Define and Configure a Front End Pool Define a New A/V Conferencing Server Edit or Configure Simple URLs

Define and Configure a Topology in Topology Builder Running Topology Builder to define a new topology or to modify an existing topology does not require membership in a local administrator or privileged domain group. Topology Builder guides you through the steps necessary to define your topology for an Enterprise Edition Front End pool or a Standard Edition Front End Server, based on your configuration requirements. You must use Topology Builder to complete and publish the topology before you can install Microsoft Lync Server 2010 on servers. The following procedure includes the steps required to define a new topology. To define a topology 1. Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Topology Builder. 2. In Topology Builder, select New Topology. You are prompted for a location and file name for saving the topology. Give the topology file a meaningful name and accept the default extension of .tbxml. Click OK.

47

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

3. Navigate to the location where you want to save the new topology XML file, enter a name for the file, and then click Save. 4. On the Define the primary domain page, enter the name of the primary SIP domain for your organization, and then click Next.

48

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

5. On the Specify additional supported domains page, enter the names of additional domains, if any, and then click Next.

49

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

6. On the Define the first site page, enter a name and a description for the first site, and then click Next.

50

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

7. On the Specify site details page, enter the location information for the site, and then click Next. 8. On the New topology was successfully defined page, ensure the Open the New Front End Wizard when this wizard closes check box is selected, and then click Finish. After youve defined and saved the topology, use the New Front End Wizard to define a Front End pool or Standard Edition server for your site. For details, see Define and Configure a Front End Pool for Enterprise Edition, or see Define and Configure a Standard Edition Server for a Standard Edition server.

Define and Configure a Front End Pool This procedure does not require membership in a local administrator or privileged domain group. You should log on to a computer as a standard user. After you have defined your topology, use the following procedure to define a Front End pool for your site. For details about defining the topology, see Define and Configure a Topology in Topology Builder.

51

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To define a Front End pool 1. In the Define New Front End Pool Wizard, on the Define the New Front End pool page, click Next. 2. On the Define the Front End pool FQDN page, enter a fully qualified domain name (FQDN) for the pool you are creating, click Enterprise Edition Front End Pool, and then click Next.

3. On the Define the computers in this pool page, enter a computer FQDN for the first Front End Server in the pool, and then click Add. Repeat this step for any additional computers (up to ten) that you want to add to the pool, and then click Next.

52

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

4. On the Select features page, select the check boxes for the features that you want on this Front End pool. For example, if you are deploying only instant messaging (IM) and presence features, you would select the Conferencing check box to allow multiparty IM, but would not select the Dial-in (PSTN) conferencing, Enterprise Voice, or Call Admission Control check boxes, because they represent voice, video, and collaborative conferencing features. Conferencing This selection enables a rich set of features including: Instant messaging (IM) with more than two parties in an IM session

Conferencing, which includes document collaboration, application sharing, and desktop sharing A/V conferencing, which enables users to have real-time audio/video (A/V) conferences without the need for external services such as the Live Meeting service or a third-party audio bridge Dial-in (PSTN) conferencing - Allows users to join the audio portion of a Lync Server 2010 conference by using a public switched telephone network (PSTN) phone without requiring an audio conferencing provider. Enterprise Voice - Enterprise Voice is the Voice over IP (VoIP) solution in Lync Server 2010 that allows users to make and receive phone calls. You would deploy

53

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

this feature if you plan to use Lync Server 2010 for voice calls, voice mail, and other functions that use a hardware device or a software client. Call admission control (CAC) CAC determines, based on available network bandwidth, whether to allow real-time communications sessions such as voice or video calls to be established. If you have deployed only IM and presence, CAC is not needed because neither of these two features uses CAC. Note: If you would like to enable CAC in your deployment, it is required that you enable CAC in exactly one pool per central site. CAC is recommended if you are deploying voice features or A/V conferencing. The following table shows the available features (top) and the functions offered to users (left). The selections in the table are what you should select to enable those features for your organization.
Conferencing Dial-In Conferencing Enterprise Voice Call Admission Control

Instant messaging and presence Conferencing A/V conferencing Enterprise Voice

X X

X X X X X

54

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

5. On the Select collocated server roles page, you can choose between collocating the A/V Conferencing service and the Mediation Server on the Front End Server or to deploy one or both as stand-alone servers. Note: If you did not select Conferencing on the Select features page, Collocate A/V Conferencing service will not be selected and will be unavailable. Conferencing is required to collocate the A/V Conferencing Server on the pool. If you plan to home less than 10,000 users on the pool, and if A/V Conferencing is not a mission critical function for your organization, we recommend collocating the A/V Conferencing service on the pool. If your requirements are greater than the 10,000 users or if you have mission critical requirements for A/V Conferencing, you can deploy standalone A/V Conferencing Servers or a pool of A/V Conferencing Servers associated with this Front End Server. Like the A/V Conferencing service, you can collocate the Mediation Server on the Front End pool. If you intend to collocate the A/V Conferencing service or the Mediation Server on the Enterprise Edition Front End pool, ensure the check boxes are selected. The server roles will be deployed on the pool servers.

55

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

If you intend to deploy the A/V Conferencing service or the Mediation Server as stand-alone servers, clear the appropriate check box. You will deploy one or both of these servers in a separate deployment step after the Front End Server is completely deployed. Note: We recommend that you collocate the Mediation Server if possible. For details about support for collocated or stand-alone Mediation Servers, see Components and Topologies for Mediation Server in the Planning documentation.

6. The Associate server roles with this Front End pool page allows you to define and associate server roles with the Front End pool. The three roles that are available are: Enable Archiving defines and associates the Archiving Server that collects and stores messages incoming and outgoing from the organization. For example, you must monitor communications for regulatory compliance or quality assurance. Enable Monitoring defines and associates the Monitoring Server that collects information in the form of call detail records (CDRs) and call error records (CERs). In addition, the Monitoring Server collects data on the quality of network media for Enterprise Voice and A/V conferencing.

56

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Enable an Edge Server pool defines and associates a single Edge Server or a pool of Edge Servers. An Edge Server facilitates communication and collaboration between users inside the organization and people outside the organization, including federated users. There are two possible scenarios that you can use to deploy and associate the server roles: For scenario one, you are defining a new topology for a new installation. You can approach the installation in one of two ways: Leave all check boxes clear and proceed with defining the topology. After you have published, configured, and tested the Front End and Back End Server roles, you can run Topology Builder again to add the role servers to the topology. This strategy will allow you to test the Front End pool and SQL Server-based server without additional complications from additional roles. After you have completed your initial testing, you can run Topology Builder again to select the roles you need to deploy. Select roles that you need to install, and then set up the hardware to accommodate the selected roles. For scenario two, you have an existing deployment and your infrastructure is ready for new roles or you need to associate existing roles with a new Front End Server: In this case, you will select the roles that you intend to deploy or associate with the new Front End Server. In either case, you will proceed with the definition of the roles, set up any needed hardware, and proceed with the installation.

57

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

7. On the Define the SQL store page, do one of the following: To use an existing SQL Server store that has already been defined in your topology, select Use a previously defined SQL store. To define a new SQL Server instance to store pool information, select Define a new SQL store, specify the SQL Server FQDN, and then do the following: To specify the name of a SQL Server instance, select Named Instance, and then specify the name of the instance. To use the default instance, click Default instance.

58

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

8. On the Define the file share page, do one of the following: To use a file share that has already been defined in your topology, select Use a previously defined file share. To define a new file share, select Define a new file share, in the File Server FQDN box, enter the FQDN of the existing file server where the file share is to reside, and then enter a name for the file share in the File Share box. Important: The file share for Lync Server 2010 cannot be located on the Front End Server. Note that in this example, the file share has been located on the SQL Serverbased Back End Server. This might not be an optimal location for your organizations requirements, and a file server might be a better choice. You can define the file share without the file share having been created. You will need to create the file share in the location you define before you publish the topology.

59

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

9. On the Specify the Web Services URL page, do one or both of the following: Note: The base URL is the Web Services identity for the URL, minus the https://. For example, if the full URL for the Web Services of the pool is https://pool01.contoso.net, the base URL is pool01.contoso.net. a. If you are configuring DNS load balancing, select the Override internal Web Services pool FQDN check box, enter the internal base URL (which must be different from the pool FQDN and could be, for example, internal-<your base URL>) in Internal Base URL. b. Optionally enter the external base URL in External Base URL. You would enter the external base URL to differentiate it from your internal domain naming. For example, your internal domain is contoso.net, but your external domain name is contoso.com. You would define the URL using the contoso.com domain name. This is also important in the case of a reverse proxy. The external base URL domain name would be the same as the domain name of the FQDN of the reverse proxy. Instant messaging and presence does require HTTP access to the Front End pool. Note: To use DNS load balancing, you must create the appropriate DNS records. For

60

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

details, see Configure DNS for Load Balancing.

10. If you chose to deploy a stand-alone A/V Conferencing Server, Topology Builder will branch out to request information to configure the A/V Conferencing Server. See the topic Define a New A/V Conferencing Server, to complete the definition of the A/V Conferencing Server. 11. On the Specify PSTN gateways page, if you chose the A/V Conferencing option on the Select Features page and then selected Dial-in (PSTN) conferencing, define your planned PSTN gateways, and then click Finish to complete. Important: PSTN gateways need to be configured for Enterprise Voice or for Dial-In Conferencing. You can configure these later, but full functionality will be limited until the PSTN gateways are defined and configured. If you did not select Conferencing, then select Dial-in (PSTN) conferencing on the Select features page. You will not be presented with the page to Specify PSTN gateways.

61

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

12. To define a New IP/PSTN Gateway, click New next to The following gateways are associated with this mediation server. 13. In the Gateway FQDN or IP Address, type the FQDN or the IP address of the new gateway. 14. Confirm or modify the Listening port for IP/PSTN Gateway. The default is Port 5067. 15. For SIP Transport Protocol, select TCP or TLS, based on what your infrastructure and PSTN gateway requirements are. Note: Not all PSTN gateways support Transport Layer Security (TLS). Check your gateways documentation or contact the vendor to confirm what is supported. Transmission Control Protocol (TCP) is available, but TLS is the default setting, and is recommended for its ability to encrypt the traffic from gateway to Mediation Server.

62

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

16. Click OK on the New IP/PSTN Gateway dialog box. The PSTN gateway is now listed as associated with the Mediation Server. 17. Follow the preceding steps to associate additional PSTN gateways with the Mediation Server. 18. If you have previously defined PSTN gateways, they will be listed in the The following gateways are not associated with any Mediation Server list. Click Add to associate them with this Mediation Server. Note: You can associate more than one PSTN gateway with a Mediation Server. However, you can associate any given PSTN gateway with only one Mediation Server. 19. Click Next. If you defined other role servers on the Associate server roles with this Front End pool page, separate role configuration wizard pages will open to allow you to configure the server roles. Deploying Archiving Deploying Monitoring Deploying Edge Servers 20. If you did not select additional server roles to configure and deploy, or when you have

63

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

finished the configuration of the additional role servers, click Finish.

Define a New A/V Conferencing Server This topic provides guidance on how to define a new A/V Conferencing Server when you have selected a stand-alone A/V Conferencing Server as an option in Topology Builder. This is not guidance for defining an A/V Conferencing Server after you have completed your Topology Builder design. For details, see Define the A/V Conferencing Server in Topology Builder. To define a new A/V Conferencing Server 1. On the Define the new A/V Conferencing Server page in Topology Builder, click New. Important: Ensure that you consider carefully whether to configure a single A/V Conferencing Server or a pool. See the topic Planning for Conferencing for detailed planning guidance. To define a single A/V Conferencing Server 1. On the Define the A/V Conferencing pool FQDN page in Topology Builder, if you are defining a single server pool, click Single computer pool, specify the A/V Conferencing FQDN, and then click Next. 2. On the Define the new A/V Conferencing Server page, click Finish. To define a pool of A/V Conferencing Servers 1. On the Define the A/V Conferencing pool FQDN page Topology Builder, if you are defining a pool of servers, click Multiple computer pool, specify the Pool FQDN, and then click Next. 2. On the Define the computers in this pool page, enter the Computer FQDN for each computer in the pool, and click Add after each entry. 3. On the Define the new A/V Conferencing Server page Topology Builder, click Finish.

Edit or Configure Simple URLs This procedure does not require membership in a local administrator or privileged domain group. You should log on to a computer as a standard user. Microsoft Lync Server 2010 uses simple URLs to direct internal and external calls to services on the Front End Server or on the Director, if one has been deployed. The three simple URLs that can be created are: Meet Connects users to the conferencing services Dialin Provides access for users to use dial-in conferencing

64

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Admin Optional URL that connects a user, typically an administrator for the Lync Server 2010 system, to Microsoft Lync Server 2010 Control Panel. There are options to the format that you can define simple URLs. For details about these options, see DNS Requirements for Simple URLs in the Planning documentation. A brief summary of the three simple URL formats discussed are shown for reference here:
Simple URL Examples

Meet Meet Meet Dial-in Dial-in Dial-in Admin Admin Admin Admin

https://meet.contoso.com https://lync.contoso.com/Meet https://lync.contoso.com/contosoSIPdomain/Meet https://dialin.contoso.com https://lync.contoso.com/Dialin https://lync.contoso.com/contosoSIPdomain/Dialin https://admin https://admin.contoso.com https://lync.contoso.com/Admin https://lync.contoso.com/contosoSIPdomain/Admin

By default, simple URLs will be configured in the form of (for example, the dial-in simple URL): https://dialin.<SIP Domain> Warning: Simple URLs can contain only English alphanumeric characters (including AZ, az, 09, and hyphens (-)). Do not use Unicode characters or underscores. Nonstandard characters in an FQDN are often not supported by external DNS and public certification authorities (CAs). To configure simple URLs 1. In Topology Builder, right-click the Lync Server 2010 node, and then click Edit Properties.

65

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

2. In the Simple URLs pane, select either Phone access URLs: (Dial-in) or Meeting URLs: (Meet) to edit. And then click Edit URL.

66

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

3. Update the URL to the value you want, and then click OK to save the edited URL. The example shown here has modified the Dial-in URL to https://pool01.contoso.net/dialin.

67

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

4. Edit the Meet URL by using the same steps, if necessary. To define the optional Admin simple URL 1. In Topology Builder, right-click the Lync Server 2010 node, and then click Edit Properties.

68

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

2. In the Administrative access URL box, enter the simple URL you want for administrative access to Lync Server 2010 Control Panel, and then click OK. Tip: We recommend using the simplest possible URL for the Admin URL. The simplest option is https://admin.

69

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Important: If you change a simple URL after initial deployment, you must be aware of what changes impact your Domain Name System (DNS) records and certificates for simple URLs. If the change impacts the base of a simple URL, then you must change the DNS records and certificates as well. For example, changing from https://lync.contoso.com/Meet to https://meet.contoso.com changes the base URL from lync.contoso.com to meet.contoso.com, so you would need to change the DNS records and certificates to refer to meet.contoso.com. If you changed the simple URL from https://lync.contoso.com/Meet to https://lync.contoso.com/Meetings, the base URL of lync.contoso.com stays the same, so no DNS or certificate changes are needed. Whenever you change a simple URL name, however, you must run the Enable-CsComputer on each Director and Front End Server to register the change. See Also Planning for Simple URLs

70

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Edit Federation Route Settings To set a site federation route assignment, you must first have federation enabled on the Edge Server or Edge Server pool. If federation is not enabled on the Edge Server or pool, the federation route assignment settings for the site will not be available for modification. If the federation setting at the Edge Server or pool has been configured, you select Enable at the site level. You then select an Edge or a Director from the drop-down to set as the federation route. To do this, do the following: 1. Select the site to change. 2. Right-click the site name. 3. Click Edit Properties. 4. Select Enable for the federation route. 5. Select the the Edge Server or Edge Server pools in the drop down. Important This global setting will affect all sites. Be sure that the setting that you are configuring at this site is appropriate for all sites. Note that a local definition for the federation route takes precedent over the global setting. If you have multiple sites with Edge Servers or Edge Server pools deployed with the intent purpose of providing service for that site, you can define a SIP federation at the site level. If you prefer to use the Lync Server Management Shell, see the FederationRoute cmdlet parameter in Set-CsSite.

Finalizing and Implementing the Topology Design


After you complete the preparation of your environment, you should be ready to finalize and implement your topology design. This includes using Topology Builder to publish your topology, which is required in order to install Microsoft Lync Server 2010 server roles.

In This Section
Verify the Topology Design Publish the Topology

Verify the Topology Design


Topology Builder automatically verifies the topology. Any topology error is identified as a validation error, indicated by the validation error icon next to the server role. It is important to also verify that the topology correctly represents the topology for your deployment. Before publishing, you must also select the pool that will host the Central Management Store. To select the pool to host the Central Management Store 1. If not already open, open Topology Builder. 2. Right click Lync Server 2010 to open Edit Properties, then click Central Management Server.

71

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

3. In Central Management Server, select the pool that will host the Central Management Server. Click OK. To verify the topology prior to publication 1. Check that all simple URLs are configured correctly. 2. Confirm that the SQL Server-based server is online and available to the computer where Topology Builder is installed, including any necessary firewall rules. 3. Confirm that the file share is available and has the proper permissions defined. 4. Confirm that the correct server roles that meet the deployment requirements are defined in the topology. 5. Verify that the servers exist in Active Directory Domain Services (AD DS). This will happen automatically if you have joined the servers to the domain. When you have verified the topology and there are no validation errors, you should be ready to publish the topology. If there are validation errors, you must correct these before you can publish the topology. For details about publishing your topology, see Publish the Topology.

Requirements to Publish a Topology


This topic describes the infrastructure and software requirements that are specific to publishing a topology, whether by using Topology Builder or the Lync Server Management Shell command-line interface. These requirements are in addition to the general operating system, software, and permissions requirements applicable to all Microsoft Lync Server 2010 administrative tools. Ensure that you satisfy all administrative tools requirements before you publish a topology. You must run Topology Builder on a computer that is joined to the same domain or forest of the Lync Server 2010 deployment you are creating so that Active Directory Domain Services (AD DS) preparation steps are already completed, enabling you to use the administrative tools on that computer to successfully publish your topology. Note: For details about preparing AD DS, see Preparing Active Directory Domain Services for Lync Server 2010 in the Deployment documentation. The computers defined in the topology must be joined to the domain, except for Edge Servers, and in AD DS. However, the computers do not need to be online when you publish the topology. The file share for the pool must be created and available to remote users. In order to publish an Enterprise Edition Front End pool, the SQL Server-based Back End Server must be joined to the domain in which you are deploying the servers, online, and configured with the appropriate firewall rules to make it available to remote users. For details about specifying firewall exceptions, see Understanding Firewall Requirements for SQL Server. For other details about configuring SQL Server, see Configure SQL Server for Lync Server 2010.

72

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Note: Standard Edition server has a collocated database that will accept the published configuration. You must first run the Prepare first Standard Edition server setup task in the Lync Server Deployment Wizard. If you run Topology Builder on a computer where you plan to later install Lync Server, then you must install the Microsoft SQL Server 2005 backward compatibility components by running the first setup task in the Lync Server Deployment Wizard before you publish the topology. For details, see Install the Local Configuration Store or Install the Standard Edition Local Configuration Store. Note: You do not need the Microsoft SQL Server 2005 backward compatibility components to publish the topology if you run Topology Builder on a dedicated administrative console or if you run Topology Builder on a computer where Lync Server is already installed. (Lync Server setup automatically installs the backward compatibility components along with other component files required by Lync Server.) See Also Publish the Topology Administrative Tools Software Requirements Server and Tools Operating System Support Administrator Rights and Permissions Required for Setup and Administration Delegate Setup Permissions

Publish the Topology


To successfully publish, enable, or disable a topology when adding or removing a server role, you should be logged in as a user who is a member of the RTCUniversalServerAdmins and Domain Admins groups. It is also possible to delegate the proper administrator rights and permissions. For details, see Delegate Setup Permissions. For other configuration changes, only membership in the RTCUniversalServerAdmins group is required. After you define your topology in Topology Builder, you must publish the topology to the Central Management store. The Central Management store provides a robust, schematized storage of the data needed to define, set up, maintain, administer, describe, and operate a Microsoft Lync Server 2010 deployment. It also validates the data to ensure configuration consistency. All changes to this configuration data happen at the Central Management store, eliminating out-ofsync issues. Read-only copies of the data are replicated to all servers in the topology, including Edge Servers. Note: For Enterprise Edition only: In order to publish the topology, the SQL Server-based Back End Server must be online and accessible with firewall exceptions in place. For details about specifying firewall exceptions, see Understanding Firewall Requirements for SQL Server. For details about configuring SQL Server, see Configure SQL Server for Lync Server 2010.

73

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To publish a topology 1. Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Topology Builder. 2. Select to open the topology from a local file. If you are on the computer where you defined the topology, this will be in the location where you saved it in earlier steps. Typically, this will be the Documents folder of the user who configured the topology. 3. Right-click the Lync Server 2010 node, and then click Publish Topology.

4. On the Publish the topology page, click Next.

74

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

5. On the Create databases page, select the databases you want to publish. Note: If you dont have the appropriate rights to create the databases, you can clear the check boxes next to those databases, and someone with appropriate rights can later create the databases. For details, see Deployment Permissions for SQL Server.

75

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

6. Optionally click Advanced. The Advanced SQL Server data file placement options allow you to select between the following options: Automatically determine database file location This option will determine the best operational performance based on the disk configuration on your SQL Server-based server by distributing the log and data files to the best location. Use SQL Server instance defaults This option puts log and data files onto the SQL Server-based server by using the instance settings. This option does not use the operational functionality of the SQL Server-based server to determine optimal locations for logs and data. The SQL Server administrator would typically move the log and data files to locations that are appropriate for the SQL Server-based server and organization management procedures. Click OK, and then click Next.

76

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

7. On the Select Central Management Server page, select a Front End pool.

77

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

8. Optionally click Advanced. The Advanced SQL Server data file placement options allow you to select between the following options: Automatically determine database file location This option will determine the best operational performance based on the disk configuration on your SQL Server-based server by distributing the log and data files to the best location. Use SQL Server instance defaults This option puts log and data files onto the SQL Server-based server by using the instance settings. This option does not use the operational functionality of the SQL Server-based server to determine optimal locations for logs and data. The SQL Server administrator would typically move the log and data files to locations that are appropriate for the SQL Server-based server and organization management procedures. Click OK.

78

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

9. Click Next to complete the publishing process.

79

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

10. When the publish process has completed, click Finish. When the topology has been published successfully, you can begin installing a local replica of the Central Management store on each server running Lync Server 2010 in your topology. We recommend that you begin with the first Front End pool. See Also Setting Up Front End Servers and Front End Pools Setting Up Standard Edition Server

Setting Up Front End Servers and Front End Pools


This section guides you through installing Microsoft Lync Server 2010 and setting up the server roles for the Front End pool, including the Front End Servers and any server roles (such as A/V Conferencing Servers and Mediation Servers) that are collocated with the Front End Servers. To install and set up server roles, you run the Lync Server Deployment Wizard on each computer on which you are installing a server role. You use the Deployment Wizard to complete all four deployment steps, including installing the Local Configuration store, installing the Front End Servers, configuring certificates, and starting services.

80

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Note: Before you can set up server roles, you must have successfully published a topology. For details about publishing a topology, see Finalizing and Implementing the Topology Design.

In This Section
Install the Local Configuration Store Install Front End Servers Delegate Setup Permissions Configure Certificates for Front End Servers Start Services on Front End Servers Test the Pool Deployment

Install the Local Configuration Store


To successfully complete this procedure, you should be logged on to the server minimally as a local administrator and a domain user who has membership in at least the RTCUniversalReadOnlyAdmin group. The first step of the Lync Server Deployment Wizard is to install the Local Configuration store. The Local Configuration store is SQL Server Express, which installs a local database that will retain a read-only copy of the Central Management store. The Central Management store is added to the existing SQL Server database installed on the Standard Edition server SQL Server Express-based database. Important: If this is the first time that you have run Microsoft Lync Server 2010 setup on this server, you will be prompted for a drive and path to install Lync Server 2010. If your organization requires that you locate Internet Information Services (IIS) and all Web Services on a drive other than the system drive, you can change the installation location path for the Lync Server files in the Setup dialog box. If you install the Setup files to this path, including OCSCore.msi, the rest of the Lync Server 2010 files will be deployed to this drive as well. To install the Local Configuration store 1. From the installation media, browse to \setup\amd64\Setup.exe, and then click OK. 2. If you are prompted to install the Microsoft Visual C++ 2008 distributable, click Yes. 3. On the Lync Server 2010 Installation Location page, click OK. 4. On the End User License Agreement page, review the license terms, select I accept the terms in the license agreement, and then click OK. This step is required before you can continue. 5. On the Deployment Wizard page, click Install or Update Lync Server System. 6. On the Lync Server 2010 page, next to Step1: Install Local Configuration Store,

81

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

click Run. 7. On the Local Server Configuration page, ensure that the Retrieve configuration automatically from the Central Management Store option is selected, and then click Next. 8. When the local server configuration installation is complete, click Finish.

Install Front End Servers


To successfully complete this procedure, you should be logged on to the server as minimally a local administrator and a domain user who has membership in at least the RTCUniversalReadOnlyAdmins group. The Lync Server Deployment Wizard is used to install the components that are necessary for each server role and to activate the server. This procedure walks you through the steps of deploying the Front End Server in your infrastructure. To install Lync Server components 1. If the Lync Server Deployment Wizard is not running, start it on the Front End Server that you are setting up. 2. In the Deployment Wizard, verify that Step 1: Install Local Configuration Store has a green check mark, which means that the step has been completed. If it is not complete, install the Local Configuration store on the Front End Server. For details, see Install the Local Configuration Store. 3. To install the Lync Server 2010 components for the Front End Server, click Run next to Step 2: Setup or Remove Lync Server Components. 4. On the Setup Lync Server Components page, click Next to set up components as defined in the published topology. 5. The Executing Commands page displays a summary of commands and installation information as it proceeds. When finished, you can use the list to select a log to view, and then click View Log. 6. When Lync Server components setup completes, click Finish. Note: If you are prompted to restart the computer (which may be required if Windows Media Format Runtime was not already installed on the computer), do so. When the computer is back up and running, repeat this procedure, starting from step three (run Step 2 in the Deployment Wizard again).

Delegate Setup Permissions


If you do not want to grant membership in the Domain Admins group to users or groups who are deploying Microsoft Lync Server 2010, you can enable members of the

82

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

RTCUniversalServerAdmins group to run the Enable-CsTopology Windows PowerShell cmdlet on servers running Lync Server 2010. By default, members of the RTCUniversalServerAdmins group do not have the ability to run this cmdlet. You grant permissions to run EnableCsTopology on servers running Lync Server by using the Grant-CsSetupPermission cmdlet and specifying an organizational unit (OU) where computer objects for the server running Lync Server are located. Note: Enable-CsTopology is the key cmdlet to allow the RTCUniversalServerAdmins group members to set up and deploy Lync Server. To add the ability to run Enable-CsTopology to the RTCUniversalServerAdmins group 1. Log on to a server as a member of the Domain Admins group for the domain on which the delegated user will run Enable-CsTopology. 2. Open the Lync Server Management Shell. The Lync Server Management Shell is automatically installed on each Front End Server or any computer where the Lync Server 2010 administrative tools have been installed. For details about the Lync Server Management Shell, see Lync Server Management Shell in the Operations documentation. 3. Run the following cmdlet from the Lync Server Management Shell: Grant-CsSetupPermission ComputerOU <DN of the OU> -Domain <Domain FQDN> In the following example, the OU is Lync Servers, which is in the contoso.com domain. Grant-CsSetupPermission ComputerOU OU=Lync Servers Domain contoso.com

Configure Certificates for Front End Servers


Important: When you run the Certificate Wizard, ensure that you are logged in using an account that is a member of a group that has been assigned the appropriate permissions for the type of certificate template you will use. By default, a Lync Server certificate request will use the Web Server certificate template. If you use an account that is a member of the RTCUniversalServerAdmins group to request a certificate using this template, verify that the group has been assigned the Enroll permissions required to use that template. To successfully complete this procedure you should be logged on as a user who is a member of the RTCUniversalServerAdmins group or have the correct permissions delegated. For details about delegating permissions, see Delegate Setup Permissions. Depending on your organization and requirements for requesting certificates, you may require other group memberships. Consult with the group that manages your public key infrastructure (PKI) certification authority (CA).

83

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Note: Lync Server 2010 includes support for SHA-256 certificates for connections from clients running the Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7 operating systems, in addition to Lync 2010 Phone Edition. To support external access using SHA-256, the external certificate is issued by a public CA using SHA-256. Each Front End Server requires up to three certificates, a default certificate, a web internal certificate, and a web external certificate. However, it is possible to request and assign a single default certificate with appropriate subject alternative name entries. For details about the certificate requirements, see Certificate Requirements for Internal Servers. Use the following procedure to request, assign, and install the Front End Server certificates. Repeat the procedure for each Front End Server. Note: In the default configuration process, there is only one certificate requested. The certificate that is received is then assigned to the Front End Server. The certificate will be assigned to Front End Server roles, and also to the web services hosted on the Front End Server.

Important: The following procedure describes how to configure certificates from an internal enterprise PKI deployed by your organization and with offline request processing. For information about obtaining certificates from a public CA, see Certificate Requirements for Internal Servers in the Planning documentation. Also, this procedure describes how to request, assign, and install certificates during set up of the Front End Server. If you requested certificates in advance, as described in the Request Certificates in Advance (Optional) section of this Deployment documentation, or you do not use an internal enterprise PKI deployed in your organization to obtain certificates, you must modify this procedure as appropriate. To configure certificates for a Front End Server 1. In the Lync Server Deployment Wizard, click Run next to Step 3: Request, Install or Assign Certificates.

84

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

2. On the Certificate Wizard page, click Request.

3. On the Certificate Request page, click Next. 4. On the Delayed or Immediate Requests page, you can accept the default Send the request immediately to an online certification authority option by clicking Next. The

85

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

internal CA with automatic online enrollment must be available if you select this option. If you choose the option to delay the request, you will be prompted for a name and location to save the certificate request file. The certificate request must be presented and processed by a CA either inside your organization, or by a public CA. You will then need to import the certificate response and assign it to the proper certificate role.

5. On the Choose a certificate Authority (CA) page, select the Select a CA from the list detected in your environment option, and then select a known (through registration in Active Directory Domain Services (AD DS)) CA from the list. Or, select the Specify another certification authority option, enter the name of another CA in the box, and then click Next.

86

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

6. On the Certificate Authority Account page, you are prompted for credentials to request and process the certificate request at the CA. You should have determined if a user name and password is necessary to request a certificate in advance. Your CA administrator will have the required information and may have to assist you in this step. If you need to supply alternate credentials, select the check box, provide a user name and password in the text boxes, and then click Next.

87

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

7. On the Specify Alternate Certificate Template page, to use the default Web Server template, click Next. Note: If your organization has created a template for use as an alternative for the default Web server CA template, select the check box, and then enter the name of the alternate template. You will need the template name as defined by the CA administrator.

88

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

8. On the Name and Security Settings page, specify a Friendly Name that should allow you to identify the certificate and purpose. If you leave it blank, a name will be generated automatically. Set the Bit length of the key, or accept the default of 2048 bits. Select the Mark the certificates private key as exportable if you determine that the certificate and private key needs to be moved or copied to other systems, and then click Next. Note: Lync Server 2010 has minimal requirements for an exportable private key. One such place is on the Edge Servers in a pool, where the Media Relay Authentication Service uses copies of the certificate, rather than individual certificates for each instance in the pool.

89

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

9. On the Organization Information page, optionally provide organization information, and then click Next. 10. On the Geographical Information page, optionally provide geographical information, and then click Next. 11. On the Subject Name / Subject Alternate Names page, review the subject alternative names that will be added, and then click Next.

90

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

12. On the SIP Domain setting page, select the SIP Domain, and then click Next.

91

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

13. On the Configure Additional Subject Alternate Names page, add any additional required subject alternative names, including any that might be required for additional SIP domains in the future, and then click Next.

92

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

14. On the Certificate Request Summary page, review the information in the summary. If the information is correct, click Next. If you need to correct or modify a setting, click Back to the proper page to make the correction or modification.

93

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

15. On the Executing Commands page, click Next.

94

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

16. On the Online Certificate Request Status page, review the information returned. You should note that the certificate was issued and installed into the local certificate store. If it is reported as having been issued and installed, but is not valid, ensure that the CA root certificate has been installed in the servers Trusted Root CA store. Refer to your CA documentation on how to retrieve a Trusted Root CA certificate. If you need to view the retrieved certificate, click View Certificate Details. By default, the check box for Assign the certificate to Lync Server certificate usages is checked. If you want to manually assign the certificate, clear the check box, and then click Finish.

95

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

17. If you cleared the check box for Assign the certificate to Lync Server certificate usages on the previous page, you will be presented with the Certificate Assignment page. Click Next.

96

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

18. On the Certificate Store page, select the certificate that you requested. If you want to view the certificate, click View Certificate Details, and then click Next to continue. Note: If the Online Certificate Request Status page reported an issue with the certificate, such as the certificate not being valid, viewing the actual certificate can assist in resolving the issue. Two specific issues that can cause a certificate to not be valid is the previously mentioned missing Trusted Root CA certificate, and a missing private key that is associated with the certificate. Refer to your CA documentation to resolve these two issues.

97

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

19. On the Certificate Assignment Summary page, review the information presented to ensure that this is the certificate that should be assigned, and then click Next.

98

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

20. On the Executing Commands page, review the output of the command. Click View Log if you want to review the assignment process or if there was an error or warning issued. When you are finished with your review, click Finish.

99

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

21. On the Certificate Wizard page, verify that the Status of the certificate is Assigned, and then click Close.

See Also Certificate Infrastructure Requirements

100

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Start Services on Front End Servers


To successfully complete this procedure you should be logged in as a user who is a member of the RTCUniversalServerAdmins group or have the correct permissions delegated. For details about delegating permissions, see Delegate Setup Permissions. After you install the Local Configuration store on your Front End Servers, install the Lync Server 2010 components, and configure certificates on a Front End Server, you must start the Lync Server 2010 services on the server. Use the following procedure to start services on each Front End Server in your deployment. To start services on a Front End Server 1. In the Lync Server Deployment Wizard, on the Lync Server 2010 page, click Run next to Step 4: Start Services. 2. On the Start Services page, click Next to start the Lync Server services on the server. 3. On the Executing Commands page, after all services have started successfully, click Finish. Important: The command to start the services on the server is a best effort method to report that the services have in fact started. It might not reflect the actual state of the service. We recommend that you use the step Service Status (Optional) immediately following Start Services to open the Microsoft Management Console (MMC) and confirm that the services have started successfully. If any Lync Server service has not started, you can right-click that service in the MMC, and then click Start.

Test the Pool Deployment

To test the pool deployment 1. Use Active Directory Computers and Users to add the Active Directory user object of the administrator role for the Microsoft Lync Server 2010 deployment (on which Lync Server 2010 Control Panel is installed) to the CSAdministrator group. Important: If you do not add the appropriate users and groups to the CsAdministors group, you will receive an error when opening Lync Server Control Panel, which states that Unauthorized: Access is denied due to a role-based access control (RBAC) authorization failure. 2. If the user object is currently logged on, log off and then log on again to register the new group assignment.

101

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Note: The user account cannot be the local administrator of any server running Lync Server 2010. 3. Use the administrative account to log on to the computer where Lync Server Control Panel is installed. 4. Start Lync Server Control Panel, and then provide credentials, if prompted. Lync Server Control Panel displays deployment information. 5. In the left navigation bar, click Topology, and then confirm that the service status shows a computer with a green arrow and that a green check mark for replication status is next to each Lync Server server role that has been deployed and brought online.

6. In the left navigation bar, click Users, and then click Enable users.

7. On the New Lync Server User page, click Add. 8. To define search parameters for the objects you want to find, on the Select from Active Directory page, you can select Search, and then optionally click Add Filter. You can also select LDAP search and enter an LDAP expression to filter or limit the objects that will be returned. After you have decided on your Search options, clink Find. 9. In the Search results pane, select all the objects for this search session, and then 102

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

See Also Deploying Clients and Devices

Setting Up Kerberos Authentication


Microsoft Lync Server 2010 supports NTLM and Kerberos authentication for Web Services. Office Communications Server 2007 and Office Communications Server 2007 R2 used the default RTCComponentService and RTCService as the user accounts to run the Web Services application pools, allowing for a service principal name (SPN) to be assigned to the user accounts and to act as the authentication principal. Lync Server uses NetworkService to run Web Services and NetworkService cannot have SPNs assigned to it. To solve the problem of not having Active Directory objects to hold the SPNs, Lync Server can use computer account objects for this purpose. The computer account objects can hold the SPNs and are not subject to password expiration, which was an issue with using user accounts in previous versions. You use Windows PowerShell cmdlets to configure the computer objects to provide Kerberos authentication.

In This Section
Prerequisites for Enabling Kerberos Authentication Create a Kerberos Authentication Account Assign a Kerberos Authentication Account to a Site Setting Up Kerberos Authentication Account Passwords Add Kerberos Authentication to Other Sites Remove Kerberos Authentication from a Site Testing and Reporting the Status and Assignment of Kerberos Authentication

Prerequisites for Enabling Kerberos Authentication


Before enabling Kerberos authentication, ensure the completion of all prerequisite configuration and infrastructure preparations: Active Directory schema is extended for Lync Server 2010. Active Directory forest preparation is completed for Lync Server 2010. Active Directory domain preparation is completed for Lync Server 2010. Central Management store is successfully installed and available. The topology has been created and published by using Topology Builder.

Servers and roles that require Web Services have been defined and deployed, including Front End Servers, Standard Edition servers, and Directors. Internet Information Services (IIS) is configured and deployed with the recommended role services to support Web Services in Lync Server 2010. After the prerequisites have been met, you should be ready to create one or more accounts for Web Services to use for Kerberos authentication for your deployment. At a minimum, you need to

103

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

create one Kerberos authentication account for each deployment. However, you can create an account for each site to provide local Kerberos authentication at the site. You can only specify one Kerberos authentication account per site.

Create a Kerberos Authentication Account


To successfully complete the To create a Kerberos account procedure, you should be logged on to the server or domain minimally as a member of the Domain Admins group. In the event that your Active Directory Domain Services (AD DS) infrastructure is locked down or secured, it is possible that the Windows PowerShell cmdlets that automate the creation of the Kerberos account will not work correctly and will fail. If you are working in a locked down Active Directory, refer to the procedure following To create a Kerberos account titled To manually create a Kerberos account. You can create Kerberos authentication accounts for each site or you can create a single Kerberos authentication account and use it for all sites. You use Windows PowerShell cmdlets to create and manage the accounts, including identifying the accounts assigned to each site. Topology Builder and the Lync Server 2010 Control Panel do not display Kerberos authentication accounts. Use the following procedure to create one or more user accounts to be used for Kerberos authentication. To create a Kerberos account 1. As a member of the Domain Admins group, log on to a computer in the domain running Lync Server 2010 or on to a computer where the administrative tools are installed. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. From the command line, run the following command: New-CsKerberosAccount UserAccount Domain\UserAccount ContainerDN CN=Users,DC=DomainName,DC=DomainExtension For example: New-CsKerberosAccount UserAccount Contoso\KerbAuth ContainerDN CN=Users,DC=contoso,DC=com 4. Confirm that the Computer object was created by opening Active Directory User and Computers, expand the Users container, and then confirm that the Computer object for the user account is in the container. To manually create a Kerberos account 1. In a secured or locked down Active Directory Domain Services (AD DS) infrastructure, you do the following. Warning: The following procedure requires that you have the remote server administration tools installed or you are working locally or remotely with the AD DS Tools

104

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

feature installed. 2. As a member of the Domain Admins group, log on to a computer in the domain running Lync Server 2010 or on to a computer where the administrative tools are installed. 3. Click Start, click Administrative Tools, run Active Directory User and Computers. 4. In Active Directory Users and Computers, create the user account in the appropriate organizational unit (OU) or the Users container. 5. To access the Security tab of the user account, in Active Directory User and Computers, click View, then click Advanced Features. Advanced Features should now have a check mark to indicate that it is selected. 6. In the organizational unit or Users container, right-click the user account that you created, and select Properties. Select the Security tab. On the Security tab, click Advanced. 7. On the Advanced Security Settings tab for the selected user account, click Add. On the Select User, Computer Service Account, or Group dialog, type RTCUniversalServerAdmins in Enter the object name to select. Click Check Names. If successful, click OK. 8. Select the Object tab on the Permission Entry dialog of the user account. Click the dropdown Apply to and select This object only. 9. In the Permissions selection pane, select the following permissions:
Permission Allow or Deny Inheritance Apply to

Change Password Reset Password Read Permissions Write servicePrincipalName

Allow Allow Allow Allow

Not Inherited Not Inherited Not Inherited Not Inherited

This object only This object only This object only This object only

10. Click OK three times to close out of the dialogs. Close and exit Active Directory Users and Computers. 11. Click Start, click Administrative Tools, run ADSI Edit. 12. Right-click ADSI Edit, select Connect To, and select Select a well known Naming Context. Select Default naming context from the list. Click OK. 13. In the organizational unit or container where the user object is located, right-click the user object and select Properties. 14. On the Attribute Editor tab, locate the attribute userAccountControl, then click Edit. 15. The Integer Attribute Editor displays the integer value of the userAccountControl. Change the value to 69664. The integer value shown sets the flags for PASSWD_NOTREQD, WORKSTATION_TRUST_ACCOUNT, and

105

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

DONT_EXPIRE_PASSWD. 16. Click OK to commit the change to the attribute. Close ADSI Edit.

Assign a Kerberos Authentication Account to a Site


To successfully complete this procedure you should be logged on as a user who is a member of the RTCUniversalServerAdmins group. After creating the Kerberos account, you must assign it to a site. This is a Lync Server 2010 site, not an Active Directory site. You can create multiple Kerberos authentication accounts per deployment, but you can assign only one account to a site. Use the following procedure to assign a previously created Kerberos authentication account to a site. For details about creating the Kerberos account, see Create a Kerberos Authentication Account. To assign a Kerberos authentication account to a site 1. As a member of the RTCUniversalServerAdmins group, log on to a computer in the domain running Lync Server 2010 or on to a computer where the administrative tools are installed. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. From the command line, run the following two commands: New-CsKerberosAccountAssignment UserAccount Domain\UserAccount Identity site:SiteName Enable-CsTopology For example: New-CsKerberosAccountAssignment UserAccount contoso\kerbauth Identity site:redmond Enable-CsTopology Note: You must specify the UserAccount parameter by using the Domain\User format. The User@Domain.extension format is not supported for referring to the computer objects created for Kerberos authentication purposes. Important: After making any changes to Kerberos authentication, such as adding an account or removing an account, you must run Enable-CsTopology from the Lync Server Management Shell command prompt.

106

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Setting Up Kerberos Authentication Account Passwords


After you create the computer object for the Kerberos authentication account, you can set up the password for the account. You run the Windows PowerShell cmdlet for setting the Kerberos account password on one server. You can set the password on the object that you created for the Kerberos authentication. The password can be set to a known value, but by default is a random password. The password is available to all Kerberos authentication sources that use the account. You use Windows PowerShell cmdlets to set up and manage Kerberos account passwords. Note: The Kerberos account object is a computer object, but uses the UserAccount parameter for operations in the Windows PowerShell cmdlets that are referenced. Note that this is not a mistake, but the intended behavior of the cmdlet when used with the Kerberos account creation and maintenance. In This Section Set a Kerberos Authentication Account Password on a Server Synchronize a Kerberos Authentication Account Password to IIS

Set a Kerberos Authentication Account Password on a Server To successfully complete this procedure you should be logged on as a user who is a member of the RTCUniversalServerAdmins group. You must set up a password on the Kerberos account for each site that has Front End Servers, Standard Edition servers, and Directors. You can set up the password by running the SetCsKerberosAccountPassword Windows PowerShell cmdlet on one server in the site (for example, one Front End Server). For each site, you must run the SetCsKerberosAccountPassword cmdlet. The cmdlet configures Internet Information Services (IIS) for the Web Services service, and then sets the password on the computer account in Active Directory Domain Services (AD DS). An alternate method, based on which parameter is used with the cmdlet, configures IIS on one server while using another server that has been configured as the source of the Kerberos account password. When you use the Set-CsKerberosAccountPassword cmdlet to set a password, Kerberos sets the password to a randomly generated string. This cmdlet contacts all IIS instances in all Lync Server 2010 central sites to which this account is assigned. To set a password for a Kerberos authentication account 1. Log on to any domain computer with Lync Server Management Shell installed as a member of the RTCUniversalServerAdmins group. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. From the command line, run the following two commands: Set-CsKerberosAccountPassword UserAccount Domain\UserAccount For example: Set-CsKerberosAccountPassword UserAccount contoso\KerbAuth

107

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Note: You must specify the UserAccount parameter by using the Domain\User format. The User@Domain.extension format is not supported for referencing the computer objects created for Kerberos authentication purposes. Important: After making any changes to Kerberos authentication, such as adding an account or removing an account, you must run Enable-CsTopology from the Lync Server Management Shell command prompt.

Synchronize a Kerberos Authentication Account Password to IIS To successfully complete this procedure you should be logged on as a user who is a member of the RTCUniversalServerAdmins group. In a site, Front End Servers, Standard Edition servers, and Directors can use a Kerberos authentication account for purposes of authenticating requests to the Web Services service. This procedure locates each server running Web Services in a site that has been assigned a Kerberos account and updates the Internet Information Services (IIS) configuration settings to use the Kerberos account. For details, see Set a Kerberos Authentication Account Password on a Server. To set and configure a Kerberos authentication account password 1. Log on to a source computer (such as fe01.contoso.com) as a member of RTCUniversalServerAdmins group. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. From the Lync Server Management Shell command line, run the following two commands: Set-CsKerberosAccountPassword FromComputer SourceComputer ToComputer DestinationComputer For example: Set-CsKerberosAccountPassword FromComputer fe01.contoso.com ToComputer dir01.contoso.com Important: The name of the source computer and destination computer must be a fully qualified domain (FQDN) name of the server. You cannot use the pool FQDN unless the pool name is the same as the name of the computer that you are using as a source computer or destination computer. Important: After making any changes to Kerberos authentication, such as adding an account or removing an account, you must run Enable-CsTopology from the Lync Server Management Shell command prompt.

108

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Add Kerberos Authentication to Other Sites


If you need to add sites to an existing deployment that you have configured for Kerberos authentication, you can use an existing Kerberos authentication account for the new site or create a new account. For details about creating a new account for a site, see Create a Kerberos Authentication Account. For details about using the same account for a new site by assigning an existing account to the site, see Assign a Kerberos Authentication Account to a Site.

Remove Kerberos Authentication from a Site


To successfully complete this procedure you should be logged on as a user who is a member of the RTCUniversalServerAdmins group. If you need to remove Kerberos authentication from a site or retire a site, you must remove the Kerberos authentication account assignment from the site by using the RemoveCsKerberosAccountAssignment cmdlet. Use the following procedure to remove the Kerberos authentication account assignment, which removes the assignment from all computers in the site. Warning: If you are permanently retiring the Kerberos-enabled account, you should use Active Directory Users and Computers to delete it from Active Directory Domain Services (AD DS) after you have removed the assignment. If you plan to use the object in the future, you might want to keep the Active Directory object. To remove Kerberos authentication from a site 1. As a member of the RTCUniversalServerAdmins group, log on to a computer in the domain running Lync Server 2010 or on to a computer where the administrative tools are installed. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. From the command line, run the following two commands: Remove-CsKerberosAccountAssignment Identity site:SiteName Enable-CsTopology For example: Remove-CsKerberosAccountAssignment Identity site:Redmond Enable-CsTopology Important: After making any changes to Kerberos authentication, such as adding an account or removing an account, you must run Enable-CsTopology from the Lync Server Management Shell command prompt.

109

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Testing and Reporting the Status and Assignment of Kerberos Authentication


If you need to test the Kerberos assignments or determine the status of Kerberos authentication, you can use Windows PowerShell cmdlets. In This Section Test and Report Functional Readiness for Kerberos Authenticaion Report Kerberos Account Assignments

Test and Report Functional Readiness for Kerberos Authenticaion To successfully complete this procedure you should be logged on as a user who is a member of the RTCUniversalServerAdmins group. You can use the Test-CsKerberosAccountAssignment Windows PowerShell cmdlet to test and report the functional readiness of a site assignment for Kerberos authentication. This command queries the site specified in the required Identity parameter. The optional Report parameter causes the cmdlet to write an HTML report to C:\Logs on the computer on which the command is run. The optional Verbose parameter reports activity information to the screen. To test and report functional readiness for Kerberos authentication for a site 1. As a member of the RTCUniversalServerAdmins group, log on to a computer in the domain running Lync Server 2010 or on to the computer where the administrative tools are installed. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. From the command line, run the following command: Test-CsKerberosAccountAssignment Identity site:SiteName Report c:\logs\FileName.htm -Verbose For example: Test-CsKerberosAccountAssignment Identity site:Redmond Report c:\logs\KerberosReport.htm -Verbose

Report Kerberos Account Assignments To successfully complete this procedure you should be logged on as a user who is a member of the RTCUniversalServerAdmins group. You can use the Get-CsKerberosAccountAssignment cmdlet to query information about the Kerberos authentication account assignments and report information about the current assignments in your deployment.

110

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To query Kerberos authentication account assignments for a site 1. As a member of the RTCUniversalServerAdmins group, log on to a computer in the domain running Lync Server 2010 or on to a computer where the administrative tools are installed. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. From the command line, run one of the following commands: To query all Kerberos authentication account assignments in your organization and return assignment information about each of them, run the cmdlet without any parameters: Get-CsKerberosAccountAssignment To query all Kerberos authentication account assignments in your deployment and return site assignment information about each of them, run the cmdlet with the Identity parameter: Get-CsKerberosAccountAssignment Identity site:SiteName For example: Get-CsKerberosAccountAssignment Identity site:Redmond To query all Kerberos authentication account assignments in a single site and return assignment information about each of them, run the cmdlet with the Filter parameter: Get-CsKerberosAccountAssignment Filter SiteName For example: Get-CsKerberosAccountAssignment Filter *Redmond Note: Specifying *SiteName for the Filter parameter returns information about all sites that contain the specified site name anywhere in the site identifier (for example, all sites that contain the string Redmond in the site identifier).

Adding Server Roles


After you have your initial deployment up and running, you can add additional server roles for Microsoft Lync Server 2010, such as a Director, a stand-alone A/V Conferencing Server (Enterprise Edition only), and a stand-alone Mediation Server. Note: Before undertaking the task of installing additional server roles, see the Planning topics related to each role in Planning for Microsoft Lync Server 2010. The Deployment topics are available in the following list.

111

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

In This Section
Define the Director Deploying a Stand-alone A/V Conferencing Server Deploying Edge Servers Deploying Enterprise Voice Configuring Dial-in Conferencing Configuring Call Park Deploying Monitoring Deploying Archiving Configuring Response Group

Additionally, for details about the deployment of your client software and devices that can be used with Lync Server 2010, see Deploying Clients and Devices.

Deploying a Stand-alone A/V Conferencing Server


You can deploy a stand-alone Audio/Video (A/V) Conferencing Server if you do not want it collocated with the Front End Server. This section describes the process of deploying a standalone A/V Conferencing Server and then testing the A/V Conferencing Server deployment.

In This Section
Define the A/V Conferencing Server in Topology Builder Publish the Topology Install the Local Configuration Store Install Lync Server 2010 on the A/V Conferencing Server Configure Certificates for Stand-alone A/V Conferencing Servers Start Services on the A/V Conferencing Server

Define the A/V Conferencing Server in Topology Builder


Important: This procedure assumes that you are adding an Audio/Video (A/V) Conferencing Server pool to an already deployed environment. If you are deploying your A/V Conferencing Server in conjunction with a defined topology that has the A/V Conferencing Server or Servers already published, you should proceed to this topic: Install the Local Configuration Store. To successfully complete this procedure, you can be logged on to the computer as a standard user. There are no special permissions or group assignments necessary to define the topology. To improve the A/V experience with a deployment of more than 10,000 users, we recommend that you deploy one or more stand-alone A/V Conferencing Servers. If necessary, review the hardware and software requirements for a stand-alone A/V Conferencing Server. For details

112

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

about hardware requirements, see Server Hardware Platforms. For details about software prerequisites and requirements, see Additional Software Requirements. You cannot convert an A/V Conferencing single computer pool to a multiple computer pool. If you later decide that your organization needs a pool with multiple computers, you must delete the single computer pool, and then add the multiple computer pool. If you plan to implement an A/V Conferencing multiple computer pool in the future, select Multiple computer pool. Even though a pool is defined as two or more computers that are load balanced, you can create a single computer pool and create a pool fully qualified domain name (FQDN) for the single computer. When you are ready to add more computers to the pool later, you must rerun Topology Builder to define the new pool member, publish the new topology, and then set up the new A/V Conferencing pool member through the Lync Server Deployment Wizard. A/V Conferencing Server pools are unique in that they do not need load balancers to create a pool. A/V Conferencing pools load balance internally and do not need additional hardware. To define a stand-alone A/V Conferencing Server with a single computer pool 1. Log on to the computer where Topology Builder is installed. 2. Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Topology Builder. 3. On the Welcome page, click Download Topology from existing deployment, and then click OK. 4. In the Save Topology As dialog box, choose a location, give the file an appropriate name, accept the default extension of .tbxml, and then click Save. 5. Expand the Server Role tree view, right-click A/V Conferencing pools, and then click New A/V Conferencing Pool.

6. On the Define the A/V Conferencing pool FQDN page, select Single computer pool, enter the FQDN, and then click Next. 7. On the Associate Front End pools page, select the Front End pool that you want to associate with the new A/V Conferencing Server, and then click Finish.

113

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To define a stand-alone A/V Conferencing Server with a multiple computer pool 1. Log on to the computer where Topology Builder is installed. 2. Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Topology Builder. 3. On the Welcome page, click Download Topology from existing deployment, and then click OK. 4. In the Save Topology As dialog box, choose a location, give the file an appropriate name, accept the default extension of .tbxml, and then click Save. 5. Expand the Server Role tree view, right-click A/V Conferencing pools, and then click New A/V Conferencing Pool. 6. On the Define the A/V Conferencing pool FQDN page, select Multiple computer pool, enter the Pool FQDN, and then click Next. 7. On the Define the computers in this pool page, enter the FQDN of a computer to add to the pool, and then click Add. Perform this step for each computer you want to add to the pool, and then click Next. 8. On the Associate Front End pools page, select the Front End pool that you want to associate with the new A/V Conferencing Server, and then click Finish.

Publish the Topology


To successfully publish, enable, or disable a topology when adding or removing a server role, you should be logged in as a user who is a member of the RTCUniversalServerAdmins and Domain Admins groups. It is also possible to delegate the proper administrator rights and permissions. For details, see Delegate Setup Permissions. For other configuration changes, only membership in the RTCUniversalServerAdmins group is required. After you define your topology in Topology Builder, you must publish the topology to the Central Management store. The Central Management store provides a robust, schematized storage of the data needed to define, set up, maintain, administer, describe, and operate a Microsoft Lync

114

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Server 2010 deployment. It also validates the data to ensure configuration consistency. All changes to this configuration data happen at the Central Management store, eliminating out-ofsync issues. Read-only copies of the data are replicated to all servers in the topology, including Edge Servers. Note: For Enterprise Edition only: In order to publish the topology, the SQL Server-based Back End Server must be online and accessible with firewall exceptions in place. For details about specifying firewall exceptions, see Understanding Firewall Requirements for SQL Server. For details about configuring SQL Server, see Configure SQL Server for Lync Server 2010. To publish a topology 1. Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Topology Builder. 2. Select to open the topology from a local file. If you are on the computer where you defined the topology, this will be in the location where you saved it in earlier steps. Typically, this will be the Documents folder of the user who configured the topology. 3. Right-click the Lync Server 2010 node, and then click Publish Topology.

4. On the Publish the topology page, click Next.

115

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

5. On the Create databases page, select the databases you want to publish. Note: If you dont have the appropriate rights to create the databases, you can clear the check boxes next to those databases, and someone with appropriate rights can later create the databases. For details, see Deployment Permissions for SQL Server.

116

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

6. Optionally click Advanced. The Advanced SQL Server data file placement options allow you to select between the following options: Automatically determine database file location This option will determine the best operational performance based on the disk configuration on your SQL Server-based server by distributing the log and data files to the best location. Use SQL Server instance defaults This option puts log and data files onto the SQL Server-based server by using the instance settings. This option does not use the operational functionality of the SQL Server-based server to determine optimal locations for logs and data. The SQL Server administrator would typically move the log and data files to locations that are appropriate for the SQL Server-based server and organization management procedures. Click OK, and then click Next.

117

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

7. On the Select Central Management Server page, select a Front End pool.

118

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

8. Optionally click Advanced. The Advanced SQL Server data file placement options allow you to select between the following options: Automatically determine database file location This option will determine the best operational performance based on the disk configuration on your SQL Server-based server by distributing the log and data files to the best location. Use SQL Server instance defaults This option puts log and data files onto the SQL Server-based server by using the instance settings. This option does not use the operational functionality of the SQL Server-based server to determine optimal locations for logs and data. The SQL Server administrator would typically move the log and data files to locations that are appropriate for the SQL Server-based server and organization management procedures. Click OK.

119

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

9. Click Next to complete the publishing process.

120

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

10. When the publish process has completed, click Finish. When the topology has been published successfully, you can begin installing a local replica of the Central Management store on each server running Lync Server 2010 in your topology. We recommend that you begin with the first Front End pool. See Also Setting Up Front End Servers and Front End Pools Setting Up Standard Edition Server

Install the Local Configuration Store


To successfully complete this procedure, you should be logged on to the server minimally as a local administrator and a domain user who has membership in at least the RTCUniversalReadOnlyAdmin group. The first step of the Lync Server Deployment Wizard is to install the Local Configuration store. The Local Configuration store is SQL Server Express, which installs a local database that will retain a read-only copy of the Central Management store. The Central Management store is added to the existing SQL Server database installed on the Standard Edition server SQL Server Express-based database.

121

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Important: If this is the first time that you have run Microsoft Lync Server 2010 setup on this server, you will be prompted for a drive and path to install Lync Server 2010. If your organization requires that you locate Internet Information Services (IIS) and all Web Services on a drive other than the system drive, you can change the installation location path for the Lync Server files in the Setup dialog box. If you install the Setup files to this path, including OCSCore.msi, the rest of the Lync Server 2010 files will be deployed to this drive as well. To install the Local Configuration store 1. From the installation media, browse to \setup\amd64\Setup.exe, and then click OK. 2. If you are prompted to install the Microsoft Visual C++ 2008 distributable, click Yes. 3. On the Lync Server 2010 Installation Location page, click OK. 4. On the End User License Agreement page, review the license terms, select I accept the terms in the license agreement, and then click OK. This step is required before you can continue. 5. On the Deployment Wizard page, click Install or Update Lync Server System. 6. On the Lync Server 2010 page, next to Step1: Install Local Configuration Store, click Run. 7. On the Local Server Configuration page, ensure that the Retrieve configuration automatically from the Central Management Store option is selected, and then click Next. 8. When the local server configuration installation is complete, click Finish.

Install Lync Server 2010 on the A/V Conferencing Server


After you have successfully published the new topology with the stand-alone Audio/Video (A/V) Conferencing Server, you must install Microsoft Lync Server 2010 on the server. To install Lync Server 2010 on the A/V Conferencing Server 1. On the Microsoft Lync Server 2010 Deployment Wizard page, next to Step 2: Setup or Remove Lync Server Components, click Run. 2. On Setup Lync Server components page, click Next. 3. On the Executing Commands page, when the task status is shown as completed, click Finish.

122

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Configure Certificates for Stand-alone A/V Conferencing Servers


Important: When you run the Certificate Wizard, ensure that you are logged in using an account that is a member of a group that has been assigned the appropriate permissions for the type of certificate template you will use. By default, a Lync Server certificate request will use the Web Server certificate template. If you use an account that is a member of the RTCUniversalServerAdmins group to request a certificate using this template, verify that the group has been assigned the Enroll permissions required to use that template. To successfully complete this procedure you should be logged on to the computer where the Lync Server Deployment Wizard is installed as a user who is a member of the RTCUniversalServerAdmins group or have the correct user rights delegated. For details, see Delegate Setup Permissions. Depending on your organization and requirements for requesting certificates, you may require other group memberships. Consult with the group that manages your public key infrastructure (PKI) certification authority (CA). Each stand-alone Audio/Video (A/V) Conferencing Server requires a single default certificate. For details about the certificate requirements, see Certificate Requirements for Internal Servers. Use the following procedure to configure the A/V Conferencing Server certificate. Repeat the procedure for each A/V Conferencing Server. Note: The steps of this procedure describe how to configure a certificate from an Internal Enterprise Root CA deployed by your organization. For details about obtaining certificates from an external CA, contact your IT department. Configure the certificate for a stand-alone A/V Conferencing Server 1. Log on to the computer where the Lync Server Deployment Wizard is installed as a member of the RTCUniversalServerAdmins group or with the necessary user rights as described in Delegate Setup Permissions. 2. On the Microsoft Lync Server 2010 Deployment Wizard page, next to Step 3: Request, Install or Assign Certificates, click Run. 3. On the Certificate Wizard page, click Request. 4. On the Certificate Request page, click Next. 5. On the Delayed or Immediate Requests page, select Send the request immediately, and then click Next. 6. On the Choose a Certification Authority (CA) page, in the list, click the internal Windows certification authority that you want, and then click Next. 7. On the Certification Authority Account page, enter alternate credentials to be used if the account you are logged on with does not have sufficient authority to request the certificate, and then click Next. 8. On the Specify Alternate Certificate Template page, click Next. 9. On the Name and Security Settings page, enter a Friendly Name.

123

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

10. In the Key bit length list, click the key bit length, and then click Next. 11. On the Organization Information page, optionally specify organization information, and then click Next. 12. On the Geographical Information page, optionally specify geographical information, and then click Next. 13. On the Subject Name / Subject Alternative Names page, review the subject name and subject alternative names to ensure that you have the proper server fully qualified domain names (FQDNs) listed, and then click Next. Note: There are no required entries for A/V Conferencing Servers. 14. On the SIP Domain setting page, select Configured SIP Domains for all SIP domains in your deployment, and then click Next. 15. On the Configure Additional Subject Alternative Names page, add any additional required subject alternative names, and then click Next. 16. On the Certificate Request Summary page, click Next. 17. On the Executing Commands page, click Next. 18. On the Online Certificate Request Status page, click Finish. 19. On the Certificate Assignment page, click Next. 20. On the Certificate Assignment Summary page, click Next. 21. On the Executing Commands page, click Finish. 22. On the Certificate Wizard page, click Close.

Start Services on the A/V Conferencing Server


To successfully complete this procedure you should be logged on to the computer where the Lync Server Deployment Wizard is installed as a user who is a member of the RTCUniversalServerAdmins group or have the correct permissions delegated. For details, see Delegate Setup Permissions. After you install the Local Configuration store, install the Lync Server components, and configure certificates on a stand-alone Audio/Video (A/V) Conferencing Server, you must start Lync Server 2010 services on the server. You can use the following procedure to start services on each A/V Conferencing Server in your deployment. To start services on a stand-alone A/V Conferencing Server 1. Log on to the computer where the Lync Server Deployment Wizard is installed as a member of the Domain Admins group and the RTCUniversalServerAdmins group. 2. In the Lync Server Deployment Wizard, on the Lync Server 2010 page, next to Step 4: Start Services, click Run. 3. On the Start Services page, click Next to start the Lync Server services on the

124

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

server. 4. On the Executing Commands page, after all services have started successfully, click Finish. Important: The command to start the services on the server is a best effort method to report that the services have in fact started. It might not reflect the actual state of the service. We recommend that you use the optional step in the Deployment Wizard following Step 4 to open the Microsoft Management Console (MMC) and confirm that the services have started successfully. If any Lync Server service has not started, you can right-click that service in the MMC, and then select Start.

Configuring Dial-in Conferencing


This section guides you through the configuration of Microsoft Lync Server 2010 dial-in conferencing.

In This Section
Dial-in Conferencing Configuration Prerequisites and Permissions Deployment Process for Dial-In Conferencing Configure Dial Plans for Dial-in Conferencing Ensure Dial Plans Have Assigned Regions (Optional) Verify PIN Policy Settings Configure Conferencing Policy for Dial-in Configure Dial-in Conferencing Access Numbers (Optional) Verify Dial-in Conferencing Settings (Optional) Modify Key Mapping for DTMF Commands (Optional) Enable and Disable Conference Join and Leave Announcements (Optional) Verify Dial-in Conferencing Deploy the Online Meeting Add-in for Microsoft Lync 2010 Configure User Account Settings (Optional) Welcome Users to Dial-in Conferencing

Related Sections
Deploying Lync Server 2010 Enterprise Edition Deploying Lync Server 2010 Enterprise Edition

125

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Dial-in Conferencing Configuration Prerequisites and Permissions


Dial-in conferencing is an optional component of the Microsoft Lync Server 2010 Conferencing workload. The components you need to install before you can configure dial-in conferencing are deployed when you use the Microsoft Lync Server 2010, Planning Tool and Topology Builder to design your topology and then set up your Front End pool or Standard Edition server. This topic describes what you need to have accomplished before you can configure dial-in conferencing. This section assumes that you have read the planning sections related to the Conferencing workload and dial-in conferencing in particular.

Dial-in Conferencing Configuration Prerequisites


Dial-in conferencing requires the following Lync Server 2010 components: Unified Communications Application Service (UCAS) (called the Application service) Conferencing Attendant application Conferencing Announcement application Dial-in Conferencing Settings webpage At least one Lync Server 2010 Mediation Server and at least one PSTN gateway

You deploy these components when you use the Lync Server 2010, Planning Tool and Topology Builder to define and publish your topology and then deploy a Front End pool or a Standard Edition server. If you are deploying Enterprise Voice, you should deploy it before you configure dial-in conferencing. If you are not deploying Enterprise Voice, you can deploy a Mediation Server and a public switched telephone network (PSTN) gateway when you deploy your Front End pool or Standard Edition server. Note: If you are upgrading from Office Communications Server 2007 R2 to Lync Server 2010, deploy dial-in conferencing in every pool that you plan to use to host Lync Server 2010 conferences. For details about migrating dial-in conferencing, see Migration from Office Communications Server 2007 R2 to Lync Server 2010. This section assumes that you have done the following: Applied at least Cumulative Update 5 (CU5) to your Office Communications Server 2007 R2 environment, if you are migrating to Lync Server 2010. For the most up-to-date information about Office Communications Server 2007 R2 updates, see "Updates Resource Center for Office Communications Server 2007 R2 and Clients" at http://go.microsoft.com/fwlink/?LinkId=199488. Used the Planning Tool and Topology Builder to design and configure your topology. While specifying the Conferencing workload, you selected the dial-in conferencing option. For details about defining your topology, see Defining the Topology in Topology Builder in the Deployment documentation. Published your topology, and set up the Front End pool or Standard Edition server. For details about publishing the topology and installing Lync Server 2010, see Deploying Lync Server 2010 Enterprise Edition in the Deployment documentation.

126

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Note: When you install your published topology, the Dial-in Conferencing Settings webpage is installed on the Front End Server or Standard Edition server as part of Web Services. Important: If you change the path for the File Store in Topology Builder after you deploy Lync Server 2010, you need to restart the Conferencing Attendant and Conferencing Announcement applications to use the new path. Deployed Enterprise Voice. If you are not deploying Enterprise Voice, you either collocated a Mediation Server on the Enterprise Edition Front End Server or the Standard Edition server, or you deployed a stand-alone Mediation Server, and you deployed a PSTN gateway. For details about deploying Enterprise Voice, see Deploying Enterprise Voice in the Deployment documentation. For details about installing a stand-alone Mediation Server and PSTN gateway, see Deploying Mediation Servers and Defining Peers in the Deployment documentation. The following flowchart shows the steps that you must perform before you can configure dial-in conferencing and the steps that you perform to configure dial-in conferencing.

127

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Deploying dial-in conferencing

128

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Dial-in Conferencing Permissions


To configure dial-in conferencing, you need to use the following administrative tools: Microsoft Lync Server 2010 Control Panel Lync Server Management Shell

You use these administrative tools to configure dial-in conferencing settings, and the dial plans, policies, and other settings that dial-in conferencing requires. Configuring dial-in conferencing requires any of the following administrative roles, depending on the task: CsVoiceAdministrator This administrator role can create, configure, and manage voice-related settings and policies. CsUserAdministrator This administrator role can enable and disable users for Lync Server and assign existing policies, such as conferencing policies and PIN policies, to users. CsAdministrator This administrator role can perform all of the tasks of CsVoiceAdministrator and CsUserAdministrator. See Also Dial-In Conferencing in Lync Server 2010 Deploying Lync Server 2010 Enterprise Edition Deploying Enterprise Voice

Deployment Process for Dial-In Conferencing


The components required for dial-in conferencing are deployed when you deploy the Conferencing workload. Before you can configure dial-in conferencing, you need to deploy either Enterprise Voice or a Mediation Server and a public switched telephone network (PSTN) gateway. All the steps in the following table must be performed before users can dial in from the PSTN to join an audio/video conference. Note: If you are migrating from Office Communications Server 2007 R2, you must apply at least Cumulative Update 5 (CU5) to your Office Communications Server 2007 R2 environment before deploying dial-in conferencing. CU5 supports participants dialing Office Communications Server 2007 R2 access numbers to join Lync Server 2010 conferences. Dial-in Conferencing Deployment Process
Phase Steps Permissions Deployment documentatio n

Create a topology that includes

1. Run the Planning Tool to configure your topology, and export the topology into Topology Builder.

Domain Admins RTCUniversalServerAd mins

Deploying

129

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Phase Steps Permissions Deployment documentatio n

the Conferencin g workload, including a Mediation Server and PSTN gateway, and deploy the Front End pool or Standard Edition server.

While configuring the topology, select the dial-in conferencing option. 2. Publish the topology and deploy the Front End pool or Standard Edition server. 3. If necessary, create a standalone Mediation Server and associate it with a PSTN gateway. Note: This step is required only if you do not deploy Enterprise Voice and do not collocate the Mediation Server with the Enterprise Edition Front End Server or Standard Edition server. If you deploy Enterprise Voice, you install and configure Mediation Servers and PSTN gateways as part of the Enterprise Voice deployment. If you collocate the Mediation Server, you install and configure the Mediation Server as part of the Front End pool or Standard Edition server deployment. A dial plan is a set of phone number normalization rules that translate phone numbers dialed from a specific location to a single standard (E.164) format for purposes of phone authorization and call routing. The same phone number dialed from different locations can, based on the respective dial plans, resolve to different E.164 numbers, as appropriate to each location. If you deploy Enterprise Voice, you set up dial plans as part of

Administrator

Lync Server 2010 To create a standalone Mediation Server pool: Deploying Mediation Servers and Defining Peers

Configure dial plans

RTCUniversalServerAd mins CsVoiceAdministrator CsServerAdministrator CsAdministrator

Configure Dial Plans for Dial-in Conferencing

130

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Phase Steps Permissions Deployment documentatio n

that deployment, and you need to ensure that the dial plans also accommodate dial-in conferencing. If you do not deploy Enterprise Voice, you need to set up dial plans for dial-in conferencing. Use the Microsoft Lync Server 2010 Control Panel or Lync Server Management Shell to set up dial plans as follows: 1. Create one or more dial plans for routing dial-in access phone numbers. 2. Assign a default dial plan to each pool. Set the Dial-in conferencing region to the geographic location to which the dial plan applies. The region associates the dial plan with dial-in access numbers. Ensure that dial plans are assigned regions (Optional) Verify or modify user personal identification number (PIN) requirement s. Configure conferencin g policy to support dialRun the Get-CsDialPlan and SetCsDialPlan cmdlets to ensure that all dial plans have a region assigned. RTCUniversalServerAd mins CsVoiceAdministrator CsServerAdministrator CsAdministrator Use Lync Server 2010 Control Panel or Lync Server Management Shell to view or modify the Conferencing PIN Policy. You can specify minimum PIN length, maximum number of logon attempts, PIN expiration, and whether common patterns are allowable. RTCUniversalServerAd mins CsServerAdministrator CsAdministrator (Optional) Verify PIN Policy Settings Ensure Dial Plans Have Assigned Regions

Use Lync Server 2010 Control Panel or RTCUniversalServerAd Lync Server Management Shell to mins configure Conferencing Policy settings. CsServerAdministrator Specify whether: CsAdministrator

Configure Conferencing Policy for Dial-in

131

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Phase Steps Permissions Deployment documentatio n

in conferencin g.

PSTN conference dial-in is enabled. Users can invite anonymous participants. Unauthenticated users can join a conference by using dial-out phoning. With dial-out phoning, the conference server calls the user, and the user answers the phone to join the conference.

Configure dial-in access numbers

Use Lync Server 2010 Control Panel or Lync Server Management Shell to set up dial-in access numbers that users call to dial in to a conference, and specify the regions that associate the access number with the appropriate dial plans. The first three access numbers for the region specified by the organizer's dial plan are included in the conference invitation. All access numbers are available on the Dial-in Conferencing Settings webpage. Note: After you create dial-in access numbers, you can use the SetCsDialInConferencingAccess Number cmdlet to modify the display name of the Active Directory contact objects so that users can more easily identify the correct access number.

RTCUniversalServerAd mins CsServerAdministrator CsAdministrator

Configure Dial-in Conferencing Access Numbers

(Optional) Verify dial-in conferencin g settings

Use the GetCsDialinConferencingAccessNumber cmdlet to search for dial plans that have a dial-in conferencing region that is not used by any access number and for access numbers that have no region assigned.

RTCUniversalServerAd mins CsServerAdministrator CsAdministrator CsViewOnlyAdministrat or CsHelpDesk

(Optional) Verify Dial-in Conferencing Settings

132

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Phase Steps Permissions Deployment documentatio n

(Optional) Modify key mapping of DTMF commands

Use the SetCsDialinConferencingDtmfConfigurati on cmdlet to modify the keys used for dual-tone multifrequency (DTMF) commands, which participants can use to control conference settings (such as mute and unmute or lock and unlock).

RTCUniversalServerAd mins CsServerAdministrator CsAdministrator

(Optional) Modify Key Mapping for DTMF Commands

(Optional) Modify conference join and leave announcem ent behavior (Optional) Verify dial-in conferencin g Deploy Online Meeting Add-in for Microsoft Lync 2010 Configure user account settings (Optional) Welcome users to dial-in conferencin g and set the initial

Use the SetRTCUniversalServerAd CsDialinConferencingConfiguration to mins change how announcements work when CsServerAdministrator participants join and leave conferences. CsAdministrator

(Optional) Enable and Disable Conference Join and Leave Announceme nts (Optional) Verify Dial-in Conferencing

Use the Test-CsDialInConferencing cmdlet to test that the access numbers for the specified pool work correctly.

RTCUniversalServerAd mins CsServerAdministrator CsAdministrator

Deploy the Online Meeting Add-in for Microsoft Lync 2010 so that users can schedule conferences that support dialin conferencing. The Online Meeting Add-in for Microsoft Lync 2010 is installed automatically when you install Microsoft Lync 2010 Use Lync Server 2010 Control Panel or Lync Server Management Shell to configure the telephony Line URI as a unique, normalized phone number (for example, tel:+14255550200). Use the SetCsPinSendCAWelcomeMail script to set users' initial PINs and send a welcome email that contains the initial PIN and a link to the Dial-in Conferencing Settings webpage.

Administrators

Deploy the Online Meeting Addin for Microsoft Lync 2010 Configure User Account Settings

RTCUniversalServerAd mins CsAdministrator CsUserAdministrator RTCUniversalServerAd mins

(Optional) Welcome Users to Dialin Conferencing

133

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide Phase Steps Permissions Deployment documentatio n

PIN

Configure Dial Plans for Dial-in Conferencing


When you deploy dial-in conferencing, you need to create or modify one or more dial plans for routing dial-in access phone numbers. Make sure that at least one normalization rule in each dial plan converts telephone extensions into complete phone numbers in E.164 format. Users of dialin conferencing join conferences as authenticated enterprise users by entering their personal identification number (PIN) and their phone number. You need a normalization rule to convert extensions into complete phone numbers so that users can be authenticated when they enter just a telephone extension. To set up dial plans for dial-in conferencing, do the following: Whether or not you deploy Enterprise Voice, modify the global dial plan to add a dial-in conferencing region and to ensure that a normalization rule accurately converts your dial-in access numbers. For detailed instructions, see Modify a Dial Plan. If you did not deploy Enterprise Voice, create dial plans for your dial-in conferencing access numbers. Be sure to include a dial-in conferencing region. For detailed instructions, see Create a Dial Plan. If you deployed Enterprise Voice, modify Enterprise Voice dial plans as necessary to include regions and use appropriate normalization rules for dial-in access numbers. For detailed instructions, see Modify a Dial Plan. You can also create dedicated dial plans that are used only for dial-in access numbers. For detailed instructions, see Create a Dial Plan. For details about planning regions, see Planning for Dial-In Conferencing in the Planning documentation.

In This Section
Create a Dial Plan Modify a Dial Plan Defining Normalization Rules

Create a Dial Plan


To create a new dial plan, perform the steps in the following procedure. If you want to edit a dial plan, see Modify a Dial Plan. To create a dial plan 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. For details, see Delegate Setup Permissions.

134

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. In the left navigation bar, click Voice Routing and then click Dial Plan. 4. On the Dial Plan page, click New and select a scope for the dial plan: Site dial plan applies to an entire site, except any users or groups that are assigned to a user dial plan. If you select Site for a dial plans scope, you must choose the site from the Select a Site dialog box. If a dial plan has already been created for a site, the site does not appear in the Select a Site dialog box. Pool dial plan can apply to a public switched telephone network (PSTN) gateway or a Registrar. If you select Pool for a dial plans scope, choose the PSTN gateway or Registrar from the Select a Service dialog box. If a dial plan has already been created for a service (PSTN gateway or Registrar), the service does not appear in the list. User dial plan can be applied to specified users or groups.

Note: After you select the dial plan scope, it cannot be changed. 5. If you are creating a user dial plan, enter a descriptive name in the Name field on the New Dial Plan dialog box. After this name is saved, it cannot be changed. Notes: For site dial plans, the Name field is prepopulated with the site name and cannot be changed. For pool dial plans, the Name field is prepopulated with the PSTN gateway or Registrar name and cannot be changed. 6. The Simple name field is prepopulated with the same name that appears in the Name field. You can optionally edit this field to specify a more descriptive name that reflects the site, service, or user to which the dial plan applies. Important The Simple name must be unique among all dial plans within the Lync Server deployment. It cannot exceed 256 Unicode characters, each of which can be an alphabetic or numeric character, a hyphen (-), a period (.), a plus sign (+), or an underscore (_). Spaces are not allowed in the Simple name. 7. (Optional) In the Description field, you can type additional descriptive information about the dial plan. 8. (Optional) If you want to use this dial plan as a region for dial-in access numbers, specify a Dial-in conferencing region. If you do not want to use this dial plan for dial-in access numbers, leave this field empty. Note: Dial-in conferencing regions are required to associate dial-in conferencing access numbers with one or more dial plans.

135

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

9. (Optional) In the External access prefix field, specify a value only if users need to dial one or more additional leading digits (for example, 9) to get an external line. You can type in a prefix value of up to four characters (#, *, and 0-9). Note: If you specify an external access prefix, you do not need to create a new normalization rule to accommodate the prefix. 10. Associate and configure normalization rules for the dial plan as follows: To choose one or more rules from a list of all normalization rules available in your Enterprise Voice deployment, click Select. In Select Normalization Rules, highlight the rules you want to associate with the dial plan and then click OK. To define a new normalization rule and associate it with the dial plan, click New. For details about defining a new rule, see Defining Normalization Rules. To edit a normalization rule that is already associated with the dial plan, highlight the rule name and click Show details. For details about editing the rule, see Defining Normalization Rules. To copy an existing normalization rule to use as a starting point for defining a new rule, highlight the rule name and click Copy, and then click Paste. For details about editing the copy, see Defining Normalization Rules. To remove a normalization rule from the dial plan, highlight the rule name and click Remove. Note: Each dial plan must have at least one associated normalization rule. For information about how to determine all of the normalization rules a dial plan requires, see Dial Plans and Normalization Rules in the Planning documentation. 11. Verify that the dial plans normalization rules are arranged in the correct order. To change a rules position in the list, highlight the rule name and then click the up or down arrow. Important Lync Server traverses the normalization rule list from the top down and uses the first rule that matches the dialed number. If you configure a dial plan so that a dialed number can match more than one normalization rule, make sure the more restrictive rules are sorted above the less restrictive ones. The default Prefix All normalization rule ^(\d{11})$ matches any 11-digit number. For example, if you add a normalization rule that matches 11-digit numbers that start with 1425, make sure that Prefix All is sorted below the more restrictive ^(1425\d{7})$ rule. 12. (Optional) Enter a number to test the dial plan and then click Go. The test results are displayed under Enter a number to test. Note: You can save a dial plan that does not yet pass the test and then reconfigure it later. For details, see Test Voice Routing.

136

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

13. Click OK. 14. On the Dial Plan page, click Commit, and then click Commit all. Note: Any time you create a dial plan, you must run the Commit all command to publish the configuration change. For details, see Publish Pending Changes to the Voice Routing Configuration in the Operations documentation. See Also Modify a Dial Plan Defining Normalization Rules Publish Pending Changes to the Voice Routing Configuration

Modify a Dial Plan


To modify an existing dial plan, perform the steps in the following procedure. If you want to create a new dial plan, see Create a Dial Plan. To modify a dial plan 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. For details, see Delegate Setup Permissions. 2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. In the left navigation bar, click Voice Routing and then click Dial Plan. 4. On the Dial Plan page, double-click a dial plan name. Note: The dial plan scope and name were set when the dial plan was created. They cannot be changed. 5. (Optional) In Edit Dial Plan, edit the Simple name field, which is prepopulated with the same name that appears in the Name field to specify a more descriptive name that reflects the site, service, or user to which the dial plan applies. Important The Simple name must be unique among all dial plans within the Lync Server deployment. It cannot exceed 256 Unicode characters, each of which can be an alphabetic or numeric character, a hyphen (-), a period (.), a plus sign (+), or an underscore (_). Spaces are not allowed in the Simple name field. 6. (Optional) In the Description field, type descriptive information about the dial plan. 7. (Optional) If you want to use this dial plan as a region for dial-in access numbers, specify a Dial-in conferencing region. If you do not want to use this dial plan for dial-in access numbers, leave this field empty.

137

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Note: Dial-in conferencing regions are required to associate dial-in conferencing access numbers with one or more dial plans. 8. (Optional) In the External access prefix field, specify a value only if users need to dial one or more additional leading digits to get an external line (for example, 9). You can type in a prefix value of up to four characters (that is, #, *, and 0-9). Note: If you specify an external access prefix, you do not need to create a new normalization rule to accommodate the prefix. 9. Associate and configure normalization rules for the dial plan: To choose one or more rules from a list of all normalization rules available in your Enterprise Voice deployment, click Select. In the Select Normalization Rules dialog box, highlight the rules that you want to associate with the dial plan and then click OK. To define a new normalization rule and associate it with the dial plan, click New. For details about defining a new rule, see Defining Normalization Rules. To edit a normalization rule that is already associated with the dial plan, highlight the rule name and click Show details. For details about editing the rule, see Defining Normalization Rules. To copy an existing normalization rule to use as a starting point for defining a new rule, highlight the rule name and click Copy, and then click Paste. For details about editing the copy, see Defining Normalization Rules. To remove a normalization rule from the dial plan, highlight the rule name and click Remove. Note: Each dial plan must have at least one associated normalization rule. For details about how to determine all of the normalization rules a dial plan requires, see Dial Plans and Normalization Rules in the Planning documentation. 10. Verify that the dial plans normalization rules are arranged in the correct order. To change a rules position in the list, highlight the rule name and then click the up or down arrow. Important Lync Server traverses the normalization rule list from the top down and uses the first rule that matches the dialed number. If you configure a dial plan so that a dialed number can match more than one normalization rule, make sure the more restrictive rules are sorted above the less restrictive ones. The default Prefix All normalization rule ^(\d{11})$ matches any 11-digit number. If, for example, you add a normalization rule that matches 11-digit numbers that start with 1425, make sure that Prefix All is sorted below the more restrictive ^(1425\d{7})$ rule. 11. (Optional) Enter a number to test the dial plan and then click Go. The test results are displayed under Enter a number to test. 138

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

See Also Create a Dial Plan Defining Normalization Rules Publish Pending Changes to the Voice Routing Configuration

Defining Normalization Rules


Lync Server 2010 normalization rules use .NET Framework regular expressions to translate dialed phone numbers to E.164 format. Each dial plan must be assigned one or more normalization rules. For details about normalization rules, see Dial Plans and Normalization Rules in the Planning documentation. For details about how to write regular expressions, see ".NET Framework Regular Expressions" at http://go.microsoft.com/fwlink/?LinkId=140927. You can use either of the following methods to define or edit a normalization rule: Use the Build a Normalization Rule tool to specify values for the starting digits, length, digits to remove and digits to add, and then let Lync Server Control Panel generate the corresponding matching pattern and translation rule for you. Write regular expressions manually to define the matching pattern and translation rule.

In This Section Create or Modify a Normalization Rule by Using Build a Normalization Rule Create or Modify a Normalization Rule Manually

See Also Create a Dial Plan Modify a Dial Plan Create or Modify a Normalization Rule by Using Build a Normalization Rule Complete the following steps if you want to create or modify a normalization rule by using Build a Normalization Rule in Microsoft Lync Server 2010 Control Panel. Alternatively, if you want to create or modify a normalization rule manually, see Create or Modify a Normalization Rule Manually. To define a rule by using Build a Normalization Rule 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. For details, see Delegate Setup Permissions. 2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. (Optional) Follow the steps in Create a Dial Plan through step 11 or Modify a Dial Plan through step 10.

139

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

4. In New Normalization Rule or Edit Normalization Rule, type a name that describes the number pattern being normalized in Name (for example, 5DigitExtension). 5. (Optional) In Description, type a description of the normalization rule (for example, "Translates 5-digit extensions"). 6. In Build a Normalization Rule, enter values in the following fields: Starting digits (Optional) Specify the leading digits of dialed numbers you want the pattern to match. For example, type 425 if you want the pattern to match dialed numbers beginning with 425. Length Specify the number of digits in the matching pattern and select whether you want the pattern to match this length exactly, match dialed numbers that are at least this length, or match dialed numbers of any length. Digits to remove (Optional) Specify the number of starting digits to be removed from dialed numbers you want the pattern to match. Digits to add (Optional) Specify digits to be added to dialed numbers you want the pattern to match. The values you enter in these fields are reflected in Pattern to match and Translation rule. For example, if you leave Starting digits empty, type 7 into the Length field and select Exactly, and specify 0 in Digits to remove, the resulting regular expression in the Pattern to match is: ^(\d{7})$ 7. In Translation rule, specify a pattern for the format of translated E.164 phone numbers as follows: A value that represents the number of digits specified in the matching pattern. For example, if the matching pattern is ^(\d{7})$ then $1 in the translation rule represents 7-digit dialed numbers. (Optional) Type a value into the Digits to add field to specify digits to be prepended to the translated number, for example +1425. For example, if Pattern to match contains ^(\d{7})$ as the pattern for dialed numbers and Translation rule contains +1425$1 as the pattern for E.164 phone numbers, the rule normalizes 5550100 to +14255550100. 8. (Optional) If the normalization rule results in a phone number that is internal to your organization, select Internal extension. 9. (Optional) Enter a number to test the normalization rule and then click Go. The test results are displayed under Enter a number to test. Note: You can save a normalization rule that does not yet pass the test and then reconfigure it later. For details, see Test Voice Routing. 10. Click OK to save the normalization rule. 11. Click OK to save the dial plan. 12. On the Dial Plan page, click Commit, and then click Commit all.

140

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Note: Any time you create or change a normalization rule, you must run the Commit all command to publish the configuration change. For details, see Publish Pending Changes to the Voice Routing Configuration in the Operations documentation. See Also Create or Modify a Normalization Rule Manually Create a Dial Plan Modify a Dial Plan Test Voice Routing Publish Pending Changes to the Voice Routing Configuration Create or Modify a Normalization Rule Manually Complete the following steps if you want to create or modify a normalization rule manually. If you want to create or modify a normalization rule by using Build a Normalization Rule in Microsoft Lync Server 2010 Control Panel, see Create or Modify a Normalization Rule by Using Build a Normalization Rule.

To define a normalization rule manually 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. For details, see Delegate Setup Permissions. 2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. (Optional) Follow the steps in Create a Dial Plan or Modify a Dial Plan. 4. In New Normalization Rule or Edit Normalization Rule, type a name that describes the number pattern being normalized in Name (for example, name the normalization rule 5DigitExtension). 5. (Optional) In Description field, type a description of the normalization rule (for example, "Translates 5-digit extensions"). 6. In Build a Normalization Rule, click Edit. 7. Enter the following in Type a Regular Expression: In Match this pattern, specify the pattern that you want to use to match the dialed phone number. In Translation rule, specify a pattern for the format of translated E.164 phone numbers. For example, if you enter ^(\d{7})$ in Match this pattern and +1425$1 in Translation rule, the rule normalizes 5550100 to +14255550100. 8. (Optional) If the normalization rule results in a phone number that is internal to your

141

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

organization, select Internal extension. 9. (Optional) Enter a number to test the normalization rule and then click Go. The test results are displayed under Enter a number to test. Note: You can save a normalization rule that does not yet pass the test and then reconfigure it later. For details, see Test Voice Routing. 10. Click OK to save the normalization rule. 11. Click OK to save the dial plan. 12. On the Dial Plan page, click Commit, and then click Commit all. Note: Any time you create or change a normalization rule, you must run the Commit all command to publish the configuration change. For details, see Publish Pending Changes to the Voice Routing Configuration in the Operations documentation. See Also Create or Modify a Normalization Rule by Using Build a Normalization Rule Create a Dial Plan Modify a Dial Plan Test Voice Routing Publish Pending Changes to the Voice Routing Configuration

Ensure Dial Plans Have Assigned Regions


Dial plans that are used for dial-in conferencing need to have a Dial-in conferencing region specified to associate dial-in conferencing access numbers with the appropriate dial plan. When you set up a dial plan, you specify the dial-in conferencing region that applies to that dial plan. Then, when you create the dial-in access number, you select the regions that associate the access number with the appropriate dial plans. Because it important to specify a region for all dial plans, we recommend that you use this procedure to verify that all dial plans have regions. This step is optional. Use the Get-CsDialPlan cmdlet to verify whether the region is set for all dial-in conferencing dial plans. If the region is missing from dial plans, you can use the Set-CsDialPlan cmdlet to set the region. You can also use Lync Server Control Panel to update the region in existing dial plans. For details about using Lync Server Control Panel, see Modify a Dial Plan. To verify whether dial plans have the region property set 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the Cs-VoiceAdministrator, Cs-ServerAdministrator, or CsAdministrator role. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.

142

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

3. Run the following at the command prompt: Get-CsDialPlan [-Identity <Identifier of the dial plans to be retrieved>] For example: Get-CsDialPlan In this example, all the dial plans configured for your organization are returned. 4. Review the returned dial plans to identify any that are missing the dial-in conferencing region. For details, see the Lync Server Management Shell documentation. To set the region property for a dial plan 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the Cs-VoiceAdministrator, Cs-ServerAdministrator, or CsAdministrator role. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. For any dial plans that are missing the dial-in conferencing region, run: Set-CsDialPlan [Identity <Identity of the dial plan to be modified>] -DialinConferencingRegion "<new region>" For example: Set-CsDialPlan Identity Redmond DialinConferencingRegion "US West Coast" In this example, the dial plan with the Identity of Redmond is modified to set the DialinConferencingRegion property to "US West Coast". For details, see the Lync Server Management Shell documentation.

(Optional) Verify PIN Policy Settings


Microsoft Lync Server 2010 users who have Active Directory Domain Services (AD DS) credentials can enter a personal identification number (PIN) to join dial-in conferences as authenticated users. A PIN policy defines the rules for how dial-in conferencing PINs work. When you deploy dial-in conferencing, you should verify that the default global PIN policy meets your requirements. If you need to make changes, you can modify the default global policy or you can create a new PIN policy. You can create PIN policies that apply to a specific site, a specific user, or a specific group of users.

In This Section
Modify the Default Dial-in Conferencing PIN Settings Create or Modify Dial-in Conferencing PIN Settings for a Site or Group of Users

143

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Modify the Default Dial-in Conferencing PIN Settings


The global PIN policy defines the rules for dial-in conferencing PINs at the forest level. Follow these steps to modify the global dial-in conferencing PIN policy. For details about creating or modifying a dial-in conferencing PIN policy at the site or user level, see Create or Modify Dial-in Conferencing PIN Settings for a Site or Group of Users. To modify the global PIN policy 1. From a user account that is a member of the RTCUniversalServerAdmins group (or has equivalent user rights), or assigned to the CsServerAdministrator or CsAdministrator role, log on to any computer that is in the network in which you deployed Lync Server 2010. 2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. In the left navigation bar, click Conferencing and then click PIN Policy. 4. On the PIN Policy page, click the Global policy, click Edit, and then click Show details. 5. In Edit PIN Policy, in Minimum PIN length, type or select the minimum PIN length that you want to allow. The default minimum length is five digits. 6. To be able to specify the maximum number of logon attempts before a user is locked out, select the Specify maximum logon attempts check box. If you do not select this option, the maximum number of allowed attempts is automatically determined based on the PIN length. By default, the maximum number of attempts is automatically determined. 7. If you selected the Specify maximum logon attempts check box, in Maximum logon attempts, type or select the maximum number of logon attempts that you want to allow. 8. To have PINs expire, select the Enable PIN expiration check box. If you do not select this option, PINs will never expire. By default, PINs never expire. 9. If you selected the Enable PIN expiration check box, in PIN expires after (days), type or select the number of days after which PINs expire. 10. In PIN history count, type the number of PINs that a user must create before the user can reuse a PIN. By default, users can reuse their PINs. 11. To allow common patterns of digits in PINs, such as sequential numbers and repetitive sets of numbers, select the Allow common patterns check box. If you do not select this option, only complex patterns of digits are allowed. By default, only complex patterns of digits are allowed. Important: We recommend that you do not allow common patterns. 12. Click Commit.

144

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Create or Modify Dial-in Conferencing PIN Settings for a Site or Group of Users
Follow these steps to create or modify a user-level or a site-level dial-in conferencing personal identification number (PIN) policy. For details about how to change the global PIN policy, see Modify the Default Dial-in Conferencing PIN Settings. To create a user or site PIN policy 1. From a user account that is a member of the RTCUniversalServerAdmins group (or has equivalent user rights), or assigned to the CsServerAdministrator or CsAdministrator role, log on to any computer that is in the network in which you deployed Lync Server 2010. 2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. In the left navigation bar, click Conferencing and then click PIN Policy. 4. On the PIN Policy page, click New, and then do one of the following: To create a user-level policy, click User policy. In New PIN Policy, in Name, type a name that describes the policy. To create a site-level policy, click Site policy. In the Select a Site search field, type all or part of the name of the site for which you want to create a policy. In the list of sites, click the site you want, and then click OK. 5. In the Description field, type a description of the PIN policy. 6. In the Minimum PIN length field, type or select the minimum PIN length that you want to allow. The default minimum length is five digits. 7. To be able to specify the maximum number of logon attempts before a user is locked out, select the Specify maximum logon attempts check box. If you do not select this option, the maximum number of allowed attempts is automatically determined based on the PIN length. By default, the maximum number of attempts is automatically determined. 8. If you selected the Specify maximum logon attempts check box, in Maximum logon attempts, type or select the maximum number of logon attempts that you want to allow. 9. To have PINs expire, select the Enable PIN expiration check box. If you do not select this option, PINs will never expire. By default, PINs never expire. 10. If you selected the Enable PIN expiration check box, in PIN expires after (days), type or select the number of days after which PINs expire. 11. In PIN history count, type the number of PINs that a user must create before the user can reuse a PIN. By default, users can reuse their PINs. 12. To allow common patterns of digits in PINs, such as sequential numbers and repetitive sets of numbers, select the Allow common patterns check box. If you do not select this option, only complex patterns of digits are allowed. By default, only complex patterns of digits are allowed.

145

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Important: We recommend that you do not allow common patterns. 13. Click Commit. To change a user or site PIN policy 1. From a user account that is a member of the RTCUniversalServerAdmins group (or has equivalent user rights), or assigned to the CsServerAdministrator or CsAdministrator role, log on to any computer that is in the network in which you deployed Lync Server 2010. 2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. In the left navigation bar, click Conferencing and then click PIN Policy. 4. On the PIN Policy page, click the PIN policy that you want to change, click Edit, and then click Show details. 5. In Edit PIN Policy, modify any of the policy settings (except for the policy name, which cannot be modified). 6. Click Commit.

Configure Conferencing Policy for Dial-in


Conferencing policy is a user account setting that specifies the conferencing experience for participants. You can create conferencing policies with a site scope or a user scope. Conferencing policy settings encompass many aspects of conference scheduling and participation. Several conferencing policy settings support dial-in conferencing for participants. When you configure dial-in conferencing, you should verify that these fields are set appropriately for your organization, and modify them as necessary. Verify the following fields in your conferencing policy: Allow participants to invite anonymous users This setting allows meeting organizers to invite anonymous (that is, unauthenticated) participants to meetings. This setting is optional for dial-in conferencing. This setting is selected by default in the default global conferencing policy. Enable PSTN dial-in conferencing This setting allows users to join the audio portion of a conference by dialing in from the PSTN. This setting is required for dial-in conferencing. This setting is selected by default in the default global conferencing policy. Allow anonymous participants to dial out This setting allows anonymous (that is, unauthenticated) users to join a conference by using dial-out phoning. With dial-out phoning, the conference server calls the user, and the user answers the phone to join the meeting. This setting is optional for dial-in conferencing. This setting is not selected by default in the default global conferencing policy.

146

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To modify the conferencing policy for dial-in 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the Cs-ServerAdministrator or CsAdministrator role. 2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. In the left navigation bar, click Conferencing. 4. On the Conferencing Policy tab, double-click a conferencing policy name to open the Edit Conferencing Policy dialog box. 5. Verify that the fields for dial-in conferencing are appropriate for your organization, and modify the settings if necessary. 6. Click Commit.

Configure Dial-in Conferencing Access Numbers


When you deploy dial-in conferencing, you need to set up phone numbers that users can dial from the public switched telephone network (PSTN) to join the audio portion of conferences. These dial-in access numbers appear in meeting invitations and on the Dial-in Conferencing Settings webpage. Before you can create dial-in access numbers, you must first plan your dial-in conferencing regions and then configure dial plans with the regions. For details about regions, see Planning for Dial-In Conferencing in the Planning documentation. For details about configuring dial plans for dial-in conferencing, see Configure Dial Plans for Dial-in Conferencing. Note: You cannot use a new dial-in access number until Active Directory Domain Services (AD DS) replication of that access number is complete. Replication can take several hours to complete. Note: After you create dial-in access numbers, you can modify the display name for the Active Directory contact objects so that users can more easily identify the correct access number. Use the Set-CsDialInConferencingAccessNumber cmdlet to modify the display name. You should not modify Active Directory objects manually. For details about modifying an access number, see Lync Server Management Shell documentation for the Set-CsDialInConferencingAccessNumber cmdlet.

In This Section
Create or Modify a Dial-in Conferencing Access Number See Also Planning for Dial-In Conferencing Configure Dial Plans for Dial-in Conferencing

147

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

Create or Modify a Dial-in Conferencing Access Number


Follow these steps if you want to create or modify a dial-in conferencing access number. Important: Before you create a new dial-in access number, you must set a dial-in conferencing region in the dial plan that is associated with the new dial-in access number. Multiple dial plans can use the same region. To create or modify a dial-in access number 1. From a user account that is a member of the RTCUniversalServerAdmins group (or has equivalent user rights), or assigned to the CsServerAdministrator or CsAdministrator role, log on to any computer that is in the network in which you deployed Lync Server 2010. 2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. In the left navigation bar, click Conferencing and then click Dial-in Access Number. 4. On the Dial-in Access Number page, do one of the following: Click New to open New Dial-in Access Number. Click one of the dial-in access numbers in the list, click Edit, and then click Show details. Note: Using the search field to search for the contents of a column in the list of dialin access numbers may not yield the results you expect. Instead, sort the list by the column of interest to identify the dial-in access number you want to view or change. 5. In Display number, type the phone number that public switched telephone network (PSTN) phone users dial to join a conference. Note: This number is displayed in meeting invitations and on the Dial-in Conferencing Settings webpage. 6. In Display name, type a description for the dial-in access number. This is the name that is associated with the dial-in access number in Lync 2010 search results. Note: This name is displayed in the client when a user calls the access number. 7. In Line URI, type the E.164 number of the dial-in access number in TEL URI format, including the + symbol before the number and excluding spaces. For example, tel: +14255550200. Note: The same Line URI cannot be reused by another dial-in conferencing access

148

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

number. 8. In SIP URI, do the following: In the text box, type a unique SIP URI for this dial-in conferencing access number. This SIP URI is displayed in various locations including, but not limited to, call notification messages and previous versions of Communicator clients. Note: The same SIP URI cannot be reused by another dial-in conferencing access number. The SIP URI cannot be modified after the access number is created. The only way to change the SIP URI is to delete and recreate the access number. In the drop-down list box, click the domain of the Conferencing Attendant application that supports this dial-in access number. 9. In Pool, click the pool that is running the instance of Conferencing Attendant that supports this dial-in access number. Note: If you need to change the pool after you create the access number, you must use the Move-CsApplicationEndpoint cmdlet or delete and recreate the access number. 10. In Primary language, click the language in which prompts are played for this dial-in access number. Note: The primary language is the language that the Conferencing Attendant uses to answer the call. Supported languages are displayed alongside each access phone number on the Dial-in Conferencing Settings webpage. 11. (Optional) In Secondary languages (maximum of four), click Add, select one or more additional languages that you want to support for callers to this dial-in access number, and then click OK. Note: You can choose up to four secondary languages for each dial-in access number. Users can select a secondary language before entering the conference ID when they dial in to a conference. 12. To add a region for the dial-in access number, under Associated regions, click Add, click one or more regions that are associated with the dial plans for this dial-in access number, and then click OK. 13. To delete a region from the dial-in access number, under Associated regions, click the region you want to delete, and then click Remove. 14. Click Commit.

149

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

(Optional) Verify Dial-in Conferencing Settings


As final verification of your dial-in conferencing configuration, you can search for dial plans that have a dial-in conferencing region that is not used by any access number and for access numbers that have not specified a dial-in conferencing region. This step is optional. To find dial plans with a dial-in conferencing region that is not used by an access number 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the Cs-ServerAdministrator or CsAdministrator role. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. Run the following at the command prompt: Get-CsDialinConferencingAccessNumber EmptyRegion This cmdlet returns all of the dial plans that have a dial-in conferencing region that is not used by an access number. To find access numbers without assigned regions 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the Cs-ServerAdministrator or CsAdministrator role. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. Run the following at the command prompt: Get-CsDialinConferencingAccessNumber Region NULL This cmdlet returns all the dial-in conferencing access numbers that are not associated with a region.

(Optional) Modify Key Mapping for DTMF Commands


Dial-in conferencing users can press keys on the telephone keypad to perform dual-tone multifrequency (DTMF) commands. DTMF commands enable users who dial in to a conference to control conference settings (such as muting and unmuting themselves or locking and unlocking the conference) by using the keypad on their telephone. You can use cmdlets to modify the keys used for the DTMF commands. This step is optional. Note: For details about these cmdlets and the possible DTMF options, see Lync Server Management Shell documentation or Lync Server Management Shell command-line Help. To modify the key mapping of DTMF commands 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or

150

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

as a member of the Cs-ServerAdministrator or CsAdministrator role. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. Run the following at the command prompt: Get-CsDialinConferencingDtmfConfiguration This cmdlet returns the DTMF settings used for dial-in conferencing. 4. Run the following cmdlet and specify the key to be pressed for each option that you want to change: Note: Set-CsDialinConferencingDtmfConfiguration [-Identity <global or site collection to be changed>] ` [-AdmitAll <default key is 8>] [-AudienceMuteCommand <default key is 4>] ` [-CommandCharacter <* (default) | #>] [EnableDisableAnnouncementsCommand <default key is 9>] ` [-HelpCommand <default key is 1>] [-LockUnlockConferenceCommand <default key is 7>] ` [-MuteUnmuteCommand <default key is 6>][-PrivateRollCallCommand <default key is 3>] This cmdlet modifies the DTMF settings used for dial-in conferencing. For example: Set-CsDialinConferencingDtmfConfiguration -EnableDisableAnnouncementsCommand 4 AudienceMuteCommand 9 This example swaps the key that is pressed to enable or disable announcements and the key that is pressed to mute and unmute all participants. Because no Identity is specified, these changes apply to the global DTMF settings. 5. (Optional) To create additional sets of DTMF commands for specific sites, use the New-CsDialinConferencingDtmfConfiguration cmdlet with a site identity. When you create new DTMF settings for sites, the site settings take precedence over the global settings. For details, see Lync Server Management Shell documentation or Lync Server Management Shell command-line Help.

(Optional) Enable and Disable Conference Join and Leave Announcements


When dial-in users join or leave a conference, the Conferencing Announcement application can announce their entrance or exit by playing a tone or saying their names. You can change how announcements work by running cmdlets. This step is optional.

151

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To modify the conference join and leave announcement behavior 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the Cs-ServerAdministrator or CsAdministrator role. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. Run the following at the command prompt: Get-CsDialinConferencingConfiguration This cmdlet retrieves information about whether participants are required to record their name when joining a conference and how Lync Server responds when participants join or leave a dial-in conference. 4. Run the following at the command prompt: Set-CsDialinConferencingConfiguration Identity <identity of dial-in conferencing settings to be modified> ` [-EnableNameRecording <$true | $false>] ` [-EntryExitAnnouncementsEnabledByDefault <$true | $false>] ` [-EntryExitAnnouncementsType <UseNames | ToneOnly] EnableNameRecording Determines whether anonymous participants are asked to record their name before entering the conference. The default value is "$true," which means that anonymous participants are prompted to state their name when joining a conference. (Authenticated participants do not record their name because their display name is used instead.) EntryExitAnnouncementsEnabledByDefault Indicates whether announcements are turned on or off by default. The default value is "$false," which means that by default there are no announcements when participants join or leave a conference. The meeting organizer can override this setting when scheduling a meeting. EntryExitAnnouncementsType Indicates the action taken whenever a participant joins or leaves a conference for which announcements are enabled. The default value is "UseNames," which means there is an announcement similar to the following: "Ken Myer has joined the conference" when announcements are turned on. You can configure these settings at the global scope or at the site scope. Settings configured at the site scope take precedence over settings configured at the global scope. For example: Set-CsDialinConferencingConfiguration Identity site:Redmond ` -EnableNameRecording $false ` -EntryExitAnnouncementsEnabledByDefault $true ` -EntryExitAnnouncementsType ToneOnly In this example, settings are configured at the site scope for Redmond. Announcements are turned on, but participants are not prompted to say their name when they join a conference. A tone is played when participants enter or leave a conference.

152

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

(Optional) Verify Dial-in Conferencing


To verify that the Dial-in Conferencing Settings webpage and the dial-in access numbers work correctly, you need to do the following: Test the Dial-in Conferencing Settings webpage by signing in to the simple URL. Test that access numbers work correctly for a specific pool by running the script later in this topic. This script simulates calls to access numbers. You need the SIP address and credentials of one unified communications (UC) client that is hosted on the specific pool to use this script. This step is optional. To test access numbers for a specific pool 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the Cs-ServerAdministrator or CsAdministrator role. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. Run the following at the command prompt: $credentials = Get-Credential User name: testuser1@contoso.com Password: ******** Test-CsDialInConferencing UserSipAddress sip:testuser1@contoso.com UserCredential $credentials TargetFqdn <serverName>.<domainName>.com -Verbose The resulting report shows either Success or Failure, along with specific diagnostic information. The Verbose flag provides more detailed information about how many access numbers were found and details about them.

Deploy the Online Meeting Add-in for Microsoft Lync 2010


Deploy the Online Meeting Add-in for Microsoft Lync 2010 so that users can schedule conferences that support dial-in conferencing. The Online Meeting Add-in for Lync 2010 is installed automatically when you install Microsoft Lync 2010. For details about preparing for and installing Lync 2010, see Deploying Lync 2010 and the Online Meeting Add-in for Lync 2010. For details about customizing Online Meeting Add-in for Lync 2010 for Lync, see Customizing the Online Meeting Add-in for Lync 2010.

Configure User Account Settings


Dial-in users enter their phone number or extension and a PIN to join conferences as authenticated users. The telephony Line URI specified on Lync Server user accounts is required for authentication.

153

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

The procedure in this topic describes how to assign a Line URI for a single user account. If you need to assign a Line URI for multiple user accounts, you can create a script that uses the SetCsUser cmdlet. For details about using a sample script to assign Line URI to multiple user accounts, see "Assign Line URIs to Multiple Users" at http://go.microsoft.com/fwlink/? LinkId=196945. To configure user account settings 1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the Cs-UserAdministrator or CsAdministrator role. 2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools. 3. In the left navigation bar, click Users. 4. In the search field, type the name of the user you want to configure for dial-in conferencing or click Add filter to specify search fields, and then click Find. 5. Double-click the user name to open the Edit Lync Server User dialog box. 6. Under Telephony, in the Line URI field, type a unique, normalized phone number (for example, tel:+14255550200). Note: You can specify Line URI only if Telephony is set to PC-to-PC only, Enterprise Voice, or Remote call control. 7. Click Commit.

(Optional) Welcome Users to Dial-in Conferencing


After you configure dial-in conferencing and test to verify that it is functioning properly, you should set initial personal identification numbers (PINs) for users and notify users about the availability of the feature, including introductory instructions such as the initial PIN and the link to the Dial-in Conferencing Settings webpage. This step is optional. Typically, you use the Set-CsClientPin cmdlet to reset PINs, but you can use the procedure in this topic the first time if you want to send a welcome email with the information. If you do not want to send the email, you can use SetCsClientPin instead. You can use the Set-CsPinSendCAWelcomeMail script to set the PIN and send a welcome email to a single user. By default, the script does not reset a PIN if it is already set, but you can use the Force parameter to force reset a PIN. The email message is sent using Simple Mail Transfer Protocol (SMTP). You can create a script that runs the Set-CsPinSendCAWelcomeMail script iteratively to set PINs and send email to a group of users. You can modify the email template (that is, the CAWelcomeEmailTemplate.html file) to add more links to intranet pages or modify the email text.

154

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

To set an initial PIN and send welcome email 1. Log on as a member of the RTCUniversalServerAdmins group. 2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell. 3. Run the following at the command prompt: Set-CsPinSendCAWelcomeMail -UserUri <user identifier> ` -From <email address of sender> [-Subject <subject for email message>] ` [-UserEmailAddress <destination email address>] ` [-Cc <email address of recipients who receive copy of email>] ` [-Bcc <email address of recipients who receive blind copies>] ` [-TemplatePath <path for email template>] ` [-SmtpServer] <SMTP server name>] ` [-BodyAsPlainText] [-UseSsl]` [-Pin <new numeric PIN>] [-Force] ` [-Credential <SMTP server credentials used to send email with the specified From address>] SmtpServer By default, the script uses the value of the reserved environment variable $PSEmailServer for this parameter. If the $PSEmailServer variable is not set, you must specify this parameter. Credential By default, the script uses the credentials of the current user. If the current user does not have permission to send email on behalf of the specified From address, you must specify this parameter. As a general rule, specify this parameter if you do not specify your email address as the From address. For example: Set-CsPinSendCAWelcomeMail -UserUri "bob@contoso.com" ` -From "marco@contoso.com" This example creates a new PIN and then sends a welcome email from Marco to Bob. It uses the email text from the default template and creates the email message in HTML format. The default Subject is "Welcome to Dial In Conferencing". Another example: Set-CsPinSendCAWelcomeMail -UserUri "bob@contoso.com" ` -From "marco@contoso.com" -Subject "Your new dial-in conferencing PIN" ` -Pin "383042650" -Force ` -Credential Admin@contoso.com -UseSsl This example forces a new PIN with a value of "383042650" for Bob, even though Bob had an existing PIN, and then sends a welcome email from Marco to Bob. Because the Credential parameter is specified, the person running the command is prompted to enter a password. The email is sent by using the Secure Sockets Layer (SSL).

155

Microsoft Lync Server 2010 Enterprise Edition Deployment Guide

156

Você também pode gostar