1. Trang chủ
  2. » Công Nghệ Thông Tin

Administering and Automating Microsoft SQL Server 2005 Databases and Servers pot

114 359 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Administering and Automating Microsoft SQL Server 2005 Databases and Servers
Chuyên ngành Information Technology
Thể loại course notes
Năm xuất bản 2005
Định dạng
Số trang 114
Dung lượng 2,57 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

This folder contains the setup file to install Microsoft Windows Media® Player.. STUDENT USE PROHIBITEDStudent Materials compact disc The Student Materials compact disc CD contains the

Trang 1

MCT USE ONLY STUDENT USE PROHIBITED

SQL Server™ 2005 Databases and Servers

Trang 2

MCT USE ONLY STUDENT USE PROHIBITED

logo, person, place or event is intended or should be inferred Complying with all applicable copyright laws is the responsibility of the user Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property

© 2005 Microsoft Corporation All rights reserved

Microsoft, MS-DOS, Windows, Windows NT, <plus other appropriate product names or titles

The publications specialist replaces this example list with the list of trademarks provided by the copy editor Microsoft, MS-DOS, Windows, and Windows NT are listed first, followed by all other Microsoft trademarks listed in alphabetical order.> are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A and/or other countries

<The publications specialist inserts mention of specific, contractually obligated to, third-party trademarks, provided by the copy editor>

The names of actual companies and products mentioned herein may be the trademarks of their respective owners

Beta

Trang 3

MCT USE ONLY STUDENT USE PROHIBITED

Contents

Trang 5

About This Course

This section provides you with a brief description of the course, audience, suggested prerequisites, and course objectives

This course requires that students meet the following prerequisites:

Trang 6

MCT USE ONLY STUDENT USE PROHIBITED

Break 4:00

Day 2

Start End Module

9:00 9:30 Day 1 review

Break Lunch Break 4:00

Trang 7

MCT USE ONLY STUDENT USE PROHIBITED

Day 3

Start End Module

9:00 9:30 Day 2 review

Break Lunch Break 4:00

Day 4

Start End Module

9:00 9:30 Day 3 review

Break Lunch Break 4:00

Day 5

Start End Module

9:00 9:30 Day 4 review

Break Lunch Break 4:00

Trang 8

MCT USE ONLY STUDENT USE PROHIBITED

Trainer Materials Compact Disc Contents

The Trainer Materials compact disc contains the following files and folders:

„ Autorun.inf When the compact disc is inserted into the compact disc drive,

this file opens StartCD.exe

„ Default.htm This file opens the Trainer Materials Web page

„ Readme.txt This file explains how to install the software for viewing the

Trainer Materials compact disc and its contents and how to open the Trainer Materials Web page

„ StartCD.exe When the compact disc is inserted into the compact disc drive,

or when you double-click the StartCD.exe file, this file opens the compact disc and allows you to browse the Trainer Materials compact disc

„ StartCD.ini This file contains instructions to launch StartCD.exe

„ xxxxz_ ms.doc This file is the Manual Classroom Setup Guide It contains

the steps for manually setting up the classroom computers

„ xxxxz _sg doc This file is the Automated Classroom Setup Guide It contains

a description of classroom requirements, classroom configuration, instructions for using the automated classroom setup scripts, and the Classroom Setup Checklist

„ Errorlog This folder may contain an error log

„ Powerpnt This folder contains the Microsoft PowerPoint® slides that are used in this course

„ Pptview This folder contains the Microsoft PowerPoint Viewer, which can

be used to display the PowerPoint slides if Microsoft PowerPoint 2002 is not available Do not use this version in the classroom

„ Setup This folder contains the files that install the course and related

software to computers in a classroom setting

„ Student This folder contains the Web page that provides students with links

to resources pertaining to this course, including additional reading, review and lab answers, lab files, multimedia presentations, and course-related Web sites

„ Tprep This folder contains the Trainer Preparation Presentation for this

course Review these materials before teaching this course

„ Webfiles This folder contains the files that are required to view the course

Web page To open the Web page, open Windows Explorer, and in the root

directory of the compact disc, double-click StartCD.exe

Trang 9

MCT USE ONLY STUDENT USE PROHIBITED

Student Materials Compact Disc Contents

The Student Materials compact disc contains the following files and folders:

„ Autorun.inf When the compact disc is inserted into the compact disc drive,

