Presentation is loading. Please wait.

Presentation is loading. Please wait.

Deploying Microsoft SQL Server 2012 Using Windows Server Core

Similar presentations


Presentation on theme: "Deploying Microsoft SQL Server 2012 Using Windows Server Core"— Presentation transcript:

1 Deploying Microsoft SQL Server 2012 Using Windows Server Core
7/22/2018 9:30 PM DBI313 Deploying Microsoft SQL Server 2012 Using Windows Server Core Allan Hirt Principal Consultant/CEO SQLHA LLC © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

2 Why Windows Server Core for SQL Server 2012?
TechEd 2012 7/22/2018 9:30 PM Why Windows Server Core for SQL Server 2012? More secure Less surface area with fewer things installed Command line a deterrent for many Less to patch = higher uptime, less risk Shorter outages Also noted in KBs Possibility of slightly better performance Less “stuff” running, a bit more overhead Not a guarantee, and won’t be night/day © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

3 Overcoming Barriers to Deploying Server Core
TechEd 2012 7/22/2018 9:30 PM Overcoming Barriers to Deploying Server Core It’s different No, it’s just Windows that is command line-based (and maybe a tad of GUI … more on that in a bit) Not currently a standard in your company If base OS version (i.e. W2K8 R2) already is, what’s the blocker? Lack of administration skills around command line/PowerShell Arguably biggest risk Possible Solution: administer remotely and have scripts ready for the rare time(s) you’d need to be on the box No direct upgrade path from current deployment No easy answer here © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

4 By The Numbers A Patch Tuesday Test
TechEd 2012 7/22/2018 9:30 PM By The Numbers A Patch Tuesday Test Executed 5/8/12 Goal: what would an OOB experience be like? The test: Create two VMs with W2K8 R2 SP1 One full OS, one Server Core No patching done to the OS Only tweak was to enable the feature for .NET 3.51 Install SQL Server 2012 No patches or updates applied during the install – base RTM Engine ONLY – no SSMS, etc. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

5 Recommended/ Important
TechEd 2012 7/22/2018 9:30 PM The Results Disk footprint (in KB) Patches Full OS Server Core Difference Base OS 7,094,144 2,638,144 169% Post-SQL 9,855,936 5,334,400 84% Recommended/ Important All Full OS 48 selected (50 available) 74 ( optional) Server Core 37 51 Difference 35% 45% © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Recommended/ Important
TechEd 2012 7/22/2018 9:30 PM The Results Disk footprint (in KB) Patches Full OS Server Core Difference Base OS 7,094,144 2,638,144 169% Post-SQL 9,855,936 5,334,400 84% Recommended/ Important All Full OS 48 selected (50 available) 74 ( optional) Server Core 37 51 Difference 35% 45% © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 SQL Server Support for Server Core
TechEd 2012 7/22/2018 9:30 PM SQL Server Support for Server Core Windows Server 2008 R2 with SP1 (or later) Windows Server 2012 not officially supported for any version of SQL Server (yet) SQL Server 2012 only 64-bit; no WOW support (so no 32-bit) All supported languages, editions Features supported: Engine (w/replication, FTS), Analysis Services, Client Tools Connectivity, SSIS (Server), MS Sync Framework Not listed: install elsewhere © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Windows Server 2008 R2 Installation
TechEd 2012 7/22/2018 9:30 PM Windows Server 2008 R2 Installation © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

9 Windows Server 2012 Installation
TechEd 2012 7/22/2018 9:30 PM Windows Server 2012 Installation © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

10 Windows Tips for SQL Deployments
TechEd 2012 7/22/2018 9:30 PM Windows Tips for SQL Deployments Can switch between Full/MinShell/”Pure” Core TIP: If start with Core, GUI payloads not installed by default see How SQL will be supported in this scenario is still TBD If using WSFC, will have to load GUI management payload W2K8 R2 SP1 – Enable remote management (will also enable .NET 3.5/2.0) - Unbind protocols in W2K8 R2: NVSPBIND sconfig may be useful for some things if don’t want to write scripts © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

