14.04.2013 Views

SQL SERVER 2008

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

466 ❘ CHAPTER 16 DELIVERING MANAGEABILITY AND PERFORMANCE<br />

When creating overrides, it is useful to store these outside the “sealed” management packs that are<br />

provided by Microsoft. This provides isolation between the pre-packaged, downloaded management<br />

packs and anything that is organization or server specifi c. Defi ne an organization standard for naming<br />

the management packs where overrides are saved — for example, you could create a new MP for<br />

the Windows Server <strong>2008</strong> R2 customizations and name it Windows Server <strong>2008</strong> R2 — Overrides.<br />

This clearly delimits the in-box and custom functionality.<br />

Importing Management Packs<br />

The Windows and <strong>SQL</strong> Server management packs (MPs) are published by Microsoft, version controlled,<br />

and released for public consumption free of charge. Download the latest version and import<br />

it into SCOM. Any dependencies between management packs are indicated at the time of import.<br />

The MP download includes a Word document that is a guide to describe the setup process, rules,<br />

and monitors, and contains any last-minute breaking changes.<br />

The import/export functionality can also be used as a backup and recovery method for custom management<br />

packs in case a management pack rollback is required.<br />

SCOM AND <strong>SQL</strong> AGENT<br />

By default, the SCOM alerts will alert only on job failure. If there is a step failure<br />

but the “On failure” job step is set to continue, then no alert is raised. This is the<br />

out-of-the-box behavior and may be changed if required.<br />

Management Pack Authoring<br />

The greatest value derived from any monitoring process is the creation of health checks that identify<br />

key aspects of the application platform and provide detailed data collection. As such, SCOM is a<br />

great platform to develop this custom monitoring in the form of management pack authoring.<br />

One such example for <strong>SQL</strong> Server is checking for the most recent full backup, a feature that isn’t<br />

included out-of-the-box. This is a good example in which SCOM can alert based on <strong>SQL</strong> Agent job<br />

failures; however, in some situations <strong>SQL</strong> Agent is disabled, the database maintenance job schedule<br />

becomes disabled, or for some reason the backup job does not run. Without proactive monitoring to<br />

check for the last good backup, situations like these could continue unnoticed for some time. This<br />

is a good scenario in which authoring a custom monitor to check for the backup event would be<br />

useful.<br />

SUMMARY<br />

This chapter provided an overview of manageability in <strong>SQL</strong> Server 2012. You learned about several<br />

enhancements, including improvements to the database restore wizard, contained databases, <strong>SQL</strong><br />

Server Management Studio functionality, and the Database Tuning Advisor.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!