this file opens StartCD.exe

„ Default.htm This file opens the Student Materials Web page It provides

you with resources pertaining to this course, including additional reading, review and lab answers, lab files, multimedia presentations, and course-related Web sites

„ Readme.txt This file explains how to install the software for viewing the

Student Materials compact disc and its contents and how to open the Student Materials Web page

„ StartCD.exe When the compact disc is inserted into the compact disc drive,

or when you double-click the StartCD.exe file, this file opens the compact disc and allows you to browse the Trainer Materials compact disc

„ StartCD.ini This file contains instructions to launch StartCD.exe

„ xxxxz_ms.doc This file is the Manual Classroom Setup Guide It contains a

description of classroom requirements, classroom setup instructions, and the classroom configuration

„ Addread This folder contains additional reading pertaining to this course

„ Appendix This folder contains appendix files for this course

„ Democode This folder contains demonstration code

„ Flash This folder contains the installer for the Macromedia Flash browser

plug-in

„ Fonts This folder contains fonts that may be required to view the Microsoft

Word documents that are included with this course

„ Jobaids This folder contains the job aids pertaining to this course

„ Labfiles This folder contains files that are used in the hands-on labs These

files may be used to prepare the student computers for the hands-on labs

„ Media This folder contains files that are used in multimedia presentations

for this course

„ Mplayer This folder contains the setup file to install Microsoft Windows

Media® Player

„ Practices This folder contains files that are used in the hands-on practices

„ Sampapps This folder contains the sample applications associated with this

course

„ Sampcode This folder contains sample code that is accessible through the

Web pages on the Student Materials compact disc

„ Webfiles This folder contains the files that are required to view the course

Web page To open the Web page, open Windows Explorer, and in the root

directory of the compact disc, double-click StartCD.exe

„ Wordview This folder contains the Word Viewer that is used to view any

Word document (.doc) files that are included on the compact disc

Trang 10

MCT USE ONLY STUDENT USE PROHIBITED

Document Conventions

The following conventions are used in course materials to distinguish elements

of the text

Convention Use Bold Represents commands, command options, and syntax that must

be typed exactly as shown It also indicates commands on menus and buttons, dialog box titles and options, and icon and menu names

Italic In syntax statements or descriptive text, indicates argument

names or placeholders for variable information Italic is also used for introducing new terms, for book titles, and for emphasis

in the text

Title Capitals Indicate domain names, user names, computer names, directory

names, and folder and file names, except when specifically referring to case-sensitive names Unless otherwise indicated, you can use lowercase letters when you type a directory name or file name in a dialog box or at a command prompt

combinations — for example, ALT+SPACEBAR

[ ] In syntax statements, enclose optional items For example,

[filename] in command syntax indicates that you can choose to

type a file name with the command Type only the information within the brackets, not the brackets themselves

{ } In syntax statements, enclose required items Type only the

information within the braces, not the braces themselves

| In syntax statements, separates an either/or choice

Ç Indicates a procedure with sequential steps

In syntax statements, specifies that the preceding item may be

repeated

Represents an omitted portion of a code sample

Trang 11

MCT USE ONLY STUDENT USE PROHIBITED

Module 0: Introduction

Time estimated:

Presentation: 30 minutes

Table of contents

Module 0: Introduction 1

At the end of this module, you will be able to describe this course and its purpose 2

Introduction 3

Introduce yourself, and provide a brief description of your background 3

Course Materials 4

Identify and describe the course materials 4

Microsoft Learning Product Types 6

Facilities 8

Inform students of class logistics and rules for the training site 8

Microsoft Learning 9

Describe other Microsoft learning courses related to this one 9

Microsoft Certification Program 10

Fact: Describe certifications for which this course helps you prepare 10

About This Course 13

Describe the audience prerequisites and objectives for this course 13

Course Outline 15

Describe the course outline 15

Setup 16

Describe the student computer configuration for this course 16

Demonstration: Using Virtual PC 18

Describe how to use Virtual PC 18

Expectations for This Course 20

Describe the expectations for this course 20

What Matters Most in This Course? 21

Describe what matters most in this course 21

Introduction to Adventure Works Cycles 23

Describe the fictitious company used in the lab scenarios 23

Trang 12

MCT USE ONLY STUDENT USE PROHIBITED

At the end of this module, you will be able to describe this course and its purpose