11 .NET Framework & Server Core 1
TechEd 2012 7/22/2018 9:30 PM .NET Framework & Server Core 1 .NET 3.51 Must enable payload in W2K12 ( How To: (DISM) or (PS) May be enabled automatically if enabling remote management and payload is there .NET 3.51 (incl. 2.0) How to Install .NET 4.0 Windows Server 2008 R2 In Band Server Manager (GUI), DISM, PowerShell Out of Band SQL media, download Install or later for AlwaysOn enhancements Windows Server 2012 Already enabled (.NET 4.5) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 .NET Framework & Server Core 2
TechEd 2012 7/22/2018 9:30 PM .NET Framework & Server Core 2 DISM (Full) DISM (Core) PS (Full) PS (Core) Windows Server 2008 R2 NetFx3 NetFx2-ServerCore NetFx2-ServerCore-WOW64 NetFx3-ServerCore NetFx3-ServerCore-WOW64 Net-Framework-Core Use DISM (will be enabled with remote management) Windows Server 2012 TIP: Feature/role names usually case sensitive © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Server 2012 Install Behavior on Full GUI OS
Have to manually install .NET Framework 3.51 Will install .NET 4.0 (if necessary)

14 SQL Server 2012 Install Behavior on Server Core
Will enable/install .NET Framework (3.51 and 4.0) if not already done

15 TechEd 2012 7/22/2018 9:30 PM WSFC & Server Core 1 All the same supportability rules GUI or SC except: W2K8 R2: Cannot mix Core + full OS nodes – one or the other Windows Server 2012: Can mix Core/MinShell/Full Feature enabled in two steps: core WSFC feature, tools Instead of DISM, use PS cmdlet Install-WindowsFeature with IncludeManagementTools switch IncludeManagementTools will not enable GUI tools on “Pure” SC © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 WSFC & Server Core 2 Enabling the feature Cluster.exe
TechEd 2012 7/22/2018 9:30 PM WSFC & Server Core 2 Enabling the feature Cluster.exe Deprecated in W2K8 R2, but still there Not enabled by default in Windows Server 2012 Should learn PowerShell cmdlets DISM (Full) DISM (Core) PS (Full) PS (Core) Windows Server 2008 R2 FailoverCluster-FullServer FailoverCluster-Core FailoverCluster-Core-WOW64 Failover-Clustering WoW64-FailoverCluster Windows Server 2012 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 WSFC & Server Core 2 Automation Server
TechEd 2012 7/22/2018 9:30 PM WSFC & Server Core 2 Automation Server Deprecated in Windows Server 2012 Not enabled by default Used by SQL Server (FILESTREAM), so recommended to enable DISM PS PowerShell cmdlets FailoverCluster-AdminPak FailoverCluster-PowerShell RSAT-Clustering-PowerShell Old Automation Server (deprecated) FailoverCluster-AutomationServer RSAT-Clustering-AutomationServer Old cluster.exe (deprecated) FailoverCluster-CmdInterface RSAT-Clustering-CmdInterface © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Activation Without Internet Connectivity
TechEd 2012 7/22/2018 9:30 PM Activation Without Internet Connectivity Enter the key (full with dashes) slmgr.vbs –ipk key Get the installation ID (CTRL-C) slmgr.vbs –dti Copy it into Notepad or something you can use TIP: Break it up into groups of 6 numbers Call your local number for activation Enter the code you receive (no spaces) slmgr.vbs –atp code Verify OS is activated slmgr.vbs -xpr © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Installing SQL Server 2012 on Server Core 1
TechEd 2012 7/22/2018 9:30 PM Installing SQL Server 2012 on Server Core 1 Command line or command file only Relevant BOL topics © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Installing SQL Server 2012 on Server Core 2
TechEd 2012 7/22/2018 9:30 PM Installing SQL Server 2012 on Server Core 2 Need to install things from the feature pack ( in this order: Shared Management Objects (base for any management utilities) PowerShell Extensions (will have AG cmdlets) Command Line Utilities (sqlcmd, BCP) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Installing SQL Server 2012 on Server Core 3
TechEd 2012 7/22/2018 9:30 PM Installing SQL Server 2012 on Server Core 3 Ensure TCPENABLED option is set if standalone instance Enabled by default for FCIs Utilize UPDATEENABLED and UPDATESOURCE if applicable Much better, easier than the SQL 2K8/R2 slipstream process © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Summary SQL Server 2012 is ready to use in production today
TechEd 2012 7/22/2018 9:30 PM Summary SQL Server 2012 is ready to use in production today Start testing with it now – no need to wait for a SP Windows Server Core is perfect for mission critical SQL Server deployments Biggest benefits: smaller footprint, less patching, and higher uptime as a direct result of less patching Outside of some OS administration on the server itself, it’s just SQL Server on Windows Use your current SQL Server management strategy – should not require many changes outside of initial configuration Should never log onto box to administer unless necessary anyway © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Additional Information
TechEd 2012 7/22/2018 9:30 PM Additional Information KB The Microsoft SQL Server support policy for Microsoft Clustering KB – The Microsoft Support Policy for Windows Server 2008 or Windows Server 2008 R2 Failover Clusters KB – Recommended hotfixes and updates for Windows Server 2008 R2 SP1 Failover Clusters SQL Server 2012 Bare Metal Workshop Series Server Core team blog © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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 Related Content Breakout Sessions (session codes and titles)
DBI01-WRK-R Bare Metal Microsoft SQL Server 2012 Deployment and Management WSV309 – Deploying Windows Server 2012: From Bare Metal, Server Core, Minimal Server Interface, and More Hands-on Labs (session codes and titles) DBI12-HOL Installing and Managing Microsoft SQL Server 2012 on Windows Server Core Find Me Later At the Mission Critical Confidence station Tuesday 10:30 – 1, 3 – 5; Wednesday 3 – 5

25 mva Track Resources SQL Server 2012 Eval Copy Hands-On Labs @sqlserver
@ms_teched mva Microsoft Virtual Academy Get Certified!

26 Allan Hirt @SQLHA

27 Complete an evaluation on CommNet and enter to win!
Required Slide Complete an evaluation on CommNet and enter to win!

28 MS Tag Scan the Tag to evaluate this session now on myTechEd Mobile

29 7/22/2018 9:30 PM © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

30 7/22/2018 9:30 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.


Download ppt "Deploying Microsoft SQL Server 2012 Using Windows Server Core"

Similar presentations


Ads by Google