SlideShare a Scribd company logo
1 of 30
Download to read offline
dbi services
Windows Server Core & SQL Server 2012




                            Stéphane Haby
                            Consultant

                            Mobile +41 79 103 89 60
                            stephane.haby@dbi-services.com
                            www.dbi-services.com




1    www.dbi-services.com                              26.04.2012 © dbi services
dbi services
Windows Server Core & SQL Server 2012




                   Agenda
                   i.       Introduction
                   ii.      Why Windows Server Core ?
                   iii.     Configuration & Management
                   iv.      SQL Server Installation
                   v.       SQL Server Configuration
                   vi.      Conclusion




2    www.dbi-services.com                                26.04.2012 © dbi services
Introduction
What is Windows Server Core? 1/2




3   www.dbi-services.com           26.04.2012 © dbi services
Introduction
What is Windows Server Core? 2/2

 Not a Windows Server Edition

 Installation & Configuration option without GUI




4     www.dbi-services.com                          26.04.2012 © dbi services
Introduction
Server roles supported
     10 roles

     Failover Clustering




5    www.dbi-services.com   26.04.2012 © dbi services
dbi services
Windows Server Core & SQL Server 2012




                   Agenda
                   i.       Introduction
                   ii.      Why Windows Server Core ?
                   iii.     Configuration & Management
                   iv.      SQL Server Installation
                   v.       SQL Server Configuration
                   vi.      Conclusion




6    www.dbi-services.com                                26.04.2012 © dbi services
Why Windows Server Core ?
Benefits

 Ensure the server stability

 Less down time

 Smaller attack surface – higher security

 Reduce servicing and management requirements

 Reduce Hardware constraints : Disk / Memory



    The perfect platform for databases and naturally SQL Server




7       www.dbi-services.com                     26.04.2012 © dbi services
Why Windows Server Core ?
Reduce OS patches

 If Server Core had existed
     Windows 2000 is ~60% reduction


     Windows Server 2003 is ~40% reduction


 Windows Server 2008:
     ~35% reduction if accepting all patches


     ~59% reduction if applying only necessary patches


     ~59% elimination of reboots


8     www.dbi-services.com                       26.04.2012 © dbi services
dbi services
Windows Server Core & SQL Server 2012




                   Agenda
                   i.       Introduction
                   ii.      Why Windows Server Core ?
                   iii.     Configuration & Management
                   iv.      SQL Server Installation
                   v.       SQL Server Configuration
                   vi.      Conclusion




9    www.dbi-services.com                                26.04.2012 © dbi services
Configuration & Management
  Basic Configuration
 All command are “case sensitive”

 Server Core Installation overview
   http://technet.microsoft.com/en-us/library/cc753802(WS.10).aspx

 Basic configuration:               Commande sconfig

        Computer name

        Domain

        Windows update

        Network Settings




  10       www.dbi-services.com                    26.04.2012 © dbi services
Configuration & Management
Licensing

cscript C:windowssystem32slmgr.vbs –dli
cscript C:windowssystem32slmgr.vbs –ipk XXXXX-XXXXX-
XXXXX-XXXXX-XXXXX
cscript C:windowssystem32slmgr.vbs -ato




11   www.dbi-services.com                  26.04.2012 © dbi services
Configuration & Management
  Firewall Configuration
 Internet Control Message Protocol (ICMP) Settings

        Windows 2008
       netsh firewall set icmpsetting 8

       netsh firewall set icmpsetting type=ALL mode=enable


        Windows 2008 R2
       netsh advfirewall firewall add rule name=”ICMP Allow
       incoming V4 echo request” protocol=icmpv4:8,any dir=in
       action=allow

       netsh advfirewall firewall add rule name=”All ICMP V4”
       protocol=icmpv4:any,any dir=in action=allow



  12      www.dbi-services.com                        26.04.2012 © dbi services
Configuration & Management
  Activate features
 No Server Manager Interface
 Use Disk Image Service Management (DISM)
       DISM /online /enable-feature /featurename:NetFx2-
       ServerCore /featurename:ServerCore-WOW64
       /featurename:NetFx3-ServerCore-WOW64 /featurename:NetFx2-
       ServerCore-WOW64 /featurename:NetFx3-ServerCore



 Failover Clustering activation
       DISM /online /enable-feature
       /featurename:FailoverCluster-Core

 PowerShell activation
       DISM /online /enable-feature
       /featurename:MicrosoftWindowsPowerShell-WOW64


  13      www.dbi-services.com                   26.04.2012 © dbi services
Configuration & Management
  Usefull Commands
 Read the 10 last lines from the system event log
wevtutil qe system /f:text /c:10 /rd:true

 Regional option, date & hours
control intl.cpl
control timedate.cpl

 List all installed hotfix
wmic qfe list

 List all drivers
pnputil -e

 Magic Command
cscript c:WindowsSystem32SCregEdit.wsf /CLI|more



  14     www.dbi-services.com                        26.04.2012 © dbi services
Configuration & Management
  GUI
 Command prompt
%WINDIR%System32cmd.exe

 Microsoft Support Diagnostic Tool