Trang 13

MCT USE ONLY STUDENT USE PROHIBITED

Introduction

Introduce yourself, and provide a brief description of your background

Trang 14

MCT USE ONLY STUDENT USE PROHIBITED

Student Materials compact disc

The Student Materials compact disc (CD) contains the Web page that provides links to resources pertaining to this course, including additional reading, review and lab answers, lab files,

multimedia presentations, and course-related Web sites To open the Web page, insert the Student Materials CD into the CD-ROM drive, and then, in the root directory of the CD, double-click

Autorun.exe or Default.htm

Trang 15

MCT USE ONLY STUDENT USE PROHIBITED

must be typed exactly as shown It also indicates commands

on menus and buttons, and indicates dialog box titles and options, and icon and menu names

Italic In syntax statements or descriptive text, indicates argument

names or placeholders for variable information Italic is also used for introducing new terms, for book titles, and for emphasis in the text

Title Capitals Indicate domain names, user names, computer names,

directory names, and folder and file names, except when specifically referring to case-sensitive names Unless otherwise indicated, you can use lowercase letters when you type a directory name or file name in a dialog box or at a command prompt

ALL CAPITALS Indicate the names of keys, key sequences, and key

combinations — for example, ALT+SPACEBAR

.NET are separated by a forward slash when casing differs

[ ] In syntax statements, enclose optional items For example,

[filename] in command syntax indicates that you can choose

to type a file name with the command Type only the information within the brackets, not the brackets themselves

{ } In syntax statements, enclose required items Type only the

information within the braces, not the braces themselves

| In syntax statements, separates an either/or choice

Ç Indicates a procedure with sequential steps

In syntax statements, specifies that the preceding item may

be repeated It also represents an omitted portion of a code sample

Providing feedback

To provide additional comments or feedback about the course, send e-mail to support@mscourseware.com To ask about the Microsoft Certification Program, send e-mail to mcphelp@microsoft.com

Trang 16

MCT USE ONLY STUDENT USE PROHIBITED

Microsoft Learning Product Types

Fact: Describe the different kinds of Microsoft Learning products

Microsoft Learning product types

Microsoft Learning offers four instructor-led Official Microsoft Learning Product types Each type is specific to a particular audience and level of experience The various product types also tend to suit different learning styles These types are as follows:

Courses are for information technology (IT) professionals and developers who are new to a particular product or technology and for experienced individuals who prefer to learn in a traditional classroom format Courses provide a relevant and guided learning experience that combines lecture and practice

to deliver thorough coverage of a Microsoft product or technology Courses are designed to address the needs of learners engaged in the planning, design, implementation, management, and support phases of the technology adoption lifecycle They provide detailed information by focusing on concepts and principles, reference content, and in-depth, hands-on lab activities to ensure knowledge transfer Typically, the content of a course is broad, addressing a wide range of tasks necessary for the job role

Workshops are for knowledgeable IT professionals and developers who learn best by doing and exploring Workshops provide a hands-on learning experience in which participants can use Microsoft products in a safe and collaborative environment based on real-world scenarios Workshops are the learning products in which students learn by doing through scenario and through troubleshooting hands-on labs, targeted reviews, information resources, and best practices, with instructor facilitation

Trang 17

MCT USE ONLY STUDENT USE PROHIBITED

Clinics are for IT professionals, developers, and technical decision makers Clinics offer a detailed presentation that may describe the features and functionality of an existing or new Microsoft product

or technology, provide guidelines and best practices for decision making, and/or showcase product demonstrations and solutions Clinics focus on how specific features will solve business problems

Stand-alone Hands-On Labs provide IT professionals and developers with hands-on experience with

an existing or new Microsoft product or technology Hands-on labs provide a realistic and safe environment to encourage knowledge transfer by learning through doing The labs provided are completely prescriptive so that no lab answer keys are required There is very little lecture or text content provided in hands-on labs, aside from lab introductions, context setting, and lab reviews

Trang 18

MCT USE ONLY STUDENT USE PROHIBITED

Facilities

Inform students of class logistics and rules for the training site

Trang 19

MCT USE ONLY STUDENT USE PROHIBITED

Each course relates in some way to another course A related course might be a prerequisite, a

follow-up course in a recommended series, or a course that offers additional training

Other related courses might become available in the future, so for up-to-date information about recommended courses, visit the Microsoft Learning Web site

