Professional Documents
Culture Documents
Automating
Administrative Tasks
Overview
Benefits of Automation
What Is the Maintenance Plan Wizard?
What Is SQL Server Agent?
Practice: Using the Maintenance Plan Wizard
Benefits of Automation
Database Mail
Uses SMTP
Requires mail profile for the SQL Server Agent account
SQL Server Agent account must be a member of the
DatabaseMailUserRole
SQL Server Agent service must be restarted
SQL Mail
MAPI-based
Uses Microsoft Exchange Server
Included for backward compatibility
Demonstration: Configuring Database Mail
What Is a Job?
What Are Operators?
How to Create Job Steps
What Is the Job Activity Monitor?
Practice: Implementing Operators and Jobs
What Is a Job?
No
Notify operator
Job step 3: Custom Yes
Fail?
Application (ActiveX Script)
No
Notify operator
What Is the Job Activity Monitor?
What Is an Alert?
How to Create an Alert
Practice: Implementing Alerts
What Is an Alert?
Master server
Holds central copy of job definitions
Distributes jobs to enlisted target servers
Receives messages from enlisted target servers
Target servers
Are assigned to one master server
Connect periodically to the master server to update their
schedule of jobs
Download any new jobs
Considerations for Multi-Server Jobs
SQL Server Agent service and the SQL Server service must be running
as Windows domain accounts
First server enlisted becomes the master server; subsequent servers
enlisted become target servers
MSXOperator is created on master server to receive notifications
Create jobs on the master server and specify the required
target servers
What Is Event Forwarding?