Presentation is loading. Please wait.

Presentation is loading. Please wait.

Servicing the existing deployment & upgrading to Skype for Business Server

Similar presentations


Presentation on theme: "Servicing the existing deployment & upgrading to Skype for Business Server"— Presentation transcript:

1

2 Servicing the existing deployment & upgrading to Skype for Business Server
Speaker Name Speaker Title

3 Agenda Upgrading to Skype for Business Server 2015
In-place upgrades Upgrade paths SQL Server improvements SQL AlwaysOn support Server management Patching Cold pool start

4 Upgrading to Skype for Business Server 2015
In-place upgrade overview

5 Microsoft Skype for Business Server
9/10/2018 In-place upgrade What is it? Upgrade from Lync Server 2013 to Skype for Business Server using existing hardware Benefits Preserving existing hardware/server investments Smoother upgrade process without extensive planning Reducing the overall cost for deployment The goal of heading towards Smart Setup © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Microsoft Skype for Business Server
9/10/2018 Upgrade path Migrate-users mode (no user downtime) Offline mode Original topology New topology In-place upgrade supported ? Priority 2013 Skype for Business Server Yes. In-place upgrade support from 2013 → Skype for Business Server P0 2010 Skype for Business Server No. Migrate from 2010 → Skype for Business Server, same as 2010 → 2013 P1 Mandatory migration from 2010 → 2013 before deploying Skype for Business Server Then in-place upgrade from 2013 to Skype for Business Server © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Microsoft Skype for Business Server
9/10/2018 Upgrade path (move users): Case 1 Upgrade from Lync 2013 to Skype for Business Server Move Pool1 users Pool1 (Lync 2013 CU5) Pool2 (Lync 2013 CU5) Pool3 (Lync 2013 CU5) Upgrade to Skype for Business Server Move back Pool1 users Test functionality Pool1 (Skype for Business 2015) Pool2 (Lync 2013 CU5) Pool3 (Lync 2013 CU5) Move Pool2 users Upgrade to Skype for Business Server Move back Pool2 users Pool1 (Skype for Business 2015) Pool2 (Skype for Business 2015) Pool3 (Lync 2013 CU5) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Upgrade path (move users): Case 2
Upgrade from Lync 2010 to Skype for Business Server Bring up a new Skype for Business Server Pool Pool1 (Lync 2010) Pool2 (Lync 2010) Pool3 (Skype for Business) Move users from Pool1 to Pool3 Pool1 (Lync 2010) Pool2 (Lync 2010) Pool3 (Skype for Business) Decommission Pool1 Pool1 (Lync 2010) Pool2 (Lync 2010) Pool3 (Skype for Business)

9 Upgrade path (move users): Case 3
Upgrade from Lync Lync 2013 to Skype for Business Server Move users from Pool1 to Pool3 Pool1 (Lync 2010) Pool2 (Lync 2013 CU5) Pool3 (Lync 2013 CU5) Decommission Pool1 Move Pool3 users Pool1 (Lync 2010) Pool2 (Lync 2013 CU5) Pool3 (Lync 2013 CU5) Upgrade to Skype for Business Server Move back Pool3 users Pool2 (Lync 2013 CU5) Pool3 (Skype for Business)

10 Upgrade path (offline mode): Case 4
Upgrade from Lync 2013 to Skype for Business Server Send maintenance notice to users on Pool1 Pool1 (Lync 2013 CU5) Pool2 (Lync 2013 CU5) Upgrade to Skype for Business Server Make sure features are working Pool1 (Skype for Business) Pool2 (Lync 2013 CU5) Send to users that services are up and running Send maintenance notice to users on Pool2 Upgrade to Skype for Business Server Pool1 (Skype for Business) Pool2 (Skype for Business) Pool2 (Lync 2013 CU5)

11 Microsoft Skype for Business Server
9/10/2018 Upgrade path Recommendations No in-place upgrade with Disaster Recovery (pool failover) Please don’t use the Invoke-CsPoolFailover cmdlets to failover the pool! Don’t start services in mixed mode Don’t un-pair the pools before upgrade Ensure minimal time when the pools are paired with different versions Upgrade order (Inside→outside) User pools first Shared components like: Mediation Server, Director Edges CMS pool © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 Role upgrade (2013 to Skype for Business Server 2015)
Microsoft Skype for Business Server 9/10/2018 Role upgrade (2013 to Skype for Business Server 2015) Pools/Roles Requires upgrade to Skype for Business Server How to upgrade? FE pool Yes Topology building + seamless in-place upgrade setup Director pool Mediation pool Persistent chat pool Edge pool Trusted application pool Survivable Branch Server (SBS) Survivable Branch Server (SBA) No Not supporting in-place upgrade of SBAs SQL Server store Topology building (The store is marked as Skype for Business along with the pool and is upgraded running Install-CsDatabase while the pool gets upgraded) File store n/a PSTN gateway Trunk Office Web Apps Server © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 SQL support with Lync / Skype for Business Server
Microsoft Skype for Business Server 9/10/2018 SQL support with Lync / Skype for Business Server In-place upgrade Seamlessly upgrades SQL Express to SQL Express 2014 Also upgrades all the local copies of the database © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 In-place upgrade Customer experience

