Transcription

2 DISCLAIMER 2013 Microsoft Corporation. All rights reserved. Microsoft, Active Directory, Forefront, Hyper-V, Internet Explorer, Lync, SQL Server, Windows, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. THE CONTENTS OF THIS PACKAGE ARE FOR INFORMATIONAL AND TRAINING PURPOSES ONLY AND ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. No part of the text or software included in this training package may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission from Microsoft. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. To obtain authorization for uses other than those specified above, please visit the Microsoft Copyright Permissions Web page at This content is proprietary and confidential, and is intended only for users described in the content provided in this document. This content and information is provided to you under a Non-Disclosure Agreement and cannot be distributed. Copying, disclosing all or any portion of the content and/or information included in this document is strictly prohibited.

5 Microsoft Lync 2013 Ignite Lab 07: Configuring High Availability and Disaster Recovery in Microsoft Lync Server 2013 During this lab, you will configure database mirroring for the Redmond pool using the SQL02 virtual machine as the mirroring database server. This is a newly supported configuration of Microsoft Lync 2013 that will provide database high availability without requiring SQL clustering. You will also configure backup registrars for both sites. You will then experience the various ways in which Lync 2013 provides high availability, such as when a Microsoft SQL Server goes down or becomes unavailable, when one Front End Server of a multiple Front End Server pool goes down, or when an entire pool goes down. Estimated time to complete: 90 minutes Before You Begin To complete this lab, you need to have completed Labs 01 through 06. What You Will Learn After completing the exercises, you will be able to: Configure database mirroring. Configure pool pairing. Experience Lync 2013 high availability when a pool goes down. Experience Lync 2013 high availability when a SQL Server goes down. Experience Lync 2013 high availability when a Front End Server goes down. Scenario Lync 2013 has become so vital to OnPrem s everyday business that the company wants to take advantage of a new supported configuration of Lync 2013 that uses database mirroring. This will provide further high availability and resiliency in case of a SQL Server failure, without requiring SQL clustering. You will also configure backup registrars for each pool, and then experience the different resiliency features of Lync

6 Lab 07: Configuring High Availability and Disaster Recovery in Microsoft Lync Server 2013 Exercise 1: Configuring Database Mirroring and Backup Pool Registrars During this exercise, you will configure database mirroring for the redpool databases. This is done using the Topology Builder and will require a republishing of the Topology. You will also configure redpool and romepool to be backup registrars for each other. In order to run the commands in this lab, the user must be a member of the RTCUniversalServerAdmins group. Onprem\Administrator and Administrator2 have already been added to this group. Tasks 1. Start the Topology Builder and configure database mirroring. a. On LSFE01, place the mouse pointer in the bottom-left corner to bring up the Start button. b. Click Start, and click Lync Server Topology Builder. c. At the Topology Builder prompt, verify that Download Topology from existing deployment is selected, and then click OK. d. On the Save Topology as page, browse to C:\LabFiles and save the topology as OnpremTopologyWithHA.tbxml e. In the Topology Builder, expand Lync Server, expand Onprem, expand Lync Server 2013, and then expand Enterprise Edition Front End pools. f. Right-click redpool.onprem.local, and then click Edit Properties. g. On the Edit Properties page, under Associations, select the Enable SQL Server store mirroring check box, and then click New. h. In the Define New SQL Server Store window, in the SQL Server FQDN box, type sql02.onprem.local i. Select Named instance, and then in the box, type RTC Note: The Instance name must be capitalized. Leave the Edit Properties page open. j. Take note of the default mirror port number given and then click OK. k. Back on the Edit Properties page, click OK. 2. Configure the Mirror Port Number for SQL01. a. On LSFE01, in the Topology Builder, under Onprem, expand Shared Components and then expand SQL Server stores. 2

7 Microsoft Lync 2013 Ignite Notice the red X on sql01.onprem.local\rtc, due to the mirroring port not being set. b. Right-click sql01.onprem.local\rtc and then click Edit Properties. c. In the Edit Properties window, in the Mirror port number box, type 5022 and then click OK. 3. Configure a Backup Registrar for redpool. a. On LSFE01, under Enterprise Edition Front End pools, right-click redpool.onprem.local again, and then click Edit Properties. b. On the Edit Properties page, scroll-down to Resiliency, and select the Associated backup pool check box. c. In the drop-down list, select romepool.onprem.local Rome. d. Select the Automatic failover and failback for Voice check box. e. In the Voice failure detection interval box, type 30 f. In the Voice failback interval box, type 30 and then click OK. Note: These failover and failback settings are for this lab environment only. 4. Verify that the Backup Registrar is configured for romepool. a. On LSFE01, in the Topology Builder, expand Rome, expand Lync Server 2013, and then expand Enterprise Edition Front End pools. b. Right-click romepool.onprem.local and then click Edit Properties. c. On the Edit Properties page, scroll-down to Resiliency and verify that the Associated backup pool check box is selected, and that redpool.onprem.local Onprem is listed. d. Verify that the voice failure detection and voice failback intervals are configured the same as what you set for redpool.onprem.local, and then click OK. 5. Publish the topology. a. On LSFE01, in the Topology Builder, at the top of the navigation pane, rightclick Lync Server, and then click Publish Topology. b. On the Publish the topology page, review the actions that should be completed, and then click Next. 3

