Presentation is loading. Please wait.

Presentation is loading. Please wait.

Roger Technology Solution Professional DataPlatform Microsoft Corporation SQL Server 2012 on Windows Server Core.

Similar presentations


Presentation on theme: "Roger Technology Solution Professional DataPlatform Microsoft Corporation SQL Server 2012 on Windows Server Core."— Presentation transcript:

1 Roger Breu@rogerbreu Technology Solution Professional DataPlatform Microsoft Corporation SQL Server 2012 on Windows Server Core

2 What is Windows Server Core? Why Windows Server Core? Prerequisites, OS Setup and Configuration SQL Server Setup and Configuration How to manage? Q&A Agenda

3 What is Windows Server Core?

4 It is not an OS Edition Installation/configuration option of the OS with minimal GUI What is Windows Server Core?

5 Server Core supports the following server roles: Active Directory (AD) Active Directory Lightweight Directory Services (AD LDS) DHCP Server DNS Server File Services Hyper-V Print Services Streaming Media Services Web Server (IIS) What is Windows Server Core? And also Failover Clustering Feature!

6 SQL Server 2012 on Windows Server Core Why Windows Server Core?

7 Benefits: Reduces OS patches by ~60% Less down time Smaller attack surface – higher security Reduces servicing and management requirements Smaller footprint: Disk and Memory The perfect platform for database workload!! You don’t need anything on the OS to run SQL Server Why Windows Server Core

8 SQL Server 2012 on Windows Server Core Prerequisites, OS Setup and Configuration

9 Windows Server 2008 R2 with SP1: Installation Option = Server Core Overview of Server Core Installation http://technet.microsoft.com/en-us/library/cc753802(WS.10).aspx Basic configuration Computer name Domain Windows Updates Network Settings >> sconfig << http://technet.microsoft.com/en-us/library/ee441254(WS.10).aspx Windows Server Core Config

10 Activate Windows Server Core cscript C:\windows\system32\slmgr.vbs –dli cscript C:\windows\system32\slmgr.vbs –ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX cscript C:\windows\system32\slmgr.vbs -ato

11 Enable the server core.Net packages, this will prevent setup from attempting to install the full.Net package. There’s no Server Manager in Server Core. The modern is with DISM (Disk Image Service Management) which can also be used to do this to a virtual machine without turning it on: Windows Server Core Config DISM /online /enable-feature /featurename:NetFx2-ServerCore /featurename:ServerCore-WOW64 /featurename:NetFx3-ServerCore-WOW64 /featurename:NetFx2-ServerCore-WOW64 /featurename:NetFx3-ServerCore

12 SQL Server Setup Installs: Powershell.NET framework 4 for Server Core Package Not yet ;-) It is a “special”.NET package for Server Core only We’ll integrate this into the media package of SQL Server 2012 and ship it with normal.NET 4 in our DVD. (Express not incl.). NET 4 package Download: http://www.microsoft.com/download/en/details.aspx?id=22833http://www.microsoft.com/download/en/details.aspx?id=22833 Windows Server Core Config

13 Core Configurator application available on Codeplex: http://coreconfig.codeplex.com/ Core Configurator

14 Setup Windows Server Core Activate Windows Server Core Integrate in Domain Configure Firewall Install.NET features/WOW Install.NET 4 Core Update with newest Patches (also to address.NET) Checklist

15 SQL Server 2012 on Windows Server Core SQL Server Setup and Configuration

16 Command-line install only (setup wizard not available) Setup automatically installs/enables pre-requisites Rules to detect unsupported features/scenarios (ex: RS,DQS, Upgrade, etc…) Online documentation with sample commands and config files SQL Server 2012 Setup Experience

17 SQL Server 2012 Features on Server Core All SQL editions are supported on Server Core installation including Express Supported features: Engine (including all new features in SQL Server 2012) Analysis Service Integration Service Management Tools (remote only) Management Studio SQL CMD (this is installed with SQL connectivity) XE Profiler (remote only) Connectivity SDK Distribute Replay (remote only) Sync Fx2

18 SQL Server 2012 Features not on Server Core Reporting Services Most SDKs will not be installed (except connectivity SDK) Master Data Service Data Quality Service Books Online Management Studio (remote only)

19 SQL Server Setup commands Setup.exe /q /IAcceptSQLServerLicenseTerms /AGTSVCPASSWORD="pass@word1" /SQLSVCPASSWORD="pass@word1" /Configurationfile=H:\Configurationf ile.ini

20 Configure Firewall for SQL Server netsh [enter] advfirewall firewall [enter] add rule name=”SQL Server default port 1433” dir=in action=allow protocol=TCP localport=1433 [enter]

21 All SQL Best Practices still apply Configure SQL Server remotely via Mgmt Studio or TSQL Or enrich setup command with additional scripts for instance settings and tempdb settings Configure additional SQL Server Settings sqlcmd -S server\instance -i H:\sqlinstanceconfig.sql sqlcmd -S server\instance -i H:\tempdbconfig.sql

22 Change configuration file/command Setup SQL Server Open Port for SQL Server instance Configure additional SQL Server Settings Start loading your new DB server with workload Checklist

23 SQL Server 2012 on Windows Server Core How to manage?

24 Server Management: Sconfig: configure remote management Server Configs via Group Policies Server Manager Remote Registry SQL Server Management Studio already connectable Instance Configs via SQL Server Policies or T-SQL Remote Management

25 SQL Server 2012 on Windows Server Core Conclusion

26 Windows Server Core support significantly reduces Downtime due to patching Attack surface OS footprint Critical SQL Server DB Workload (security/performance/availability) should run Windows Server Core Conclusion

27 SQL Server 2012 on Windows Server Core Additional Resources

28 SQL Server 2012 Developer Training Kit http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27721 SQL Server 2012 CTP3 Product Guide http://www.microsoft.com/download/en/details.aspx?id=27069 swissSQL Blog http://blogs.technet.com/swissSQL Installing SQL Server 2012 on Windows Server Core http://msdn.microsoft.com/en-us/library/hh231669(v=SQL.110).aspx Links

29 Please help us make TechDays even better by Evaluating this Session. Thank you! Give us your feedback!

30 © 2011 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 "Roger Technology Solution Professional DataPlatform Microsoft Corporation SQL Server 2012 on Windows Server Core."

Similar presentations


Ads by Google