%WINDIR%System32Msdt.exe

 Notepad
%WINDIR%System32Notepad.exe

 System Information
%WINDIR%System32Msinfo32.exe

 Task Manager
%WINDIR%System32Taskmgr.exe
 Registry Editor
%WINDIR%System32Regedt32.exe

  15    www.dbi-services.com          26.04.2012 © dbi services
Configuration & Management
  Core configurator
 Codeplex download: http://coreconfig.codeplex.com/




  16    www.dbi-services.com                      26.04.2012 © dbi services
Configuration & Management
  Checklist
 Setup Windows Server Core: Installation Option

 Activate Windows Server Core license

 Integrate in domain

 Configure Firewall

 Install features:
        .NET
        Failover Clustering
        PowerShell

 Update patches




  17        www.dbi-services.com                   26.04.2012 © dbi services
dbi services
Windows Server Core & SQL Server 2012




                   Agenda
                   i.       Introduction
                   ii.      Why Windows Server Core ?
                   iii.     Configuration & Management
                   iv.      SQL Server Installation
                   v.       SQL Server Configuration
                   vi.      Conclusion




18   www.dbi-services.com                                26.04.2012 © dbi services
SQL Server Installation
  Requirement: .Net 4 Core
 Not include in Windows Server Core and not in SQL Server 2012

 Specific package for Core

 Requirement for SQL Server 2012




 .NET 4 Core download :
  http://www.microsoft.com/download/en/details.aspx?id=22833


  19    www.dbi-services.com                       26.04.2012 © dbi services
SQL Server Installation
Features


 All Edition
     (including Express)


    Engine                                   Reporting Services (SSRS)
    SQLCMD                                   Most SDKs
    Analysis Service (SSAS)                  Master Data Service (MDS)
    Integration Service (SSIS)               Data Quality Service (DQS)
    Connectivity SDK                         Books Online
    Sync Fx2




                           Management Tools on remote

20      www.dbi-services.com                             26.04.2012 © dbi services
SQL Server Installation
SQL Server Setup

 Command-line install only
      No « Wizard »
Setup.exe /QS /ACTION=Install /FEATURES=SQLENGINE,FULLTEXT
/INSTANCENAME=MSSQLCORE /IAcceptSQLServerLicenseTerms
/SQLSVCACCOUNT=MSTESTsqlservices /SQLSVCPASSWORD=xxxxx
/SQLSYSADMINACCOUNTS=MSTESTAdministrator /AGTSVCACCOUNT=
MSTESTsqlservices /AGTSVCPASSWORD=xxxx /TCPENABLED=1
      With configuration file
Setup.exe /QS /Configurationfile=W:ConfigurationFile.ini


 Setup automatically installs/enables pre-requisites

 Rules to detect unsupported features/scenarios




21      www.dbi-services.com                       26.04.2012 © dbi services
dbi services
Windows Server Core & SQL Server 2012




                   Agenda
                   i.       Introduction
                   ii.      Why Windows Server Core ?
                   iii.     Configuration & Management
                   iv.      SQL Server Installation
                   v.       SQL Server Configuration
                   vi.      Conclusion




22   www.dbi-services.com                                26.04.2012 © dbi services
SQL Server Configuration
  Configure Firewall
 Port de communication SQL Server

        Windows 2008
       netsh firewall set portopening TCP 1433 "SQLServer"


        Windows 2008 R2
       netsh advfirewall firewall add rule name=”SQL Server
       default port 1433” dir=in action=allow protocol=TCP
       localport=1433




  23      www.dbi-services.com                   26.04.2012 © dbi services
SQL Server Configuration
  Configure SQL Server Instance
 Apply best practices:
http://www.slideshare.net/dbiservices
/d-dbif20110830005sql-serverbestpractice




 Use SQL Server on remote with SSMS or directly SQLCMD:

sqlcmd -S <server><instance> -i W:sqlinstconfig.sql
sqlcmd -S <server><instance> -i W:tempdbconfig.sql




  24    www.dbi-services.com                     26.04.2012 © dbi services
SQL Server Configuration
  Useful Commands
 Enable and Start SQL Browser
sc config SQLBROWSER start=auto
net start SQLBROWSER

 New DMVs :
sqlcmd -q "SELECT * FROM sys.dm_os_windows_info“
sqlcmd -q "SELECT * FROM sys.dm_server_services“

 Identify all processes that are blocked for more than 10 seconds
sqlcmd -q "SELECT * FROM sys.sysprocesses WHERE
blocked<>0 AND waittime > 10000”

 Check if there are any deadlocks
sqlcmd -q "SELECT * FROM sys.dm_os_performance_counters
WHERE counter_name = 'Number of Deadlocks/sec‘ AND
cntr_value <> 0”


  25    www.dbi-services.com                         26.04.2012 © dbi services
SQL Server Configuration
  Checklist
 Install requirements like .Net 4 Core

 Install SQL Server in command-line

 Configure the Firewall for SQL Server ports

 Apply Best Practice to configure Instance

 Load or install the databases




  26    www.dbi-services.com                    26.04.2012 © dbi services
