You are on page 1of 40

Quest Change Director 3.

1
for SQL Server

Getting Started
2 Quest Change Director for SQL Server
Getting Started

© 2009 Quest Software, Inc. 


ALL RIGHTS RESERVED.
This guide contains proprietary information protected by copyright. The software described in this guide is furnished
under a software license or nondisclosure agreement. This software may be used or copied only in accordance with
the terms of the applicable agreement. No part of this guide may be reproduced or transmitted in any form or by any
means, electronic or mechanical, including photocopying and recording for any purpose other than the purchaser’s
personal use without the written permission of Quest Software, Inc.
If you have any questions regarding your potential use of this material, please contact:
Quest Software World Headquarters
LEGAL Dept
5 Polaris Way
Aliso Viejo, CA 92656
www.quest.com
email: legal@quest.com
Refer to our web site for regional and international office information.

Disclaimer: The information in this document is provided in connection with Quest products. No license, express or
implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with
the sale of Quest products. EXCEPT AS SET FORTH IN QUEST'S TERMS AND CONDITIONS AS SPECIFIED IN THE
LICENSE AGREEMENT FOR THIS PRODUCT, QUEST ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY
EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO
EVENT SHALL QUEST BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL
DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION OR LOSS
OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF QUEST HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Quest makes no representations or warranties with respect to the
accuracy or completeness of the contents of this document and reserves the right to make changes to specifications
and product descriptions at any time without notice. Quest does not make any commitment to update the information
contained in this document.

Trademarks
Quest, Quest Software, the Quest Software logo, are trademarks and registered trademarks of Quest Software, Inc
in the United States of America and other countries. Other trademarks and registered trademarks used in this guide
are property of their respective owners.

Third-Party Contributions
This product contains software developed by ActiPro Software and Developer Express Inc. Copies of their licenses
may be found on our web site at http://www.quest.com/legal/third-party-licenses.aspx.
Quest Change Director for SQL Server 3.1
Getting Started
November 2009
Table of Contents

Introduction ..........................................................................................................................................................5
Change Director Architectural Overview .......................................................................................................................... 6
Key Features ........................................................................................................................................................... 6
Components ............................................................................................................................................................ 6

Start to Use .........................................................................................................................................................10


Access Change Director................................................................................................................................................. 11
Configure Change Director ............................................................................................................................................ 11
Create a Repository Database .............................................................................................................................. 11
Register SQL Server Instances ............................................................................................................................. 11
Create SQL Server Groups ................................................................................................................................... 12

Projects and Snapshots ....................................................................................................................................13


Change Director Projects ............................................................................................................................................... 14
Compare Changes ................................................................................................................................................ 14
Prepare for Deployment ........................................................................................................................................ 15
Deploy Changes .................................................................................................................................................... 15
Deploy a Custom Script Project............................................................................................................................. 16
Rollback Changes ................................................................................................................................................. 16
Clone Projects ....................................................................................................................................................... 16
View Project Information........................................................................................................................................ 17
Snapshots ...................................................................................................................................................................... 18
Create Snaphots.................................................................................................................................................... 18
Compare................................................................................................................................................................ 18

Change Tracker ..................................................................................................................................................20


Key Features .................................................................................................................................................................. 21
4 Quest Change Director for SQL Server
Getting Started Guide

Monitored Objects.................................................................................................................................................. 21
Configure Monitoring of Server Instances ..................................................................................................................... 22
Configure Monitoring Settings................................................................................................................................ 22
Manage Trusted Applications List.......................................................................................................................... 23
Configure Notification Settings............................................................................................................................... 23
Manage Reports .................................................................................................................................................... 24
Configure the Remote Agent .......................................................................................................................................... 26

Log Reader......................................................................................................................................................... 27
Log Reader Sources....................................................................................................................................................... 28
Use the Log Reader ....................................................................................................................................................... 28
Load the Transaction Log ...................................................................................................................................... 28
View Results .......................................................................................................................................................... 28
Undo or Redo DML or DDL Commands ................................................................................................................ 29
Recover Tables...................................................................................................................................................... 30