8 Lab 07: Configuring High Availability and Disaster Recovery in Microsoft Lync Server 2013 c. On the Create mirror databases page, verify that the sql02.onprem.local check box is selected. d. Click sql02.onprem.local and then click Settings. e. In the Mirror Database Settings window, in the Path to file share box, type \\sql02.onprem.local\lyncshare and then click OK. f. Back on the Create mirror databases page, click Next. Wait as the topology is published. This will take about three to four minutes. g. On the Publishing wizard complete page, verify that all steps show as Success. h. Under Next steps, click the link to open the to-do list. i. Review the NextSteps.txt file that opens and the instructions to run local Setup on each server in the list, to restart Lync services, and run the Invoke- CsBackupServiceSync commands. j. Close Notepad when you are done. k. Back on the Publishing wizard complete page, click Finish. l. Close the Topology Builder. 6. Update Lync 2013 components. These steps can be run at the same time on all three virtual machines. a. On LSFE01, LSFE02, and LSFE03, point the mouse in the bottom left corner to bring up the Start button. b. Click Start, and click Lync Server Deployment Wizard. c. On the Lync Server 2013 Deployment Wizard page, click Install or Update Lync Server System. d. On the Lync Server 2013 page, next to Step 2: Setup or Remove Lync Server Components, click Run. e. On the Set Up Lync Server components page, click Next. This will take a couple of minutes. f. On the Executing Commands page, when the Task Status shows as Completed, click Finish. 7. Start the services. Now that installation is complete, you will start the new services on LSFE03. a. On LSFE03, on the Lync Server 2013 page, next to Step 4: Start Services, click Run. b. On the Start Services page, click Next. 4

9 Microsoft Lync 2013 Ignite Wait a few minutes for the services to start. c. On the Executing Commands page, when the Task Status shows as Completed, click Finish. d. Next to Service Status (Optional), click Run. e. In the Services console that opens, verify that all of the Lync Server 2013 services have started, and then close the Services console. f. Close the Lync 2013 Deployment Wizard. 8. Restart LSFE01 and LSFE02. a. On LSFE01, and LSFE02, and then close the Lync 2013 Deployment Wizard. b. Close any other open windows. c. Restart both servers. d. After a few minutes, you may need to click Reconnect in the Launchpad console to get to both LSFE01 and LSFE02. Note: It will take several minutes for these servers to restart. Use the Services console to verify that all services have started when they come back up. 9. Run the Invoke command. a. On LSFE01, place the mouse pointer in the bottom-left corner to bring up the Start button. b. Click Start, and click Lync Server Management Shell. c. In the Lync Server Management Shell, type the following command and then press Enter: Invoke-CsBackupServiceSync PoolFqdn redpool.onprem.local d. Press Y when prompted. Note: You will see a message that no Central Management Services were found and thus were not backed up. The CMS is on LS2010, so this message can be ignored. e. In the Lync Server Management Shell, type the following command and then press Enter. 5

10 Lab 07: Configuring High Availability and Disaster Recovery in Microsoft Lync Server 2013 Invoke-CsBackupServiceSync PoolFqdn romepool.onprem.local f. Press Y when prompted. Note: You will see a message that no Central Management Services were found and thus were not backed up. The CMS is on LS2010, so this message can be ignored. g. In the Lync Server Management Shell, type the following command and then press Enter. Get-CsDatabaseMirrorState PoolFqdn redpool.onprem.local DatabaseType User This command will show the current state of the Mirror, shown in the following image. Figure 1: Get-CsDatabaseMirrorState command results. 6