15 Microsoft Skype for Business Server
9/10/2018 Upgrade process STEP 1 STEP 2 STEP 3 STEP 4 STEP 5 Install prerequisites Upgrade, publish topology, and upgrade databases using Topology Builder Stop the services on all the servers in the pool to be upgraded Run Setup.exe which will launch in-place upgrade UI Start services on all the servers in the upgraded pool at the same time (use the Start-CSPool cmdlet) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Microsoft Skype for Business Server
9/10/2018 Upgrade process STEP 1 STEP 2 STEP 3 STEP 4 STEP 5 Install prerequisites Upgrade, publish topology, and upgrade databases using Topology Builder Stop the services on all the servers in the pool to be upgraded Run Setup.exe which will launch in-place upgrade UI Start services on all the servers in the upgraded pool at the same-time (use the Start-CSPool cmdlet) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Microsoft Skype for Business Server
9/10/2018 Upgrade steps: step 1 Always install prerequisites!  Install CU5+ latest hotfix to Lync 2013 topology PowerShell RTM version ( ) or later Have at least SQL server 2012 SP1 installed Kb Windows Server 2008 R2 Kb Windows Server 2012 KB Windows Server 2012 R2 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 Microsoft Skype for Business Server
9/10/2018 Upgrade process STEP 1 STEP 2 STEP 3 STEP 4 STEP 5 Install prerequisites Upgrade, publish topology, and upgrade databases using Topology Builder Stop the services on all the servers in the pool to be upgraded Run Setup.exe which will launch in-place upgrade UI Start services on all the servers in the upgraded pool at the same-time (use the Start-CSPool cmdlet) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

19 Microsoft Skype for Business Server
9/10/2018 Upgrade steps: step 2 (Upgrade and publish topology using Topology Builder) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 Microsoft Skype for Business Server
9/10/2018 Upgrade steps: step 2 (Upgrade and publish topology using Topology Builder) Topology Builder should automatically upgrade your databases for you! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 Microsoft Skype for Business Server
9/10/2018 Upgrade process STEP 1 STEP 2 STEP 3 STEP 4 STEP 5 Install prerequisites Upgrade, publish topology, and upgrade databases using Topology Builder Stop the services on all the servers in the pool to be upgraded (Stop-CsWindowsService) Run Setup.exe which will launch in-place upgrade UI Start services on all the servers in the upgraded pool at the same-time (use the Start-CSPool cmdlet) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

22 Microsoft Skype for Business Server
9/10/2018 Upgrade process STEP 1 STEP 2 STEP 3 STEP 4 STEP 5 Install prerequisites Upgrade, publish topology, and upgrade databases using Topology Builder Stop the services on all the servers in the pool to be upgraded Run Setup.exe which will launch in-place upgrade UI (use elevated/administrator command prompt) Start services on all the servers in the upgraded pool at the same-time (use the Start-CSPool cmdlet) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 Microsoft Skype for Business Server
9/10/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 Microsoft Skype for Business Server
9/10/2018 Upgrade process STEP 1 STEP 2 STEP 3 STEP 4 STEP 5 Install prerequisites Upgrade, publish topology, and upgrade databases using Topology Builder Stop the services on all the servers in the pool to be upgraded Run Setup.exe which will launch in-place upgrade UI Start services on all the servers in the upgraded pool at the same-time (use the Start-CSPool cmdlet) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

25 Move towards—Smart Setup
Microsoft Skype for Business Server 9/10/2018 Move towards—Smart Setup Allows Skype for Business Server server updates to be installed as part of Skype for Business Server server setup process from Microsoft Updates Setup will include an option to Check with Microsoft Updates for Skype for Business Server updates Download the updates Install them (prior to finishing the installation process) Note: This doesn’t replace the Skype For Business Server server update installer. That will still be useful for our customers who don’t have connection to access the internet © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