Manage Jobs...................................................................................................................................................... 31
Manage Jobs Tool .......................................................................................................................................................... 32
View Jobs............................................................................................................................................................... 32
Create/Edit a Job .................................................................................................................................................. 34
Delete a Job........................................................................................................................................................... 34
Schedule a Job ...................................................................................................................................................... 34

Appendix ............................................................................................................................................................ 38
Contact Quest Support ................................................................................................................................................... 39
Contact Quest Software.................................................................................................................................................. 39
About Quest ................................................................................................................................................................... 40

Index ................................................................................................................................................................... 39
1
Introduction

Contents

Change Director Architectural Overview


6 Quest Change Director for SQL Server
Getting Started Guide

Change Director Architectural Overview


Change Director for SQL Server is designed to control SQL Server production
databases and make the database change process transparent and manageable. It also
allows to deploy changes to SQL Server databases, compare and synchronize databases,
schedule change deployment, perform Impact Analysis of custom and synchronization
scripts.

Key Features
The main Change Director features are:
• Database schema comparison
• Database object comparison
• Impact Analysis
• Scheduled or real-time deployment
• Multi-server change deployment
• Reporting changes for compliance and audit purposes
• PowerShell command line interface

Components
Change Director includes Project and Snapshots, Middleware, Change Tracker, Log
Reader and Job Management components.
Projects and Snapshots module is designed to deploy changes to SQL Server
databases and make the database change process transparent and manageable.
Chapter 1 7
Introduction

The diagram shows the relationship between the console, the repository databse and
monitored servers:

Change Director console is used to perform various tasks. Some of them can be very
resource-intensives, for example, snapshot taking, compare and impact analysis, and
deploying changes. You can reduce the workload on the computer running Change
Director console using the Middleware.
The Middleware is installed on the target server to perform resource-intensive tasks.

The console sends a command to the Middleware (for example, to compare databases);
the Middleware accomplishes the task, saves the results in the Repository Database and
8 Quest Change Director for SQL Server
Getting Started Guide

notifies the console. The console loads the results from the Repository Database to
display to a user.

Note The Middleware can be installed to any server in network to perform tasks on that server
from the console main menu.

Change Tracker module monitors Microsoft SQL Server instances and databases for
changes, and generates real-time alerts that can be sent to a recipient list via email or
NetSend.
Change Tracker agents are the agents installed to the computers running Windows,
where monitored SQL Servers are installed.

Each agent monitors the SQL Server instance and saves information in the Repository
Database.Change Director console reads the saved information from the Repository
Database and displays it to a user.
The notification engine checks if there are any changes detected by the Change
Tracker agent, generates reports and sends notifications. You can enable the engine on
the computer, where the Change Director console or the middleware is installed.
Log Reader is a SQL data-auditing and data-recovery tool that analyzes the SQL
Server transaction log to display information on:
• Recent transactions (those held in memory since the SQL Server instance was
started)
• All the transactions stored in the transaction log of an active database as well as
transactions held in SQL Server memory
Chapter 1 9
Introduction

• All the transactions stored in a database backup file (native or LiteSpeed)


Log Reader reads database transaction data from online database, offline transactions
log file, LiteSpeed backup file, SQL Server native backup file nd saves the results to the
current console user Temp folder on the local disk drives to be displayed in Change
Director console.
Job Manager displays information about all SQL Server jobs or Windows Tasks to
control, monitor, and modify jobs on the registered servers.
Job Manager connects to selected SQL Server, reads SQL Server Agent jobs schedule
and execution history and displays in Change Director console.
2
Start to Use

Contents

Access Change Director


Configure Change Director
11 Quest Change Director for SQL Server
Getting Started Guide

Access Change Director


To launch Change Director from Windows select Start | All Programs| Quest
Software | Quest Change Director for SQL Server | Quest Change Director for
SQL Server 3.1.

Configure Change Director