dbi services
Windows Server Core & SQL Server 2012




                   Agenda
                   i.       Introduction
                   ii.      Why Windows Server Core ?
                   iii.     Configuration & Management
                   iv.      SQL Server Installation
                   v.       SQL Server Configuration
                   vi.      Conclusion




27   www.dbi-services.com                                26.04.2012 © dbi services
Conclusion
dbi services recommend


 Windows Core for SQL Server
      Reduce Downtime
      Attack surface
      OS footprint
      Critical DB Workload
      Without BI
      Reduce update




 Consult Windows Core Blog:
      http://blogs.technet.com/b/server_core/

             The perfect platform for SQL Server 2012

28     www.dbi-services.com                      26.04.2012 © dbi services
Conclusion
 Futur management : DMK for SLQ 2012


  Adapt Database Management Kit features:
       Using WMI
       Using PowerShell
       Using SQLCMD
       Using GUI like Notepad


  Commands sample:
sq => sqlcmd -S <ComputerName><InstanceName>
via => notepad.exe <SQL Server Log File Path>ERRORLOG


  DMK link :
 http://www.dbi-services.com/index.php/products/database-
 management-kit


 29     www.dbi-services.com                     26.04.2012 © dbi services
dbi services
Any Questions? Please Do Ask!



                            Stéphane Haby
                            Consultant

                            Mobile +41 79 103 89 60
                            stephane.haby@dbi-services.com
                            www.dbi-services.com




         „We look forward to working with you!“


30   www.dbi-services.com                              26.04.2012 © dbi services

More Related Content

What's hot

Introducing WebLogic 12c OTN Tour 2012
Introducing WebLogic 12c OTN Tour 2012Introducing WebLogic 12c OTN Tour 2012
Introducing WebLogic 12c OTN Tour 2012Bruno Borges
 
Windows Loves Drupal
Windows Loves DrupalWindows Loves Drupal
Windows Loves DrupalAcquia
 
New File Server Features Of Windows Server 2008
New File Server Features Of Windows Server 2008New File Server Features Of Windows Server 2008
New File Server Features Of Windows Server 2008Microsoft TechNet
 
Blue Medora Oracle Enterprise Manager (EM12c) Plug-in for VMware vSphere
Blue Medora Oracle Enterprise Manager (EM12c) Plug-in for VMware vSphereBlue Medora Oracle Enterprise Manager (EM12c) Plug-in for VMware vSphere
Blue Medora Oracle Enterprise Manager (EM12c) Plug-in for VMware vSphereBlue Medora
 
Veerendra_Patil_Technical_Skills_Details_
Veerendra_Patil_Technical_Skills_Details_Veerendra_Patil_Technical_Skills_Details_
Veerendra_Patil_Technical_Skills_Details_Veerendra Patil
 
VMworld 2013: vSphere vCenter Single Sign-on Best Practices
VMworld 2013: vSphere vCenter Single Sign-on Best Practices VMworld 2013: vSphere vCenter Single Sign-on Best Practices
VMworld 2013: vSphere vCenter Single Sign-on Best Practices VMworld
 
Enabling Oracle EM12c-based DBaaS on VMware with the Blue Medora Plugin for V...
Enabling Oracle EM12c-based DBaaS on VMware with the Blue Medora Plugin for V...Enabling Oracle EM12c-based DBaaS on VMware with the Blue Medora Plugin for V...
Enabling Oracle EM12c-based DBaaS on VMware with the Blue Medora Plugin for V...Blue Medora
 
JBoss started guide
JBoss started guideJBoss started guide
JBoss started guidefranarayah
 
Citrix XenApp & XenDesktop 7.15 LTSR course syllabus
Citrix XenApp & XenDesktop 7.15 LTSR course syllabusCitrix XenApp & XenDesktop 7.15 LTSR course syllabus
Citrix XenApp & XenDesktop 7.15 LTSR course syllabusMuhammadMustafha
 
Vskills certified enterprise applications integration specialist with micros...
Vskills certified enterprise applications integration specialist  with micros...Vskills certified enterprise applications integration specialist  with micros...
Vskills certified enterprise applications integration specialist with micros...Vskills
 
Enabling Oracle EM12c-based MWaaS on VMware with the Blue Medora Plugin for V...
Enabling Oracle EM12c-based MWaaS on VMware with the Blue Medora Plugin for V...Enabling Oracle EM12c-based MWaaS on VMware with the Blue Medora Plugin for V...
Enabling Oracle EM12c-based MWaaS on VMware with the Blue Medora Plugin for V...Blue Medora
 
Vsphere esxi-vcenter-server-50-installation-setup-guide
Vsphere esxi-vcenter-server-50-installation-setup-guideVsphere esxi-vcenter-server-50-installation-setup-guide
Vsphere esxi-vcenter-server-50-installation-setup-guideamirzahur
 

What's hot (20)

Introducing WebLogic 12c OTN Tour 2012
Introducing WebLogic 12c OTN Tour 2012Introducing WebLogic 12c OTN Tour 2012
Introducing WebLogic 12c OTN Tour 2012
 
Windows Loves Drupal
Windows Loves DrupalWindows Loves Drupal
Windows Loves Drupal
 
