enter the dragon - sql 2014 on server core - sqlsaturday #341 porto edition

31
SQL 2014 on Server Core Enter The Dragon

Upload: mark-broadbent

Post on 14-Jun-2015

203 views

Category:

Technology


1 download

DESCRIPTION

In 1982 the Dragon32 entered the home computer market but unfortunately there was one small problem ...lower-case letters were almost impossible to access. Two years later Dragon was no more. In 2008 Microsoft released ServerCore providing a fast and streamlined (but reduced functionality) edition of Windows with minimal GUI support and with Windows 2012/R2 Server Core is "by default". Ever since SQL 2012, installation onto Server Core became a "supported" option and meant the single biggest administrative shift for a DBA since the release of SQL 2005 ...or did it? In this exciting session we will discuss administration, configuration and installation of both SQL 2014 and ServerCore in both standalone and advanced AlwaysOn configurations but will the lack of GUI support send Server Core in the same direction as the Dragon32 or spell a bright new beginning for Server based computing and SQL Server?

TRANSCRIPT

Page 1: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

SQL 2014 on

Server

Core

Enter The Dragon

Page 2: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Ivan Daniel Campos:

Page 3: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Rui Barreira:

Page 4: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Paulo Matos:

Page 5: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Pedro Simões:

Page 6: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

André Batista:

Page 7: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Last but not least... Niko Neugebauer

Page 8: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

About

Mark Broadbent.Microsoft Certified Master: SQL Server

“30 billion times more intelligent than a live mattress”PASS UK Regional Mentor

Email: [email protected]

Twitter: retracement

Blog: http://tenbulls.co.uk

Event Lead to the UK’s first ever SQLSaturday (Cambridge)

Event #3 due on Sept 2014 (pre-con/s) and (Community day)

https://www.facebook.com/groups/sqlsaturdaycambridge/

Cambridgeshire PASS Chapter UG Leader http://sqlcambs.org.uk

Page 9: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Agenda

We will take a look at the following:

• Introduction to Windows Server Core

• Installation of SQL

• SQL Server Manageability

• Advanced Implementations of SQL on Core

Page 10: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Page 11: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Page 12: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Page 13: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Faster boot times

Reduced patching

Reduced and obfuscated surface area of attack

Reduced .NET Framework

Less space consumed

Greater Availability

Faster Deployment

Why move to Server Core?

Page 14: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

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 200R2

For more detail see:-

http://bit.ly/JtgzKJ

Page 15: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Configuration of Server Core

sconfig

Native(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

Page 16: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Introduction to Windows Server CoreDemo

Page 17: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

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

Page 18: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

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!

Page 19: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Page 20: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Open file and save

Page 21: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Replay from here!

Page 22: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

1. Grab config file from full install on Full-Fat Edition.

2. Replace Features with core compatible ones and remove

all lines below.

3. Run file through Wizard, grab new core-compatible file.

From Zero to Core Configuration File

Page 23: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Page 24: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Page 25: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Installing SQL on Server CoreDemo

Page 26: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

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?

Do you need to open up Firewall ports?

How do you manage and configure storage?

Limited graphical support Executing Queries.

SQL configuration considerations

Page 27: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

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)

System Monitor

Server Side Traces

Profiler

Page 28: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

SQL ManageabilityDemo

Page 29: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Configure Quorum

Cluster Networks

Shared or Asymmetric Storage configuration

Cluster Validation

Availability Group Considerations

Page 30: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Configure Quorum

Cluster Networks

Shared or Asymmetric Storage configuration

Cluster Validation

How to create new Clustered Instance?

How to add Cluster node to Clustered Instance

Clustered Instance Considerations

Page 31: Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition

Server Core provides many benefits and challenges to overcome.

Achieve greater availability.

Less wasted man hours on deployment and maintenance.

Not every technology is currently supported so start thinking outside the box.

SQL on Server Core is an excellent combination.

Summary