6231a_01
TRANSCRIPT
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
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
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
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
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)
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
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
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
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
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
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
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
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
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
What is the System Configuration Checker?
Checks Installation Requirements:
Software Requirements
Hardware Requirements
Security Requirements
System State Requirements
11/01/2013 [email protected] 16
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
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
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
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
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
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
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
Daniel Ramos Castañeda
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