How to Deploy with Microsoft Lync Server 2010 and 2013
This article applies to the Barracuda Load Balancer ADC 5.1 and above, with
Microsoft® Lync® Server 2010 or 2013 Enterprise Edition
For Lync Mobility, Apple iPhone and iPad; Android phone; Windows Phone 7; and Nokia mobile devices
For a full list of the prerequisites for this deployment, see Microsoft Lync 2010 and 2013 Server Deployment.
Before You Begin
Print or copy the IP Worksheet and use it to record your configuration. Complete this worksheet as you perform the tasks to deploy the Microsoft Lync Server. The worksheet will help you when you run the Topology Builder.
If you want additional information on deployment requirements and options, the following Microsoft Lync References are available:
For a list of requirements, see Microsoft Lync 2010 and 2013 Server Deployment .
For deployment options, see Understanding Microsoft Lync Server Deployment Options.
For mobility deployment details, see the Microsoft TechNet article Deploying Mobility.
Before Running Lync Topology Builder
Before Running Lync Topology Builder
Do not run the Lync Topology Builder until instructed to do so by this deployment guide. All of the services on the Barracuda Load Balancer ADC must be configured before running the Topology Builder.
Deployment Tasks
Configuring Clustered Barracuda Load Balancer ADCs
Configuring Clustered Barracuda Load Balancer ADCs
If your Barracuda Load Balancer ADCs are clustered, the configuration between the active and passive units is synchronized; you only need to configure the active Barracuda Load Balancer ADC.
To deploy the Barracuda Load Balancer ADC in a Lync 2010 or 2013 environment, complete the following tasks:
Deployment Task | Where |
|---|---|
Do this on the internal-facing Barracuda Load Balancer ADC. | |
If you did not collocate A/V Services on your Front End Servers, you must also do the following: | |
Do this on the A/V Pool Barracuda Load Balancer ADC. | |
If you have an edge deployment, you must also complete the following tasks: | |
Do this on the internal-facing Barracuda Load Balancer ADC. | |
Do this on the external-facing Barracuda Load Balancer ADC. | |
If you have deployed Director servers, you must also complete the following task: | |
Do this on the Director Barracuda Load Balancer ADC. | |
Complete the following tasks after all Services are configured on the Barracuda Load Balancer ADC: | |
Do this on the server where Topology Builder is installed. | |
Do this on the internal-facing Barracuda Load Balancer ADC. | |
Configure Mobility Services and configure the Barracuda Load Balancer ADC as a reverse proxy: | |
Do this on the internal-facing Barracuda Load Balancer ADC. | |
Task 9. Configure the Barracuda Load Balancer ADC as a Reverse | Do this on the external-facing Barracuda Load Balancer ADC. |
If you encounter connectivity issues with your deployment, you can use the Remote Connectivity Analyzer: | |
Task 1. Configure Enterprise Pool Services
Configure all services needed for an internal Lync deployment. Perform the following steps on the internal-facing Barracuda Load Balancer ADC.
Go to the BASIC > Services page in the web interface.
Add all of the services listed in Table 1, along with their real servers. For each service, click Add Service and enter the values in the corresponding fields. To add a real server, click Add Server and enter the IP address and port for the server.
Table 1. Enterprise Pool ServicesFor the DCOM_WMI_Front service only, enable TCP port monitoring for each real server associated with the service.
Next to each real server entry in the Configured Servers table, click Edit.
In the Edit Server window, scroll to the Server Monitor section and specify these settings:
Testing Method – Select TCP Port Check.
Port – Enter 5061. Testing port 5061 for this service is recommended because port 135 always passes the TCP port check, even if Lync Services are not responding.
For the HTTPS_Front service only, configure cookie persistence.
In the service settings, scroll to the Load Balancing section.
Configure these settings:
Persistence Type – Select Cookie Insert or Cookie Passive.
Persistence Time – Enter 1200.
If you have deployed any of the features in Table 2, add the service for the feature.
Table 2. Services for Optional Features
Task 2. (If Applicable) Configure Internal A/V Services
Complete this step if you did not collocate A/V Services on your front-end servers.
If you have more than 10,000 users in this pool, it is recommended that you separate the A/V Services of your Internal Lync Pool and do not collocate the A/V services on the Front End Pool. If you choose to collocate A/V Services on your Front End Pool, no further changes to the configuration are required.
Separating out the A/V Services into its own pool requires two more Barracuda Load Balancer ADCs operating as a high availability pair. If your deployment has more than 10,000 A/V users, contact Barracuda Networks Technical Support for assistance.
Task 3. Configure Internal Edge Services
To configure all services needed for a load-balanced Lync Edge deployment, perform the following steps on the internal-facing Barracuda Load Balancer ADC.
Go to the BASIC > Services page in the web Interface.
Add all of the services listed in Table 3, along with their real servers. For each service, click Add Service and enter the values in the corresponding fields. To add a real server, click Add Server and enter the IP address and port for the server.
Table 3. Internal Edge Services
Task 4. Configure External Edge Services
WAN refers to interface(s) configured to access the external network.
LAN refers to interface(s) configured to access the internal network.
Ensure that the real servers are physically connected to a switch that is connected to the LAN-facing port (for two-armed deployment) or the WAN-facing port (for one-armed deployment) of the Barracuda Load Balancer ADC.
To configure all services needed for a load-balanced Edge Deployment of Lync Server, perform the following steps on the external-facing (Internet-facing) Barracuda Load Balancer ADC.
Go to the BASIC > Services page in the web interface.
Add all of the services listed in Table 4, along with their real servers. For each service, click Add Service and enter the values in the corresponding fields. To add a real server, click Add Server and enter the IP address and port for the server.
Table 4. External Edge Services
Task 5. Configure Director Services
To configure all services needed for a load-balanced Edge Deployment of Lync Server, perform the following steps on the external-facing Barracuda Load Balancer ADC.
Persistence Settings for Lync 2013
Persistence Settings for Lync 2013
In these settings for the Director Services, source IP persistence is recommended. However, for Lync 2013, you can choose to use cookie persistence instead.
Go to the BASIC > Services page in the web interface.
Add the following Directory_MTLS service with its real servers. Click Add Service and enter the values in the corresponding fields. To add a real server, click Add Server and enter the IP address and port for the server.
If you must support Office Communications Server prior to version 2007 R2, add the following Directory_MTLS_Legacy service. If you only have versions of Office Communications Server that are 2007 R2 or later (including Lync), do not add this service.
Task 6. Run Topology Builder
After you configure all services on the Barracuda Load Balancer ADC, run LyncTopology Builder. To complete the required fields, use the configuration information that you recorded in the IP Worksheet.
Task 7. Configure SSL Settings
Install an SSL certificate on the internal-facing Barracuda Load Balancer ADC for the HTTPS services that were configured previously. The Barracuda Load Balancer ADC uses this certificate to decrypt the SSL traffic directed to the HTTPS services, and it checks for a persistence cookie.
Also, you must configure back-end SSL on the real servers to re-encrypt traffic before sending it to a server in the pool.
Using the Microsoft Management Console (MMC), export a certificate along with its private key, from one of the front-end Lync servers. Ensure the pool name is in the certificate.
Perform the following steps on the internal-facing Barracuda Load Balancer ADC for the HTTPS_Front service.
Go to the BASIC > Certificates page, and import the certificate.
Go to the BASIC > Services page and edit the service. In the Certificates section of the service settings, select the uploaded certificate.
Enable SSL in the settings of the real servers.
Next to each real server entry in the Configured Servers table, click Edit.
In the Edit Server window:
Scroll to the SSL section and turn on the Server uses SSL setting.
Scroll to the Certificates section and select the certificate that you uploaded.
If you deployed Edge services on the internal-facing Barracuda Load Balancer ADC, repeat these steps for the Replica_Replicator_Edge and AV_Edge services.
Your installation of the Barracuda Load Balancer ADC and Microsoft Lync Server is now complete. Continue to configure the Barracuda Load Balancer ADC for Lync Mobility.
Task 8. Configure Lync Mobility Services
To configure the services needed for a Lync Mobility deployment, perform the following steps on the internal-facing Barracuda Load Balancer ADC.
Persistence Settings for Lync 2013
Persistence Settings for Lync 2013
In these settings for the Lync Mobility Services, source IP persistence is recommended. However, for Lync 2013, you can choose to use cookie persistence instead.
Go to the BASIC > Services page in the web interface.
Add the following Lync_Mobility_HTTPS service with its real servers. Click Add Service and enter the values in the corresponding fields. To add a real server, click Add Server and enter the IP address and port for the server.
Edit the SSL settings for the real servers of the Lync_Mobility_HTTPS service.
Next to each real server entry in the Configured Servers table, click Edit.
In the Edit Server window, scroll to the SSL section.
Set Server Uses SSL to On.
Expand the settings, and set Validate Certificate to Off.
If you enabled Lync Mobility connections over HTTP, add the following Lync_Mobility_HTTP service.
Task 9. Configure the Barracuda Load Balancer ADC as a Reverse Proxy for Lync Mobility Services
A reverse proxy is required to support Lync Mobility Services, because it lets remote users access the functionality provided by Lync Web Services. To configure the services needed to deploy the Barracuda Load Balancer ADC as a reverse proxy, perform the following steps on the external-facing Barracuda Load Balancer ADC.
Persistence Settings for Lync 2013
Persistence Settings for Lync 2013
In these settings for the Lync Mobiliity Services, source IP persistence is recommended. However, for Lync 2013, you can choose to use cookie persistence instead.
Go to the BASIC > Services page.
Add the following Lync_RP_HTTPS service with its real servers. Click Add Service and enter the values in the corresponding fields. To add a real server, click Add Server and enter the IP address and port for the server.
Edit the SSL settings for the real servers of the Lync_RP_HTTPS service.
Next to each real server entry in the Configured Servers table, click Edit.
In the Edit Server window, scroll to the SSL section.
Set Server Uses SSL to On.
Expand the settings, and set Validate Certificate to Off.
If you enabled Lync Mobility connections over HTTP, add the following Lync_RP_HTTP service.
Troubleshooting
To troubleshoot connectivity issues by simulating different scenarios, you can use the Remote Connectivity Analyzer at:
https://testconnectivity.microsoft.com/
Appendix A. Certificate for Lync Mobility Service
Using the Lync Certificate Wizard, you can create the certificate to be assigned to the Lync Mobility Service and to the Reverse Proxy (RP) Service. The certificate's SAN must contain the autodiscover URL and your external web services URL. The Lync_RP_HTTPS service and the Lync_Mobility_HTTPS service that you create on the Barracuda Load Balancer ADC can be assigned the same certificate.
For more information regarding certificate requirements, refer to the Microsoft TechNet article called Certificate Summary - Reverse Proxy.
When you use the Lync Certificate Wizard to request the certificate, select the Web services external check box and assign the certificate to the Barracuda Load Balancer ADC:
Next Step
You can configure authentication and access control for your applications. For more information, see Access Control.