Vikas Yadav
Vikas YadavVikas Yadav
Vikas Yadav
 
New File Server Features Of Windows Server 2008
New File Server Features Of Windows Server 2008New File Server Features Of Windows Server 2008
New File Server Features Of Windows Server 2008
 
Blue Medora Oracle Enterprise Manager (EM12c) Plug-in for VMware vSphere
Blue Medora Oracle Enterprise Manager (EM12c) Plug-in for VMware vSphereBlue Medora Oracle Enterprise Manager (EM12c) Plug-in for VMware vSphere
Blue Medora Oracle Enterprise Manager (EM12c) Plug-in for VMware vSphere
 
Veerendra_Patil_Technical_Skills_Details_
Veerendra_Patil_Technical_Skills_Details_Veerendra_Patil_Technical_Skills_Details_
Veerendra_Patil_Technical_Skills_Details_
 
Windows Loves drupal
Windows Loves drupalWindows Loves drupal
Windows Loves drupal
 
VMware vSphere 6 & Horizon View 6.1 – What's New ?
VMware vSphere 6 & Horizon View 6.1 – What's New ?VMware vSphere 6 & Horizon View 6.1 – What's New ?
VMware vSphere 6 & Horizon View 6.1 – What's New ?
 
VMworld 2013: vSphere vCenter Single Sign-on Best Practices
VMworld 2013: vSphere vCenter Single Sign-on Best Practices VMworld 2013: vSphere vCenter Single Sign-on Best Practices
VMworld 2013: vSphere vCenter Single Sign-on Best Practices
 
Jboss Tutorial Basics
Jboss Tutorial BasicsJboss Tutorial Basics
Jboss Tutorial Basics
 
Enabling Oracle EM12c-based DBaaS on VMware with the Blue Medora Plugin for V...
Enabling Oracle EM12c-based DBaaS on VMware with the Blue Medora Plugin for V...Enabling Oracle EM12c-based DBaaS on VMware with the Blue Medora Plugin for V...
Enabling Oracle EM12c-based DBaaS on VMware with the Blue Medora Plugin for V...
 
Whitepaper
WhitepaperWhitepaper
Whitepaper
 
JBoss started guide
JBoss started guideJBoss started guide
JBoss started guide
 
Citrix XenApp & XenDesktop 7.15 LTSR course syllabus
Citrix XenApp & XenDesktop 7.15 LTSR course syllabusCitrix XenApp & XenDesktop 7.15 LTSR course syllabus
Citrix XenApp & XenDesktop 7.15 LTSR course syllabus
 
Prasant chettri resume
Prasant chettri resumePrasant chettri resume
Prasant chettri resume
 
Resume
ResumeResume
Resume
 
Vskills certified enterprise applications integration specialist with micros...
Vskills certified enterprise applications integration specialist  with micros...Vskills certified enterprise applications integration specialist  with micros...
Vskills certified enterprise applications integration specialist with micros...
 
Enabling Oracle EM12c-based MWaaS on VMware with the Blue Medora Plugin for V...
Enabling Oracle EM12c-based MWaaS on VMware with the Blue Medora Plugin for V...Enabling Oracle EM12c-based MWaaS on VMware with the Blue Medora Plugin for V...
Enabling Oracle EM12c-based MWaaS on VMware with the Blue Medora Plugin for V...
 
Vsphere esxi-vcenter-server-50-installation-setup-guide
Vsphere esxi-vcenter-server-50-installation-setup-guideVsphere esxi-vcenter-server-50-installation-setup-guide
Vsphere esxi-vcenter-server-50-installation-setup-guide
 
Windows sever 2008
Windows sever 2008Windows sever 2008
Windows sever 2008
 

Similar to Windows Server Core : environnement pour SQL Server 2012 - Stéphane Haby - dbi services

SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...
SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...
SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...dbi services
 
Presentation cloud control 12c
Presentation   cloud control 12cPresentation   cloud control 12c
Presentation cloud control 12cxKinAnx
 
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi servicesOracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi servicesdbi services
 
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney BuikeMake Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney BuikeMake Web Not War
 
Configuring and Troubleshooting XenDesktop Sites
Configuring and Troubleshooting XenDesktop SitesConfiguring and Troubleshooting XenDesktop Sites
Configuring and Troubleshooting XenDesktop SitesDavid McGeough
 
Tune my Application Server! Java Appl. Performance mit JVMD - Gérard Wisson, ...
Tune my Application Server! Java Appl. Performance mit JVMD - Gérard Wisson, ...Tune my Application Server! Java Appl. Performance mit JVMD - Gérard Wisson, ...
Tune my Application Server! Java Appl. Performance mit JVMD - Gérard Wisson, ...dbi services
 
CSS computer system servicing-presentation.pptx
CSS computer system servicing-presentation.pptxCSS computer system servicing-presentation.pptx
CSS computer system servicing-presentation.pptxGelreyLugoJaysonAli
 
Get Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud FoundryGet Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud FoundryLucinda Davidson
 