26 SQL AlwaysOn Overview

27 Overview SQL Server AlwaysOn HA solutions
Next generation of database mirroring technologies Provides high availability and disaster recovery in SQL Introduced in SQL Server 2012 and present in SQL Server 2014 Runs on top of WSFC (Windows Server Failover Clustering) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

28 AlwaysOn advantages Latest and greatest SQL HA solution More reliable
Although database mirroring is still available in its original feature set, it is now considered a deprecated feature and will be removed in a future release of SQL Server More reliable AlwaysOn (one primary, can have up to three corresponding secondary replicas) Mirroring (one primary, one mirror) Multi-database failovers Useful in applications with several databases Databases can be added to an Availability Group that can be failed over between replicas All databases in Availability Group are failed over at the same time © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

29 AlwaysOn Availability Groups
Provides high availability by maximizing availability of databases for an enterprise An Availability Group is a set of databases that are failed over together at the same time Supports one primary replica and up to two secondary replicas in synchronous-commit mode Availability Group listener responds/redirects incoming client requests to replicas Each Availability Group replica has local SQL instance and local copy of databases

30 AlwaysOn Failover Cluster Instance (FCI)
Provides high availability through redundancy at the server-instance level One SQL instance is installed across all failover clustering nodes Single copy of databases are located on shared disk storage which is failed over between nodes

31 SQL AlwaysOn Planning

32 Microsoft Skype for Business Server
9/10/2018 Planning for AlwaysOn New install scenario Install new backend using SQL Enterprise 2012 or SQL Enterprise 2014 Add new Skype for Business Server pool with AlwaysOn back-end to topology Install Skype for Business Server and add databases to Availability Group Upgrade scenario Upgrade an existing Lync Server 2013 pool to Skype for Business Server Upgrade back-end server to SQL Enterprise 2012 or SQL Enterprise 2014 Enable SQL AlwaysOn for Skype for Business Server databases © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

33 SQL version requirements
Standalone Server Standard or Enterprise Edition AlwaysOn Failover Clustering Instance (FCI) Standard or Enterprise Edition (two nodes) Enterprise Edition (three or more nodes) Mirroring AlwaysOn Availability Groups Enterprise Edition required

34 AlwaysOn support information
Supported with Skype for Business Server Availability groups are not supported with Lync Server 2010 or 2013 Standalone Failover Clustering Mirroring Availability Groups Lync Server 2010 SQL 2008 R2 SP2 Not supported Lync Server 2013 SQL 2012 SP1 Skype for Business Server SQL 2014

35 Supported Availability Group settings
Supported configurations* for Skype for Business Server Support having replicas only in the same subnet Support only the Synchronous-Commit Mode Support the Automatic Failover Mode No support for read access on secondary replicas No support for having an off-site replica in Azure * Other configurations are possible and not actively blocked, but not supported

36 SQL in-place upgrade support
Supported only for Skype for Business Server pools In-place upgrade from SQL 2012 SP1 standalone to SQL 2014 Availability Groups In-place upgrade from SQL 2012 SP1 mirroring to SQL 2014 Availability Groups All other in-place upgrade scenarios for SQL Servers are currently unsupported Full database backup prior to in-place upgrade is recommended Change compatibility level for each database after upgrade Select SQL Server 2014 (120) Set using Transact-SQL (optional) ALTER DATABASE cpsdyn SET COMPATIBILITY_LEVEL = 120; GO

37 SQL AlwaysOn Prerequisites and dependencies

38 Windows Server Failover Clustering (WSFC)
Windows Server 2008 R2 SP1 or higher WSFC feature installed, with sufficient nodes for desired configuration Select the File Share Witness option for the quorum witness Cluster nodes cannot be Active Directory domain controllers Cluster nodes must be from the same Active Directory domain Cluster nodes must be connected to the same network subnet © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

39 SQL Server and database requirements
SQL Server 2012 SP1/2014 Enterprise Edition or higher SQL installation steps are different depending on HA option selected SQL AlwaysOn must be manually enabled on SQL service and restarted Full recovery model required for each Availability Group database Full backup required for each database added to Availability Group Database folder structure must be duplicated across all AG replicas High availability option Installation selection Availability Groups (AG) New SQL Server stand-alone installation (all replicas) Failover Cluster Instance (FCI) New SQL Server failover cluster installation (first node) Add node to a SQL Server failover cluster (additional nodes) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

40 Management Patching process

41 Microsoft Skype for Business
9/10/2018 Lync 2013 patching Observations Many steps Based on upgrade domains Check for readiness of upgrade domain, stop services, patch and move unto next upgrade domain Multiple decision points “Wait and try” suggestions © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

