SlideShare una empresa de Scribd logo
1 de 33
SQL Server
Release Management
SPs, CUs und CODs,
ich verstehe nur Bahnhof
Andre Essing
11.06.2016
Organizer
SQLSaturday Rheinland 201611.06.2016
Bronze Sponsor
SQLSaturday Rheinland 201611.06.2016
Silver Sponsor
SQLSaturday Rheinland 201611.06.2016
Gold Sponsor
SQLSaturday Rheinland 201611.06.2016
About me
ANDRE
ESSING
Senior Consultant
Trainer
DBA and Senior Consultant,
Microsoft Certified Solutions
Expert, Trainer and SQL Server
Enthusiast
 Working in IT since 1998
 SQL Server since version 7.0
 Focus on SQL Server
infrastructure and
mission critical systems
 Microsoft Certified Trainer
and MCSE: Data Platform
 Microsoft P-TSP Data Platform
 Friend of Redgate
 PASS Chapter Leader Bavaria
Contact
Web & Mail
www www.trivadis.com
Blog www.andreessing.de
E-Mail andre.essing@trivadis.com
Social
Twitter twitter.com/aessing
Xing xing.com/profile/Andre_Essing
LinkedIn linkedin.com/in/aessing
SlideShare slideshare.net/AndreEssing
Profile
SQLSaturday Rheinland 201611.06.2016
Die unterschiedlichen Arten von SQL Server Updates
Geschmacksrichtungen
11.06.2016 SQLSaturday Rheinland 2016
Geschmäcker sind verschieden
Hotfixes
 Mehrere Bezeichnungen
 Quick Fix Engineering (QFE)
 On-Demand (OD)
 Critical-On-Demand (COD)
 Beheben ein spezifisches Problem
 Nur bei Sicherheits- oder kritischen Problemen
 Testing beschränkt sich auf das Problem
11.06.2016 SQLSaturday Rheinland 2016
Geschmäcker sind verschieden
Cumulative Updates
 Wird alle 2 Monate veröffentlicht
 Beinhaltet sämtliche Hotfixes
 Kumulativ, ab einem Release
 Besser getestet als Hotfixes
 Manchmal mit neuen Funktionen
 Manche Hotfixes müssen aktiviert werden
 Basiert wie Hotfixes auf der Hotfix Branch
11.06.2016 SQLSaturday Rheinland 2016
Geschmäcker sind verschieden
Das neue Cumulative Update
 Seit dem 21.01.2016
 Microsoft empfiehlt proaktiven Rollout
 Ab sofort getestet wie Service Packs
 Ab sofort im Download Center
11.06.2016 SQLSaturday Rheinland 2016
 Beinhaltet „fast“ alle Hotfixes
 Am intensivsten getestet
 Manchmal mit neuen Funktionen
 Manche Hotfixes müssen aktiviert werden
 Installation innerhalb eines Jahres notwendig
 Basiert auf der GDR Branch
(General Distribution Release)
Geschmäcker sind verschieden
Services Packs
11.06.2016 SQLSaturday Rheinland 2016
Speisekartengestaltung
SQL Server Incremental Servicing Model
11.06.2016 SQLSaturday Rheinland 2016
Speisekartengestaltung
SQL Server Incremental Servicing Model
11.06.2016 SQLSaturday Rheinland 2016
Vom Plan, über Tests,
bis zur Installation
Abschmecken
und Servieren
11.06.2016 SQLSaturday Rheinland 2016
 Downtime während des Updates
 Testing des Updates vor dem Rollout
 Installation und Management
 Kompatibilität der Applikationen
 Bekannte Probleme mit Update
 Disaster Recovery Plan
 Backups / Snapshots
 Automatisierung / Durchführung
Die wichtigsten Zutaten
Was ist vor der Installation zu beachten?
11.06.2016 SQLSaturday Rheinland 2016
 Windows Software Updates Services
 Standalone Server
 Cluster Aware Updating
 SQL Server Failover Cluster ab 2012 SP1
 Availability Groups sind nicht unterstützt
 PowerShell / Command Prompt
<setuppacket.exe> /IAcceptSQLServerLicenseTerms /QUIET /ALLINSTANCES
<setuppacket.exe> /IAcceptSQLServerLicenseTerms /QUIET /INSTANCENAME=<instanzname>
 Slipstream für Neuinstallation