After you install the Change Director console you need to perform the following tasks:
• Create or upgrade the Repository Database (page 11)
• Register SQL Server Instances (page 11)

Create a Repository Database


Change Director repository database stores the history and current settings of Change
Director projects:
• Target database(s)
• Source (or deployment) script
• Project options such as comparison and backup settings, physical attribute
mapping etc.
To create or upgrade the repository
1 Select Repository | Create/Select Repository from the menu.
2 Complete the dialog.

Note If you select Windows authentication to connect to the server, provide username as
‘domain\username’.

Register SQL Server Instances


In order to manage Quest Change Director for SQL Server settings for a database on a
SQL Server instance, you must register that instance with the Change Director console.
Chapter 2 12
Start to Use

To register a SQL Server instance


1 Right-click Microsoft SQL Servers and select New SQL Server Registration.

2 Complete the dialog.

Create SQL Server Groups


You can create groups and sub-groups of SQL Server instances to display in the Change
Director console. You can organize servers into groups similar to the way you organize
files into folders.
To create a SQL Server group
1 Right-click Microsoft SQL Servers and select New SQL Server Group.
2 Complete the dialog
Change Director adds the new group to the Server tree.
To add SQL Server instances to a group
1 Right-click on the instance. Choose Edit Server Registration from the right-
click menu.
2 Complete the dialog.
3
Projects and Snapshots

Contents

Change Director Projects


Snapshots
14 Quest Change Director for SQL Server
Getting Started Guide

Change Director Projects


Change Director defines the following types of projects to help DBAs to fulfil the most
frequent tasks concerning change deployment:
• Deploy Custom Script projects allow you to deploy custom SQL scripts to one
or several target databases
• Compare Changes projects allow you to compare one or several databases
with a source database or Change Director snapshot and synchronize them if
needed.

Tip If you use the Middleware for comparing, impact analysis and deploying, you can switch the
Middleware to background mode by clicking Close Project or Continue in Background. You
can view the current task status in the Projects page.

Compare Changes
One of the frequent tasks DBAs perform is to detect differences between two or more
databases and synchronize them. Change Director provides Compare Changes feature
for such tasks.
To compare databases
1 Select Project | New | Compare Changes.
2 Define the source and one or more target databases. Click OK.
3 (Optional) Select Edit Project Options from the Actions list on the Navigation
pane. Set options for the project.
4 Select where to execute the operation.
5 Select the objects you want to compare.
6 Configure mapping for the physical attributes of the source and target databases.
7 View comparison results.
Tip To view the detailed report on comparison results, click View details.

8 Click Close and save the project.


Chapter 3 15
Projects and Snapshots

Prepare for Deployment


Change Director allows you to analyze the impact the deployment script has on the
primary target database and determine which operations could hamper script execution.
The Impact Analysis feature uses the SQL Server transactions mechanism to simulate
script execution and collect possible errors and warning messages. This process takes
place during the Impact Analysis phase of a project life cycle.
To perform Impact Analysis
1 Open the saved project or create the Custom Script project or Compare Changes
project
2 Proceed to the Impact Analysis step.
Tip When analysis completes, click View Impact Details

You can save the Impact Analysis report to a file or view it in the Impact Analysis page
for the selected saved project in the Projects ans Snapshots window.
To generate a script for deploying
1 Open the saved project or create Custom Script project or Compare Changes
project.
2 Proceed to the Impact Analysis step.
3 Complete Impact Analysis.
4 Click View Synchronization Script in the Open Project window.
5 Click Save to save the generated script.

Deploy Changes
To synchronize databases
1 Open the saved project or create Custom Script project or Compare Changes
project.
2 Proceed to Schedule Deploy.
3 Select one of the following:
• Run deployment immediately
• Schedule deployment. A Windows account username and password are
required to schedule deployment.
16 Quest Change Director for SQL Server
Getting Started Guide

Deploy a Custom Script Project


