6231a_01

24
[email protected] Module 1: Installing and Configuring SQL Server 2008 11/01/2013 [email protected] 1

Upload: luisfelipeuni

Post on 13-Apr-2015

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 6231A_01

[email protected]

Module 1: Installing and Configuring SQL Server

2008

11/01/2013 [email protected] 1

Page 2: 6231A_01

Module 1: Installing and Configuring SQL Server 2008

• Preparing to Install SQL Server 2008

• Installing SQL Server 2008

• Configuring a SQL Server 2008 Installation

11/01/2013 [email protected] 2

Page 3: 6231A_01

Lesson 1: Preparing to Install SQL Server 2008

• What are the Editions of SQL Server 2008? • What are the Hardware Requirements? • What are the 32-bit Operating Systems

Requirements? • What are the 64-bit Operating Systems

Requirements? • Exploring the Instances of SQL Server • Comparing Licensing of SQL Server 2008 • What are the Security Considerations? • Examining the Collation Considerations • Examining the Upgrade Considerations

11/01/2013 [email protected] 3

Page 4: 6231A_01

What are the Editions of SQL Server 2008?

Edition Description

Express For disconnected clients or stand-alone applications

Workgroup Database for workgroup or branch office operations

Standard Database server for department-level applications

Enterprise Highly scalable and available enterprise-level database

Developer Enterprise edition, licensed for development and testing

Web Enables hosting companies to provide low cost, highly

scalable hosting with a low monthly licensing fee

Mobile Compact database for smart handheld devices

Page 5: 6231A_01

What are the Hardware requirements?

Hardware Requirements

Processor

• Intel-compatible Pentium 600 MHz or higher

• 1 GHz or higher recommended

Memory

• Standard, Enterprise, Developer: 512 MB

(1 GB or more recommended)

• Express Edition: 192 MB

(512 MB or more recommended)

Disk Space

• Database Components: 280 MB

• Analysis Services: 90 MB

• Reporting Services: 120 MB

• Integration Services: 120 MB

• Client Components: 850 MB

Page 6: 6231A_01

What are the 32-bit Operating Systems Requirements?

Operating System Express Standard Workgroup Enterprise Developer

Windows® Vista® 32-bit

Windows Server® 2008 32-bit

Windows Server 2003 SP2

Windows XP Professional SP2

Windows XP SP2 (all editions)

Page 7: 6231A_01

What are the 64-bit Operating Systems Requirements?

Operating System Express Standard Workgroup Enterprise Developer

Windows Vista 64-bit

Windows Server 2008 64-bit

Windows Server 2003 64-bit SP2

Windows XP Professional 64-bit SP2

Page 8: 6231A_01

Exploring the Instances of SQL Server • Default Instance

• The network name of the computer it’s running on

• Named Instance

• The network name of the computer plus an instance name

• Browser Service

• Listens for incoming requests for SQL Server resources

• Provides information about SQL Server instances

Page 9: 6231A_01

Comparing Licensing of SQL Server 2008 License Structure Description

Processor license • Requires a single license for each CPU

Server plus device Client

Access Licenses (CALs)

• Requires a license for the computer

• Plus a CAL for each client device

Server plus user CALs • Requires a license for the computer

• Plus a CAL for each user

11/01/2013 [email protected] 9

Page 10: 6231A_01

What are the Security Considerations?

• Enhance Physical Security

• Physical isolation is the foundation of SQL Server security

• Use Firewalls

• Firewalls are integral to securing SQL Server

• Isolate Services

• Isolating services reduces the risk that one compromised service could be used to compromise others

• Create Service Accounts That Have Least Privileges

• SQL Server setup automatically configures the service accounts with the required permissions

11/01/2013 [email protected] 10

Page 11: 6231A_01

Examining the Collation Considerations

• Windows Collations

• Based on the rules for the associated Windows locale • SQL Server Collations

•Matches the code page number and sort order that may have been specified in earlier versions of SQL Server

• Default Collation and Sort Rules

•Default collation applies if you do not designate collation and sort rules

11/01/2013 [email protected] 11

Page 12: 6231A_01

Examining the Upgrade Considerations

Existing SQL Server 2008 Side-by-side Support

• SQL Server 2008 (32-bit) • SQL Server 2005 (32-bit)

• SQL Server 2005 (64-bit) x64

• SQL Server 2008 (64-bit) IA64 • SQL Server 2005 (64-bit) IA64

• SQL Server 2008 (64-bit) x64 • SQL Server 2005 (32-bit)

• SQL Server 2005 (64-bit) x64

In-place Upgrade Side-by-side Upgrade

• Easier, mostly automated • More granular control over process

• System data upgraded • Can be used to perform test migration

• No additional hardware • Relatively straightforward rollback

• Apps pointing to same names • Can leverage failover/switchover

11/01/2013 [email protected] 12

Page 13: 6231A_01

