Documentos de Académico
Documentos de Profesional
Documentos de Cultura
existing
deployment
& upgrading to
Skype for Business
Speaker Name
Server
Speaker Title
Agenda
Upgrading to Skype for Business Server
2015
In-place upgrades
Upgrade paths
Server management
Patching
Cold pool start
Upgrading to Skype
for Business Server
2015
In-place upgrade overview
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
Upgrade path
Migrate-users mode (no user downtime)
Offline mode
Original
topology
New
topology
Priority
2013
Skype for
Business Server +
2013
P0
2010
Skype for
Business Server +
2010
P1
2013 + 2010
Skype for
Business Server +
2013
P1
Upgrade
path
(move
users):
Pool1
(Lync 2013
CU5) Upgrade to Skype for
Business Server
Case 1
Upgrade from
Lync 2013 to
Skype for Business
Server
Pool2
(Lync 2013
CU5)
Pool3
(Lync 2013
CU5)
Pool2
(Lync 2013
CU5)
Upgrade to Skype
for Business
Server
Pool3
(Lync 2013
CU5)
Pool2
(Skype for
Business
2015)
Pool3
(Lync 2013
CU5)
Test
functionality
Pool1
(Skype for
Business
2015)
Pool1
(Skype for
Business
2015)
Upgrade
path
(move
users):
Pool1
(Lync 2010)
Pool2
(Lync 2010)
Pool3
(Skype for
Business)
Pool2
(Lync 2010)
Pool3
(Skype for
Business)
Pool2
(Lync 2010)
Pool3
(Skype for
Business)
Case 2
Upgrade from
Lync 2010 to
Skype for Business
Server
Pool1
(Lync 2010)
Move users
from Pool1
to Pool3
Decommission Pool1
Pool1
(Lync 2010)
Bring up
a new
Skype for
Business
Server Pool
Upgrade
path
(move
users):
Case 3
Upgrade from
Lync 2010 +
Lync 2013 to
Skype for Business
Server
Move users
from Pool1
to Pool3
Pool1
(Lync 2010)
Pool3
(Lync 2013
CU5)
Pool2
(Lync 2013
CU5)
Decommission
Pool1
Move Pool3
users
Pool1
(Lync 2010)
Pool3
(Lync 2013
CU5)
Pool2
(Lync 2013
CU5)
Upgrade
to Skype for
Business
Server
Move back
Pool3 users
Pool2
(Lync 2013
CU5)
Pool3
(Skype for
Business)
Upgrade
path
(offline
mode):
Send
maintenanc
e
notice to
users
on Pool1
Case 4
Upgrade from
Lync 2013 to
Skype for Business
Server
Pool1
(Lync 2013
CU5) Upgrade to
Skype for
Business Server
Pool2
(Lync 2013
CU5)
Pool1
(Skype for
Business)
Pool2
(Lync 2013
CU5)
Make sure
features
are
working
Send email
to users that
services are
up
and running
Send
maintenance
notice to users
on Pool2
Pool1
(Skype for
Business)
Pool2
(Skype2013
(Lync
for
Business)
CU5)
Upgrade to
Skype for
Business
Server
Upgrade path
Recommendations
Upgrade order
(Insideoutside)
FE pool
Yes
Director pool
Yes
Mediation pool
Yes
Yes
Edge pool
Yes
Yes
Yes
No
Yes
File store
No
n/a
PSTN gateway
No
n/a
Trunk
No
n/a
In-place upgrade
Customer experience
Upgrade process
STEP
STEP
STEP
STEP
STEP
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)
Upgrade process
STEP
STEP
STEP
STEP
STEP
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)
Upgrade process
STEP
STEP
STEP
STEP
STEP
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)
Upgrade process
STEP
STEP
STEP
STEP
STEP
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)
Upgrade process
STEP
STEP
STEP
STEP
STEP
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)
Upgrade process
STEP
STEP
STEP
STEP
STEP
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)
SQL AlwaysOn
Overview
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)
AlwaysOn advantages
Latest and greatest SQL HA solution
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
SQL AlwaysOn
Planning
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
Mirroring
Standard or Enterprise Edition
AlwaysOn support
information
Supported with Skype for Business
Server
Standalon
Mirroring
Availability
Availability groups are
not supported Failover
with Lync Server
2010 or 2013
e
Clustering
Groups
SQL 2008 R2
SP2
SQL 2008 R2
SP2
Not supported
Not supported
SQL 2008 R2
SP2
SQL 2012 SP1
SQL 2008 R2
SP2
SQL 2012 SP1
SQL 2008 R2
SP2
SQL 2012 SP1
Not supported
Skype for
Business Server
SQL 2008 R2
SP2
SQL 2012 SP1
SQL 2014
SQL 2008 R2
SP2
SQL 2012 SP1
SQL 2014
SQL 2008 R2
SP2
SQL 2012 SP1
SQL 2014
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
SQL AlwaysOn
Prerequisites and dependencies
option
Availability Groups (AG)
Management
Patching process
Server management
Patching
Lync 2013
Skype for
Business
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
Invoke-CsComputerFailBack
Start services if not already started
Activate nodewindows fabric will now
consider this server for replica
placement
Invoke-CsComputerFailBack progress
indicator
Notes
Prerequisite: Skype for Business Server, Fabric version 2.0
CU3+
Dont 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
Server management
Pool cold start
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
Summary
Upgrading to Skype for Business Server 2015
In-place upgrades
Upgrade paths
Server management
Patching
Cold pool start
Q&A
Appendix Slides
SQL AlwaysOn
Deployment and configuration
AlwaysOn deployment
options
Deployment
New pools
options
Step 4: Update the settings for the SQL Store and publish the
topology
Deployment
Existing pools
options
Step 3: Create AlwaysOn Availability Group for the existing backend databases
Step 4: Add new SQL Store using the FQDN of the Availability
Group Listener
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
Deployment
Existing pools
options
Step 5: Create AlwaysOn Availability Group for the existing backend databases
Step 6: Add new SQL Store using the FQDN of the Availability
Group Listener
Step 6: Add new SQL Store using the FQDN of the Availability Group
Listener
SQL always on
Known issues
Issue 1
Clients go into resiliency mode after
failing
over Availability
Group
to not
secondary
Reason:
The Availability Group
wizard does
replicate the
SQL logins from the primary node to each of the defined
replicareplicas
secondary
Workaround steps:
1. Launch Topology Builder and download topology
2. Change the SQL machine FQDN value to the AG
ListenerFQDN
3. Publish the topologyand 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 45 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
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
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
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
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:
1. 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
-Database
-Database
-Database
-Database
-Database
"rgsconfig"
"rgsdyn"
"rtcab"
"rtcshared"
"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 '192.168.0.209/255.255.252.0' -Path "SQLSERVER:\SQL\lab2sql5\Instance1
\AvailabilityGroups\MyAG -Port 1431
Issue 4
Unable to create AlwaysOn Availability Group Listener
due to connection failure
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 steps:
Workaround
1. Use a SQL alias to configure SQL to listen on a nondefault static port (e.g.,1499) if default SQL port
1433 is already in use (
http://technet.microsoft.com/en-us/library/dn776290.aspx)