Post on 12-Jul-2015
About
Mark Broadbent.Microsoft Certified Master: SQL Server
“30 billion times more intelligent than a live mattress”PASS UK Regional Mentor (end of second term)
Email: mark.broadbent@sqlcambs.org.uk
Twitter: retracement
Blog: http://tenbulls.co.uk
Event Lead to the UK’s first ever SQLSaturday (Cambridge)
Event #3 due on Sept 2015 (pre-con/s) and (Community day)
https://www.facebook.com/groups/sqlsaturdaycambridge/
Cambridgeshire PASS Chapter UG Leader http://sqlcambs.org.uk
Oracle Virtual Chapter Lead http://oracle.sqlpass.org/
• What tools can we use?
• SQL Configuration considerations
• High Availability configuration.
• Tips and tricks.
Agenda
The best part of the
presentation… beer o’clockInstallation of SQL
Server on Server Core
Introduction to
Windows Server Core
2
1
5
The occasional
demo fail
4
SQL Server
Manageability
3
• What is it?
• How do you install it?
• How do you configure it?
• What can you run on it?
• Is core the only option?
• Why should we run it.
• How do we install SQL Server?
• What features are supported?
• High Availability installation.
• Troubleshooting installation.
A little bit of
waiting!
4
Reduced .NET Framework and Components
Less space consumed
Reduced patching
Reduced and obfuscated surface area of attack
Faster Deployment
Faster boot times
Hyper-V Server and Licensing
Why move to Server Core?
Higher Availability!
Active Directory/ Certificate Services/ Domain Services/ Lightweight
Directory Services (AD LDS)
Active Directory DNS and DHCP Server
File Services (including File Server Resource Manager)
Hyper-V
Print and Document Services
Streaming Media Services
Web Server (& subset of ASP.NET)
Roles supported by Server Core 2012R2
For more detail see:-
http://bit.ly/JtgzKJ
Think about just using Hyper-V server instead
Configuration of Server Core
sconfig
Native tools(e.g. sc and
regedit)
cscript(e.g. vbs, jscript)
MMCRSAT
RDPPowerShell RemotingLocal
Remote
WMI
Specialist tools(e.g. sysinternals)
SSH
oclist/ ocsetup
e.g. cygwin & putty
scregedit.wsf
PowerShellPlus modules
DISM
MinShell provided by Server-Gui-Mgmt-Infra
Allows Graphical Management Tools and Infrastructure such as:
• Computer Management (compmgmt)
• Server Manager (servermanager)
• Even Performance Monitor and Systems Monitor (perform)
SQL Server setup still considers the deployment to be “Core”
Enabling on Core deployment is not as easy as you might expect…. Either:
1. Go to Full-Fat and drop down
2. Create temporary disk from a Full-Fat C:\Windows\WinSxS directory use as source
Using MinShell on Core
Native
• Database Engine and Replication
• Full Text Search
• Analysis Services
• Integration Services Server (SSIS Engine)
• SQL Client Tools Connectivity SDK
• Microsoft Sync Framework (separate install)
Remote Only
• Management Tools (including SSMS!)
• Distributed Replay Client
What is Supported for SQL 2014?
For more detail see:-
http://bit.ly/104lKiV
32 Bit Editions of SQL2012 and SQL 2014
Reporting Services
Master Data Services (MDS)
Data Quality Services (DQS)
SQL Server Books Online
SQL Server Data Tools (SSDT)
Client Tools SDK
Distributed Replay Controller
SQL Client Connectivity SDK
…and what is not supported?
Well, it depends if you want to add a web browser or not !
From Zero to Core Configuration File
Deploy core ready installation to Windows
Server Core via command line
setup.exe /CONFIGURATIONFILE=“ConfigurationFile.ini” /QS
4
Run installer on Full-Fat Edition (full build).
Step through wizard (do not complete).
Grab ConfigurationFile.ini from file path.
1Replace Features with core compatible ones.
Remove all lines below this line.
2
FEATURES=SQLENGINE,REPLICATION,FULLTEXT,AS,CONN,IS
“Install based on configuration file” on
Full-Fat Edition.
Use configuration file modified in step 2.
3
Remove UIMODE="Normal“Add SAPWD=“{password}“and any other account passwords
Installing SQL on Server CoreDemo
When it installs, I won't even notice.I’ll be too busy lookin’ goooood.
How do you install SQL Server on Core?
Do you need the Browser Service to automatically start?
How to you set static TCP/IP address and port?
How do you manage and configure storage?
Limited graphical support Executing Queries.
SQL configuration considerations
SQL Server Administration Tools
Cluster.exeand other adv tools
logman, relog, typeperfhttp://bit.ly/IGKbF0
PowerShellPlus modules
MMCand snap-ins
SSMS
SQLPS
Local
Remote
SQLCMD
WMI(SQL related)
Performance Monitor
Server Side Traces
Profiler
Extended Events/ SQL Audit
SQL Configuration Manager
Configure Cluster/ Quorum
Cluster Networks
Cluster Validation
Enable SQL for AlwaysOn
Availability Group Considerations
Configure Cluster/ Quorum
Cluster Networks
Cluster Validation
Shared or Asymmetric Storage configuration
How to create new Clustered Instance?
How to add Cluster node to Clustered Instance
Clustered Instance Considerations
Server Core provides many benefits and challenges
Not every technology is currently supported so start
thinking outside the box
Achieve greater availability and faster deployment
SQL on Server Core is an excellent combination and should
be your first choice if it supports your scenario
Summary
Session Evaluations
ways to access
Go to
passsummit.com/evals
Download the GuideBook App
and search: PASS Summit 2014
Follow the QR code link displayed
on session signage throughout the
conference venue and in the
program guide
Submit by 11:59 PM ESTFriday Nov. 7 toWIN prizes
Your feedback is important and valuable.
Evaluation Deadline:
11:59 PM EST, Sunday Nov. 16
Explore Everything PASS Has to Offer
Free SQL Server and BI Web Events Free 1-day Training Events Regional Event
Local User Groups Around
the World
Free Online Technical Training
This is Community Business Analytics Training
Session Recordings PASS Newsletter