getting_started_change_director_31
TRANSCRIPT
-
8/7/2019 Getting_Started_Change_Director_31
1/40
3.1
Getting Started
Quest Change Director
for SQL Server
-
8/7/2019 Getting_Started_Change_Director_31
2/40
2 Quest Change Director for SQL ServerGetting 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 purchasers
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 HeadquartersLEGAL Dept5 Polaris WayAliso Viejo, CA 92656
www.quest.comemail:[email protected]
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 orimplied, 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 THELICENSE 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 ContributionsThis productcontains 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.1Getting StartedNovember 2009
http://www.quest.com/legal/third-party-licenses.aspxhttp://www.quest.com/legal/third-party-licenses.aspxhttp://www.quest.com/legal/third-party-licenses.aspxhttp://www.quest.com/legal/third-party-licenses.aspxhttp://www.quest.com/legal/third-party-licenses.aspxhttp://www.quest.com/legal/third-party-licenses.aspxhttp://www.quest.com/legal/third-party-licenses.aspx -
8/7/2019 Getting_Started_Change_Director_31
3/40
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............................................................................................................................. 16Rollback Changes................................................................................................................................................. 16
Clone Projects....................................................................................................................................................... 16
View Project Information........................................................................................................................................ 17
Snapshots...................................................................................................................................................................... 18
Create Snaphots.................................................................................................................................................... 18
Compare................................................................................................................................................................ 18
Change Tracker ..................................................................................................................................................20
Key Features.................................................................................................................................................................. 21
-
8/7/2019 Getting_Started_Change_Director_31
4/40
4 Quest Change Director for SQL ServerGetting 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................................................................................................................29Recover 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
-
8/7/2019 Getting_Started_Change_Director_31
5/40
1
Introduction
Contents
Change Director Architectural Overview
-
8/7/2019 Getting_Started_Change_Director_31
6/40
6 Quest Change Director for SQL ServerGetting Started Guide
Change Director Architectural OverviewChange 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.
-
8/7/2019 Getting_Started_Change_Director_31
7/40
Chapter 1 7Introduction
The diagram shows the relationship between the console, the repository databse andmonitored 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/7/2019 Getting_Started_Change_Director_31
8/40
8 Quest Change Director for SQL ServerGetting 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 ChangeTracker 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
-
8/7/2019 Getting_Started_Change_Director_31
9/40
Chapter 1 9Introduction
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.
-
8/7/2019 Getting_Started_Change_Director_31
10/40
2
Start to Use
Contents
Access Change Director
Configure Change Director
-
8/7/2019 Getting_Started_Change_Director_31
11/40
11 Quest Change Director for SQL ServerGetting Started Guide
Access Change DirectorTo 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 DirectorAfter 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 attributemapping 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.
-
8/7/2019 Getting_Started_Change_Director_31
12/40
Chapter 2 12Start to Use
To register a SQL Server instance
1 Right-clickMicrosoft SQL Servers and select New SQL Server Registration.
2 Complete the dialog.
Create SQL Server GroupsYou 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-clickMicrosoft 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.
-
8/7/2019 Getting_Started_Change_Director_31
13/40
3
Projects and Snapshots
Contents
Change Director Projects
Snapshots
-
8/7/2019 Getting_Started_Change_Director_31
14/40
14 Quest Change Director for SQL ServerGetting Started Guide
Change Director ProjectsChange 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 ifneeded.
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. ClickOK.
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 ClickClose and save the project.
-
8/7/2019 Getting_Started_Change_Director_31
15/40
Chapter 3 15Projects and Snapshots
Prepare for DeploymentChange 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 ClickView Synchronization Script in the Open Project window.
5 ClickSave 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 arerequired to schedule deployment.
-
8/7/2019 Getting_Started_Change_Director_31
16/40
16 Quest Change Director for SQL ServerGetting Started Guide
Deploy a Custom Script ProjectIf 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 adatabase 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.
3On 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 ProjectsIf you want to execute the deployment again, replicate the project by cloning it.
-
8/7/2019 Getting_Started_Change_Director_31
17/40
-
8/7/2019 Getting_Started_Change_Director_31
18/40
18 Quest Change Director for SQL ServerGetting Started Guide
SnapshotsChange 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 tobackground 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.
-
8/7/2019 Getting_Started_Change_Director_31
19/40
Chapter 3 19Projects 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.
-
8/7/2019 Getting_Started_Change_Director_31
20/40
4
Change Tracker
Contents
Key Features
Configure Monitor ing of Server Instances
Manage Reports
Configure the Remote Agent
-
8/7/2019 Getting_Started_Change_Director_31
21/40
21 Quest Change Director for SQL ServerGetting Started Guide
Key FeaturesChange 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
Stored Procedures
Triggers
User-Defined Functions (permissions)
Users
Roles
User-Defined Types
Applications
Roles
Defaults
Rules
Views (permissions)
Full-Text Catalog
Aggregate
Partition Functions
Partition Schemes
SynonymXML Schema Collections
Logins
Privileged Logins
Server parameters
DTS Packages
SQL Server Agent Jobs
Database Backups
Database Restores
Database Replications
Server Database
Extended Stored Procedures
-
8/7/2019 Getting_Started_Change_Director_31
22/40
Chapter 4 22Change Tracker
Configure Monitoring of Server InstancesThe 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 ClickMonitoring options on the Configuration page.
3 Set options.
4 ClickOK 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.
-
8/7/2019 Getting_Started_Change_Director_31
23/40
23 Quest Change Director for SQL ServerGetting 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, clickEdit List.
2 Do one of the following:
To add a new trusted application, clickAdd and enter an application name
To remove a trusted application, select an application and clickRemove
Note The application name should be identical to the name which displays in the Alerts
Report.
Configure Notification SettingsQuest 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.
-
8/7/2019 Getting_Started_Change_Director_31
24/40
Chapter 4 24Change Tracker
3 Complete the Notification Settings dialog. Review the following for additional
information:
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 ClickFilter, search.
4 Set the following parameters:
Period
Report type
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
Password
If your SMTP server is set so that Authentication is enabled,
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 Anonymousemails.
-
8/7/2019 Getting_Started_Change_Director_31
25/40
25 Quest Change Director for SQL ServerGetting Started Guide
Object type
Category
5 ClickApply 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.
Ch t 4 26
-
8/7/2019 Getting_Started_Change_Director_31
26/40
Chapter 4 26Change Tracker
Configure the Remote AgentThis 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
-
8/7/2019 Getting_Started_Change_Director_31
27/40
5
Log Reader
Contents
Log Reader Sources
Use the Log Reader
28 Quest Change Director for SQL Server
-
8/7/2019 Getting_Started_Change_Director_31
28/40
28 Quest Change Director for SQL ServerGetting Started Guide
Log Reader SourcesThe 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 isactive. 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 ClickRead 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
-
8/7/2019 Getting_Started_Change_Director_31
29/40
Chapter 5 29Log 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 ClickSave.
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
-
8/7/2019 Getting_Started_Change_Director_31
30/40
30 Quest Change Director for SQL ServerGetting 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 ClickUndo/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 TablesUse 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.
-
8/7/2019 Getting_Started_Change_Director_31
31/40
6
Manage Jobs
Contents
Manage Jobs Tool
32 Quest Change Director for SQL Server
-
8/7/2019 Getting_Started_Change_Director_31
32/40
Getting Started Guide
Manage Jobs ToolNote 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 navigationpane.
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 theefficiency 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.
3Select 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 33Manage Job s
-
8/7/2019 Getting_Started_Change_Director_31
33/40
Manage Job s
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 ServerGetting Started Guide
-
8/7/2019 Getting_Started_Change_Director_31
34/40
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, clickOK 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 35Manage Job s
-
8/7/2019 Getting_Started_Change_Director_31
35/40
Manage Job s
2 Use this task to do the following:
3 Select another task or clickOK to record your changes to all the Job tasks and
close the New Job or Job Properties dialog.
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.)
-
8/7/2019 Getting_Started_Change_Director_31
36/40
A
Appendix
Contents
Contact Quest Support
Contact Quest Software
About Quest
39 Quest Change Director for SQL ServerGetting Started Guide
-
8/7/2019 Getting_Started_Change_Director_31
37/40
g
Contact Quest SupportQuest 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
Refer to our web site for regional and international office information.
Email [email protected]
Mail Quest Software, Inc.
World Headquarters
5 Polaris Way
Aliso Viejo, CA 92656
USA
Web site www.quest.com
Chapter A 40Appendix
https://support.quest.com/http://support.quest.com/pdfs/Global%20Support%20Guide.pdfmailto:[email protected]://www.quest.com/http://www.quest.com/mailto:[email protected]://support.quest.com/pdfs/Global%20Support%20Guide.pdfhttps://support.quest.com/ -
8/7/2019 Getting_Started_Change_Director_31
38/40
About QuestNow more than ever, organizations need to work smart and improve efficiency. Quest
Software creates and supports smart systems management productshelping our
customers solve everyday IT challenges faster and easier. Visit www.quest.com for
more information.
http://www.quest.com/http://www.quest.com/ -
8/7/2019 Getting_Started_Change_Director_31
39/40
Index
AAccess Change Director 11
agent
configure remote 26
alerts reports 24
Cchages
rollback 16
Change Director
features 6
launch 11
projects 14Change Tracker 8, 20
monitored objects 21
Change Tracker agent 8
ChangeDirector
components 6
changes
deploy 15clone projects 16
compare
snapshot and online database 18
snapshots 19
compare a snapshot with an online database 18
compare changes 14
compare snapshots 19
components
Change Director 6
configure
create a repository 11
email for an instance 23
email settings 26
monitoring of server instances 22
real-time alerts 23register SQL Server instances 11
remote agent 26
server groups 12
configure real-time alerts 23
create
snapshots 18
Create a Reposito ry Database 11
create projects 14create snaphots 18
create SQL Server groups 12
Ddelete a job 34
deploy
changes 15
custom script 16
deploy a custom script 16
deploy changes 15
Eedit existing job 34
email 23
40 Quest Change Director for SQL ServerGetting Started Guide
-
8/7/2019 Getting_Started_Change_Director_31
40/40
F
Features 6features
Change Director 6
Ggroups
create SQL Server 12
I
instances 11
configure email 23
configure email settings 26
monitoring 22
register 11
server groups 12
JJob Manager 9
L
launch Change Director 11load the transaction log 28
Log Reader 8, 27
export results 29
recover tables 30
sources 28
view results 28
Mmanage alerts 24
manage jobs 32
manage trusted applications list 23
monitor objects 21
Pprojects
clone 16
view information 17Projects and Snapshots 6
Rread the t ransaction log 28
real-time alerts 23
recover tables 30
registerSQL Server instances 11
Register SQL Server Instances 11
repository 11
rollback changes 16
rrepare for deployment 15
Sschedule a job 34
Snapshots 18
support (technical)
contact 39
T
technical support
contact 39
the Calendar tab 32
the List tab 33
the Undo/Redo wizard 29
trusted applications 23
UUndo/Redo wizard 29
Vview jobs 32
the Calendar tab 32
the List tab 33
view project information 17