210 likes | 600 Vues
Governing Your Enterprise with Policy-Based Management. Lara Rubbelke Technology Specialist Data Platform Microsoft larar@microsoft.com http://sqlblog.com/blogs/lara_rubbelke/default.aspx. www.codeplex.com/EPMFramework. Enterprise Policy Management. Agenda.
E N D
Governing Your Enterprise with Policy-Based Management Lara Rubbelke Technology Specialist Data Platform Microsoft larar@microsoft.com http://sqlblog.com/blogs/lara_rubbelke/default.aspx
Agenda • Policy-Based Management Framework • Introduction to the Framework • Evaluation Modes • Extending Policy-Based Management to the Enterprise • Solution Architecture • Considerations for Large-Scale Environments • Centralized Reporting
Policy-Based Management Set of related logical properties Policy Specifies a set of allowed states of a managed target with regard to a facet Condition Defines the evaluation mode, target filters, and schedule of the conditions. Facet
On Demand EvaluationWindows PowerShell™ Integration • Windows PowerShell™ is a framework and runtime for executing management commands • Cmdlets are instances of .NET classes that process input objects from the pipeline • SQL Server Provider for Windows PowerShell™ encompasses SMO Invoke-PolicyEvaluation –Policy DatabaseStatus.xml, Trustworthy.xml -TargetServerName inst1 Invoke-SQLCMD –Query ”SELECT name FROM sys.Databases;” –ServerInstance “MyServer\Instance”
Policy Evaluation demo Introduction to Policy-Based Management Evaluating Policies with Windows PowerShell™
Agenda • Policy-Based Management Framework • Extending Policy-Based Management to the Enterprise • Solution Architecture • Considerations for Large-Scale Environments • Centralized Reporting
Extend to the Enterprise Bringing It All Together policy results Central Management Server policy results policy results policy results policy results policy results
Enterprise Policy Management demo Implementing the Enterprise Policy Management Framework
Extend to the Enterprise Bringing It All Together Central Management Server policy results policy results policy results policy results policy results policy results
Extend to the Enterprise Central Management Server • Logically group instances based on business function(s) • Centrally publish policies to groups of SQL Server 2008 instances • Evaluate policies on-demand against a group of servers • Filter by logical groups in Windows PowerShell™ scripts
Extend to the Enterprise Scaling PowerShell Evaluation • Add Intelligence to Policies • Place each policy in a category • Define server restrictions for versions and editions where appropriate
Extend to the Enterprise Scaling PowerShell Evaluation • Create Custom Server Groups in the CMS • Run specific policies against a list of servers • Examples: Production, Development, PCI • Define Concurrent Jobs • Define multiple concurrent executions based on Policy Category and/or logical Central Management Server group
Extend to the Enterprise Benefits of Upgrading to SQL Server 2008 • Real-Time Enforcement and Reporting • Monitor the event log through Alerting integration • Advanced functionality and integration with SSMS • Dependency, health states, subscriptions, history • Scale • Security • Access to other rich features in SQL Server 2008
EPM Framework V3: What’s Coming… • Report Filters by Server Group • Centralization of SQL Server 2008 Policy History
Centralizing Policy HistorySQL Server 2008 Central Management Server policy results policy results SSIS policy results syspolicy_policy_execution_history syspolicy_policy_execution_history_details policy results
Additional ResourcesPolicy Based Management • Enterprise Policy Management Framework • http://www.codeplex.com/EPMFramework • Policy Based Management Blog • http://blogs.msdn.com/sqlpbm/default.aspx • Lara Rubbelke’s Blog • http://sqlblog.com/blogs/lara_rubbelke/default.aspx • Dan Jones’ Blog • http://blogs.msdn.com/dtjones/default.aspx • Buck Woody’s Blog • http://blogs.msdn.com/buckwoody/default.aspx
Additional ResourcesWindows PowerShell™ • To learn more about the Windows PowerShell™ scripting Language • http://www.microsoft.com/downloads/details.aspx?FamilyID=b4720b00-9a66-430f-bd56-ec48bfca154f&DisplayLang=en • Windows PowerShell™ Blog • http://blogs.msdn.com/powershell/ • Allen White’s Blog • http://sqlblog.com/blogs/allen_white/ • SQL Server PowerShell Overview • http://msdn.microsoft.com/en-us/library/cc281954.aspx