11 Microsoft Lync 2013 Ignite Exercise 2: Experiencing SQL Server Failure or Outage In this exercise, you will simulate a SQL Server failure by stopping the SQL Service on the sql01.onprem.local SQL Server. You will then run the necessary commands in the Lync Server Management Shell to allow failover to the mirrored databases. Without a witness server, the failover process needs to be initiated by a Lync Administrator. You will also start a conversation between Holly and Bob, and then monitor the status of the session as each step is performed. This will let you observe the behavior that end-users will experience. Tasks 1. Verify that Client02 has full functionality. a. On Client02, on the Start bar, click the Lync 2013 icon. b. Close the We are unable to connect right now prompt. c. In the Sign-in address box, type and then click Sign In. d. In the Password box, type Password1 and then click Sign In. e. Click Yes to save the sign-in information. f. Add Nuno as a contact. g. Verify the client has full functionality. 2. Verify that Client01 has full functionality. a. On Client01, on the Start bar, click the Lync 2013 icon. b. Close the We are unable to connect right now prompt. c. In Lync2013, click the Status drop down, and click Sign Out. d. In the Sign in address box, type and then click Sign In. e. In the Password box, type Password1 and then click Sign In. f. Click Yes to save the sign-in information. g. Add Holly, John, Nuno and Preeda as contacts. Verify that the client has full functionality. h. Initiate a conversation with Holly on CLIENT02, add voice, and share some content, such as a whiteboard. Keep this session active during each of the steps of this exercise. Monitor the status of this session as you perform each step, and observe the behavior that will be experienced by end users. 7

12 Lab 07: Configuring High Availability and Disaster Recovery in Microsoft Lync Server Simulate a failure of SQL01. a. On SQL01, on the Start bar, click the Services icon. b. In Services, right-click SQL Server (RTC), and then click Stop. Leave Services running. 4. Configure failover to the mirrored database. Failover is a manual process. Here you will invoke the failover to the mirrored database. a. On LSFE01, in the Lync Server Management Shell, type the following command and then press Enter. Get-CsService CentralManagement Note the value for PoolFqdn; it will show as ls2010.onprem.local. This shows that the Central Management Store (CMS) is located on LS2010.onprem.local, so you do not need to fail over the CMS database. b. In the Lync Server Management Shell, type the following command and then press Enter. Invoke-CsDatabaseFailover -PoolFqdn redpool.onprem.local DatabaseType User NewPrincipal mirror Force -Verbose c. In the Lync Server Management Shell, type A and then press Enter to confirm. d. Results should be similar to the following image. Figure 2: Invoke-CsDatabaseFailover command results 5. Verify that Client01 is able to retain full functionality. a. On Client01, notice that Lync 2013 maintains full functionality and that the conversation remains active and retains full features. b. If the clients do indicate a network or server issue, that should be temporary. 6. Resume the SQL01 service. a. On SQL01, in Services, right-click SQL Server (RTC), and then click Start. b. Close Services. 8

14 Lab 07: Configuring High Availability and Disaster Recovery in Microsoft Lync Server 2013 b. Verify that you have results similar to the following image, where the StateOnPrimary is Principal, and the StateOnMirror is Mirror. Figure 3: Get-CsDatabaseMirrorState command results 10. Verify that all clients have full functionality. a. On Client01 and Client02, verify that Lync has retained full functionality and the conversation is active. 10

15 Microsoft Lync 2013 Ignite Exercise 3: Experiencing a Pool Failure or Outage In this exercise, you will observe the behavior of Lync 2013 when a pool fails. To simulate this, you will stop the Lync Server Front End service of RTC, the Rome site. You will maintain the conversation between Holly and Bob, adding Nuno, and then monitor the status of the session as each step is performed. This will let you observe the behavior that will be experienced by end users. Tasks 1. Verify that the current session is still active. a. On Client01 and Client02, verify that the active session is active between Bob and Holly. 2. Log on to Lync 2013 on CLIENT03 as a Romepool user. a. On CLIENT03, on the Start bar, click the Lync 2013 icon. b. Close the Activate Office prompt. c. Close the We are unable to connect right now prompt. d. In Lync, in the Status drop-down menu, click Sign out. e. In the Sign-in address box, type and then click Sign In. f. In the Password box, type Password1 and then click Sign In. g. Click Yes to save the sign-in information. h. Verify full functionality. 3. Add Nuno to the ongoing meeting. a. On Client01, in Lync 2013, add Nuno to the active session. Keep this session active during each of the steps of this exercise. Monitor the status of this session as you perform each step and observe the behavior that will be experienced by end-users. If possible, click Call to raise the meeting to a Conference Call. You may need to mute each client to prevent feedback. Note: Due to the virtualized environment, you might not be able to make or receive any calls from the virtual machine clients. 4. Stop the Front-End service on LSFE03. Simulate a pool failure in the Rome site. a. On LSFE03, on the Start bar, click the Services icon. 11