42 2013 patching and reliability challenges
Microsoft Skype for Business 9/10/2018 2013 patching and reliability challenges Complex patching process with many steps; deviations from the process might result in downtime for users Ready state-to-start patching not always reliable Could run into unable to start front-end servers after patching Some users are signed in with limited functionality and sign-in performance issues Problems are hard to troubleshoot and solve— particularly for larger pools Understand upgrade domain/other fabric concepts Icon: Bjorn Andersson, Noun Project © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

43 What made 2013 solution problematic?
Microsoft Skype for Business 9/10/2018 What made 2013 solution problematic? Not enough safe guards to prevent servers from being taken down without harm Load balancing continues between decision point and execution (no heads up to fabric) Idle secondary bug in winfab v1 CU1 Incorrect use of some cmdlets might make problems worse © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

44 Server management Patching

45 Lync 2013 Skype for Business

46 Skype for Business Server patching
Simplified workflow leverages Windows Fabric v2 APIs 4 steps: Invoke-CsComputerFailOver to failover (stop) a front end; take the FE out of rotation, move the replicas out Perform patching/upgrade Invoke-CsComputerFailBack to failback (start) a front end; bring FE into active state, move replicas in Do this for all front ends in the pool

47 Invoke-CsComputerFailOver
Microsoft Skype for Business 9/10/2018 Invoke-CsComputerFailOver Checks for availability of sufficient number of servers Waits for replica stability across the pool Confirm all replicas exists before taking server down Initiate deactivation of the node; wait for success/failure from windows fabric Stops services after successfully deactivating the node © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

48 Invoke-CsComputerFailBack
Start services if not already started Activate node—windows fabric will now consider this server for replica placement

49 Microsoft Skype for Business
9/10/2018 How is this better? Simpler workflow, fewer commands, less errors Faster: 2–3 hrs. for 12 FE pool (down from 8–12 hrs.) More reliable Checks for readiness across the pool within the cmdlet before failover Leverages windows fabric v2 deactivate/activate node APIs ensuring more dependable operation (moving replicas in/out, not move replicas into node going down) Since scope is always one frontend, avoids situations where multiple front ends could be down within a pool (reason servers don’t start) Will not allow fail over of a server if there are existing replica issues in the pool Enforces min server requirements implicitly (if other servers are down) Progress indicators © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

50 Microsoft Skype for Business
9/10/2018 How is this better? Invoke-CsComputerFailOver progress indicator Invoke-CsComputerFailBack progress indicator © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

51 Microsoft Skype for Business
9/10/2018 Notes Prerequisite: Skype for Business Server, Fabric version 2.0 CU3+ Don’t execute on more than one server at a time in a pool (it might block) Invoke-CsComputerFailOver requires RTCSRV service to be running Invoke-CsComputerFailBack will start RTCSRV service Stopping services outside of this cmdlet out-of-scope © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

52 Server management Pool cold start

53 Pool cold start scenarios
2013 to Skype for Business in-place upgrade Adding a new pool Pool fail back starts a pool if it was offline Miscellaneous cases where administrator decides to take down the entire pool for a maintenance activity (not recommended in 2013)

54 Lync 2013/pool cold start problems
Microsoft Skype for Business 9/10/2018 Lync 2013/pool cold start problems Typically, all the servers need to be started for one server to be up Confusing “minimum number of servers” requirements Starting a subset of a pool is not straightforward since it involves running RG quorum loss recovery Incomplete information on why a server cannot be started No automatic recovery actions initiated for failures © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

55 Skype for Business Server pool start
Microsoft Skype for Business 9/10/2018 Skype for Business Server pool start Start the servers within a pool with a single command with easy to follow instructions Allow pool to start even if some of the routing group replicas are stuck For problems encountered that might cause issues during pool/server cold start, alert with resolution steps © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

56 Microsoft Skype for Business
9/10/2018 Start-CsPool Prerequisite checks (all servers Skype for Business Server, WinFab 2.0+) Attempts to start all the servers in the pool If problems starting any server; perform extended diagnosis; alert If problem on front end cannot be fixed, run Start-CsPool with exclusion list Fail if min server requirements cannot be met due to exclusion list Does this operation require quorum loss recovery If no data loss, perform implicit quorum loss recovery If there will be data loss Seek admin approval with data loss information (or) Configure option to skip specific routing group replicas and proceed with start Start all servers if no issues © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

