Automated Administration How-to Topics (SQL Server Management Studio)
This topic defines automated administration and its components, multi-server administration, and introduces Microsoft SQL Server tools for defining automated tasks.
What Is Automated Administration?
Automated administration is the programmed response to predictable administrative responsibilities or server events. Administrators, application writers, and analysts operating data warehouses can benefit from task automation. To automate administration:
- Establish which administrative responsibilities or server events occur regularly and can be administered programmatically.
- Define a set of jobs and alerts.
- Run the SQL Server Agent service.
Why Should I Automate Administration?
The job of an administrator entails various administrative duties that do not change from day to day and can be tedious chores. By automating recurring administrative tasks and responses to server events, you free time to perform other tasks that require creativity and lack predictable or programmable responses.
In This Section
To perform general tasks with SQL Server Agent
- How to: Set the Service Startup Account for SQL Server Agent (SQL Server Configuration Manager)
- How to: Set the SQL Server Connection (SQL Server Management Studio)
- How to: Set a SQL Server Alias (SQL Server Management Studio)
- How to: Set CPU Idle Time and Duration (SQL Server Management Studio)
- How to: Autostart SQL Server Agent (SQL Server Management Studio)
- How to: Send SQL Server Agent Error Messages (SQL Server Management Studio)
- How to: View SQL Server Agent Error Log (SQL Server Management Studio)
- How to: Rename a SQL Server Agent Error Log (SQL Server Management Studio)
- How to: Write Execution Trace Messages to the SQL Server Agent Error Log (SQL Server Management Studio)
To perform tasks that are related to SQL Server Agent Jobs
- How to: Create a Job (SQL Server Management Studio)
- How to: Disable a Job (SQL Server Management Studio)
- How to: Create a Job Category (SQL Server Management Studio)
- How to: Delete a Job Category (SQL Server Management Studio)
- How to: Assign a Job to a Job Category (SQL Server Management Studio)
- How to: Change the Membership of a Job Category (SQL Server Management Studio)
- How to: Give Others Ownership of a Job (SQL Server Management Studio)
- How to: Create a CmdExec Job Step (SQL Server Management Studio)
- How to: Create a Transact-SQL Job Step (SQL Server Management Studio)
- How to: Define Transact-SQL Job Step Options (SQL Server Management Studio)
- How to: Create an ActiveX Script Job Step (SQL Server Management Studio)
- How to: Set Job Step Success or Failure Flow (SQL Server Management Studio)
- How to: Set Up the Job History Log (SQL Server Management Studio)
- How to: View the Job History (SQL Server Management Studio)
- How to: Schedule a Job (SQL Server Management Studio)
- How to: Notify an Operator of Job Status (SQL Server Management Studio)
- How to: Write the Job Status to the Windows Application Log (SQL Server Management Studio)
- How to: Automatically Delete a Job (SQL Server Management Studio)
- How to: Start a Job (SQL Server Management Studio)
- How to: Stop a Job (SQL Server Management Studio)
- How to: View a Job (SQL Server Management Studio)
- How to: Resize the Job History Log (SQL Server Management Studio)
- How to: Clear the Job History Log (SQL Server Management Studio)
- How to: Modify a Job (SQL Server Management Studio)
- How to: Modify the Target Servers for a Job (SQL Server Management Studio)
- How to: Delete Jobs (SQL Server Management Studio)
- How to: Script Jobs Using Transact-SQL (SQL Server Management Studio)
- How to: Set Job Execution Shutdown (SQL Server Management Studio)
To perform tasks that are related to SQL Server Agent alerts
- How to: Create an Alert Using an Error Number (SQL Server Management Studio)
- How to: Create an Alert Using Severity Level (SQL Server Management Studio)
- How to: Define the Response to an Alert (SQL Server Management Studio)
- How to: Set the Mail Profile for SQL Server Agent (SQL Server Management Studio)
- How to: Disable or Reactivate an Alert (SQL Server Management Studio)
- How to: View Information about an Alert (SQL Server Management Studio)
- How to: Edit an Alert (SQL Server Management Studio)
- How to: Delete an Alert (SQL Server Management Studio)
- How to: Assign Alerts to an Operator (SQL Server Management Studio)
- How to: Format Pager Addresses (SQL Server Management Studio)
- How to: Script Alerts Using Transact-SQL (SQL Server Management Studio)
To perform tasks that are related to SQL Server Agent operators
- How to: Create an Operator (SQL Server Management Studio)
- How to: Assign Alerts to an Operator (SQL Server Management Studio)
- How to: Designate a Fail-Safe Operator (SQL Server Management Studio)
- How to: View Information About an Operator (SQL Server Management Studio)
- How to: Edit an Operator (SQL Server Management Studio)
- How to: Change an Operator's Availability (SQL Server Management Studio)
- How to: Delete an Operator (SQL Server Management Studio)
- How to: Script Operators Using Transact-SQL (SQL Server Management Studio)
To perform tasks that are related to automated administration in a multiserver environment involving master and target servers
- How to: Make a Master Server (SQL Server Management Studio)
- How to: Make a Target Server (SQL Server Management Studio)
- How to: Enlist a Target Server to a Master Server (SQL Server Management Studio)
- How to: Defect a Target Server from a Master Server (SQL Server Management Studio)
- How to: Defect Multiple Target Servers from a Master Server (SQL Server Management Studio)
- How to: Set the Polling Interval for Target Servers (SQL Server Management Studio)
- How to: Force a Target Server to Poll the Master Server (SQL Server Management Studio)
- How to: Modify the Target Servers for a Job (SQL Server Management Studio)
- How to: Specify a Target Server's Location (SQL Server Management Studio)
- How to: Synchronize Target Server Clocks (SQL Server Management Studio)
- How to: Designate an Events Forwarding Server (SQL Server Management Studio)