MCSA (Window Server 2012) Training Gurgaon
MCSA (Window Server 2012) Training GurgaonMCSA (Window Server 2012) Training Gurgaon
MCSA (Window Server 2012) Training GurgaonInformation Technology
 
Active Directory Upgrade
Active Directory UpgradeActive Directory Upgrade
Active Directory UpgradeSpiffy
 
Material modulo04 asf6501(6425-a_01)
Material   modulo04 asf6501(6425-a_01)Material   modulo04 asf6501(6425-a_01)
Material modulo04 asf6501(6425-a_01)JSantanderQ
 
Migrating to Microsoft Windows Server 2012 and Microsoft SQL Server 2012 on D...
Migrating to Microsoft Windows Server 2012 and Microsoft SQL Server 2012 on D...Migrating to Microsoft Windows Server 2012 and Microsoft SQL Server 2012 on D...
Migrating to Microsoft Windows Server 2012 and Microsoft SQL Server 2012 on D...Principled Technologies
 
Install sccm 2007 on windows server 2008 r2 – step by step
Install sccm 2007 on windows server 2008 r2 – step by stepInstall sccm 2007 on windows server 2008 r2 – step by step
Install sccm 2007 on windows server 2008 r2 – step by stepd0wonload
 
Case Project 12-2 Devising an AD DS Design with RODC, AD RMS, and A.pdf
Case Project 12-2 Devising an AD DS Design with RODC, AD RMS, and A.pdfCase Project 12-2 Devising an AD DS Design with RODC, AD RMS, and A.pdf
Case Project 12-2 Devising an AD DS Design with RODC, AD RMS, and A.pdfAmansupan
 
State of Steeltoe 2020
State of Steeltoe 2020State of Steeltoe 2020
State of Steeltoe 2020VMware Tanzu
 

Similar to Windows Server Core : environnement pour SQL Server 2012 - Stéphane Haby - dbi services (20)

SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...
SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...
SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...
 
Presentation cloud control 12c
Presentation   cloud control 12cPresentation   cloud control 12c
Presentation cloud control 12c
 
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi servicesOracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
Oracle OEM 12C : monitoring nouvelle génération - Pierre Sicot - dbi services
 
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney BuikeMake Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
 
Configuring and Troubleshooting XenDesktop Sites
Configuring and Troubleshooting XenDesktop SitesConfiguring and Troubleshooting XenDesktop Sites
Configuring and Troubleshooting XenDesktop Sites
 
Tune my Application Server! Java Appl. Performance mit JVMD - Gérard Wisson, ...
Tune my Application Server! Java Appl. Performance mit JVMD - Gérard Wisson, ...Tune my Application Server! Java Appl. Performance mit JVMD - Gérard Wisson, ...
Tune my Application Server! Java Appl. Performance mit JVMD - Gérard Wisson, ...
 
CSS computer system servicing-presentation.pptx
CSS computer system servicing-presentation.pptxCSS computer system servicing-presentation.pptx
CSS computer system servicing-presentation.pptx
 
Cf intro aug_2012_raja
Cf intro aug_2012_rajaCf intro aug_2012_raja
Cf intro aug_2012_raja
 
Get Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud FoundryGet Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud Foundry
 
General Index
General IndexGeneral Index
General Index
 
MCSA (Window Server 2012) Training Gurgaon
MCSA (Window Server 2012) Training GurgaonMCSA (Window Server 2012) Training Gurgaon
MCSA (Window Server 2012) Training Gurgaon
 
Active Directory Upgrade
Active Directory UpgradeActive Directory Upgrade
Active Directory Upgrade
 
Material modulo04 asf6501(6425-a_01)
Material   modulo04 asf6501(6425-a_01)Material   modulo04 asf6501(6425-a_01)
Material modulo04 asf6501(6425-a_01)
 
Migrating to Microsoft Windows Server 2012 and Microsoft SQL Server 2012 on D...
Migrating to Microsoft Windows Server 2012 and Microsoft SQL Server 2012 on D...Migrating to Microsoft Windows Server 2012 and Microsoft SQL Server 2012 on D...
Migrating to Microsoft Windows Server 2012 and Microsoft SQL Server 2012 on D...
 
Websphere - application server on z/os
Websphere - application server on z/osWebsphere - application server on z/os
Websphere - application server on z/os
 
Sysadmin vs. dev ops
Sysadmin vs. dev opsSysadmin vs. dev ops
Sysadmin vs. dev ops
 
Install sccm 2007 on windows server 2008 r2 – step by step
Install sccm 2007 on windows server 2008 r2 – step by stepInstall sccm 2007 on windows server 2008 r2 – step by step
Install sccm 2007 on windows server 2008 r2 – step by step
 
WebLogic for DBAs
WebLogic for DBAsWebLogic for DBAs
WebLogic for DBAs
 
Case Project 12-2 Devising an AD DS Design with RODC, AD RMS, and A.pdf
Case Project 12-2 Devising an AD DS Design with RODC, AD RMS, and A.pdfCase Project 12-2 Devising an AD DS Design with RODC, AD RMS, and A.pdf
Case Project 12-2 Devising an AD DS Design with RODC, AD RMS, and A.pdf
 