Microsoft Learning information

For more information, visit the Microsoft Learning Web site at http://www.microsoft.com/learning/

Trang 20

MCT USE ONLY STUDENT USE PROHIBITED

Microsoft Certification Program

Fact: Describe certifications for which this course helps you prepare

Introduction

Microsoft Learning offers a variety of certification credentials for developers and IT professionals

The Microsoft Certified Professional (MCP) program is the leading certification program for validating your experience and skills, keeping you competitive in today’s changing business environment

Related certification exams

This course helps students to prepare for:

• Exam 70–431: TS: Microsoft® SQL Server™ 2005 - Implementation and Maintenance

• Exam 70–444: PRO: Optimizing and Maintaining a Database Administration Solution by Using Microsoft SQL Server 2005

Trang 21

MCT USE ONLY STUDENT USE PROHIBITED

MCSA on Microsoft Windows Server™ 2003

The Microsoft Certified Systems Administrator (MCSA) certification is designed for professionals who implement, manage, and troubleshoot existing network and system environments based on the Windows Server 2003 platform Implementation responsibilities include installing and configuring parts of systems Management responsibilities include administering and supporting systems

MCSE on Microsoft Windows Server 2003

The Microsoft Certified Systems Engineer (MCSE) credential is the premier certification for professionals who analyze business requirements and design and implement infrastructure for business solutions based on the Windows Server 2003 platform Implementation responsibilities include installing, configuring, and troubleshooting network systems

MCAD

The Microsoft Certified Application Developer (MCAD) for Microsoft NET credential is appropriate for professionals who use Microsoft technologies to develop and maintain department-level applications, components, Web or desktop clients, or back-end data services, or who work in teams developing enterprise applications This credential covers job tasks ranging from developing to deploying and maintaining these solutions

based, N-tier, and transaction-based applications The credential covers job tasks ranging from

analyzing business requirements to maintaining solutions

MCDBA on Microsoft SQL Server™ 2000

The Microsoft Certified Database Administrator (MCDBA) credential is the premier certification for professionals who implement and administer SQL Server databases The certification is appropriate for individuals who derive physical database designs, develop logical data models, create physical databases, create data services by using Transact-SQL, manage and maintain databases, configure and manage security, monitor and optimize databases, and install and configure SQL Server

MCP

The Microsoft Certified Professional (MCP) credential is for individuals who have the skills to successfully implement a Microsoft product or technology as part of a business solution in an organization Hands-on experience with the product is necessary to successfully achieve certification

Trang 22

MCT USE ONLY STUDENT USE PROHIBITED

MCT

Microsoft Certified Trainers (MCTs) demonstrate the instructional and technical skills that qualify them to deliver Official Microsoft Learning Products through a Microsoft Certified Partner for Learning Solutions (CPLS)

Certification requirements

Certification requirements differ for each certification category and are specific to the products and job functions addressed by the certification To become a Microsoft Certified Professional, you must pass rigorous certification exams that provide a valid and reliable measure of technical proficiency and expertise

For More Information See the Microsoft Learning Web site at http://www.microsoft.com/learning/

You can also send e-mail to mcphelp@microsoft.com if you have specific certification questions

Acquiring the skills tested by an MCP exam

Official Microsoft Learning Products can help you develop the skills that you need to do your job

They also complement the experience that you gain while working with Microsoft products and technologies However, no one-to-one correlation exists between Official Microsoft Learning Products and MCP exams Microsoft does not expect or intend for the courses to be the sole preparation method for passing MCP exams Practical product knowledge and experience is also necessary to pass MCP exams

To help prepare for MCP exams, use the preparation guides that are available for each exam Each Exam Preparation Guide contains exam-specific information, such as a list of the topics on which you will be tested These guides are available on the Microsoft Learning Web site at

http://www.microsoft.com/learning/

Trang 23

MCT USE ONLY STUDENT USE PROHIBITED

About This Course

Describe the audience prerequisites and objectives for this course

Description

The purpose of this 1-day course is to teach database administrators working in enterprise environments to administer and automate databases and servers It emphasizes that students should think about their whole environment, including business needs; and network, systems, and database considerations during design

Audience

The audience of this course is professional-level database administrators (DBAs)

Course prerequisites

This course has the following prerequisites:

Must understand how replication works and how replication is implemented

