“Moves Like Jagger”
                        Upgrading to SQL Server 2012
   Mark Broadbent
Senior SQL Specialist
          SQLCloud
       SQLCLOUD.CO.UK




                                             November 6-9, Seattle, WA
About

Mark Broadbent
“30 billion times more intelligent than a live mattress”

Email: mark.broadbent@sqlcambs.org.uk

Twitter: retracement

Blog: http://tenbulls.co.uk

Event Lead to the UK’s first ever SQLSaturday (Cambridge)
http://www.sqlsaturday.com/events.aspx

Cambridgeshire PASS Chapter UG Leader http://sqlcambs.org.uk


                                                               DBA-308
Agenda

•   Upgrade path
•   Preparing and reporting for upgrade
•   Upgrade strategies
•   Measuring success
•   Advanced scenarios




                                          DBA-308
But first... why upgrade to 2012?

New Features
Move to 64-bit
New Hardware
Mainstream Support
Virtualization
Consolidation




                                    DBA-308
“My Favourite” New Features

Failover Clustering enhancements
•   Local TempDB
•   Multi-subnet clustering
AlwaysOn Availability Groups
Contained Databases
ServerCore support




                                   DBA-308
Mainstream Support

  Product          Mainstream    Extended      Service Pack
                   Support End   Support End   Support End
  Windows 2003     2010-07-13    2015-07-14    2009-04-14
  Windows 2003R2   2010-07-13    2015-07-14    2009-04-14
  Windows 2008     2015-01-13    2020-01-14    2011-07-12
  Windows 2008R2   2015-01-13    2020-01-14    2013-04-09
  SQL 2005         2011-04-12    2016-04-12    2007-07-10
  SQL 2008         2014-07-08    2019-07-09    2010-04-13
  SQL 2008R2       2014-07-08    2019-07-09    2012-07-10



http://support.microsoft.com/lifecycle/#ServicePackSupport


                                                              DBA-308
Supported Upgrade Path




                         Requires staged
                         Upgrade to SQL 2005,
                         SQL 2008 /R2


                                            DBA-308
Edition Hierachy

• Level 1 Bullet (24pt)      Specialized Editions
   Principal Editions
  – Lever 2 Bullet (20pt)   • Web
• Enterprise
• Business Intelligence
• Standard                       Breadth Editions
                               • Developer
New Editions
                               • Express
No Datacenter Edition          • Express LocalDB
No AWE support
No Itanium support
                            • Evaluation

                                               DBA-308
Database Upgrade
  Demo




           November 6-9, Seattle, WA
Preparing and Reporting for Upgrade

Discover candidates for consolidation
Document the candidates for upgrade
Baseline existing candidates
Load test new server
Check new server configuration




                                        DBA-308
Capture…
                                  Collation
Wait Stats          MAXDOP
                                Performance Trace
          Server Shares   Application Load
LPIM
CPU count
                    Statement Execution time
NTFS Cluster Size      SQL Errorlogs         NTFS Security
 Query Plans              RAID Stripe Size    Partition Alignment

      NTFS Cluster Size       Instant File Initialization
                                                               DBA-308
Discovery and Analysis Toolkit

PowerShell Msinfo32.exe WMI TSQL
CPU-Z  Hardware Vendor Tools Performance Monitor

System Center   fsutil
                         YOU   Profiler
                                   SQLStress
MAP Toolkit
               Upgrade Assistant SQLIOSim
Upgrade Advisor Distributed Replay
                                          SQLIO
                                            DBA-308
Upgrade Strategies

In place
•   Risky, and changing source data
•   Backout can be difficult, definite downtime


Side by side
•   Risk to live instance
•   Connectivity considerations


Migrate to new server
•   Less risk, backout easier and upgrade will require less downtime
•   Implement new features and remove deprecated ones




                                                                       DBA-308
Reporting for Upgrade
     Demo




              November 6-9, Seattle, WA
Moving SQL to Server Core

•   How to install or upgrade?
•   Configuration and management
•   Performance Monitoring
•   Restrictions




                                   DBA-308
Moving SQL to AlwaysOn

Availability Groups
•   Should you use a Listener?
•   No MSDTC support –do you need it?
•   No Instance Level object failover


Failover Clustering
•   Shared Storage
•   Validation


Both
•   Windows Failover Cluster requirement
•   Node Weight



                                           DBA-308
Summary

Understand the reason for upgrade before leaping
Always look to consolidation candidates
Ensure you analyse your upgrade targets & destinations
Retain useful historical metrics for future issues
Understand your upgrade path
Implement new capabilities to your advantage
Aim to minimize downtime and maximize availability
Be prepared for failure
This is your neck on the line, be prepared and be careful!
Good luck! 




                                                             DBA-308
PASS Resources




 Free SQL Server and BI training    Free 1-day Training Events       Regional Event




 Local and Virtual User Groups     Free Online Technical Training   This is Community




  Learning Center




                                                                                        DBA-308