57 Summary Upgrading to Skype for Business Server 2015
In-place upgrades Upgrade paths SQL Server improvements SQL AlwaysOn support Server management Patching Cold pool start

58

59 Appendix Slides

60 Installing the WSFC feature

61 Validating the cluster configuration

62 Creating the cluster

63 Configuring Quorum settings
Microsoft Skype for Business Server 9/10/2018 Configuring Quorum settings © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

64 Enabling SQL AlwaysOn

65 Changing the recovery model for each database

66 Performing a full SQL backup for each database

67 Duplicating the database folder structure on replicas

68 SQL AlwaysOn Deployment and configuration

69 AlwaysOn deployment options
Deploying AlwaysOn for new pools Creating a new SQL AlwaysOn Availability Group for a new pool Deploying AlwaysOn for existing pools Moving from SQL standalone backend to AlwaysOn Availability Groups Moving from SQL mirrored backend to AlwaysOn Availability Groups

70 Deployment options New pools
Creating a new AlwaysOn Availability Group New pools

71 Creating a new AlwaysOn Availability Group
Creating a new Availability Group for a new pool can be somewhat confusing Creating a new SQL back-end Availability Group requires at least one database Databases for a new pool cannot be created until a SQL backend is available

72 Creating a new AlwaysOn Availability Group
Step 1: Add new SQL Store using the FQDN of the Availability Group Listener In Topology Builder, select the option New Front End Pool When prompted to define the SQL Server store, click New Add the FQDN of the Availability Group Listener as the SQL Server FQDN Select High Availability Settings, and choose SQL AlwaysOn Availability Groups Add the FQDN of the SQL primary replica as the FQDN for the SQL Server AlwaysOn Instance Complete the configuration of the new pool and publish the topology Step 2: Enable AlwaysOn Availability Groups Step 3: Create a new AlwaysOn Availability Group for the back-end databases Step 4: Update the settings for the SQL Store and publish the topology

73 Creating a new AlwaysOn SQL Store
Availability Group Listener FQDN Primary Replica FQDN Note: Databases will be created on the Primary Replica when the topology is published

74 Creating a new AlwaysOn Availability Group
Step 1: Add new SQL Store using the FQDN of the Availability Group Listener Step 2: Enable AlwaysOn Availability Groups Add the Windows Server Failover Clustering (WSFC) feature on each replica server Validate the cluster configuration Create a new Windows Failover Cluster Configure cluster quorum settings Enable AlwaysOn Availability Groups Step 3: Create a new AlwaysOn Availability Group for the back-end databases Step 4: Update the settings for the SQL Store and publish the topology

75 Creating a new AlwaysOn Availability Group
Step 1: Add new SQL Store using the FQDN of the Availability Group Listener Step 2: Enable AlwaysOn Availability Groups Step 3: Create a new AlwaysOn Availability Group for the back-end databases Set the recovery model for each database to Full Perform a SQL backup of each database Duplicate the database folder structure on each replica server Create the new Availability Group and add the back-end databases Step 4: Update the settings for the SQL Store and publish the topology

76 Creating a new Availability Group

77 Creating a new Availability Group

78 Creating a new AlwaysOn Availability Group
Step 1: Add new SQL Store using the FQDN of the Availability Group Listener Step 2: Enable AlwaysOn Availability Groups Step 3: Create a new AlwaysOn Availability Group for the back-end databases Step 4: Update the settings for the SQL Store and publish the topology In Topology Builder, open the properties of the Availability Group SQL Store Under High Availability Settings, change the FQDN for the SQL Server AlwaysOn instance value to the FQDN of the Availability Group Listener Publish the topology

79 Modifying the AlwaysOn SQL Store
Availability Group Listener FQDN Availability Group Listener FQDN

80 Deployment options Existing pools
Moving from SQL standalone to AlwaysOn Availability Groups Existing pools

81 Moving from SQL standalone to Availability Groups
Step 1: Install additional SQL Servers to be used as secondary replicas Must be on the same subnet as primary replica Use same SQL version as primary replica (must be Enterprise Edition) Use same SQL instance as primary replica Step 2: Enable AlwaysOn Availability Groups Step 3: Create AlwaysOn Availability Group for the existing back-end databases Step 4: Add new SQL Store using the FQDN of the Availability Group Listener Step 5: Associate the pool with the new SQL Store and publish the topology Step 6: Update the settings for the SQL Store and publish the topology