Must have working knowledge of source control software Specifically, what it is used for

and how it works

Must have working knowledge of networking Specifically, how to isolate a failure to

identify where a failure is occurring

Must have basic working knowledge of security infrastructures Specifically, Active

Directory infrastructure

Trang 24

MCT USE ONLY STUDENT USE PROHIBITED

Must have some experience with database design Specifically, they must fully understand

Third Normal Form (3NF), be able to design a database to 3NF (fully normalized), and know the tradeoffs when backing out of the fully normalized design (denormalization; that is, designing for performance and or business requirements) They should also be familiar with specific design models, such as Star and Snowflake schemas

Must have basic monitoring and troubleshooting skills

Must have working knowledge of the operating system and platform That is, how the

operating system integrates with the database, what the platform or operating system can do, and the interaction between the operating system and the database

Must have basic knowledge of application architecture That is, how applications can be

designed in three layers, what applications can do, interactions between applications and the database, and interactions between the database and the platform or operating system

Must know how to use:

o Third-party database administration and management tools

o Source control software

Must have been exposed to the new features and terminology of Microsoft SQL Server

2005

Important This learning product will be most useful to people who are already working in the job role of Database Administrator and who intend to use their new skills and knowledge on the job immediately after training

Course objectives

After completing the course, you will be able to:

• Manage and automate databases and servers

• Manage supporting services

Trang 25

MCT USE ONLY STUDENT USE PROHIBITED

Course Outline

Describe the course outline

Course outline

Module 1: Managing and Automating Databases and Servers provides you the guidelines and

considerations for planning automated systems for databases and servers This module also provides you the knowledge required to maintain a run book

Module 2: Managing SQL Server Supporting Services introduces the concept of SSIS packages and

provides the guidelines to deploy and manage SSIS packages This module also provides the guidelines and considerations for maintaining replication and reporting services

Trang 26

MCT USE ONLY STUDENT USE PROHIBITED

Setup

Describe the student computer configuration for this course

Virtual PC configuration

In this course, you will use Microsoft Virtual PC 2004 to perform the hands-on practices and labs

There is one virtual machine for each module, and the virtual machines are named

2789A-MIA-SQL-nn, where nn is the module number

Important

If, when performing the hands-on activities, you make any changes to the virtual machine and do not want to save them, you can close the virtual machine without saving the changes This will take the virtual machine back to the most recently saved state To close a virtual machine without saving the

changes, perform the following steps: 1 On the virtual machine, on the Action menu, click Close 2

In the Close dialog box, in the What do you want the virtual machine to do? list, click Turn off

and delete changes, and then click OK

If you save changes, any operation that affects system configuration or files on drive C will be persisted between modules, but each module has its own D drive

Trang 27

MCT USE ONLY STUDENT USE PROHIBITED

Software configuration

The classroom computers use the following software:

• Microsoft Windows Server 2003

Each classroom computer will have the same virtual machine configured in the same way Windows

Server 2003 is installed in a workgroup and has the server name MIAMI Three instances of SQL

Server 2005 are installed: a default instance and two named instances with the names

SQLINSTANCE1 and SQLINSTANCE2

Course hardware level

To ensure a satisfactory student experience, Microsoft Learning requires a minimum equipment configuration for trainer and student computers in all Microsoft Certified Partner for Learning Solutions (CPLS) classrooms in which Official Microsoft Learning Products are used This course requires computers that meet or exceed the following specification:

Processor Pentium III or equivalent personal computer with processor speed greater than or equal to 1 GHz

Hard Disk At least 18 GB 7200 RPM; larger drives are recommended where storage of multiple–Virtual PC courses

is desired

RAM At least 1 GB

Network Adapter 10/100 Mb/s required** full duplex

Sound Card yes

Video Adapter At least 4 MB

Monitor Super VGA monitor (17 inch/ 43 cm)

Ports PCI bus must meet 2.1 specs

Trang 28

MCT USE ONLY STUDENT USE PROHIBITED

Demonstration: Using Virtual PC

Describe how to use Virtual PC

Virtual PC demonstration

In this demonstration, your instructor will help familiarize you with the Virtual PC environment in which you will work to complete the practices and labs in this course You will learn:

• How to start Virtual PC

• How to start a virtual machine

• How to log on to a virtual machine

• How to switch between full screen and window modes

