You are previewing Lync Server Cookbook.
O'Reilly logo
Lync Server Cookbook

Book Description

Over 90 recipes to empower you to configure, integrate, and manage your very own Lync Server deployment

In Detail

This book begins with the fundamental security-related tasks you should be aware of when working with Lync, before moving on to walk you through the authentication mechanisms. You will get hands-on experience with the steps required to integrate Lync with Office 365, Exchange, or trusted forests. You will explore how to use various tools such as the Bandwidth calculator, Lync resource kit tools, stress and performance tools, and planning tools that will help you to manage complex Lync features such as enterprise voice. This book will take you through designing a Lync solution right from assessing the existing infrastructure and capturing the requirements through to planning for user-training. Finally, the book concludes by showing you how to control and manage your networks and introduces you to various debugging tools such as Wireshark, CLSController, and more. The book aims at empowering you to successfully manage your Lync deployments with ease.

What You Will Learn

  • Deploy dial plans, voice routing, and location policies to build a successful Lync enterprise voice infrastructure

  • Understand Lync solution proposals, from requirement gathering and assessment to planning and design

  • Deploy Lync Online and Lync hybrid and understand their tools and features

  • Monitor Lync and diagnose issues from the gathered data

  • Throttle and optimize your network to ensure quality of service for Lync

  • Integrate Lync with Exchange to add features and services

  • Discover more about the available debugging tools, such as OCSTracer and Wireshark

  • Understand the steps required to upgrade from OCS and from Lync 2010

  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. Lync Server Cookbook
      1. Table of Contents
      2. Lync Server Cookbook
      3. Credits
      4. About the Authors
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
          3. Instant updates on new Packt books
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Sections
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        5. Conventions
        6. Reader feedback
        7. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Lync 2013 Security
        1. Introduction
        2. Controlling administrative rights with RBAC and custom cmdlets
          1. Getting ready
          2. How to do it...
          3. There's more...
        3. Hardening Lync Servers
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Hardening Lync databases
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        5. Enhancing conferencing security
          1. How to do it...
          2. How it works...
          3. See also
        6. Managing certificates for the authentication of desk-phones
          1. Getting ready
          2. How to do it...
          3. How it works...
        7. Deploying a secure Lync Edge
          1. How to do it...
          2. See Also
        8. Applying ethical walls for federation security
          1. How to do it...
          2. There's more...
        9. Using Application Request Routing to configure a reverse proxy for Lync Server 2013
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
      9. 2. Lync 2013 Authentication
        1. Introduction
        2. Configuring passive authentication for Lync
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Enabling two-factor authentication
          1. How to do it...
          2. There's more...
        4. Adding the app password for mobile clients
          1. How to do it...
          2. How it works...
        5. Authenticating with online services using DirSync
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        6. Managing Windows Azure Directory for Lync Online
          1. How to do it...
        7. Configuring server-to-server authentication
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        8. Troubleshooting with client authentication logging
          1. How to do it...
          2. See also...
      10. 3. Lync Dial Plans and Voice Routing
        1. Introduction
        2. Introducing dial plans and voice routing
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        3. Defining dial plans
          1. Getting ready
          2. How to do it...
          3. There's more...
        4. Configuring PSTN usage – voice policy
          1. How to do it...
          2. There's more...
          3. See also
        5. Configuring PSTN usage – Location-Based Routing
          1. Getting ready
          2. How to do it…
          3. There's more...
        6. Enabling routes
          1. How to do it…
          2. There's more...
        7. Validating trunks
          1. How to do it...
          2. There's more...
          3. See also
        8. Configuring load balancing, failover, and least cost routing
          1. Getting ready
          2. How to do it...
          3. There's more...
        9. Controlling call forwarding
          1. How to do it...
          2. There's more...
      11. 4. Lync 2013 Integration with Exchange
        1. Introduction
          1. Levels of integration between Lync 2013 and Exchange
          2. Understanding Lync 2013 and Exchange Unified Messaging integration
          3. Unified Messaging features
            1. Call answering
            2. Outlook Voice Access
            3. Auto attendant
        2. Configuring the Unified Messaging integration
          1. Getting ready
          2. How to do it...
            1. Configuring the Exchange certificates for Unified Messaging integration with Lync
              1. Requesting the certificate
              2. Enabling the certificate
              3. Creating and configuring a new Exchange UM dial plan
              4. Creating a Lync dial plan
              5. Running the Exchange UC Util configuration script
              6. Running the Lync Unified Messaging configuration tool
            2. Managing your Unified Messaging users
              1. Enabling users for Unified Messaging
              2. Changing the Unified Messaging settings for a user
          3. There's more…
            1. Using the Exchange Management Shell to export users' Unified Messaging details
              1. List of users with Exchange UM enabled and disabled
              2. List of UM-enabled users, with display names, UM mailbox policy, and extensions
              3. Number of UM-enabled users per mailbox policy
              4. Test the Unified Messaging connectivity
          4. See also
        3. Configuring OAuth between Lync 2013 and Exchange 2013
          1. How to do it…
        4. Configuring Lync 2013 and Exchange 2013 as partner applications
          1. How to do it...
            1. Configuring Lync 2013 to be a partner application on Exchange 2013
            2. Configuring Exchange 2013 to be a partner application on Lync 2013
            3. Test OAuth and the partner applications
        5. Configuring Lync 2013 to use Exchange 2013 for archiving
          1. How to do it...
            1. Enable Exchange archiving
            2. Enable archiving to internal or external communications
            3. Configuring the ExchangeArchivingPolicy property per user
            4. Making sure that Lync is archiving on the user Exchange mailbox
          2. There's more…
            1. Use the Lync Management Shell to get reports for your users' archiving configurations
            2. List Lync users with the Exchange archiving policy property defined to archive in Exchange or Lync
            3. List or change the user's Lync archiving policy
        6. Configuring Lync 2013 to use the Exchange 2013 Unified Contact Store
          1. Getting ready
          2. How to do it…
            1. Manage and list your UCS settings
              1. List all the users with UCS enabled
              2. Change the user services policy for a user or set of users
            2. Test the Unified Contact Store feature
        7. Integrating Lync 2013 with the Exchange 2013 Outlook Web App
          1. Getting ready
          2. How to do it...
            1. Creating a trusted application pool on Lync for OWA
            2. Configuring Exchange for the IM integration with OWA
              1. Configuring the OWA virtual directories for Instant Messaging
              2. Editing the web.config file on your client access servers
              3. Configuring the Outlook Web App mailbox policy
      12. 5. Scripts and Tools for Lync
        1. Introduction
        2. Installing Lync prerequisites and more – Set-Cs2013Features
          1. Getting ready...
          2. How to do it…
          3. There's more...
          4. See also
        3. Creating a fully functional voice configuration – Lync Dialing Rule Optimizer
          1. Getting ready...
          2. How to do it…
          3. There's more…
          4. See also
        4. Switching between multiple Lync identities with a click – Profiles for Lync (P4L)
          1. Getting ready...
          2. How to do it…
        5. Tracing made easier – Lync 2013 Centralized Logging Tool
          1. Getting ready
          2. How to do it…
          3. See also
        6. Identifying recurrent issues – Lync Pilot Deployment Health Analysis
          1. Getting ready…
          2. How to do it…
          3. There's more…
          4. See also
        7. Managing phone numbers – Search-LineURI and Get-UnusedNumbers
          1. Getting ready…
          2. How to do it…
            1. Using the Get-UnusedNumbers script
        8. Managing Call Pickup Groups – Lync2013CallPickupManager 1.01
          1. Getting ready…
          2. How to do it…
      13. 6. Designing a Lync Solution – The Overlooked Aspects
        1. Introduction
        2. Meeting your users' expectations
          1. How to do it…
          2. There's more…
          3. See also
        3. User training
          1. How to do it…
          2. There's more…
        4. Gathering the users' requirements
          1. Getting ready
          2. How to do it…
        5. Weighing up around Lync virtualization
          1. How to do it…
          2. There's more…
          3. See also
        6. Network readiness – introduction
          1. Getting ready
          2. How to do it…
          3. There's more…
        7. Defining personas for the network
          1. How to do it…
        8. Defining sites for the network
          1. How to do it…
          2. See also
        9. Network readiness – reviewing and analyzing results
          1. How to do it…
          2. There's more…
          3. See also
      14. 7. Lync 2013 in a Resource Forest
        1. Introduction
        2. Planning a resource forest
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        3. Using Exchange Online for a Lync resource forest
          1. How to do it...
        4. Configuring FIM in a Lync resource forest
          1. Getting ready
          2. How to do it...
          3. How it works...
        5. Synchronizing forests with FIM
          1. How to do it...
          2. There's more...
        6. Deploying Azure Active Directory Synchronization services (AAD Sync) in a Lync resource forest
          1. Getting ready
          2. How to do it...
          3. How it works...
        7. AAD Sync synchronization services and rules
          1. How to do it...
          2. See also
      15. 8. Managing Lync 2013 Hybrid and Lync Online
        1. Introducing Lync Online
        2. Administering with the Lync Admin Center
          1. How to do it...
          2. See also
        3. Using Lync Online Remote PowerShell
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Using Lync Online cmdlets
          1. How to do it...
          2. See also
        5. Introducing Lync in a hybrid scenario
          1. How to do it...
          2. There's more...
          3. See also
        6. Planning and configuring a hybrid deployment
          1. How to do it...
          2. There's more...
        7. Moving users to the cloud
          1. Getting ready
          2. How to do it...
          3. There's more...
        8. Moving users back on-premises
          1. Getting ready
          2. How to do it…
          3. See also
        9. Debugging Lync Online issues
          1. Getting ready
          2. How to do it…
          3. There's more...
          4. See also
      16. 9. Lync 2013 Monitoring and Reporting
        1. Introduction
        2. Installing Lync 2013 monitoring reports
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        3. Selecting the right kind of report
          1. How to do it...
          2. How it works...
          3. There's more...
        4. Call Diagnostic Reports
          1. How to do it...
          2. There's more...
        5. Media Quality Diagnostic Reports
          1. How to do it...
          2. There's more...
          3. See also
        6. Call Leg Media Quality Report
          1. How to do it...
          2. There's more...
        7. Lync 2013 with System Center 2012 R2 Operations Manager
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        8. Configuring a watcher node and synthetic transactions
          1. How to do it...
          2. There's more...
      17. 10. Managing Lync 2013 Backup and Restore
        1. Introduction
        2. Topology information
          1. Getting ready
          2. How to do it…
          3. There's more...
          4. See also
        3. Configuration information
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        4. User database
          1. Getting ready
          2. How to do it…
          3. There's more…
          4. See also
        5. Persistent Chat database
          1. Getting ready
          2. How to do it…
          3. There's more…
          4. See also
        6. The Location Information LIS database
          1. Getting ready
          2. How to do it…
          3. There's more…
          4. See also
        7. The Response Group Services configuration
          1. Getting ready
          2. How to do it…
          3. There's more…
          4. See also
        8. Certificates
          1. Getting ready
          2. How to do it…
          3. There's more…
        9. Backend databases
          1. Getting ready
          2. How to do it…
          3. How to restore…
        10. Voice dial plans, policies, and settings
          1. Getting ready
          2. How to do it…
          3. There's more…
        11. File services
          1. Getting ready
          2. How to do it…
          3. There's more…
        12. Don't forget the infrastructure – the greater recovery plan
          1. Active Directory
          2. DNS (Internal and external)
          3. DHCP
          4. PKI (Internal Certificate Authority) Infrastructure
          5. File servers (not the shares, but the actual servers)
          6. The SQL Server
          7. The Lync Server backup
          8. Exchange backup
          9. Firewall configurations
          10. Router and switch configuration
          11. Reverse proxy
          12. Miscellaneous
      18. 11. Controlling Your Network – A Quick Drill into QoS and CAC
        1. Introduction
        2. Gathering data about your network
          1. Getting ready
          2. How to do it...
        3. Creating network bandwidth policies
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        4. Adding networks to the topology
          1. Getting ready
          2. How to do it…
          3. There's more...
          4. See also
        5. Creating region links and routes
          1. How to do it
          2. There's more…
          3. See also
        6. Enabling CAC
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        7. Preparing servers and clients for DSCP tagging
          1. Getting ready
          2. How to do it...
            1. Lync Servers (not Edges)
            2. The Edge Server internal interface
        8. Controlling/limiting the port ranges for traffic
          1. Getting ready
          2. How to do it…
          3. See also
        9. Media bypass
          1. Getting ready
          2. How to do it...
      19. 12. Lync 2013 Debugging
        1. Introduction
        2. Using Snooper to examine log files
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        3. Investigating Call Flow with Snooper Flow Chart
          1. How to do it...
          2. There's more...
        4. Reviewing Lync information with OCSLogger
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        5. Tracing from a command line with OCSTracer
          1. How to do it...
        6. Customizing CLS scenarios using CLSController
          1. How to do it...
          2. See also
        7. Testing our setting with Best Practices Analyzer
          1. Getting ready
          2. How to do it...
        8. Capturing network traffic with Wireshark
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        9. Troubleshooting clients with the Microsoft Lync Connectivity Analyzer
          1. Getting ready
          2. How to do it...
        10. Verifying a deployment with the Microsoft Remote Connectivity Analyzer
          1. Getting ready
          2. How to do it...
      20. Index