82 Moving from SQL standalone to Availability Groups
Step 1: Install additional SQL Servers to be used as secondary replicas Step 2: Enable AlwaysOn Availability Groups Add the Windows Server Failover Clustering (WSFC) feature on each replica server Validate the cluster configuration Create a new Windows failover cluster Configure cluster quorum settings Enable AlwaysOn Availability Groups Step 3: Create AlwaysOn Availability Group for the existing back-end databases Step 4: Add new SQL Store using the FQDN of the Availability Group Listener Step 5: Associate the pool with the new SQL Store and publish the topology Step 6: Update the settings for the SQL Store and publish the topology

83 Moving from SQL standalone to Availability Groups
Step 1: Install additional SQL Servers to be used as secondary replicas Step 2: Enable AlwaysOn Availability Groups Step 3: Create AlwaysOn Availability Group for the existing back-end databases Set the recovery model for each database to Full Perform a SQL backup of each database Duplicate the database folder structure on each replica server Create the new Availability Group and add the back-end databases Step 4: Add new SQL Store using the FQDN of the Availability Group Listener Step 5: Associate the pool with the new SQL Store and publish the topology Step 6: Update the settings for the SQL Store and publish the topology

84 Moving from SQL standalone to Availability Groups
Step 1: Install additional SQL Servers to be used as secondary replicas Step 2: Enable AlwaysOn Availability Groups Step 3: Create AlwaysOn Availability Group for the existing back-end databases Step 4: Add new SQL Store using the FQDN of the Availability Group Listener In Topology Builder, select the option New SQL Server Store Add the FQDN of the Availability Group Listener as the SQL Server FQDN Select High Availability Settings, and choose SQL AlwaysOn Availability Groups Add the FQDN of the SQL standalone server as the FQDN for the SQL Server AlwaysOn Instance Step 5: Associate the pool with the new SQL Store and publish the topology Step 6: Update the settings for the SQL Store and publish the topology

85 Moving from SQL standalone to Availability Groups
Step 1: Install additional SQL Servers to be used as secondary replicas Step 2: Enable AlwaysOn Availability Groups Step 3: Create AlwaysOn Availability Group for the existing back-end databases Step 4: Add new SQL Store using the FQDN of the Availability Group Listener Step 5: Associate the pool with the new SQL Store and publish the topology Change the SQL Server store association for the pool to the new AlwaysOn SQL Store Publish the topology, selecting the option to create databases Step 6: Update the settings for the SQL Store and publish the topology

86 Changing the SQL Server Store association
Select the Availability Group Listener FQDN

87 Moving from SQL standalone to Availability Groups
Step 1: Install additional SQL Servers to be used as secondary replicas Step 2: Enable AlwaysOn Availability Groups Step 3: Create AlwaysOn Availability Group for the existing back-end databases Step 4: Add new SQL Store using the FQDN of the Availability Group Listener Step 5: Associate the pool with the new SQL Store and publish the topology Step 6: Update the settings for the SQL Store and publish the topology In Topology Builder, open the properties of the Availability Group SQL Store Under High Availability Settings, change the FQDN for the SQL Server AlwaysOn Instance value to the FQDN of the Availability Group Listener Publish the topology

88 Deployment options Existing pools
Moving from SQL mirroring to AlwaysOn Availability Groups Existing pools

89 Moving from SQL mirroring to Availability Groups
Step 1: Failover all databases to the Primary SQL server Use Get-CsDatabaseMirrorState to find the Principal server for each database Note if the StateOnMirror value is Principal for any back-end database Use Invoke-CsDatabaseFailover –NewPrincipal Primary to failover databases Step 2: Uninstall each database type and drop databases on Mirror server Step 3: Disable database mirroring and publish the topology Step 4: Enable AlwaysOn Availability Groups Step 5: Create AlwaysOn Availability Group for the existing back-end databases Step 6: Add new SQL Store using the FQDN of the Availability Group Listener Step 7: Associate the pool with the new SQL Store and publish the topology Step 8: Update the settings for the SQL Store and publish the topology

90 Moving from SQL mirroring to Availability Groups
Step 1: Failover all databases to the Primary SQL server Step 2: Uninstall each database type and drop databases on Mirror server Run Uninstall-CsMirrorDatabase –DropExistingDatabasesOnMirror for each database type Run Get-CsDatabaseMirrorState and verify that the StateOnMirror value is DatabaseUnavailable for all previously mirrored databases Using SQL Management Studio, connect to the Mirror server and manually delete any database that could not be dropped by the Uninstall-CsMirrorDatabase cmdlet Step 3: Disable database mirroring and publish the topology Step 4: Enable AlwaysOn Availability Groups Step 5: Create AlwaysOn Availability Group for the existing back-end databases Step 6: Add new SQL Store using the FQDN of the Availability Group Listener Step 7: Associate the pool with the new SQL Store and publish the topology Step 8: Update the settings for the SQL Store and publish the topology