• How to distinguish the virtual machines that are used in the practices for this course

• That the virtual machines can communicate with each other and with the host computer, but they cannot communicate with computers that are outside the virtual environment (For example, no Internet access is available from the virtual environment.)

• How to close Virtual PC

Trang 29

MCT USE ONLY STUDENT USE PROHIBITED

Keyboard shortcuts

While working in the Virtual PC environment, you might find it helpful to use keyboard shortcuts All Virtual PC shortcuts include a key that is referred to as the HOST key or the RIGHT-ALT key By default, the HOST key is the ALT key on the right side of your keyboard Some useful shortcuts include:

• RIGHT-ALT+DELETE to log on to the Virtual PC

• RIGHT-ALT+ENTER to switch between full-screen and window modes

• RIGHT-ALT+RIGHT ARROW to display the next virtual machine

For more information about using Virtual PC, see Virtual PC Help

Trang 30

MCT USE ONLY STUDENT USE PROHIBITED

Expectations for This Course

Describe the expectations for this course

Expectations

This course will prepare you for the job of designing SQL Server maintenance and automation strategies Also, the strategies are not presented as rules because they can implemented in a number of different ways Finally, the class is a collaborative experience and you will get more out of it if you fully participate and are willing to share previous experiences with the class

Trang 31

MCT USE ONLY STUDENT USE PROHIBITED

What Matters Most in This Course?

Describe what matters most in this course

Introduction

The design of this course emphasizes a number of key topics and skills The following table summarizes the types of learning you will be doing and the associated skills you will acquire by the end of the course The course is an intensive one day course and concentrates on knowledge and skills that can be put into immediate practice in automating the administration and maintenance of SQL Server 2005 databases and servers in enterprise environments

Categories Achievement targets for this title (and proposed place to teach and/or reinforce) Most important

conceptual knowledge and understanding

o Best practices for administering and managing SSIS packages (Module 2)

o Best practices for administering and managing RS packages (Module 2)

o Best practices for administering and managing replication (Module 2)

o Good change control strategies (Module 1)

o Methods for automating the management of large numbers of servers (Module 1)

o The ramifications of server maintenance on performance and availability (e.g., index rebuilds) (Module 1)

o The role of automation in increasing productivity Management takes a lot of time, need to automate daily activities (Module 1 and 2)

Trang 32

MCT USE ONLY STUDENT USE PROHIBITED

Categories Achievement targets for this title (and proposed place to teach and/or reinforce) Most important

problems for students to solve

o Deciding which types of tasks can benefit from automation and which can’t (Module 1)

o Maximize the availability and minimize the performance impact of server maintenance (Module 1 and 2)

o Managing development, test, and product databases (Module 1)

Most important classroom performance skills

(instructor, others,

or self must be able

to observe this skill

being performed)

o Design change management procedures (Module 1)

o Design and implement a database maintenance strategy (Module 1)

o Manage packages (Module 2)

o Manage reports (Module 2)

o Manage replication (Module 2)

Most important products to create during the class

o Database run book (a personal log) (Module 1)

o Database maintenance strategy document (Module 1)

o Database change control solution (Module 1)

Most important dispositions

(attitudes, interests, beliefs)

o Attention to detail, meticulous

o Ability to handle significant pressure and responsibility

o Ability to say no to developers

o Understanding the importance of the data and protecting it; stewardship

Note to design team Due to the time constraints of our courses, students do NOT need

to demonstrate these dispositions (or even agree with them) However, for ILT, this information should at least be communicated to instructors, who can share this information with students, watch for these things during learner activities, and praise students individually for what they see them demonstrate This information could also

be shared with students via a “What Matters Most” appendix or some other way

Important

As the course progresses, if you feel that you have not adequately learned something mentioned in this table, ask questions of the instructor and your peers until you are satisfied that you understand a concept or know how to do something Also, you will not be able to learn everything you need to do this complex job in a one-day course Take note of the recommended additional reading included throughout the course, and schedule yourself some additional time to read the supplementary materials Your instructor and peers will have additional and more up-to-date ideas about where to go for additional information Ask them about additional resources that you can use after class

Trang 33

MCT USE ONLY STUDENT USE PROHIBITED

Introduction to Adventure Works Cycles

Describe the fictitious company used in the lab scenarios

Introduction