16 Lab 07: Configuring High Availability and Disaster Recovery in Microsoft Lync Server 2013 b. In Services, right-click Lync Server Front-End, and then click Stop. Leave the Services console running. 5. Verify that Nuno retains limited functionality. a. On CLIENT03 signed in as Nuno, notice that the current session is still active. b. Notice that Lync signs out and after a few minutes will log back in, and then show the Limited functionality prompt. c. Notice the behavior of the current active session. 6. Invoke the Pool Failover feature. a. On LSFE01, in the Lync Server Management Shell, type the following command and then press Enter: Invoke-CsPoolFailover -PoolFqdn romepool.onprem.local -DisasterMode -Verbose b. In the Lync Server Management Shell, type A and then press Enter to confirm. 7. Verify that Nuno is able to regain full functionality. a. On CLIENT03 logged on as Nuno, notice that Lync 2013 signs out, and after a few minutes will log back on, and then have full functionality. b. Verify full functionality. Notice the behavior of the current active session. 8. Start the Front-End service. a. On LSFE03, in Services, right-click Lync Server Front-End, and then click Start. b. When the service has started, close the Services console. 9. Fail the pool back. a. On LSFE01, in the Lync Server Management Shell, type the following command and then press Enter: Invoke-CsPoolFailBack -PoolFqdn romepool.onprem.local -Verbose b. In the Lync Server Management Shell, type A and then press Enter to confirm. 10. Verify full functionality on CLIENT03. a. On CLIENT03, wait as the client fails back to romepool.onprem.local. b. Verify that full functionality is maintained. c. Keep the active conversation open. 12

17 Microsoft Lync 2013 Ignite Exercise 4: Experiencing a Front End Server Failure In this exercise, you will observe the behavior of Lync 2013 when a Front End Server goes down. In the Redmond site, you deployed two Front End Servers: LSFE01 and LSFE02. You will now take one of these servers down and verify the behavior in this scenario. You will maintain the conversation between Bob, Nuno, and Holly, and then monitor the status of the session as each step is performed. This will let you observe the behavior that will be experienced by end users. Tasks 1. Verify which server Client01 is connected to. a. On Client01, in Lync 2013 logged on as Bob, press and hold the Ctrl key, rightclick the Lync icon on the system tray, and then click Configuration Information. b. Scroll down, and note which server shows as the Connected Lync Server. It should be either LSFE01.onprem.local or LSFE02.onprem.local. Click Close. If it says redpool.onprem.local, try the following steps on LSFE01 first. c. Monitor the status of the active session with Holly and Nuno as you perform each step, and observe the behavior that will be experienced by end users. 2. Stop the Lync 2013 services on the connect Front End. a. On either LSFE01 or LSFE02 that Bob is connected to, on the Start bar, click the Services icon. b. In Services, right-click Lync Server Front-End and then click Stop. Leave the Services console running. 3. Verify that Lync 2013 fails over to the other Front End. a. On Client01, watch as Lync 2013 automatically logs off for a few seconds and then logs back on with full functionality. Notice that the session remains active during the signing out and back in. Because of virtualization, it might take a few minutes for Lync 2013 to log on. b. Press and hold the Ctrl key, right-click the Lync icon on the system tray, and then click Configuration Information. c. Scroll down and note which server shows as the Connected Lync Server. (It should show the other Front End Server, or it might show redpool.onprem.local.) Click Close. d. Verify full client functionality. 13

18 Lab 07: Configuring High Availability and Disaster Recovery in Microsoft Lync Server Start the Lync 2013 services. a. On either LSFE01 or LSFE02, in Services, right-click Lync Server Front-End, and then click Start. b. Close the Services console. c. Close all open Windows and Lync Meetings. 14

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE Copyright 1998-2012, Tools4ever B.V. All rights reserved. No part of the contents of this user guide may be reproduced or transmitted in any form or by

Installing LearningBay Enterprise Part 2 Support Document Copyright 2012 Axiom. All Rights Reserved. Page 1 Please note that this document is one of three that details the process for installing LearningBay

Introduction to DirectAccess in Windows Server 2012 Windows Server 2012 Hands-on lab In this lab, you will configure a Windows 8 workgroup client to access the corporate network using DirectAccess technology,