Utensilien für die Updateküche
Auf das richtige Werkzeug kommt es an
11.06.2016 SQLSaturday Rheinland 2016
Das große Kochbuch der Updates
Standalone Server
11.06.2016 SQLSaturday Rheinland 2016
Vor dem
Update
Backup aller
DBs
Backup oder
Snapshot
des Systems
Während des
Updates
Installation
des Updates
Eventuell
Reboot
Nach dem
Update
Backup
Ressource
Datenbank
Snapshot
entfernen
Das große Kochbuch der Updates
Cluster und Availability Groups
11.06.2016 SQLSaturday Rheinland 2016
Vor dem Update
Backup aller
DBs
Backup oder
Snapshot der
Systeme
Während des
Updates
Schwenk der
Instanzen /
AGs
Installation
auf passiven
Knoten
Schwenk der
Instanzen /
AGs
Installation
restliche
Knoten
Nach dem
Update
Backup
Ressource
Datenbank
Snapshots
entfernen
Probleme bei der Installation
In Teufelsküche
11.06.2016 SQLSaturday Rheinland 2016
 Fehlermeldungen während der Installation
 Rückmeldung der GUI
 Error Code und Fehlermeldung in der CLI
 Detaillierte Log-Dateien des Setups
C:Program Files (x86)Microsoft SQL Server???Setup BootstrapLog
 Bekannte Probleme
 Standardpfade für DBs nicht mehr vorhanden oder
falsch berechtigt
 Datendatei oder Transactionlog voll
 Use FIPS compliant algorithms for encryption, hashing,
and signing
Total versalzen
Probleme bei der Installation
11.06.2016 SQLSaturday Rheinland 2016
 Symptome
 Update Installation schlägt fehl
 SQL Server Dienst startet nicht mehr
 Betrifft nicht alle verfügbaren Updates
 Logischem Dateinamen master
SELECT DB_NAME([database_id]) AS N'DBNAME'
FROM [sys].[master_files]
WHERE [name] = N'master'
AND [database_id] != 1
 Besser vorsorgen, als Probleme beheben
Welcher Topf ist der Richtige?
Identitätsprobleme beim Update
11.06.2016 SQLSaturday Rheinland 2016
 Update Installation besteht aus 2 Stufen
 Kopieren der Binaries
 Ausführen der Internal Upgrade Scripts
 Internal Updgrade Scripts umgehen
 Trace Flag 902 beim SQL Server Start
 Konfiguration im SQL Server Configuration Manager
 Nach Fehlerbehebung Update erneut ausführen