91 Moving from SQL mirroring to Availability Groups
Step 1: Failover all databases to the Primary SQL server Step 2: Uninstall each database type and drop databases on Mirror server Step 3: Disable database mirroring and publish the topology In Topology Builder, open the properties of the pool Deselect the Enable SQL Server store mirroring option Publish the topology Step 4: Enable AlwaysOn Availability Groups Step 5: Create AlwaysOn Availability Group for the existing back-end databases Step 6: Add new SQL Store using the FQDN of the Availability Group Listener Step 7: Associate the pool with the new SQL Store and publish the topology Step 8: Update the settings for the SQL Store and publish the topology

92 Moving from SQL mirroring to Availability Groups
Step 1: Failover all databases to the Primary SQL server Step 2: Uninstall each database type and drop databases on Mirror server Step 3: Disable database mirroring and publish the topology Step 4: Enable AlwaysOn Availability Groups Add the Windows Server Failover Clustering (WSFC) feature on each replica server Validate the cluster configuration Create a new Windows failover cluster Configure cluster quorum settings Enable AlwaysOn Availability Groups Step 5: Create AlwaysOn Availability Group for the existing back-end databases Step 6: Add new SQL Store using the FQDN of the Availability Group Listener Step 7: Associate the pool with the new SQL Store and publish the topology Step 8: Update the settings for the SQL Store and publish the topology

93 Moving from SQL mirroring to Availability Groups
Step 1: Failover all databases to the Primary SQL server Step 2: Uninstall each database type and drop databases on Mirror server Step 3: Disable database mirroring and publish the topology Step 4: Enable AlwaysOn Availability Groups Step 5: Create AlwaysOn Availability Group for the existing back-end databases Set the recovery model for each database to Full Perform a SQL backup of each database Duplicate the database folder structure on each replica server Create the new Availability Group and add the back-end databases Step 6: Add new SQL Store using the FQDN of the Availability Group Listener Step 7: Associate the pool with the new SQL Store and publish the topology Step 8: Update the settings for the SQL Store and publish the topology

94 Moving from SQL mirroring to Availability Groups
Step 1: Failover all databases to the Primary SQL server Step 2: Uninstall each database type and drop databases on Mirror server Step 3: Disable database mirroring and publish the topology Step 4: Enable AlwaysOn Availability Groups Step 5: Create AlwaysOn Availability Group for the existing back-end databases Step 6: Add new SQL Store using the FQDN of the Availability Group Listener In Topology Builder, select the option New SQL Server Store Add the FQDN of the Availability Group Listener as the SQL Server FQDN Select High Availability Settings, and choose SQL AlwaysOn Availability Groups Add the FQDN of the SQL primary server as the FQDN for the SQL Server AlwaysOn Instance Step 7: Associate the pool with the new SQL Store and publish the topology Step 8: Update the settings for the SQL Store and publish the topology

95 Moving from SQL mirroring to Availability Groups
Step 1: Failover all databases to the Primary SQL server Step 2: Uninstall each database type and drop databases on Mirror server Step 3: Disable database mirroring and publish the topology Step 4: Enable AlwaysOn Availability Groups Step 5: Create AlwaysOn Availability Group for the existing back-end databases Step 6: Add new SQL Store using the FQDN of the Availability Group Listener Step 7: Associate the pool with the new SQL Store and publish the topology Change the SQL Server store association for the pool to the new AlwaysOn SQL Store Publish the topology, selecting the option to create databases Step 8: Update the settings for the SQL Store and publish the topology

96 Moving from SQL mirroring to Availability Groups
Step 1: Failover all databases to the Primary SQL server Step 2: Uninstall each database type and drop databases on Mirror server Step 3: Disable database mirroring and publish the topology Step 4: Enable AlwaysOn Availability Groups Step 5: Create AlwaysOn Availability Group for the existing back-end databases Step 6: Add new SQL Store using the FQDN of the Availability Group Listener Step 7: Associate the pool with the new SQL Store and publish the topology Step 8: Update the settings for the SQL Store and publish the topology In Topology Builder, open the properties of the Availability Group SQL Store Under High Availability Settings, change the FQDN for the SQL Server AlwaysOn Instance value to the FQDN of the Availability Group Listener Publish the topology

97 SQL always on Known issues