If you have a script to deploy to one or more target databases, you can analyze the
impact the script has on the primary target database and deploy the script.
To deploy a custom script
1 Select Project | New | Custom Script.
2 Specify a script to deploy and one or several target databases.
3 (Optional) Select Edit Project Options from the Actions list on the Navigation
pane. Set options for the project.
4 Complete the wizard.

Rollback Changes
Change Director allows you to rollback deployed changes using a rollback script or a
database snapshot.
To rollback changes using a rollback script
1 Select the Projects and Snapshots window.
2 Select the project instance or a database for which you want to rollback changes.
3 On the Projects page, right-click the project and select Rollback Changes.
Change Director creates the Custom Script project where the rollback script serves as a
Source script. Process the project as any other Custom Script project.
To rollback changes using a snapshot
1 Select the Projects and Snapshots window.
2 Select the project instance or a database for which you want to rollback changes.
3 On the Snapshots page, right-click the snapshot to which you want to rollback the
database and select Compare to | Online Database.
Change Director creates the Compare Changes project where the snapshots serves as a
Source. Process the project as any other Compare Script project.

Clone Projects
If you want to execute the deployment again, replicate the project by cloning it.
Chapter 3 17
Projects and Snapshots

To clone a project
1 Select the Projects and Snapshots window.
2 Select an instance or a database where you created the project you want to clone.
3 On the Projects page, right-click the project and select Clone Project.
Change Director creates a clone project. Process it as any other project.

View Project Information


Change Director stores information on all created projects. You can always check
project status, view all project details and see who did what to the project and when.
To view information about a project
1 Select the Projects and Snapshots tab.
2 Select the instance or database where you created the project you want to display.
3 On the Projects page, select the project for which you want to view the details.
The Project Information displays in the bottom pane. Review the details about the
project on the following tabs:
• Overview
• Project History
• Deployment Script
• Rollback Script
• Impact Analysis
• Deployment Results
• Affected Objects
18 Quest Change Director for SQL Server
Getting Started Guide

Snapshots
Change Director allows you to save information about the database schemas in the
Change Director repository. Each snapshot contains creation date and time. You can
store database history by creating snapshots at regular intervals.
To view a snapshot
1 Select the Projects and Snapshots window.
2 Select the instance or database for which you generated the snapshot.
3 On the Snapshots page, right-click the snapshot and select View Snapshot.

Create Snaphots
Tip If you use the Middleware to take snapshots, click Background to switch the Middleware to
background mode. You can view the current task status on the Change Director Tasks page.

To create a snapshot of a database


1 Select the Projects and Snapshots window.
2 Right-click the database for which you want to generate the snapshot and select
Take Snapshot.
To create snapshots of several databases
1 Select the Projects and Snapshots window.
2 Right-click the database for which you want to generate the snapshot and select
Take Snapshot Wizard.
Tip Using the Take Snapshot wizard, you can schedule collecting snaphots by creating a
Windows task.

3 Complete the wizard.

Compare...
To compare a snapshot with an online database
1 Select a database for which you generated a snapshot.
2 On the Snapshots page, right-click the snapshot and select Compare to | Online
Database.
Chapter 3 19
Projects and Snapshots

3 Complete the wizard.


Change Director creates the Compare Changes project where the snapshots serves as a
Source and the database for which the snapshot was generated serves as a Target.
Process the project as any other Compare Changes project.

To compare snapshots
1 Select a database for which you generated a snapshot.
2 On the Snapshots page, right-click the snapshot and choose Compare to |
Snapshot.
3 Select a snapshot which you want to compare with the selected snapshot.
4 Complete the wizard.
4
Change Tracker

Contents

Key Features
Configure Monitoring of Server Instances
Manage Reports
Configure the Remote Agent
21 Quest Change Director for SQL Server
Getting Started Guide

Key Features
Change Tracker provides services and a user interface that helps you monitor SQL
Server instances and databases for changes, and to generate real-time alerts.

Note For information about Change Tracker agent installation, refer to the Change Director for
SQL Server InstallGuide.pdf guide.