Da muss der Küchenchef ran
Umgehen der Startupskripte
11.06.2016 SQLSaturday Rheinland 2016
Wie, kein Support mehr?
Rien ne va plus
11.06.2016 SQLSaturday Rheinland 2016
Chef de Cuisine, Souschef, gar kein Chef
Was bedeutet „End-Of-Support“
11.06.2016 SQLSaturday Rheinland 2016
Art des Supports Mainstream Extended
Bezahlter Support
(inkl. pay-per-incident Premier and
Essential Support)
● ●
Sicherheitsupdates ● ●
Nicht sicherheitsrelevante Updates ● Hotfix Vertrag nötig
Kostenloser Support aus Lizenz- und
Supportprogrammen
● -
Design- und Feature- Change Requests ● -
Online Support
(Knowledge Base, Produktinformationen,
Webcasts)
● ●
Online Forum Support ● ●
Quelle: Microsoft Support Lifecycle (https://support.microsoft.com/de-de/lifecycle#gp/gp_msl_policy)
Mindesthaltbarkeitsdatum
Wie lange bleibt mir noch?
11.06.2016 SQLSaturday Rheinland 2016
Produkt Mainstream Extended Verbleibend
Win Server 2003 bereits beendet bereits beendet 0
Win Server 2008 bereits beendet 14.01.2020 1312
Win Server 2012 09.01.2018 10.01.2023 2404
Produkt Mainstream Extended Verbleibend
SQL Server 2005 bereits beendet bereits beendet 0
SQL Server 2008 bereits beendet 09.07.2019 1123
SQL Server 2012 11.07.2017 12.07.2022 2222
SQL Server 2014 09.07.2019 09.07.2024 2950
SQL Server 2016 12.10.2021 13.10.2026 3776
SQL Server Upgrade Szenarien
Pimp it up!
11.06.2016 SQLSaturday Rheinland 2016
 Versionspolitik im Unternehmen
 Support der Applikationen
 In-House Entwicklung
 Third-Party Applikationen
 Deprecated Features
 Nutzen Applikationen deprecated Features
 Passendes Kompatibilitätslevel verfügbar
Eine harte Nuss
Was ist beim Upgrade zu beachten?
11.06.2016 SQLSaturday Rheinland 2016
 Einfachste Upgrade-Art
 Ersetzt die Alte durch eine neue Version
 Umstellung mit „Big Bang“
 Kein Rollback für einzelne Applikationen
 Birgt Gefahrenpotenzial
 Während des Upgrade offline
Kekse, Kuchen, oder Torte?
Inplace Upgrades
11.06.2016 SQLSaturday Rheinland 2016
 Installation einer parallelen Instanz
 Möglichkeit Hardware oder Betriebssystem zu
tauschen
 Umstellung mit „Big Bang“ oder ohne
 Downtime Applikationsabhängig
 Aufwändiger als ein Inplace-Upgrade
Kekse, Kuchen, oder Torte?
Side-By-Side Upgrade
11.06.2016 SQLSaturday Rheinland 2016
 Funktioniert mit Clustering, optimal mit AGs
 Upgrade mit geringer Downtime bzw. „near-Zero“
Downtime bei Availability Groups
 Inplace Upgrade mit verringertem Risiko
 Ab Windows Server 2016 auch mit OS möglich
Kekse, Kuchen, oder Torte?
Rolling Upgrade
11.06.2016 SQLSaturday Rheinland 2016
11.06.2016 SQLSaturday Rheinland 2016
Save the date!
8. October 2016 – New Microsoft Office
11.06.2016 SQLSaturday Rheinland 2016
Save the date!
8. October 2016 – New Microsoft Office
11.06.2016 SQLSaturday Rheinland 2016

Más contenido relacionado

Destacado

Marco logico proyectos de graduacion
Marco logico proyectos de graduacionMarco logico proyectos de graduacion
Marco logico proyectos de graduacionEdisson Vera Zambrano
 
S.o. distribuidos
S.o. distribuidosS.o. distribuidos
S.o. distribuidosgiovatovar
 
NIVELES DE LA PLANEACIÓN DIDÁCTICA Y PLANES DE ESTUDIO
NIVELES DE LA PLANEACIÓN  DIDÁCTICA Y  PLANES DE ESTUDIONIVELES DE LA PLANEACIÓN  DIDÁCTICA Y  PLANES DE ESTUDIO
NIVELES DE LA PLANEACIÓN DIDÁCTICA Y PLANES DE ESTUDIOZuqii Uvitha
 
презентація
презентаціяпрезентація
презентаціяSonya19
 
Uso del video educativo
Uso del video educativoUso del video educativo
Uso del video educativoMarz Camacho
 
Diet Arts CPF Profile
Diet Arts CPF ProfileDiet Arts CPF Profile
Diet Arts CPF Profiledietarts
 
Violencia contra la mujer (1)
Violencia contra la mujer (1)Violencia contra la mujer (1)
Violencia contra la mujer (1)Massiel Mendoza
 
Constrictive bronchiolitis in soldiers returning from iraq and afghanistan
Constrictive bronchiolitis in soldiers returning from iraq and afghanistanConstrictive bronchiolitis in soldiers returning from iraq and afghanistan
Constrictive bronchiolitis in soldiers returning from iraq and afghanistanMaría Dolores Calabria Gallego
 
Social Media in der Bildung: Transformation tradierter Lernformen und neue Po...
Social Media in der Bildung: Transformation tradierter Lernformen und neue Po...Social Media in der Bildung: Transformation tradierter Lernformen und neue Po...
Social Media in der Bildung: Transformation tradierter Lernformen und neue Po...Benjamin Jörissen
 
La primera guerra mundial
La primera guerra mundialLa primera guerra mundial
La primera guerra mundialSneyder Leguia
 
Glúteos de Escándalo
Glúteos de EscándaloGlúteos de Escándalo
Glúteos de EscándaloPedro Gomez
 

Destacado (20)

Sistema nervioso
Sistema nerviosoSistema nervioso
Sistema nervioso
 
Reisen Durch Deutschland
Reisen Durch DeutschlandReisen Durch Deutschland
Reisen Durch Deutschland
 
Diapositivas de talento
Diapositivas de talentoDiapositivas de talento
Diapositivas de talento
 
Marco logico proyectos de graduacion
Marco logico proyectos de graduacionMarco logico proyectos de graduacion
Marco logico proyectos de graduacion
 
Unidad 3
Unidad 3Unidad 3
Unidad 3
 
La guerra civil
La guerra civilLa guerra civil
La guerra civil
 
Propuesta mundial 2014
Propuesta mundial 2014Propuesta mundial 2014
Propuesta mundial 2014
 
S.o. distribuidos
S.o. distribuidosS.o. distribuidos
S.o. distribuidos
 
NIVELES DE LA PLANEACIÓN DIDÁCTICA Y PLANES DE ESTUDIO
NIVELES DE LA PLANEACIÓN  DIDÁCTICA Y  PLANES DE ESTUDIONIVELES DE LA PLANEACIÓN  DIDÁCTICA Y  PLANES DE ESTUDIO
NIVELES DE LA PLANEACIÓN DIDÁCTICA Y PLANES DE ESTUDIO
 
презентація
презентаціяпрезентація
презентація
 
Leyes
LeyesLeyes
Leyes
 
Uso del video educativo
Uso del video educativoUso del video educativo
Uso del video educativo
 
Diet Arts CPF Profile
Diet Arts CPF ProfileDiet Arts CPF Profile
Diet Arts CPF Profile
 
Matriz Propuesta por Alba Pardo
Matriz Propuesta por Alba PardoMatriz Propuesta por Alba Pardo
Matriz Propuesta por Alba Pardo
 
Violencia contra la mujer (1)
Violencia contra la mujer (1)Violencia contra la mujer (1)
Violencia contra la mujer (1)
 
Constrictive bronchiolitis in soldiers returning from iraq and afghanistan
Constrictive bronchiolitis in soldiers returning from iraq and afghanistanConstrictive bronchiolitis in soldiers returning from iraq and afghanistan
Constrictive bronchiolitis in soldiers returning from iraq and afghanistan
 
Social Media in der Bildung: Transformation tradierter Lernformen und neue Po...
Social Media in der Bildung: Transformation tradierter Lernformen und neue Po...Social Media in der Bildung: Transformation tradierter Lernformen und neue Po...
Social Media in der Bildung: Transformation tradierter Lernformen und neue Po...
 
Ashwini
AshwiniAshwini
Ashwini
 
La primera guerra mundial
La primera guerra mundialLa primera guerra mundial
La primera guerra mundial
 
Glúteos de Escándalo
Glúteos de EscándaloGlúteos de Escándalo
Glúteos de Escándalo
 

Similar a SQL Server Release Management - SPs, CUs und CODs, ich verstehe nur Bahnhof

SQL Server 2016 and SharePoint 2016 - Lars PLatzdasch - SQL Konferenz 2016
SQL Server 2016 and SharePoint 2016  - Lars PLatzdasch - SQL Konferenz 2016SQL Server 2016 and SharePoint 2016  - Lars PLatzdasch - SQL Konferenz 2016
SQL Server 2016 and SharePoint 2016 - Lars PLatzdasch - SQL Konferenz 2016Lars Platzdasch
 
SAP HANA, Power Pivot, SQL Server – In-memory-Technologien im Vergleich
SAP HANA, Power Pivot, SQL Server – In-memory-Technologien im VergleichSAP HANA, Power Pivot, SQL Server – In-memory-Technologien im Vergleich
SAP HANA, Power Pivot, SQL Server – In-memory-Technologien im VergleichMarcel Franke
 
Best Practices SharePoint and SQL Installation
Best Practices SharePoint and SQL InstallationBest Practices SharePoint and SQL Installation
Best Practices SharePoint and SQL InstallationSamuel Zürcher
 
Roadshow: Windows Server 2016 «vNext»
Roadshow: Windows Server 2016 «vNext»Roadshow: Windows Server 2016 «vNext»
Roadshow: Windows Server 2016 «vNext»Digicomp Academy AG
 
Webcast Nr. 3 - Java Entwicklung mit der SAP Cloud Platform
Webcast Nr. 3 - Java Entwicklung mit der SAP Cloud PlatformWebcast Nr. 3 - Java Entwicklung mit der SAP Cloud Platform
Webcast Nr. 3 - Java Entwicklung mit der SAP Cloud PlatformPatric Dahse
 
Middleware Basics für den DBA
Middleware Basics für den DBAMiddleware Basics für den DBA
Middleware Basics für den DBATrivadis
 
Oracle AVDF in der Praxis
Oracle AVDF in der PraxisOracle AVDF in der Praxis
Oracle AVDF in der PraxisTrivadis
 
Exchange 2016 Cloud Migration
Exchange 2016 Cloud MigrationExchange 2016 Cloud Migration
Exchange 2016 Cloud MigrationGWAVA
 
Umzug in die Cloud - flexible, dynamische Websites und Digital Marketing am B...
Umzug in die Cloud - flexible, dynamische Websites und Digital Marketing am B...Umzug in die Cloud - flexible, dynamische Websites und Digital Marketing am B...
Umzug in die Cloud - flexible, dynamische Websites und Digital Marketing am B...comspace GmbH & Co. KG
 
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.Torsten Kleiber
 
Webcast SAP Cloud Platform 2 - Developing Tools
Webcast SAP Cloud Platform 2 - Developing ToolsWebcast SAP Cloud Platform 2 - Developing Tools
Webcast SAP Cloud Platform 2 - Developing ToolsPatric Dahse
 
Sql Server GrundlagenfüR Share Point Admins
Sql Server GrundlagenfüR Share Point AdminsSql Server GrundlagenfüR Share Point Admins
Sql Server GrundlagenfüR Share Point AdminsSharepointUGDD
 
Sql Server Grundlagen für Sharepoint Administratoren
Sql Server Grundlagen für Sharepoint AdministratorenSql Server Grundlagen für Sharepoint Administratoren
Sql Server Grundlagen für Sharepoint AdministratorenCommunardo GmbH
 
Continuous Delivery - Aber Sicher?!
Continuous Delivery - Aber Sicher?!Continuous Delivery - Aber Sicher?!
Continuous Delivery - Aber Sicher?!Jan Dittberner
 
DevDay 2016 - Jan Dittberner - Continous Delivery - Aber sicher?!
DevDay 2016 - Jan Dittberner - Continous Delivery - Aber sicher?!DevDay 2016 - Jan Dittberner - Continous Delivery - Aber sicher?!
DevDay 2016 - Jan Dittberner - Continous Delivery - Aber sicher?!DevDay Dresden
 
Forms and Reports 12c - Processes and Automation in Development and Operations
Forms and Reports 12c - Processes and Automation in Development and OperationsForms and Reports 12c - Processes and Automation in Development and Operations
Forms and Reports 12c - Processes and Automation in Development and OperationsTorsten Kleiber
 
Windows 10 Enterprise
Windows 10 EnterpriseWindows 10 Enterprise
Windows 10 EnterpriseGWAVA
 
Microsoft Environments aus der Cloud
Microsoft Environments aus der CloudMicrosoft Environments aus der Cloud
Microsoft Environments aus der CloudBeck et al. GmbH
 

Similar a SQL Server Release Management - SPs, CUs und CODs, ich verstehe nur Bahnhof (20)

SQL Server 2016 and SharePoint 2016 - Lars PLatzdasch - SQL Konferenz 2016
SQL Server 2016 and SharePoint 2016  - Lars PLatzdasch - SQL Konferenz 2016SQL Server 2016 and SharePoint 2016  - Lars PLatzdasch - SQL Konferenz 2016
SQL Server 2016 and SharePoint 2016 - Lars PLatzdasch - SQL Konferenz 2016
 
SAP HANA, Power Pivot, SQL Server – In-memory-Technologien im Vergleich
SAP HANA, Power Pivot, SQL Server – In-memory-Technologien im VergleichSAP HANA, Power Pivot, SQL Server – In-memory-Technologien im Vergleich
SAP HANA, Power Pivot, SQL Server – In-memory-Technologien im Vergleich
 
Best Practices SharePoint and SQL Installation
Best Practices SharePoint and SQL InstallationBest Practices SharePoint and SQL Installation
Best Practices SharePoint and SQL Installation
 
Roadshow: Windows Server 2016 «vNext»
Roadshow: Windows Server 2016 «vNext»Roadshow: Windows Server 2016 «vNext»
Roadshow: Windows Server 2016 «vNext»
 
Webcast Nr. 3 - Java Entwicklung mit der SAP Cloud Platform
Webcast Nr. 3 - Java Entwicklung mit der SAP Cloud PlatformWebcast Nr. 3 - Java Entwicklung mit der SAP Cloud Platform
Webcast Nr. 3 - Java Entwicklung mit der SAP Cloud Platform
 
Middleware Basics für den DBA
Middleware Basics für den DBAMiddleware Basics für den DBA
Middleware Basics für den DBA
 
Oracle AVDF in der Praxis
Oracle AVDF in der PraxisOracle AVDF in der Praxis
Oracle AVDF in der Praxis
 
Exchange 2016 Cloud Migration
Exchange 2016 Cloud MigrationExchange 2016 Cloud Migration
Exchange 2016 Cloud Migration
 
Umzug in die Cloud - flexible, dynamische Websites und Digital Marketing am B...
Umzug in die Cloud - flexible, dynamische Websites und Digital Marketing am B...Umzug in die Cloud - flexible, dynamische Websites und Digital Marketing am B...
Umzug in die Cloud - flexible, dynamische Websites und Digital Marketing am B...
 
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
 
Webcast SAP Cloud Platform 2 - Developing Tools
Webcast SAP Cloud Platform 2 - Developing ToolsWebcast SAP Cloud Platform 2 - Developing Tools
Webcast SAP Cloud Platform 2 - Developing Tools
 
Sql Server GrundlagenfüR Share Point Admins
Sql Server GrundlagenfüR Share Point AdminsSql Server GrundlagenfüR Share Point Admins
Sql Server GrundlagenfüR Share Point Admins
 
Sql Server Grundlagen für Sharepoint Administratoren
Sql Server Grundlagen für Sharepoint AdministratorenSql Server Grundlagen für Sharepoint Administratoren
Sql Server Grundlagen für Sharepoint Administratoren
 
Continuous Delivery - Aber Sicher?!
Continuous Delivery - Aber Sicher?!Continuous Delivery - Aber Sicher?!
Continuous Delivery - Aber Sicher?!
 
DevDay 2016 - Jan Dittberner - Continous Delivery - Aber sicher?!
DevDay 2016 - Jan Dittberner - Continous Delivery - Aber sicher?!DevDay 2016 - Jan Dittberner - Continous Delivery - Aber sicher?!
DevDay 2016 - Jan Dittberner - Continous Delivery - Aber sicher?!
 
Forms and Reports 12c - Processes and Automation in Development and Operations
Forms and Reports 12c - Processes and Automation in Development and OperationsForms and Reports 12c - Processes and Automation in Development and Operations
Forms and Reports 12c - Processes and Automation in Development and Operations
 
Infrastructure Solution Day | Core
Infrastructure Solution Day | CoreInfrastructure Solution Day | Core
Infrastructure Solution Day | Core
 
Windows 10 Enterprise
Windows 10 EnterpriseWindows 10 Enterprise
Windows 10 Enterprise
 
What's new in sql server 2012
What's new in sql server 2012What's new in sql server 2012
What's new in sql server 2012
 
Microsoft Environments aus der Cloud
Microsoft Environments aus der CloudMicrosoft Environments aus der Cloud
Microsoft Environments aus der Cloud
 

SQL Server Release Management - SPs, CUs und CODs, ich verstehe nur Bahnhof

  • 1. SQL Server Release Management SPs, CUs und CODs, ich verstehe nur Bahnhof Andre Essing 11.06.2016
  • 6. About me ANDRE ESSING Senior Consultant Trainer DBA and Senior Consultant, Microsoft Certified Solutions Expert, Trainer and SQL Server Enthusiast  Working in IT since 1998  SQL Server since version 7.0  Focus on SQL Server infrastructure and mission critical systems  Microsoft Certified Trainer and MCSE: Data Platform  Microsoft P-TSP Data Platform  Friend of Redgate  PASS Chapter Leader Bavaria Contact Web & Mail www www.trivadis.com Blog www.andreessing.de E-Mail andre.essing@trivadis.com Social Twitter twitter.com/aessing Xing xing.com/profile/Andre_Essing LinkedIn linkedin.com/in/aessing SlideShare slideshare.net/AndreEssing Profile SQLSaturday Rheinland 201611.06.2016
  • 7. Die unterschiedlichen Arten von SQL Server Updates Geschmacksrichtungen 11.06.2016 SQLSaturday Rheinland 2016
  • 8. Geschmäcker sind verschieden Hotfixes  Mehrere Bezeichnungen  Quick Fix Engineering (QFE)  On-Demand (OD)  Critical-On-Demand (COD)  Beheben ein spezifisches Problem  Nur bei Sicherheits- oder kritischen Problemen  Testing beschränkt sich auf das Problem 11.06.2016 SQLSaturday Rheinland 2016
  • 9. Geschmäcker sind verschieden Cumulative Updates  Wird alle 2 Monate veröffentlicht  Beinhaltet sämtliche Hotfixes  Kumulativ, ab einem Release  Besser getestet als Hotfixes  Manchmal mit neuen Funktionen  Manche Hotfixes müssen aktiviert werden  Basiert wie Hotfixes auf der Hotfix Branch 11.06.2016 SQLSaturday Rheinland 2016
  • 10. Geschmäcker sind verschieden Das neue Cumulative Update  Seit dem 21.01.2016  Microsoft empfiehlt proaktiven Rollout  Ab sofort getestet wie Service Packs  Ab sofort im Download Center 11.06.2016 SQLSaturday Rheinland 2016
  • 11.  Beinhaltet „fast“ alle Hotfixes  Am intensivsten getestet  Manchmal mit neuen Funktionen  Manche Hotfixes müssen aktiviert werden  Installation innerhalb eines Jahres notwendig  Basiert auf der GDR Branch (General Distribution Release) Geschmäcker sind verschieden Services Packs 11.06.2016 SQLSaturday Rheinland 2016
  • 12. Speisekartengestaltung SQL Server Incremental Servicing Model 11.06.2016 SQLSaturday Rheinland 2016
  • 13. Speisekartengestaltung SQL Server Incremental Servicing Model 11.06.2016 SQLSaturday Rheinland 2016
  • 14. Vom Plan, über Tests, bis zur Installation Abschmecken und Servieren 11.06.2016 SQLSaturday Rheinland 2016
  • 15.  Downtime während des Updates  Testing des Updates vor dem Rollout  Installation und Management  Kompatibilität der Applikationen  Bekannte Probleme mit Update  Disaster Recovery Plan  Backups / Snapshots  Automatisierung / Durchführung Die wichtigsten Zutaten Was ist vor der Installation zu beachten? 11.06.2016 SQLSaturday Rheinland 2016
  • 16.  Windows Software Updates Services  Standalone Server  Cluster Aware Updating  SQL Server Failover Cluster ab 2012 SP1  Availability Groups sind nicht unterstützt  PowerShell / Command Prompt <setuppacket.exe> /IAcceptSQLServerLicenseTerms /QUIET /ALLINSTANCES <setuppacket.exe> /IAcceptSQLServerLicenseTerms /QUIET /INSTANCENAME=<instanzname>  Slipstream für Neuinstallation Utensilien für die Updateküche Auf das richtige Werkzeug kommt es an 11.06.2016 SQLSaturday Rheinland 2016
  • 17. Das große Kochbuch der Updates Standalone Server 11.06.2016 SQLSaturday Rheinland 2016 Vor dem Update Backup aller DBs Backup oder Snapshot des Systems Während des Updates Installation des Updates Eventuell Reboot Nach dem Update Backup Ressource Datenbank Snapshot entfernen
  • 18. Das große Kochbuch der Updates Cluster und Availability Groups 11.06.2016 SQLSaturday Rheinland 2016 Vor dem Update Backup aller DBs Backup oder Snapshot der Systeme Während des Updates Schwenk der Instanzen / AGs Installation auf passiven Knoten Schwenk der Instanzen / AGs Installation restliche Knoten Nach dem Update Backup Ressource Datenbank Snapshots entfernen
  • 19. Probleme bei der Installation In Teufelsküche 11.06.2016 SQLSaturday Rheinland 2016
  • 20.  Fehlermeldungen während der Installation  Rückmeldung der GUI  Error Code und Fehlermeldung in der CLI  Detaillierte Log-Dateien des Setups C:Program Files (x86)Microsoft SQL Server???Setup BootstrapLog  Bekannte Probleme  Standardpfade für DBs nicht mehr vorhanden oder falsch berechtigt  Datendatei oder Transactionlog voll  Use FIPS compliant algorithms for encryption, hashing, and signing Total versalzen Probleme bei der Installation 11.06.2016 SQLSaturday Rheinland 2016
  • 21.  Symptome  Update Installation schlägt fehl  SQL Server Dienst startet nicht mehr  Betrifft nicht alle verfügbaren Updates  Logischem Dateinamen master SELECT DB_NAME([database_id]) AS N'DBNAME' FROM [sys].[master_files] WHERE [name] = N'master' AND [database_id] != 1  Besser vorsorgen, als Probleme beheben Welcher Topf ist der Richtige? Identitätsprobleme beim Update 11.06.2016 SQLSaturday Rheinland 2016
  • 22.  Update Installation besteht aus 2 Stufen  Kopieren der Binaries  Ausführen der Internal Upgrade Scripts  Internal Updgrade Scripts umgehen  Trace Flag 902 beim SQL Server Start  Konfiguration im SQL Server Configuration Manager  Nach Fehlerbehebung Update erneut ausführen Da muss der Küchenchef ran Umgehen der Startupskripte 11.06.2016 SQLSaturday Rheinland 2016
  • 23. Wie, kein Support mehr? Rien ne va plus 11.06.2016 SQLSaturday Rheinland 2016
  • 24. Chef de Cuisine, Souschef, gar kein Chef Was bedeutet „End-Of-Support“ 11.06.2016 SQLSaturday Rheinland 2016 Art des Supports Mainstream Extended Bezahlter Support (inkl. pay-per-incident Premier and Essential Support) ● ● Sicherheitsupdates ● ● Nicht sicherheitsrelevante Updates ● Hotfix Vertrag nötig Kostenloser Support aus Lizenz- und Supportprogrammen ● - Design- und Feature- Change Requests ● - Online Support (Knowledge Base, Produktinformationen, Webcasts) ● ● Online Forum Support ● ● Quelle: Microsoft Support Lifecycle (https://support.microsoft.com/de-de/lifecycle#gp/gp_msl_policy)
  • 25. Mindesthaltbarkeitsdatum Wie lange bleibt mir noch? 11.06.2016 SQLSaturday Rheinland 2016 Produkt Mainstream Extended Verbleibend Win Server 2003 bereits beendet bereits beendet 0 Win Server 2008 bereits beendet 14.01.2020 1312 Win Server 2012 09.01.2018 10.01.2023 2404 Produkt Mainstream Extended Verbleibend SQL Server 2005 bereits beendet bereits beendet 0 SQL Server 2008 bereits beendet 09.07.2019 1123 SQL Server 2012 11.07.2017 12.07.2022 2222 SQL Server 2014 09.07.2019 09.07.2024 2950 SQL Server 2016 12.10.2021 13.10.2026 3776
  • 26. SQL Server Upgrade Szenarien Pimp it up! 11.06.2016 SQLSaturday Rheinland 2016
  • 27.  Versionspolitik im Unternehmen  Support der Applikationen  In-House Entwicklung  Third-Party Applikationen  Deprecated Features  Nutzen Applikationen deprecated Features  Passendes Kompatibilitätslevel verfügbar Eine harte Nuss Was ist beim Upgrade zu beachten? 11.06.2016 SQLSaturday Rheinland 2016
  • 28.  Einfachste Upgrade-Art  Ersetzt die Alte durch eine neue Version  Umstellung mit „Big Bang“  Kein Rollback für einzelne Applikationen  Birgt Gefahrenpotenzial  Während des Upgrade offline Kekse, Kuchen, oder Torte? Inplace Upgrades 11.06.2016 SQLSaturday Rheinland 2016
  • 29.  Installation einer parallelen Instanz  Möglichkeit Hardware oder Betriebssystem zu tauschen  Umstellung mit „Big Bang“ oder ohne  Downtime Applikationsabhängig  Aufwändiger als ein Inplace-Upgrade Kekse, Kuchen, oder Torte? Side-By-Side Upgrade 11.06.2016 SQLSaturday Rheinland 2016
  • 30.  Funktioniert mit Clustering, optimal mit AGs  Upgrade mit geringer Downtime bzw. „near-Zero“ Downtime bei Availability Groups  Inplace Upgrade mit verringertem Risiko  Ab Windows Server 2016 auch mit OS möglich Kekse, Kuchen, oder Torte? Rolling Upgrade 11.06.2016 SQLSaturday Rheinland 2016
  • 32. Save the date! 8. October 2016 – New Microsoft Office 11.06.2016 SQLSaturday Rheinland 2016
  • 33. Save the date! 8. October 2016 – New Microsoft Office 11.06.2016 SQLSaturday Rheinland 2016