Adventure Works Cycles is a dynamically evolving company undergoing rapid growth It has a number of offices and changing database requirements During this course, you will work with a number of different issues that are facing Adventure Works Cycles to address the problems that its growth is creating, particularly with regard to daily administration and maintenance of its SQL Server

2005 databases and servers

Branch sales offices are located in Barcelona and Hong Kong, and manufacturing is located in a wholly owned subsidiary in Mexico

The Adventure Works Computing Environment

The company began with fairly basic computing requirements and facilities It has steadily grown and required additional computing resources in order to support its growth as an Internet-based global

Trang 34

MCT USE ONLY STUDENT USE PROHIBITED

business It has a number of servers as described below and is suffering from problems with lack of storage space, a part-time database administrator who is struggling to keep up with the demands of the business growth, and increasing need for data availability and reporting

As the company is heavily focused on an internet sales strategy it needs a reliable 24x7 computing infrastructure environment to support its head office and regional sales offices

Network Environment

Adventure Works runs a database server, an Exchange server, a Web server, and a file server that is running out of space

Database Server Environment

The main OLTP database for Adventure Works Cycles is AdventureWorks, housed at the headquarters Another database that serves as a data warehouse is also installed on the AdventureWorks database server SQL Server 2005 Reporting Services is also used

Current Situation

The part-time DBA has not identified an automation strategy Therefore, you need to establish the automation strategy and maintain the administration and automation document The reporting services load is high, the data warehouse is becoming more important to the business operations, and the company is considering scaling out to another database server

Your role in Adventure Works Cycles

Adventure Works Cycles has not been able to afford a full-time DBA and has been getting by with part-time database support You have been hired to provide full-time DBA support and are now working on fixing gaps that have been identified in the Adventure Works systems There are several key requirements: to automate the running and maintenance of this highly demanding environment, to provide a stable database environment that can reliably support the business critical data warehouse, and the increasing demands of the reporting services From its experience with part-time DBAs, the management of the company is insistent that the new DBAs properly document the system and keep documentation up-to-date with any changes to environment, processes, or procedures

Trang 35

MCT USE ONLY STUDENT USE PROHIBITED

and Servers

Time estimated: 160 minutes Module 1: Managing and Automating Databases and Servers 1Lesson 1: Planning an Automated System for Database Maintenance 4Plan an automated system for database maintenance 4Considerations for Automating Database Administration 5Principle: Evaluate considerations for automating database administration 5Considerations for Using SQL Server Agent 7Fact: Describe considerations for using SQL Server Agent 7Guidelines for Assessing System Dependencies on the Database 9Principle: Apply guidelines to assess system dependencies on the database 9Demonstration: Considerations for Monitoring and Verifying Scheduled Tasks 11Principle: Evaluate considerations for monitoring and verifying automation 11Considerations for Identifying Maintenance Needs 15Principle: Evaluate considerations for identifying maintenance needs 15Guidelines for Automating Database Maintenance Plans 19Principle: Apply guidelines for automating database maintenance plans 19Lesson 2: Planning an Automated System for Server Maintenance 21Plan an automated system for server maintenance 21Guidelines for Implementing Application Database Changes 22Principle: Apply guidelines for implementing application database changes 22Considerations for Implementing Windows and SQL Server Updates 24Principle: Evaluate considerations for implementing Windows and SQL Server updates 24Multimedia: Considerations for Managing Multiple Servers in the Enterprise Environment 26Principle: Evaluate considerations for managing multiple servers in the enterprise 26Lesson 3: Documenting Administration and Automation Information 27Document administration and automation information in a run book 27Multimedia: The Importance of Documenting Information 28Fact: Explain the importance of documenting administration and automation information in a run book 28Discussion: Considerations for Implementing a Run Book 30

Trang 36

MCT USE ONLY STUDENT USE PROHIBITED

Principle: Evaluate considerations for implementing a run book 30Guidelines for Maintaining a Run Book 32Principle: Apply guidelines for maintaining a run book 32The SQL Health and History Tool 34Concept: Explain the concept of the SQL H2 tool 34Lab: Managing and Automating Databases and Servers 36Exercise 1: Creating Maintenance Plans 38Exercise 2: Creating Database Change Control Procedures 41Exercise 3: Configuring and Using the SQL H2 Tool 42

Trang 37

MCT USE ONLY STUDENT USE PROHIBITED

Module objective:

After completing this module you will be able to:

Manage and automate databases and servers

Introduction

In the daily administration of a Microsoft® SQL Server installation there are a number of tools and techniques that can make the everyday running, maintenance, and record keeping about the installation less burdensome for the database administrator (DBA) A well-run installation that uses proactive management techniques is less likely to have performance problems, database corruption, faulty backups, or other problems than sites that do not use automation and documentation properly

Such automation also reduces problems caused by human error If you carefully plan and document the various automated processes and procedures, you can minimize downtime in the event of database disaster recovery situations and other routine DBA interventions, such as rolling back an incorrect global update

In this module, you will learn how to plan and implement automation procedures and processes that help you maintain SQL Server databases and servers You will also learn how to document these plans and procedures in a run book so that the information about the entire set of processes is properly described and maintained This planning and implementation make it much easier for any DBA, even

a temporary contract DBA, to know what activity to do, how to do it, and when to do it

Trang 38

MCT USE ONLY STUDENT USE PROHIBITED

Lesson 1: Planning an Automated System for Database Maintenance

Lesson objective After completing this lesson, you will be able to:

Plan an automated system for database maintenance

Introduction

Many database maintenance tasks are repetitive and sometimes tedious Through careful planning and proper implementation of database administration and maintenance plans, the DBA can ensure that databases are fully and properly maintained in a timely manner By documenting those policies and procedures in a run book, the DBA can also ensure that, even when he or she is not on site, other DBAs can properly administer and maintain the databases and associated systems

In this lesson, you will learn about the benefits of automating database maintenance tasks and how to plan automated database maintenance solutions You will learn to identify database maintenance tasks, evaluate their effect on a database system and other processes, and monitor and verify the execution of these tasks You will also learn why you need maintenance plans and see how SQL Server Management Studio helps you schedule maintenance plans and other automated activities

Trang 39

MCT USE ONLY STUDENT USE PROHIBITED

Considerations for Automating Database Administration

Principle: Evaluate considerations for automating database administration

What to automate

At the database level there are many activities that benefit from automation

Tasks that must be performed at scheduled intervals

• Index and fill-factor maintenance

• Backups of databases and transaction logs

• Backups of system databases

• Regular data imports from other data sources (such as Microsoft Office Access, Microsoft Office Excel®, Oracle, or DB2)

• Routine execution of SQL Server Integration Services (SSIS) packages

• Regular archiving of data from active tables into historic tables

• Reporting and replication activities

Commonly occurring ad hoc tasks

• Password resets

• New user creation

Trang 40

MCT USE ONLY STUDENT USE PROHIBITED

Database consistency checking tasks

• Scheduled database consistency checks

• Regular data sampling and extraction for testing or other review

• Execution of system procedures to collect database data

• Execution of user-defined procedures or system procedures to automatically produce key metrics and documentation

Tasks that respond to periodic, critical, or predictable events

• Response to alerts generated by database events (for example, transaction logs becoming full)

• Responses to critical database security events (for example, audit trail alerting)

• Scheduled refresh of statistics on infrequently used tables just prior to their monthly use, for example

• Responses to various Key Performance Indicators (KPIs) which have been defined as business-critical

• Responses to database instance performance conditions

What not to automate

Although it is possible to automate most operations in SQL Server 2005, you must carefully weigh the benefits of automation against the time and effort taken to implement automation Automation of the following types of tasks generally provides little benefit

Tasks that occur only once

• Server configuration changes

• Adding storage devices

• Adding backup devices

• One-off tasks that involves data import or use of Microsoft Office products (for example, Microsoft Office Word, Excel, or Access), in which application menu options already provide the required functionality

Tasks that take a long time to automate

• A complex sequence of steps that involves multiple data sources in a one-off data load scenario

Tasks that can cause unanticipated exceptions

• Warnings in Reporting Services

• Faulty application processes

Tip Often, these cases not to automate are not entirely clear-cut It might be worthwhile to automate some activities that are susceptible to exceptions to see how long it takes, so you can decide whether it is worthwhile for other similar activities Additionally, an activity that started off as a low-frequency event might become more common, and then the investment in the time to automate the process or procedure can prove to be more beneficial than first thought Consequently, it is important to review your database administration processes and requirements on a regular basis

Ngày đăng: 05/03/2014, 17:20

TỪ KHÓA LIÊN QUAN

w