Monitored Objects
Change Tracke enables you to monitor objects in real time at a database-level and at an
instance level.

At a database-level At an instance level

Tables Logins
Stored Procedures Privileged Logins
Triggers Server parameters
User-Defined Functions (permissions) DTS Packages
Users SQL Server Agent Jobs
Roles Database Backups
User-Defined Types Database Restores
Applications Database Replications
Roles Server Database
Defaults Extended Stored Procedures
Rules
Views (permissions)
Full-Text Catalog
Aggregate
Partition Functions
Partition Schemes
Synonym
XML Schema Collections
Chapter 4 22
Change Tracker

Configure Monitoring of Server Instances


The Change Tracker agent automatically generates a real-time alert when a change has
been detected. The notification engine sents alerts via email or NetSend to a recipient
list.

Note Before you start using the Change Tracker features, make sure the Change Tracker window
is active. If not, select the Change Tracker view at the bottom of the navigation pane.

Configure Monitoring Settings


To cofigure basic monitoring options
1 In the Change Tracker window, select an instance in the Server tree.
2 Click Monitoring options on the Configuration page.
3 Set options.
4 Click OK to complete the dialog.
5 If you have previously configured databases for monitoring, click one of the
following:
• Overwrite — to apply new settings to all databases
• No — to save the previous custom settings, including objects for monitoring,
operators and reporting options
• Cancel — to discard the changes

Tip To set monitoring options for several instances at once, right-click a group of instances or
Microsoft SQL Servers in the tree and select Tasks | Configure Group Monitoring Options.
This will overwrite existing monitoring options.
23 Quest Change Director for SQL Server
Getting Started Guide

Manage Trusted Applications List


A trusted application contains applications which you allow to deploy changes on
monitored databases.Change Tracker detects changes deployed using trusted
applications and generates authorized Real-Time alerts for them

Note Change Tracker uses one list of trusted applications for all instances where monitored
databases reside. The list is stored in the repository. Once you change the repository
database, you need to re-configure trusted applications.
If you remove an application from the list of trusted applications, Change Tracker marks
alerts for all changes deployed by that application as Unauthorized.

To edit list of trusted applications


1 On the Configuration page, click Edit List.
2 Do one of the following:
• To add a new trusted application, click Add and enter an application name
• To remove a trusted application, select an application and click Remove
Note The application name should be identical to the name which displays in the Alerts
Report.

Configure Notification Settings


Quest Change Director for SQL Server has a notification engine that connects to an
SMTP server and sends out the email notifications. You must indicate which SMTP
server (host and port) that should be connected to per SQL Server instance.
The SMTP server must be set to allow sending anonymous emails or Change Director
must be configured to authenticate to an existing SMTP server (requires a valid user
name and password). For an example of such a setup, see “Configure Microsoft
Exchange Server where Anonymous Access is turned off”.
The email settings can be set or modified for any SQL Server instance through the
Notification Settings dialog. These settings are used for all registered instances.

To set or change notification settings


1 Navigate to a SQL Server instance.
2 Right-click the instance and select Tasks | Notification Settings.
Chapter 4 24
Change Tracker

3 Complete the Notification Settings dialog. Review the following for additional
information:

Option Description

Middleware Decide where you want to use the notification engine. Select
one of the following:
• Console - to use the notification service on the local
computer
• Middleware - to use the notification service on the
computer where the Middleware is installed.

Username and If your SMTP server is set so that Authentication is enabled,


Password specify the user name and password of the account that you
want to use to send notifications. If Authentication is disabled,
the SMTP server must be configured to allow Anonymous
emails.

Manage Reports
You can view, sort, filter and search the alerts and failed logins related to a SQL Server
instance or a database.
To sort alerts
1 Navigate to an instance or a database in the tree view.
2 Click the Alerts Report tab.
3 Select the column name to sort on.
Tip Selecting the column name again reverses the sort order.

To filter alerts
1 Navigate to an instance or a database in the tree view.
2 Click the Server Alerts Report tab.
3 Click Filter, search.
4 Set the following parameters:
• Period
• Report type
25 Quest Change Director for SQL Server
Getting Started Guide