State of Steeltoe 2020
State of Steeltoe 2020State of Steeltoe 2020
State of Steeltoe 2020
 

More from dbi services

Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...
Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...
Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...dbi services
 
Tune my Database! Mehr Oracle SQL Performance über SQLHC - Yann Neuhaus, Nico...
Tune my Database! Mehr Oracle SQL Performance über SQLHC - Yann Neuhaus, Nico...Tune my Database! Mehr Oracle SQL Performance über SQLHC - Yann Neuhaus, Nico...
Tune my Database! Mehr Oracle SQL Performance über SQLHC - Yann Neuhaus, Nico...dbi services
 
Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...
Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...
Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...dbi services
 
Grid Control 11g: Vorteile in der Software Administration - Yann Neuhaus, dbi...
Grid Control 11g: Vorteile in der Software Administration - Yann Neuhaus, dbi...Grid Control 11g: Vorteile in der Software Administration - Yann Neuhaus, dbi...
Grid Control 11g: Vorteile in der Software Administration - Yann Neuhaus, dbi...dbi services
 
SQL Server 'code name Denali' - Stéphane Haby / Antonio De Santo, dbi service...
SQL Server 'code name Denali' - Stéphane Haby / Antonio De Santo, dbi service...SQL Server 'code name Denali' - Stéphane Haby / Antonio De Santo, dbi service...
SQL Server 'code name Denali' - Stéphane Haby / Antonio De Santo, dbi service...dbi services
 
SQL Server 2008 'Best Practices' - Stéphane Haby, dbi services - Mövenpick La...
SQL Server 2008 'Best Practices' - Stéphane Haby, dbi services - Mövenpick La...SQL Server 2008 'Best Practices' - Stéphane Haby, dbi services - Mövenpick La...
SQL Server 2008 'Best Practices' - Stéphane Haby, dbi services - Mövenpick La...dbi services
 
Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011
Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011
Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011dbi services
 
Oracle Grid Control 11g - Yann Neuhaus, dbi services - Hilton Basel, 5/2011
Oracle Grid Control 11g - Yann Neuhaus, dbi services - Hilton Basel, 5/2011Oracle Grid Control 11g - Yann Neuhaus, dbi services - Hilton Basel, 5/2011
Oracle Grid Control 11g - Yann Neuhaus, dbi services - Hilton Basel, 5/2011dbi services
 

More from dbi services (8)

Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...
Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...
Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...
 
Tune my Database! Mehr Oracle SQL Performance über SQLHC - Yann Neuhaus, Nico...
Tune my Database! Mehr Oracle SQL Performance über SQLHC - Yann Neuhaus, Nico...Tune my Database! Mehr Oracle SQL Performance über SQLHC - Yann Neuhaus, Nico...
Tune my Database! Mehr Oracle SQL Performance über SQLHC - Yann Neuhaus, Nico...
 
Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...
Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...
Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...
 
Grid Control 11g: Vorteile in der Software Administration - Yann Neuhaus, dbi...
Grid Control 11g: Vorteile in der Software Administration - Yann Neuhaus, dbi...Grid Control 11g: Vorteile in der Software Administration - Yann Neuhaus, dbi...
Grid Control 11g: Vorteile in der Software Administration - Yann Neuhaus, dbi...
 
SQL Server 'code name Denali' - Stéphane Haby / Antonio De Santo, dbi service...
SQL Server 'code name Denali' - Stéphane Haby / Antonio De Santo, dbi service...SQL Server 'code name Denali' - Stéphane Haby / Antonio De Santo, dbi service...
SQL Server 'code name Denali' - Stéphane Haby / Antonio De Santo, dbi service...
 
SQL Server 2008 'Best Practices' - Stéphane Haby, dbi services - Mövenpick La...
SQL Server 2008 'Best Practices' - Stéphane Haby, dbi services - Mövenpick La...SQL Server 2008 'Best Practices' - Stéphane Haby, dbi services - Mövenpick La...
SQL Server 2008 'Best Practices' - Stéphane Haby, dbi services - Mövenpick La...
 
Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011
Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011
Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011
 
Oracle Grid Control 11g - Yann Neuhaus, dbi services - Hilton Basel, 5/2011
Oracle Grid Control 11g - Yann Neuhaus, dbi services - Hilton Basel, 5/2011Oracle Grid Control 11g - Yann Neuhaus, dbi services - Hilton Basel, 5/2011
Oracle Grid Control 11g - Yann Neuhaus, dbi services - Hilton Basel, 5/2011
 

Recently uploaded

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Recently uploaded (20)

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