Introduction to Hyper-V High- Availability with Failover Clustering Lab Guide This lab is for anyone who wants to learn about Windows Server 2012 R2 Failover Clustering, focusing on configuration for Hyper-V

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE Copyright 1998-2013 Tools4ever B.V. All rights reserved. No part of the contents of this user guide may be reproduced or transmitted in any form or by

Introduction EASYLABEL 6 has several new features for saving the history of label formats. This history can include information about when label formats were edited and printed. In order to save this history,

StarWind iscsi SAN & NAS: Configuring HA Storage for Hyper-V October 2012 TRADEMARKS StarWind, StarWind Software and the StarWind and the StarWind Software logos are trademarks of StarWind Software which

Using DBMoto 7 in a Microsoft Windows Cluster Copyright This document is copyrighted and protected by worldwide copyright laws and treaty provisions. No portion of this documentation may be distributed

Dell One Identity Cloud Access Manager 8.0.1- How to Configure for High Availability May 2015 Cloning the database Cloning the STS host Cloning the proxy host This guide describes how to extend a typical

SELF SERVICE RESET PASSWORD MANAGEMENT DATABASE REPLICATION GUIDE Copyright 1998-2015 Tools4ever B.V. All rights reserved. No part of the contents of this user guide may be reproduced or transmitted in

#1 HyperConverged Appliance for SMB and ROBO StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with MARCH 2015 TECHNICAL PAPER Trademarks StarWind, StarWind Software and the

Deploying System Center 2012 R2 Configuration Manager This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.

StarWind SMI-S Agent: Storage Provider for SCVMM April 2012 TRADEMARKS StarWind, StarWind Software, and the StarWind and StarWind Software logos are trademarks of StarWind Software that may be registered

2.0 Quick Start Guide Copyright Quest Software, Inc. 2007. All rights reserved. This guide contains proprietary information, which is protected by copyright. The software described in this guide is furnished

Upgrade Guide CA Application Delivery Analysis 10.1 This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation ) is

NovaBACKUP xsp Version 15.0 Upgrade Guide NovaStor / November 2013 2013 NovaStor, all rights reserved. All trademarks are the property of their respective owners. Features and specifications are subject

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE Copyright 1998-2015 Tools4ever B.V. All rights reserved. No part of the contents of this user guide may be reproduced or transmitted in any form or by

Dell Statistica 13.0 2015 Dell Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The software described in this guide is furnished under a software license or

Database Administration Guide 013008 2008 Blackbaud, Inc. This publication, or any part thereof, may not be reproduced or transmitted in any form or by any means, electronic, or mechanical, including photocopying,

Configuring and Monitoring Event Logs eg Enterprise v5.6 Restricted Rights Legend The information contained in this document is confidential and subject to change without notice. No part of this document

SQL Server Mirroring The purpose of this document is to describe in detail the process of configuring Secret Server and SQL Server 2008 for a high-availability environment using Mirroring. The contents

Specops Software. All right reserved. For more information about Specops Command and other Specops products, visit www.specopssoft.com Copyright and Trademarks Specops Command is a trademark owned by Specops

Microsoft Lync Server 2010 Scale to a Load Balanced Enterprise Edition Pool with WebMux Walkthrough Published: March. 2012 For the most up to date version of the Scale to a Load Balanced Enterprise Edition

VMware/Hyper-V Backup Plug-in User Guide COPYRIGHT No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying,

Metalogix SharePoint Backup Publication Date: August 24, 2015 All Rights Reserved. This software is protected by copyright law and international treaties. Unauthorized reproduction or distribution of this

Interworks Interworks Cloud Platform Installation Guide Published: March, 2014 This document contains information proprietary to Interworks and its receipt or possession does not convey any rights to reproduce,

Introduction to Cloud-Based Mobile Device Management with Intune Information in this document, including URLs and other Internet Web site references, is subject to change without notice. Unless otherwise

MadCap Software Upgrading Guide Pulse Copyright 2014 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document is furnished

SQL Server 2012 AlwaysOn on Windows 2012 Introduction: Always On Availability Groups is one of the big new feature in the High Availability stack of SQL Server 2012 basically it is the successor of Database

WatchDox for Mac User Guide Version 2.3.0 Confidentiality This document contains confidential material that is proprietary to WatchDox. The information and ideas herein may not be disclosed to any unauthorized

INSTALLATION GUIDE July 2015 Copyright and Disclaimer This document, as well as the software described in it, is furnished under license of the Instant Technologies Software Evaluation Agreement and may

VERITAS NetBackup 6.0 Backup, Archive, and Restore Getting Started Guide for UNIX, Windows, and Linux N15278C September 2005 Disclaimer The information contained in this publication is subject to change