• Object type
• Category
5 Click Apply to view the filtered reports.
To print an alerts report
1 Navigate to an instance or a database.
2 View, sort or filter alerts on the Server Alerts Report page.
3 Select Print Preview from the toolbar.
4 View, save , export , send or print a report for an instance or a
database.
Chapter 4 26
Change Tracker

Configure the Remote Agent


This feature allows you to set a new password for a remote agent to use to work with the
Change Director repository. When the password to the repository changes, you need to
set a new one for each remote host to use to connect to the repository and store data
from Change Director monitoring jobs. In order to communicate with the repository, the
agent needs administrator log in details to access the repository. The details are also
required to start or stop the remote agent if needed.
To configure the remote agent
1 Navigate to the SQL Server instance you want to configure to communicate with
the Change Director repository in the console tree.
2 Right-click on the instance and select Tasks | Configure Remote Agent.
3 Select:
• Current user to use current user domain\username and password.
• The following user to specify domain\name and password as connection
credentials.
Note Make sure that the you have Administrator privileges on the remote host.

4 Set the following Change Tracker agent options:


• Path to trace and log files
• Capturing mode (regular or lightweight)
• Logging level
• Authentication type
5
Log Reader

Contents

Log Reader Sources


Use the Log Reader
28 Quest Change Director for SQL Server
Getting Started Guide

Log Reader Sources


The Log Reader displays information about changes to data and objects from the
following sources:
• Recent transactions (those held in memory since the SQL Server instance was
started)
• The full database log (includes all transactions stored in the transaction log of
an active database as well as transactions held in SQL Server memory)

Note Note: To view the transaction log of an active database, you must first install the Log Reader
Server Components on the SQL Server instance hosting the database.

• All transactions stored in the full-backup file for the database

Use the Log Reader


Note Before you start using the Log Reader features, make sure the
Log Reader window is
active. If not, select the Log Reader view at the bottom of the navigation pane.

Load the Transaction Log


To load the transaction log into the Log Reader
1 Click Read the transaction log on the Log Reader Tasks page .
2 Complete the wizard.

Tip Regardless of the type of log you selected, you can specify additional transaction log backup
files to read.

View Results
Click the Log Reader tabs to view the following:
• Summary - information about a database and its associated transaction logs
Chapter 5 29
Log Reader

• Statistics - information on the types and numbers of transactions that have


occurred in a selected time period
• DML/DDL - the DML and DDL commands that were executed on the
database, as recorded in the log file
• Full Log - all the records in the transaction log
• Transactions - all the transactions recorded in the loaded log files
Sort, filter , and group entries in the Log Reader views to bring into focus the
specific information you need.

Export Results
The Log Reader can export a list of DML/DDL commands, transactions of full list of
log records to a database or following document formats:
• XML
• HTML
• CVS

Tip To limit the export to only those records of interest, apply a filter before exporting the list.

To export results
1 On the toolbar, click next to Export to.
2 Select export to the format required.
3 Specify where to save the file and the file name.
4 If you selected Export to DB, enter the table name and connection parameters to
the database where to save the results.
5 Click Save.

Undo or Redo DML or DDL Commands


Use the Undo/ Redo SQL wizard to generate the SQL script to roll back a transaction or
to undo or redo individual DML or DDL commands executed on the database, as
recorded in the log files that you loaded. You can apply the script directly to the
database.
To use the Undo/Redo wizard
1 Select the DML/DDL tab in the Log Reader window.
30 Quest Change Director for SQL Server
Getting Started Guide

2 In the list of commands, select the checkbox for each command that you want to
undo or redo.
Note Note: If you select multiple commands, you can either undo all these commands or
redo all the commands. You cannot mix the undo and redo operations within the
selected group of commands.

3 Click Undo/Redo Wizard on the toolbar to start the Undo/Redo SQL wizard.
4 Complete the wizard.