Windows Server Core : environnement pour SQL Server 2012 - Stéphane Haby - dbi services

  • 1. dbi services Windows Server Core & SQL Server 2012 Stéphane Haby Consultant Mobile +41 79 103 89 60 stephane.haby@dbi-services.com www.dbi-services.com 1 www.dbi-services.com 26.04.2012 © dbi services
  • 2. dbi services Windows Server Core & SQL Server 2012 Agenda i. Introduction ii. Why Windows Server Core ? iii. Configuration & Management iv. SQL Server Installation v. SQL Server Configuration vi. Conclusion 2 www.dbi-services.com 26.04.2012 © dbi services
  • 3. Introduction What is Windows Server Core? 1/2 3 www.dbi-services.com 26.04.2012 © dbi services
  • 4. Introduction What is Windows Server Core? 2/2  Not a Windows Server Edition  Installation & Configuration option without GUI 4 www.dbi-services.com 26.04.2012 © dbi services
  • 5. Introduction Server roles supported  10 roles Failover Clustering 5 www.dbi-services.com 26.04.2012 © dbi services
  • 6. dbi services Windows Server Core & SQL Server 2012 Agenda i. Introduction ii. Why Windows Server Core ? iii. Configuration & Management iv. SQL Server Installation v. SQL Server Configuration vi. Conclusion 6 www.dbi-services.com 26.04.2012 © dbi services
  • 7. Why Windows Server Core ? Benefits  Ensure the server stability  Less down time  Smaller attack surface – higher security  Reduce servicing and management requirements  Reduce Hardware constraints : Disk / Memory The perfect platform for databases and naturally SQL Server 7 www.dbi-services.com 26.04.2012 © dbi services
  • 8. Why Windows Server Core ? Reduce OS patches  If Server Core had existed  Windows 2000 is ~60% reduction  Windows Server 2003 is ~40% reduction  Windows Server 2008:  ~35% reduction if accepting all patches  ~59% reduction if applying only necessary patches  ~59% elimination of reboots 8 www.dbi-services.com 26.04.2012 © dbi services
  • 9. dbi services Windows Server Core & SQL Server 2012 Agenda i. Introduction ii. Why Windows Server Core ? iii. Configuration & Management iv. SQL Server Installation v. SQL Server Configuration vi. Conclusion 9 www.dbi-services.com 26.04.2012 © dbi services
  • 10. Configuration & Management Basic Configuration  All command are “case sensitive”  Server Core Installation overview http://technet.microsoft.com/en-us/library/cc753802(WS.10).aspx  Basic configuration: Commande sconfig  Computer name  Domain  Windows update  Network Settings 10 www.dbi-services.com 26.04.2012 © dbi services
  • 11. Configuration & Management Licensing cscript C:windowssystem32slmgr.vbs –dli cscript C:windowssystem32slmgr.vbs –ipk XXXXX-XXXXX- XXXXX-XXXXX-XXXXX cscript C:windowssystem32slmgr.vbs -ato 11 www.dbi-services.com 26.04.2012 © dbi services
  • 12. Configuration & Management Firewall Configuration  Internet Control Message Protocol (ICMP) Settings  Windows 2008 netsh firewall set icmpsetting 8 netsh firewall set icmpsetting type=ALL mode=enable  Windows 2008 R2 netsh advfirewall firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=allow netsh advfirewall firewall add rule name=”All ICMP V4” protocol=icmpv4:any,any dir=in action=allow 12 www.dbi-services.com 26.04.2012 © dbi services
  • 13. Configuration & Management Activate features  No Server Manager Interface  Use Disk Image Service Management (DISM) DISM /online /enable-feature /featurename:NetFx2- ServerCore /featurename:ServerCore-WOW64 /featurename:NetFx3-ServerCore-WOW64 /featurename:NetFx2- ServerCore-WOW64 /featurename:NetFx3-ServerCore  Failover Clustering activation DISM /online /enable-feature /featurename:FailoverCluster-Core  PowerShell activation DISM /online /enable-feature /featurename:MicrosoftWindowsPowerShell-WOW64 13 www.dbi-services.com 26.04.2012 © dbi services
  • 14. Configuration & Management Usefull Commands  Read the 10 last lines from the system event log wevtutil qe system /f:text /c:10 /rd:true  Regional option, date & hours control intl.cpl control timedate.cpl  List all installed hotfix wmic qfe list  List all drivers pnputil -e  Magic Command cscript c:WindowsSystem32SCregEdit.wsf /CLI|more 14 www.dbi-services.com 26.04.2012 © dbi services
  • 15. Configuration & Management GUI  Command prompt %WINDIR%System32cmd.exe  Microsoft Support Diagnostic Tool %WINDIR%System32Msdt.exe  Notepad %WINDIR%System32Notepad.exe  System Information %WINDIR%System32Msinfo32.exe  Task Manager %WINDIR%System32Taskmgr.exe  Registry Editor %WINDIR%System32Regedt32.exe 15 www.dbi-services.com 26.04.2012 © dbi services
  • 16. Configuration & Management Core configurator  Codeplex download: http://coreconfig.codeplex.com/ 16 www.dbi-services.com 26.04.2012 © dbi services
  • 17. Configuration & Management Checklist  Setup Windows Server Core: Installation Option  Activate Windows Server Core license  Integrate in domain  Configure Firewall  Install features:  .NET  Failover Clustering  PowerShell  Update patches 17 www.dbi-services.com 26.04.2012 © dbi services
  • 18. dbi services Windows Server Core & SQL Server 2012 Agenda i. Introduction ii. Why Windows Server Core ? iii. Configuration & Management iv. SQL Server Installation v. SQL Server Configuration vi. Conclusion 18 www.dbi-services.com 26.04.2012 © dbi services
  • 19. SQL Server Installation Requirement: .Net 4 Core  Not include in Windows Server Core and not in SQL Server 2012  Specific package for Core  Requirement for SQL Server 2012  .NET 4 Core download : http://www.microsoft.com/download/en/details.aspx?id=22833 19 www.dbi-services.com 26.04.2012 © dbi services
  • 20. SQL Server Installation Features  All Edition (including Express)  Engine  Reporting Services (SSRS)  SQLCMD  Most SDKs  Analysis Service (SSAS)  Master Data Service (MDS)  Integration Service (SSIS)  Data Quality Service (DQS)  Connectivity SDK  Books Online  Sync Fx2 Management Tools on remote 20 www.dbi-services.com 26.04.2012 © dbi services
  • 21. SQL Server Installation SQL Server Setup  Command-line install only  No « Wizard » Setup.exe /QS /ACTION=Install /FEATURES=SQLENGINE,FULLTEXT /INSTANCENAME=MSSQLCORE /IAcceptSQLServerLicenseTerms /SQLSVCACCOUNT=MSTESTsqlservices /SQLSVCPASSWORD=xxxxx /SQLSYSADMINACCOUNTS=MSTESTAdministrator /AGTSVCACCOUNT= MSTESTsqlservices /AGTSVCPASSWORD=xxxx /TCPENABLED=1  With configuration file Setup.exe /QS /Configurationfile=W:ConfigurationFile.ini  Setup automatically installs/enables pre-requisites  Rules to detect unsupported features/scenarios 21 www.dbi-services.com 26.04.2012 © dbi services
  • 22. dbi services Windows Server Core & SQL Server 2012 Agenda i. Introduction ii. Why Windows Server Core ? iii. Configuration & Management iv. SQL Server Installation v. SQL Server Configuration vi. Conclusion 22 www.dbi-services.com 26.04.2012 © dbi services
  • 23. SQL Server Configuration Configure Firewall  Port de communication SQL Server  Windows 2008 netsh firewall set portopening TCP 1433 "SQLServer"  Windows 2008 R2 netsh advfirewall firewall add rule name=”SQL Server default port 1433” dir=in action=allow protocol=TCP localport=1433 23 www.dbi-services.com 26.04.2012 © dbi services
  • 24. SQL Server Configuration Configure SQL Server Instance  Apply best practices: http://www.slideshare.net/dbiservices /d-dbif20110830005sql-serverbestpractice  Use SQL Server on remote with SSMS or directly SQLCMD: sqlcmd -S <server><instance> -i W:sqlinstconfig.sql sqlcmd -S <server><instance> -i W:tempdbconfig.sql 24 www.dbi-services.com 26.04.2012 © dbi services
  • 25. SQL Server Configuration Useful Commands  Enable and Start SQL Browser sc config SQLBROWSER start=auto net start SQLBROWSER  New DMVs : sqlcmd -q "SELECT * FROM sys.dm_os_windows_info“ sqlcmd -q "SELECT * FROM sys.dm_server_services“  Identify all processes that are blocked for more than 10 seconds sqlcmd -q "SELECT * FROM sys.sysprocesses WHERE blocked<>0 AND waittime > 10000”  Check if there are any deadlocks sqlcmd -q "SELECT * FROM sys.dm_os_performance_counters WHERE counter_name = 'Number of Deadlocks/sec‘ AND cntr_value <> 0” 25 www.dbi-services.com 26.04.2012 © dbi services
  • 26. SQL Server Configuration Checklist  Install requirements like .Net 4 Core  Install SQL Server in command-line  Configure the Firewall for SQL Server ports  Apply Best Practice to configure Instance  Load or install the databases 26 www.dbi-services.com 26.04.2012 © dbi services
  • 27. dbi services Windows Server Core & SQL Server 2012 Agenda i. Introduction ii. Why Windows Server Core ? iii. Configuration & Management iv. SQL Server Installation v. SQL Server Configuration vi. Conclusion 27 www.dbi-services.com 26.04.2012 © dbi services
  • 28. Conclusion dbi services recommend  Windows Core for SQL Server  Reduce Downtime  Attack surface  OS footprint  Critical DB Workload  Without BI  Reduce update  Consult Windows Core Blog:  http://blogs.technet.com/b/server_core/ The perfect platform for SQL Server 2012 28 www.dbi-services.com 26.04.2012 © dbi services
  • 29. Conclusion Futur management : DMK for SLQ 2012  Adapt Database Management Kit features:  Using WMI  Using PowerShell  Using SQLCMD  Using GUI like Notepad  Commands sample: sq => sqlcmd -S <ComputerName><InstanceName> via => notepad.exe <SQL Server Log File Path>ERRORLOG  DMK link : http://www.dbi-services.com/index.php/products/database- management-kit 29 www.dbi-services.com 26.04.2012 © dbi services
  • 30. dbi services Any Questions? Please Do Ask! Stéphane Haby Consultant Mobile +41 79 103 89 60 stephane.haby@dbi-services.com www.dbi-services.com „We look forward to working with you!“ 30 www.dbi-services.com 26.04.2012 © dbi services