Thank you
          for attending this session and
          the 2012 PASS Summit in Seattle




DBA-308                         November 6-9, Seattle, WA

PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012

  • 1.
    “Moves Like Jagger” Upgrading to SQL Server 2012 Mark Broadbent Senior SQL Specialist SQLCloud SQLCLOUD.CO.UK November 6-9, Seattle, WA
  • 2.
    About Mark Broadbent “30 billiontimes more intelligent than a live mattress” Email: mark.broadbent@sqlcambs.org.uk Twitter: retracement Blog: http://tenbulls.co.uk Event Lead to the UK’s first ever SQLSaturday (Cambridge) http://www.sqlsaturday.com/events.aspx Cambridgeshire PASS Chapter UG Leader http://sqlcambs.org.uk DBA-308
  • 3.
    Agenda • Upgrade path • Preparing and reporting for upgrade • Upgrade strategies • Measuring success • Advanced scenarios DBA-308
  • 4.
    But first... whyupgrade to 2012? New Features Move to 64-bit New Hardware Mainstream Support Virtualization Consolidation DBA-308
  • 5.
    “My Favourite” NewFeatures Failover Clustering enhancements • Local TempDB • Multi-subnet clustering AlwaysOn Availability Groups Contained Databases ServerCore support DBA-308
  • 6.
    Mainstream Support Product Mainstream Extended Service Pack Support End Support End Support End Windows 2003 2010-07-13 2015-07-14 2009-04-14 Windows 2003R2 2010-07-13 2015-07-14 2009-04-14 Windows 2008 2015-01-13 2020-01-14 2011-07-12 Windows 2008R2 2015-01-13 2020-01-14 2013-04-09 SQL 2005 2011-04-12 2016-04-12 2007-07-10 SQL 2008 2014-07-08 2019-07-09 2010-04-13 SQL 2008R2 2014-07-08 2019-07-09 2012-07-10 http://support.microsoft.com/lifecycle/#ServicePackSupport DBA-308
  • 7.
    Supported Upgrade Path Requires staged Upgrade to SQL 2005, SQL 2008 /R2 DBA-308
  • 8.
    Edition Hierachy • Level1 Bullet (24pt) Specialized Editions Principal Editions – Lever 2 Bullet (20pt) • Web • Enterprise • Business Intelligence • Standard Breadth Editions • Developer New Editions • Express No Datacenter Edition • Express LocalDB No AWE support No Itanium support • Evaluation DBA-308
  • 9.
    Database Upgrade Demo November 6-9, Seattle, WA
  • 10.
    Preparing and Reportingfor Upgrade Discover candidates for consolidation Document the candidates for upgrade Baseline existing candidates Load test new server Check new server configuration DBA-308
  • 11.
    Capture… Collation Wait Stats MAXDOP Performance Trace Server Shares Application Load LPIM CPU count Statement Execution time NTFS Cluster Size SQL Errorlogs NTFS Security Query Plans RAID Stripe Size Partition Alignment NTFS Cluster Size Instant File Initialization DBA-308
  • 12.
    Discovery and AnalysisToolkit PowerShell Msinfo32.exe WMI TSQL CPU-Z Hardware Vendor Tools Performance Monitor System Center fsutil YOU Profiler SQLStress MAP Toolkit Upgrade Assistant SQLIOSim Upgrade Advisor Distributed Replay SQLIO DBA-308
  • 13.
    Upgrade Strategies In place • Risky, and changing source data • Backout can be difficult, definite downtime Side by side • Risk to live instance • Connectivity considerations Migrate to new server • Less risk, backout easier and upgrade will require less downtime • Implement new features and remove deprecated ones DBA-308
  • 14.
    Reporting for Upgrade Demo November 6-9, Seattle, WA
  • 15.
    Moving SQL toServer Core • How to install or upgrade? • Configuration and management • Performance Monitoring • Restrictions DBA-308
  • 16.
    Moving SQL toAlwaysOn Availability Groups • Should you use a Listener? • No MSDTC support –do you need it? • No Instance Level object failover Failover Clustering • Shared Storage • Validation Both • Windows Failover Cluster requirement • Node Weight DBA-308
  • 17.
    Summary Understand the reasonfor upgrade before leaping Always look to consolidation candidates Ensure you analyse your upgrade targets & destinations Retain useful historical metrics for future issues Understand your upgrade path Implement new capabilities to your advantage Aim to minimize downtime and maximize availability Be prepared for failure This is your neck on the line, be prepared and be careful! Good luck!  DBA-308
  • 18.
    PASS Resources FreeSQL Server and BI training Free 1-day Training Events Regional Event Local and Virtual User Groups Free Online Technical Training This is Community Learning Center DBA-308
  • 19.
    Thank you for attending this session and the 2012 PASS Summit in Seattle DBA-308 November 6-9, Seattle, WA