Chapter 10.

Slides:



Advertisements
Similar presentations
Your Data Any Place, Any Time Manageability. SQL Server 2008 Manageability Challenges Challenges face database administrators today : Managing complex.
Advertisements

Discovering SQL all rights reserved (c) 2010 agilitator.com INSTALLING MS SQL Server 2008 R2 Express Edition.
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 9: Implementing and Using Group Policy.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
11 SUPPORTING LOCAL USERS AND GROUPS Chapter 3. Chapter 3: Supporting Local Users and Groups2 SUPPORTING LOCAL USERS AND GROUPS  Explain the difference.
Concepts of Database Management Sixth Edition
Lesson 18: Configuring Application Restriction Policies
BUSINESS DRIVEN TECHNOLOGY
1 Introduction 2 SQL Server 2008 Policy-Based Management Central Management Servers Extending with Windows PowerShell.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
SQL Server Management Studio Introduction
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
Windows Server 2008 Chapter 11 Last Update
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Module 13 Automating SQL Server 2008 R2 Management.
Module 2: Using Transact-SQL Querying Tools. Overview SQL Query Analyzer Using the Object Browser Tool in SQL Query Analyzer Using Templates in SQL Query.
Chapter 17: Watching Your System BAI617. Chapter Topics Working With Event Viewer Performance Monitor Resource Monitor.
September 18, 2002 Introduction to Windows 2000 Server Components Ryan Larson David Greer.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
ASP.NET Programming with C# and SQL Server First Edition
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 5: Managing File Access.
Chapter 4 The Relational Model 3: Advanced Topics Concepts of Database Management Seventh Edition.
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
Moodle (Course Management Systems). Managing Your class In this Lecture, we’ll cover course management, including understanding and using roles, arranging.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
A PRIMER FOR KEEPING YOUR ENVIRONMENT IN SHAPE. SQL Server 2008 Policy Based Management By Scott Abrants.
1 Chapter Overview Publishing Resources in Active Directory Service Redirecting Folders Using Group Policies Deploying Applications Using Group Policies.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Triggers A Quick Reference and Summary BIT 275. Triggers SQL code permits you to access only one table for an INSERT, UPDATE, or DELETE statement. The.
Storing Organizational Information - Databases
1 Chapter Overview Introducing Replication Planning for Replication Implementing Replication Monitoring and Administering Replication.
Overview of the SAS® Management Console
Module 15 Monitoring SQL Server 2008 R2 with Alerts and Notifications.
Navigating SQL Server Lesson 3. Skills Matrix Graphical User Interface (GUI) Management Tools SQL Server Management Studio SQL Server Configuration Manager.
SharePoint enhancements through SQL Server RSS integration with SharePoint What’s New Elimination of IIS
Clifford Dibble Program Manager Microsoft Corporation SESSION CODE: DAT208.
2. SQL Security Objectives –Learn SQL Server 2000 components Contents –Understanding the Authentication Process –Understanding the Authorization Process.
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
Database Security. Multi-user database systems like Oracle include security to control how the database is accessed and used for example security Mechanisms:
Under New Management Andrew Fryer Microsoft UK Andrew Fryer Microsoft UK.
SQL Server 2008 R2 Manageability. Challenges facing database administrators today: Scaling management to multiple data centers Proactively monitoring.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
BI Practice March-2006 COGNOS 8BI TOOLS COGNOS 8 Framework Manager TATA CONSULTANCY SERVICES SEEPZ, Mumbai.
SQL SERVER AUDITING. Jean Joseph DBA/Consultant Contact Info: Blog:
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
17 Copyright © 2006, Oracle. All rights reserved. Information Publisher.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
11 Copyright © 2009, Oracle. All rights reserved. Enhancing ETL Performance.
SQL Database Management
Policy Based Management
Hands-On Microsoft Windows Server 2008
Policy Based Management: Introduction & implementation
Policy Based Management: Introduction & implementation
Deploying and Configuring SSIS Packages
Reduce TCO Using Policy-Based Management and Windows PowerShell
Lessons Vocabulary Access 2016.
Governing Your Enterprise with Policy-Based Management
Presentation transcript:

Chapter 10

What is Policy-Based Management? Policy-Based Management is a new feature allows administrators to define rules for one or more SQL Servers and enforce them so one administrator can manage one or more servers by preventing servers from being out of compliance with his or her policies. For example, you can use policies to enforce naming conventions in a database.

What is Policy-Based Management? You may have several servers that you want to have the same settings of various configuration options. Policy-Based Management will allow you to discover when one of those servers goes out of compliance. Policies can be applied to a single server or many servers.

Policy-Based Management’s Goal Management by intent Intelligent monitoring Virtualized management

Key Concepts Facets Conditions Policies Categories Targets Execution mode Central management Servers

Facets A facet is a collection of properties for an object such as a table, a stored procedure, or an audit. A facet’s properties are used to test various conditions. For example, the Table facet contains name, file group, owner and etc. properties Facets are pre-defined and the set of available facets cannot be extended in SQL Server 2008.

Facet example User Defined Function On Change: Prevent On Change: Log On Schedule User defined function AnsiNullsStatus CreateDate FunctionType ID ImplementationType IsDeterministic IsEncrypted IsSchemaBound IsSystemObject Owner QuotedIdentifierStatus TableVariableName AssemblyName ClassName ExecutionContext ExecutionContextPrincipal IsSchemaOwned MethodName ReturnsNullOnNullInput Schema Name bit datetime int sysname

Conditions A condition contains one or more Boolean expressions that can be combined with AND, OR, and NOT. The conditions can be quite complex. For example, the name of a stored procedure start with SP_

Targets A target is a SQL Server instance, one or more databases, one or more tables, or one or more indices. The targets form a hierarchy. If a policy is created at the server level, it applies to all the appropriate lower levels. A target is also called an “object set”.

Policies A policy is a rule based on a single condition and applied to one or more targets. A policy has an automation mode that describes what SQL Server should do when a policy is violated.

Category Categories can be used simply to group related policies. If you specify that a particular category is mandated for all databases, policies in the category will be applied to all databases. Otherwise, a database owner can subscribe to one or more policy categories. There is always a default category; policies not otherwise categorized are placed in this category and are applied to all databases.

Evaluation Modes There are four choices for policy evaluation: On Change: Prevent On Change: Log only On Schedule On Demand An administrator can create alerts that respond to the error and send notifications about the policy violations. Some facets do not support all the evaluation modes.

Nice picture  1 1 Category (optional) Policy Condition Expression Property Facet 1..* Target (ObjectSet) Subscribers 0..* Evaluation mode 1 1 1

Defining Policies The easiest way to define policies is to use the graphical tools in SQL Server Management Studio. Transact-SQL  not recommended. If you need to manipulate policies programmatically, you should use a .NET language and the policy management objects in the SQL Server Management Objects API.

Preparing for a simple policy Creating a Category Enter the category name and select whether you want the policy to apply to all databases Creating a Simple Condition A policy must have a condition. You can create the condition first from the Conditions context menu. You can also simply start with the policy, and create the policy from there.

Create a simple polity Policy, right click, new policy Provide name, condition (only one) If it is for every database and every stored procedure Set Evaluation mode Specify server May specify a category in “description” tab Enable the policy Test

Apply Policies To Multiple Instances Import and export policies Use the Central Management Servers

Policy-Based Management System Views syspolicy_policy_categories syspolicy_policies syspolicy_conditions syspolicy_policy_execution_history syspolicy_policy_execution_history_details syspolicy_system_health_state syspolicy_policy_category_subscriptions syspolicy_configuration syspolicy_object_sets syspolicy_target_sets