“Moves Like Jagger”Upgrading to SQL Server 2012Mark BroadbentPrincipal SQL ConsultantSQLCloudSQLCLOUD.CO.UK
AboutMark Broadbent“Possibly the hardest drinking DBA on the planet”“30 billion times more intelligent than a live mattres...
Agenda• Upgrade path• Preparing and reporting for upgrade• Upgrade strategies• Measuring success• Advanced scenarios
But first... why upgrade to 2012?New FeaturesMove to 64-bitNew HardwareMainstream SupportVirtualizationConsolidation
SQL Failover Clustering enhancements“My Favourite” New FeaturesAlwaysOnAvailability GroupsContainedDatabasesLocal TempDBSu...
Mainstream SupportProduct MainstreamSupport EndExtended SupportEndService PackSupport EndWindows 2003 2010-07-13 2015-07-1...
Supported Upgrade PathSQL 2005 SP4SQL 2008R2SP1SQL 2012SQL 2008 SP2SQL 2000Requires stagedUpgrade to SQL 2005,SQL 2008 /R2...
Edition Hierachy• New Editions• No Datacenter orWorkgroup Editions• No AWE support• No Itanium support• Enterprise• Busine...
Database UpgradeDemo
Preparing and Reporting for Upgrade• Discover candidates for consolidation• Document the candidates for upgrade• Baseline ...
Capture…WaitStatsApplicationLoadLPIMInstantFileInitialization StatementExecutiontimeQueryPlansMAXDOPCPUcountServerSharesNT...
Discovery and Analysis ToolkitSystemCenterMAPToolkitUpgradeAdvisorUpgradeAssistantTSQLProfiler WMIPowerShellMsinfo32.exeCP...
Upgrade Strategies• Risky, direct change• Backout can be difficult• Definite downtime• Side by side• Risk to live instance...
Reporting for UpgradeDemo
Moving SQL to Server Core• How to install or upgrade?• Configuration and management• Performance Monitoring• Restrictions
Considerations for moving SQL to AlwaysOnListener? MSDTC MSDTCAvailability Group ConsiderationsSQL Failover Clustering…and...
Summary• Understand the reason for upgrade before leaping• Always look to consolidation candidates• Ensure you analyse you...
(Don’t forget to fill in your evaluation forms!)for attending this session andSQLBits XI in NottinghamThank you
Coming up…#SQLBITSSpeaker Title RoomFusion-io Quantifying the cost of Compression TheatreMicrosoft SQL Azure for the DBA E...
Upcoming SlideShare
Loading in...5
×

Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)

616

Published on

Do you want to safely upgrade or migrate to SQL Server 2012? This presentation will give you ideas on how to do this as safely as possible with the least downtime.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
616
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)

  1. 1. “Moves Like Jagger”Upgrading to SQL Server 2012Mark BroadbentPrincipal SQL ConsultantSQLCloudSQLCLOUD.CO.UK
  2. 2. AboutMark Broadbent“Possibly the hardest drinking DBA on the planet”“30 billion times more intelligent than a live mattress”Email: mark.broadbent@sqlcambs.org.ukTwitter: retracementBlog: http://tenbulls.co.ukPASS UK Regional MentorEvent Lead to the UK’s first ever SQLSaturday (Cambridge)Event #2nd due on Friday 27th Sept 2013 (pre-con) 28th Sept (Community day)http://www.sqlsaturday.com/228/eventhome.aspxCambridgeshire PASS Chapter UG Leader http://sqlcambs.org.uk
  3. 3. Agenda• Upgrade path• Preparing and reporting for upgrade• Upgrade strategies• Measuring success• Advanced scenarios
  4. 4. But first... why upgrade to 2012?New FeaturesMove to 64-bitNew HardwareMainstream SupportVirtualizationConsolidation
  5. 5. SQL Failover Clustering enhancements“My Favourite” New FeaturesAlwaysOnAvailability GroupsContainedDatabasesLocal TempDBSupportMulti SubnetClustering SupportServer CoreSupport
  6. 6. Mainstream SupportProduct MainstreamSupport EndExtended SupportEndService PackSupport EndWindows 2003 2010-07-13 2015-07-14 2009-04-14Windows 2003R2 2010-07-13 2015-07-14 2009-04-14Windows 2008 2015-01-13 2020-01-14 2011-07-12Windows 2008R2 2015-01-13 2020-01-14 2013-04-09SQL 2005 2011-04-12 2016-04-12 2007-07-10SQL 2008 2014-07-08 2019-07-09 2010-04-13SQL 2008R2 2014-07-08 2019-07-09 2012-07-10http://support.microsoft.com/lifecycle/#ServicePackSupport
  7. 7. Supported Upgrade PathSQL 2005 SP4SQL 2008R2SP1SQL 2012SQL 2008 SP2SQL 2000Requires stagedUpgrade to SQL 2005,SQL 2008 /R2Slipstream?
  8. 8. Edition Hierachy• New Editions• No Datacenter orWorkgroup Editions• No AWE support• No Itanium support• Enterprise• Business Intelligence• StandardPrincipal Editions• WebSpecialized Editions• Developer• Express• Express LocalDBBreadth EditionsEvaluation EditionCore Based LicensingServer + CAL LicensingCore Based or Server +CAL Licensing
  9. 9. Database UpgradeDemo
  10. 10. 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
  11. 11. Capture…WaitStatsApplicationLoadLPIMInstantFileInitialization StatementExecutiontimeQueryPlansMAXDOPCPUcountServerSharesNTFSSecurity PerformanceTracePartitionAlignmentRAIDStripeSizeNTFSClusterSizeSQLErrorlogsCollationBackupHistoryWindowsEventLogs
  12. 12. Discovery and Analysis ToolkitSystemCenterMAPToolkitUpgradeAdvisorUpgradeAssistantTSQLProfiler WMIPowerShellMsinfo32.exeCPU-ZSQLIO SQLStressSQLIOSimDistributedReplayfsutilHardwareVendorToolsPerformanceMonitor
  13. 13. Upgrade Strategies• Risky, direct change• Backout can be difficult• Definite downtime• Side by side• Risk to live instance• Connectivity considerations• Less risk, backout easier• Upgrade requires less downtime• Implement new features• Can remove deprecated onesSide By SideIn PlaceMigration to New
  14. 14. Reporting for UpgradeDemo
  15. 15. Moving SQL to Server Core• How to install or upgrade?• Configuration and management• Performance Monitoring• Restrictions
  16. 16. Considerations for moving SQL to AlwaysOnListener? MSDTC MSDTCAvailability Group ConsiderationsSQL Failover Clustering…and for bothDo you use alistener?No distributedtransactions.Abstraction isat thedatabase NOTthe instance.Sharedstorage andclustervalidationrequirementsWindowsfailoverClusterDo youconfigurenodeweighting?
  17. 17. 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! 
  18. 18. (Don’t forget to fill in your evaluation forms!)for attending this session andSQLBits XI in NottinghamThank you
  19. 19. Coming up…#SQLBITSSpeaker Title RoomFusion-io Quantifying the cost of Compression TheatreMicrosoft SQL Azure for the DBA Exhibition BPyramid Analytics Introduction to the Pyramid Analytics BI Platform Suite 3LSI Enabling Flash to Support Mission-Critical Applications Suite 1SQLSentry Monitoring and Performance Tuning for AlwaysOn Suite 2SIOS High Performance SANLess Clustering Suite 4
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×