Tip To review the script, select the SQL tab.


To examine any errors generated during the building of the script, select the Errors tab
To save the script to a file, click Save Script.

Recover Tables
Use the Recover Table wizard to recover a table that, as recorded in the transaction log,
was dropped or truncated. TheLog Reader re-creates the table in the database and
reloads the data.
To recover a dropped or truncated table
1 Select the DML/DDL tab in the Log Reader window.
2 Click in the toolbar to start the Recover Table wizard.
3 Complete the wizard.
The table is recovered with its original name. If another table with the same name
already exists in the database, the Log Reader automatically generates an index and
appends it to the name of the recovered table.
6
Manage Jobs

Contents

Manage Jobs Tool


32 Quest Change Director for SQL Server
Getting Started Guide

Manage Jobs Tool


Note Before you start using the Job Manager features, make sure the
Job Manager window
is active. If not, select the Job Manager view at the bottom of the navigation
pane.

Job Manager helps you manage the load on your system and avoid having too many
jobs running at the same time, on the same day, or in the same week, and improves the
efficiency of your system. You can create, alter, or delete any job. It enables you to
reschedule jobs quickly by dragging and dropping jobs to another time slot, a different
day, week, or month.
The following sections are relevant for both: jobs and Windows tasks. To switch
between jobs and tasks select SQL Server jobs or Windows tasks from the expanding
list on the toolbar.

View Jobs
Change Director displays SQL Server jobs or Windows tasks in two views.
The Calendar tab displays information about the schedule of when your systems jobs
run. The grid on the Calendar tab displays the jobs scheduled for the selected day.
To access the Calendar tab
1 From the Browser tree, select an instance.
2 Make sure the Manage Jobs window is active. If not, do one of the following:
• Select the Manage Jobs tab.
• From the menu bar, select Tools | Manage Jobs.
3 Select the Calendar tab.
To manage jobs on the Calendar tab
1 Point a job in the list to view:
• Job name
• First and last occurrence of the job
• Job schedule
• Job description
2 Drag a job to another time block to reschedule it.
Chapter 4 33
Manage Jobs

3 Drag a job to another instance or computer to relocate it.


4 Right-click a job to change various options:
• Create/edit a job
• Edit/delete a schedule (You can delete a schedule for SQL Server jobs only)
• Go to the current date
• Zoom in/out
• Zoom to full day
• Page up/down

The List tab displays information about all the jobs for a selected server and lets you
create, modify, or delete jobs.
To access the List tab
1 Select an instance.
2 Select the Manage Jobs window.
3 Select the List tab.
To manage jobs on the List tab
1 Click a column heading to sort the information in the grid in ascending or
descending order based on the selected column.
2 Right-click a row to change various options for the selected job.
3 From the right-click menu, select one of these options:
• New Job
• Copy Job
• Move Job
• Edit Job
• Delete Job
• Enable/Disable Job
• Start/Stop Job
• Expand/Collapse All
34 Quest Change Director for SQL Server
Getting Started Guide

Create/Edit a Job
To create or edit a job
1 Select an instance. The selected instance name displays in the bar of the New Job
or Job Properties dialog.
2 Right-click anywhere on the grid and select New Job or Edit Job.
3 Select
• Define Job to create or edit a job.
• Describe Job Steps to enter SQL Server commands for each step of the job.
Note You must enter at least one step to create a job.

• Set Schedules to run the job more than once or at a specific time.
• Define Alerts to specify conditions that trigger an alert.
• Set End-of-Job Actions to specify the actions to perform when the job
completes.
• For an existing job, select the View Job History task to view the past history
for the job.
4 When you finish making entries for the various tasks, click OK to apply the
settings to the job. The new or edited job displays on the Calendar in the time slot
when it runs next and on the List tab.

Delete a Job
To delete a job
1 Right-click a job, select Delete Job.
2 Confirm that you want to delete the job.