Demonstration: Verifying Pre-Installation Information

In this demonstration, you will see how to:

• View the hardware and software requirements

• Use the Upgrade Advisor

• Use the System Configuration Checker

11/01/2013 [email protected] 13

Page 14: 6231A_01

Lesson 2: Installing SQL Server 2008

• Overview of the Installation Process

• What is the System Configuration Checker?

• What are the Options for Installing Components?

• Performing an Unattended Installation

11/01/2013 [email protected] 14

Page 15: 6231A_01

Overview of the Installation Process

SQL Setup MSI

Install Type

Local / Remote

Component Update

Feature Selection

System Configuration Checker

Install Server Configuration

Upgrade Advisor

11/01/2013 [email protected] 15

Page 16: 6231A_01

What is the System Configuration Checker?

Checks Installation Requirements:

Software Requirements

Hardware Requirements

Security Requirements

System State Requirements

11/01/2013 [email protected] 16

Page 17: 6231A_01

What are the Options for Installing Components?

Component Description

SQL Server Database

Engine

Core database engine, replication, search, and

tools for managing data

Analysis Services Server and tools for online analytical processing

and data mining

Reporting Services Server and client components for generating and

distributing reports

Integration Services Tools and components for transferring data

Notification Services Platform for applications that send notifications

Management Tools Tools to access, configure, manage, and

administer SQL Server components

Page 18: 6231A_01

Performing an Unattended Installation • Creating an .ini file

• You can create an .ini file using any text editor • Starting an unattended installation

setup.exe /settings <path to .ini file>

[Options]

USERNAME=MyName

COMPANYNAME=MyCompany

PIDKEY=ABCDE12345FGHIJ67890KLMNO

INSTALLSQLDIR="C:\Program Files\Microsoft SQL Server\"

INSTALLOLAPDATADIR="C:\Program Files\Microsoft SQL

Server\MSSQL\OLAP\Data"

ADDLOCAL=SQL_Engine,Analysis_Server,RS_Server...

INSTANCENAME=MyInstance

11/01/2013 [email protected] 18

Page 19: 6231A_01

Lesson 3: Configuring a SQL Server 2008 Installation

• What is the SQL Server Configuration Manager?

• What is the SQL Server Management Studio?

• Using the sqlcmd Command-line Tool

• Managing SQL Server 2008 with Windows PowerShell

• What are the Server-level Options?

11/01/2013 [email protected] 19

Page 20: 6231A_01

Management Console for: Management Console for:

What is the SQL Server Configuration Manager?

• Managing SQL Server Services

• Managing Server Network Protocols

• Managing Client Network Protocols

• Changing the Accounts Used by the Services

11/01/2013 [email protected] 20

Page 21: 6231A_01

Demonstration: Using SQL Server Configuration Manager

In this demonstration, you will see how to:

• Configure Server Startup Options

• Pause and Resume an Instance of SQL Server

• Set an Instance of SQL Server to Start Automatically

11/01/2013 [email protected] 21

Page 22: 6231A_01

What is the SQL Server Management Studio? Primary server management tool:

• Integrated Management and Development

• Central Management for all SQL Server Components

• Graphical and Code-based Object Management

• Project-based Script Management

• Integration with Visual SourceSafe

• Replaces Surface Area Configuration tool

11/01/2013 [email protected] 22

Page 23: 6231A_01

What are the Server-level Options?

Setting Description

C2 Audit Mode Records failed and successful attempts to access statements and objects

Fill Factor Specifies free space in index pages

Min and Max Server Memory Controls the amount of memory in the buffer pool used by instance of SQL Server

Nested triggers Controls if an AFTER trigger can cascade

Query Governor Cost Limit Specifies an upper limit on query execution time

Query Wait Specifies how long query waits for resources before timing out

CLR Integration Provides managed code with services such as cross-language integration, security, lifetime management, and debugging

Page 24: 6231A_01

Daniel Ramos Castañeda

[email protected]

Certificaciones: MCP, MCTS, MAP, MCPS, MCNPS

Especializaciones:

MCPS 2.0 - AOS: Business Intelligence Competency 1 MCPS 2.0 - AOS: Competency- Integrated E-Business Solutions

AOS: Application Integration Competency MCPS 2.0 - AOS: Data Platform Competency

MCTS: SQL Server® 2005 y 2008 AOS: Business Intelligence Competency 2

AOS : BUSINESS INTELLIGENCE COMPETENCY - BUSINESS INTELLIGENCE PLATFORM

AOS: Data Management Solutions Competency-Database Management for SQL Sever 2005

AOS : Microsoft Dynamics AX - SQL server AOS : ERP Competency - Microsoft Dynamics GP - SQL server

AOS : Microsoft Dynamics NAV - SQL server AOS : Microsoft Dynamics SL - SQL Server

AOS : Microsoft Dynamics Point of Sale - SQL Server

11/01/2013 [email protected] 24