98 Issue 1 Clients go into resiliency mode after failing over Availability Group to secondary replica Reason: The Availability Group wizard does not replicate the SQL logins from the primary node to each of the defined secondary replicas Workaround steps: 1. Launch Topology Builder and download topology 2. Change the SQL machine FQDN value to the AG Listener FQDN 3. Publish the topology and wait for CMS replication to occur 4. Use Cluster Manager to failover the AG Listener cluster resource to one of the replica servers 5. Run Install-CsDatabase –Update (which creates the missing SQL logins on the replica server) 6. Repeat steps 4–5 for each additional replica server Note: If you want to create a new database you will need to repoint the SQL Machine FQDN to the Primary Node in the Availability Group RTC Universal Groups are missing

99 Issue 2 Unable to move from SQL mirroring to AlwaysOn Availability Groups due to location of CMS database Reason: If the CMS database is homed on or paired with the pool where you are attempting to move to AlwaysOn Availability Groups, you will be unable to change the HA model for the backend database Workaround steps: If the pool is not paired, use the Move-CsManagementServer cmdlet to move the CMS database to another pool. If the pool is paired and the CMS is not homed locally on the pool where you are attempting to change the backend HA model: Disable pool pairing and uninstall the CMS database Change the HA model from SQL mirroring to Availability Groups Reinstall the CMS database and re-enable pool pairing Add the CMS databases to the Availability Group If the pool is paired and the CMS is homed on locally on the pool where you are attempting to change the backend HA model: Use Invoke-CsManagementServerFailover cmdlet to failover the CMS database

100 Issue 3 Creating an Availability Group with only a single replica
Reason: For test environments, you may want to create an Availability Group with only a single replica. If you attempt to use SQL Management Studio to do this, you will be blocked as it requires a minimum of two replicas. However, you can use PowerShell to work around this limitation Workaround steps: Use the powershell cmdlets to set this up # Create an in-memory representation of the primary replica $primaryReplica = New-SqlAvailabilityReplica -Name "lab2-sql5\Instance1" -EndpointURL "TCP://lab2-sql5.contoso.com:5022" -AvailabilityMode "SynchronousCommit" -FailoverMode "Automatic" -Version 12 -AsTemplate # Create the Availability Group New-SqlAvailabilityGroup -Name "MyAG" -Path "SQLSERVER:\SQL\lab2-sql5\Instance1" -Database "cpsdyn" # Add additional database to the Availability Group Add-SqlAvailabilityDatabase -Path "SQLSERVER:\SQL\lab2-sql5\Instance1\AvailabilityGroups\MyAG" -Database "rgsconfig" Add-SqlAvailabilityDatabase -Path "SQLSERVER:\SQL\lab2-sql5\Instance1\AvailabilityGroups\MyAG" -Database "rgsdyn" Add-SqlAvailabilityDatabase -Path "SQLSERVER:\SQL\lab2-sql5\Instance1\AvailabilityGroups\MyAG" -Database "rtcab" Add-SqlAvailabilityDatabase -Path "SQLSERVER:\SQL\lab2-sql5\Instance1\AvailabilityGroups\MyAG" -Database "rtcshared" Add-SqlAvailabilityDatabase -Path "SQLSERVER:\SQL\lab2-sql5\Instance1\AvailabilityGroups\MyAG" -Database "rtcxds" # Add Availability Group Listener (note port number - you will get an error if default SQL port 1433 is already in use) New-SqlAvailabilityGroupListener -Name lab2-sqlclu1 -StaticIp ' / ' -Path "SQLSERVER:\SQL\lab2-sql5\Instance1 \AvailabilityGroups\MyAG“ -Port 1431

101 Issue 4 Clients go into resiliency mode after failing over Availability Group to secondary replica Unable to create AlwaysOn Availability Group Listener due to connection failure Reason: The Availability Group wizard does not replicate the SQL logins from the primary node to each of the defined secondary replicas. Reason: For named instances, SQL Server listens for connections on a dynamic TCP port. Some admins may wish to configure SQL to listen on either the default port (TCP/1433) or use a SQL alias to configure SQL to listen on a non-default static port (e.g., 1499). If you configure your SQL Servers to listen on the default port, you will encounter an error when attempting to create the Availability Group listener for SQL AlwaysOn due to a port conflict Workaround steps: Use a SQL alias to configure SQL to listen on a non-default static port (e.g.,1499) if default SQL port 1433 is already in use ( Verify that exceptions have been added in Windows Firewall for the port used by the Availability Group Listener

102


Download ppt "Servicing the existing deployment & upgrading to Skype for Business Server"

Similar presentations


Ads by Google