Schedule a Job
The Set Schedules task displays the current schedule for a job and lets you enter a new
schedule, modify or delete an existing schedule. If you do not input a schedule or there
is now schedule for an existing job, the job runs once.
To use the Schedules page
1 From the New Job dialog or the Job Properties dialog, select the Set Schedule
task.
Chapter 4 35
Manage Jobs

2 Use this task to do the following:

Schedule list In the grid, view the Schedule ID, Schedule Name,
Enabled (Yes or No), and a Description of each
schedule for the selected job.

Add Click Add to open the New Job Schedule dialog where
you can create a new job schedule.

Edit Select a schedule and click Edit to open the Job


Schedule Properties dialog and modify the job
schedule.

Delete Select a schedule and click Delete to remove the


schedule. (There is no confirmation dialog.)

3 Select another task or click OK to record your changes to all the Job tasks and
close the New Job or Job Properties dialog.
A
Appendix

Contents

Contact Quest Support


Contact Quest Software
About Quest
39 Quest Change Director for SQL Server
Getting Started Guide

Contact Quest Support


Quest Support is available to customers who have purchased a commercial or trial
version of Quest software and have a valid maintenance contract. Quest Support
provides around the clock coverage with SupportLink, our web self-service. Visit
SupportLink at: http://support.quest.com.
With SupportLink, you can do the following:
• Quickly find thousands of solutions (Knowledgebase articles/documents).
• Download patches and upgrades.
• Seek help from a Support engineer.
• Log and update your case, and check its status.

View the Global Support Guide for a detailed explanation of support programs, online
services, contact information, and policy and procedures. The guide is available at:
http://support.quest.com/pdfs/Global Support Guide.pdf.

Contact Quest Software

Email info@quest.com

Mail Quest Software, Inc.


World Headquarters
5 Polaris Way
Aliso Viejo, CA 92656
USA
Web site www.quest.com

Refer to our web site for regional and international office information.
Chapter A 40
Appendix

About Quest
Now more than ever, organizations need to work smart and improve efficiency. Quest
Software creates and supports smart systems management products—helping our
customers solve everyday IT challenges faster and easier. Visit www.quest.com for
more information.
Index

A configure
Access Change Director 11 create a repository 11
agent email for an instance 23
configure remote 26 email settings 26
alerts reports 24 monitoring of server instances 22
real-time alerts 23
register SQL Server instances 11
C remote agent 26
chages server groups 12
rollback 16 configure real-time alerts 23
Change Director create
features 6 snapshots 18
launch 11 Create a Repository Database 11
projects 14 create projects 14
Change Tracker 8, 20 create snaphots 18
monitored objects 21 create SQL Server groups 12
Change Tracker agent 8
ChangeDirector
components 6
D
changes delete a job 34
deploy 15 deploy
clone projects 16 changes 15
compare custom script 16
snapshot and online database 18 deploy a custom script 16
snapshots 19 deploy changes 15
compare a snapshot with an online database 18
compare changes 14 E
compare snapshots 19 edit existing job 34
components email 23
Change Director 6
40 Quest Change Director for SQL Server
Getting Started Guide

F clone 16
Features 6 view information 17
features Projects and Snapshots 6
Change Director 6
R
G read the transaction log 28
groups real-time alerts 23
create SQL Server 12 recover tables 30
register
SQL Server instances 11
I Register SQL Server Instances 11
instances 11 repository 11
configure email 23 rollback changes 16
configure email settings 26 rrepare for deployment 15
monitoring 22
register 11
S
server groups 12
schedule a job 34
Snapshots 18
J support (technical)
Job Manager 9 contact 39

L T
launch Change Director 11 technical support
load the transaction log 28 contact 39
Log Reader 8, 27 the Calendar tab 32
export results 29 the List tab 33
recover tables 30 the Undo/Redo wizard 29
sources 28 trusted applications 23
view results 28

U
M Undo/Redo wizard 29
manage alerts 24
manage jobs 32
V
manage trusted applications list 23
monitor objects 21 view jobs 32
the Calendar tab 32
the List tab 33
P view project information 17
projects

You might also like