Document Release Date: June 2008
Software Release Date: June 2008
Legal Notices
Warranty
The only warranties for HP products and services are set forth in the express warranty
statements accompanying such products and services. Nothing herein should be construed
as constituting an additional warranty. HP shall not be liable for technical or editorial errors
or omissions contained herein.
The information contained herein is subject to change without notice.
Restricted Rights Legend
Confidential computer software. Valid license from HP required for possession, use or
copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software,
Computer Software Documentation, and Technical Data for Commercial Items are licensed
to the U.S. Government under vendor's standard commercial license.
Third-Party Web Sites
HP provides links to external third-party Web sites to help you find supplemental
information. Site content and availability may change without notice. HP makes no
representations or warranties whatsoever as to site content or availability.
You will also receive updated or new editions if you subscribe to the appropriate product
support service. Contact your HP sales representative for details.
New users - please register link on the HP Passport login page.
3
Support
You can visit the HP Software Support web site at:
http://www.hp.com/go/hpsoftwaresupport
This web site provides contact information and details about the products, services, and
support that HP Software offers.
HP Software Support Online provides customer self-solve capabilities. It provides a fast and
efficient way to access interactive technical support tools needed to manage your business.
As a valued support customer, you can benefit by using the HP Software Support web site to:
•Search for knowledge documents of interest
•Submit and track support cases and enhancement requests
•Download software patches
•Manage support contracts
•Look up HP support contacts
•Review information about available services
•Enter into discussions with other software customers
•Research and register for software training
Most of the support areas require that you register as an HP Passport user and sign in.
Many also require a support contract.
To find more information about access levels, go to:
Migrating to the Quality Center Synchronizer.................................123
6
Welcome to This Guide
Welcome to HP Quality Center Synchronizer. Quality Center Synchronizer
enables you to synchronize Quality Center data with data in another
application. For example, you can synchronize defects with Rational
ClearQuest and synchronize requirements with Rational RequisitePro.
This guide describes how to install and configure Quality Center
Synchronizer, how to create and manage synchronization links, and how to
run tasks on these links.
Note: The usage of HP Quality Center Synchronizer or HP Quality Center
Synchronizer Adapter SPI to develop an adapter for Quality Center or to
synchronize Quality Center data with Quality Center data is not supported.
Using This Guide
This guide contains the following chapters:
Chapter 1Installing Quality Center Synchronizer
Describes how to install and configure the Quality Center Synchronizer,
how to start Quality Center Synchronizer, and how to uninstall
Quality Center Synchronizer.
Chapter 2Synchronizing at a Glance
Provides an overview of working with the Quality Center Synchronizer.
7
Welcome to This Guide
Chapter 3Creating Synchronization Links
Describes how to create synchronization links for synchronizing data
between Quality Center and other applications.
Chapter 4Working with Quality Center Synchronizer
Describes how to run tasks on synchronization links, manage
synchronization links, and configure Quality Center Synchronizer.
Appendix AWorking with Rational ClearQuest
Describes notes and limitations specific to syncing defects with
Quality Center Synchronizer and Rational ClearQuest.
Appendix BWorking with Rational RequisitePro
Describes notes and limitations specific to syncing requirements with
Quality Center Synchronizer and Rational RequisitePro.
8
1
Installing Quality Center Synchronizer
This chapter describes how to install Quality Center Synchronizer.
This chapter includes:
➤ The Installation Process on page 10
➤ The Quality Center Synchronizer System on page 11
➤ System Configurations on page 12
➤ Installing the Quality Center Synchronizer Server on page 15
➤ Installing the Quality Center Synchronizer Client on page 24
➤ Starting and Stopping the Quality Center Synchronizer Service on page 25
➤ Starting the Quality Center Synchronizer Client on page 26
➤ Uninstalling Quality Center Synchronizer on page 29
9
Chapter 1 • Installing Quality Center Synchronizer
The Installation Process
Installing and starting Quality Center Synchronizer involves the following
steps:
1 Review the Synchronizer system structure to plan the installation in your
network. For more information, see “The Quality Center Synchronizer
System” on page 11.
2 Make sure that your system meets the minimum requirements. For more
information on the minimum requirements for the Synchronizer server and
client machines, and the supported endpoint versions, see “System
Configurations” on page 12.
3 Download and install the Synchronizer server from the HP Quality Center
Add-ins page. For more information, see “Installing the Quality Center
Synchronizer Server” on page 15.
4 Install the Synchronizer client on the client machine from the
HP Quality Center Add-ins page. For more information, see “Installing the
Quality Center Synchronizer Client” on page 24.
5 Start the Synchronizer server. For more information, see “Starting and
Stopping the Quality Center Synchronizer Service” on page 25.
10
6 Start the Synchronizer client and log in. For more information, see “Starting
the Quality Center Synchronizer Client” on page 26.
Chapter 1 • Installing Quality Center Synchronizer
The Quality Center Synchronizer System
This section describes how the Synchronizer system is structured, and how
synchronization link data is stored.
The following diagram illustrates the Quality Center Synchronizer network
configuration:
Quality Center
Synchronizer Client
Endpoint 1
(Quality Center)
SOAP/HTTP
Quality Center
Synchronizer Server
Endpoint 2
11
Chapter 1 • Installing Quality Center Synchronizer
The Synchronizer contains the following components:
➤ Quality Center Synchronizer Client. Displays current links, and provides a
user interface for the user to create and manage links, and run link tasks.
Sends requests from the user to the Synchronizer server. Communicates
with the Quality Center Synchronizer server using the SOAP protocol over
HTTP.
➤ Quality Center Synchronizer Server. Synchronizes data between
Quality Center and other applications. Manages synchronization and
communication between endpoints, and retrieves and stores information in
an integrated database. In addition, the server manages connections to link
endpoints using the endpoints’ application programming interface (API),
which must be installed on the server machine.
The client and server components can reside on the same machine or on
separate machines.
When you install the Synchronizer server, the PostgreSQL 8.3 database
management system is also installed. Link data is stored in a database that is
created in PostgreSQL during the installation process. For example, the
database stores identity mappings between records in each endpoint of a
link by storing the unique IDs of corresponding records in a database table.
System Configurations
This section describes the minimum server and client system configurations
for installing the Quality Center Synchronizer, as well as the supported
endpoints.
This section includes:
➤ “Server System Configurations” on page 13
➤ “Client System Configurations” on page 14
➤ “Supported Endpoints” on page 14
12
Chapter 1 • Installing Quality Center Synchronizer
Server System Configurations
You must install the Quality Center Synchronizer server on a dedicated
server machine that meets the following requirements:
➤ The Quality Center Synchronizer server machine must not be used as
Quality Center, Quality Center Dashboard, or other endpoint server.
➤ The Quality Center Synchronizer server cannot be installed on a machine
that already has a separate PostgreSQL installation. The Quality Center
Synchronizer server works only with the PostgreSQL instance that is
installed with the Synchronizer server.
Following are the minimum server system configurations for the
Quality Center Synchronizer.
CPU
Memory (RAM)
Free Disk Space
Operating
System
Pentium IV or equivalent x86 compatible processor minimum
1 GB minimum
500 MB minimum
➤ Microsoft Windows 2000 with Service Pack 4
➤ Microsoft Windows XP with Service Pack 2
➤ Microsoft Windows 2003 Server with Service Pack 2
13
Chapter 1 • Installing Quality Center Synchronizer
Client System Configurations
Following are the system requirements for the Quality Center Synchronizer
client.
CPU
Memory (RAM)
Free Disk Space
Operating
System
Client Software
Pentium III or equivalent x86 compatible processor minimum
512 MB minimum
4 MB minimum
➤ Microsoft Windows 2000 with Service Pack 4
➤ Microsoft Windows XP with Service Pack 2
➤ Microsoft Windows 2003 Server with Service Pack 2
➤ Microsoft Windows Vista
Microsoft .NET Framework 2.0 or later
Supported Endpoints
The following applications are supported as endpoints:
Type of Entity
Synchronized
Defects➤ Quality Center version 9.0 and later
Requirements
Endpoint Type
➤ Rational ClearQuest 2003.06.15; 2003.06.16; 7.0; and 7.0.1
➤ Quality Center version 9.2 and later
➤ Rational RequisitePro 2003.06.15; 2003.06.16; 7.0; and 7.0.1
14
Note: For the most up-to-date list of supported Rational ClearQuest and
Rational RequisitePro versions, see the HP Quality Center Add-ins page
(available from the Quality Center Help menu).
Chapter 1 • Installing Quality Center Synchronizer
Installing the Quality Center Synchronizer Server
This section explains how to install and configure the Synchronizer server.
This section includes the following topics:
➤ “Server Installation Notes and Guidelines” on page 15
➤ “Installing the Synchronizer Server” on page 16
➤ “Verifying User Permissions for Service Logon” on page 22
➤ “Troubleshooting the Server Configuration” on page 23
Server Installation Notes and Guidelines
Consider the following notes and guidelines before installing the
Synchronizer server:
➤ When upgrading from a previous version of the Synchronizer, you can
choose to upgrade the existing database, or delete it and create a new
database. For more information, see “Installing the Synchronizer
Server”(step 15 on page 21).
Additionally, the PostgreSQL database version is upgraded from
PostgreSQL 8.1 to PostgreSQL 8.3.
➤ You must remove any applications that use ports 1098 or 1099.
➤ By default, the Synchronizer uses port 7064. You must remove any
applications that use this port or change the port used by the Synchronizer.
For information on changing the Quality Center Synchronizer port, refer to
HP Software Self-solve knowledge base article KM306335
(http://h20230.www2.hp.com/selfsolve/document/KM306335).
➤ To enable synchronization between Rational ClearQuest and
Quality Center, you must install a ClearQuest client on the Synchronizer
server machine.
➤ To enable synchronization between Rational RequisitePro and
Quality Center, you must install a RequisitePro client on the Synchronizer
server machine.
➤ To enable use of the Quality Center API, you must install a Quality Center
client on the Synchronizer server machine.
15
Chapter 1 • Installing Quality Center Synchronizer
Installing the Synchronizer Server
This section explains how to install the Synchronizer server.
To install the Synchronizer server:
1 Uninstall any previous versions of the Synchronizer server. For more
information, see “Uninstalling Quality Center Synchronizer” on page 29.
2 Open your Web browser and type your HP Quality Center URL:
http://<Quality Center server name>[<:port number>]/qcbin. The
HP Quality Center Options window opens.
16
Chapter 1 • Installing Quality Center Synchronizer
3 Click the Add-ins Page link. The HP Quality Center Add-ins page opens.
4 Click the More HP Quality Center Add-ins link. The More HP Quality Center
Add-ins page opens.
5 Under Quality Center Administrator Add-ins, under Synchronization Tool
Add-ins, click the Quality Center Synchronizer link. The Quality Center
Synchronizer page opens.
6 Right-click the Download Quality Center Synchronizer Server link and click
Save Target As. The Save As dialog box opens.
7 In the Save As dialog box, select a location on your Synchronizer server
machine to save the installation file and click Save.
8 Unzip the saved file to a location on your Synchronizer server machine and
run the setup.exe file. The installation wizard opens.
9 In the Welcome dialog box of the installation wizard, click Next. The
License Agreement dialog box opens.
To accept the terms of the license agreement, select I accept the terms of the license agreement.
Click Next.
17
Chapter 1 • Installing Quality Center Synchronizer
10 The Installation Location dialog box opens.
18
In the Directory Name box, specify the location where you want to install
the Synchronizer. You can click the Browse button, select a location, and
click Open.
Click Next.
11 The Summary Information dialog box opens. Click Next to start the
installation process.
12 When the installation process completes, the Installation Complete dialog
box opens. Click Finish to proceed to the server configuration process.
Chapter 1 • Installing Quality Center Synchronizer
13 The Synchronizer Server Configuration wizard opens.
The configuration wizard installs and configures the PostgreSQL database
management system, and creates a service on the Synchronizer server
machine.
Click Next.
19
Chapter 1 • Installing Quality Center Synchronizer
14 The Service Configuration dialog box opens.
20
Enter the User Name, Password, and Domain for a user with administrator
permissions. The user must have permissions to log on as a service. This user
must also have the required settings to use endpoint connectivity.
For more information about permissions to log on as a service, see
“Verifying User Permissions for Service Logon” on page 22.
For more information on endpoint connectivity, refer to the appropriate
appendix in this guide:
➤ For Rational RequisitePro: “RequisitePro Connection Properties” on
page 122
➤ For Rational ClearQuest: “ClearQuest Connection Properties” on
page 116
Click Next.
Chapter 1 • Installing Quality Center Synchronizer
15 If you have been working with a previous version of the Synchronizer, a
message box opens asking you if you want to upgrade to the latest database
server version. Click Yes.
16 The Synchronizer Database Found dialog box opens.
Select a database option:
➤ Upgrade Existing Database. Upgrades the existing database. When you
upgrade, the database is first backed up, and the file
SAVEDBACKUP.backup is created in the C:\postgres directory.
➤ Delete Existing Database. Deletes the existing database and creates a new
database.
Important: Deleting the database permanently deletes all Quality Center
Synchronizer link data.
21
Chapter 1 • Installing Quality Center Synchronizer
Click Next. If you selected to delete the existing database, click OK in the
confirmation box.
17 The Synchronizer Configuration Information dialog box opens. Click Next
to start the configuration.
18 When the configuration completes, the configuration results dialog box
opens. Click Finish.
19 A message box opens asking if you want to start the Synchronizer service.
Click Yes if you want to start the service now. If you click No, you will need
to start the service manually to begin working with the Synchronizer.
Verifying User Permissions for Service Logon
The user account you enter during server configuration must have
permissions to log on as a service. For more information, see “Installing the
Quality Center Synchronizer Server” on page 15.
To verify user permissions for service logon:
1 From the Start menu, select Run and type secpol.msc.
2 Click OK. The Local Security Settings dialog box opens.
22
Chapter 1 • Installing Quality Center Synchronizer
3 Under Security Settings, expand Local Policies and select User Rights
Assignments. In the right pane, double-click Log on as a service. The Log on
as a service Properties dialog box opens.
4 Verify that your user is listed, or click Add User or Group to add it to the list.
Troubleshooting the Server Configuration
If a problem is encountered during server configuration, an error message
displays in the configuration results dialog box. This section lists problems
that may occur and suggestions for handling them.
ProblemSuggested Solution
Installation of PostgreSQL
does not complete
successfully.
Unable to create the
Quality Center
Synchronizer schema on
the PostgreSQL database
management system.
If you uninstalled a previous installation of
PostgreSQL, verify that it was removed completely,
and rerun the server configuration.
For more information on uninstalling PostgreSQL,
see “Uninstalling PostgreSQL” on page 30.
To rerun the server configuration, navigate to
<Quality Center Synchronizer installation
directory>\bin and run the run_config_tool.bat
file.
If the above steps do not resolve the problem, run
install_postgre.bat located in the <Quality Center
Synchronizer installation directory>\bin directory.
Then rerun the server configuration.
Verify that PostgreSQL access is not locked by
another user, and rerun the server configuration.
To rerun the server configuration, navigate to the
<Quality Center Synchronizer installation
directory>\bin and run the run_config_tool.bat
file.
23
Chapter 1 • Installing Quality Center Synchronizer
ProblemSuggested Solution
Installation of the
Quality Center
Synchronizer service does
not complete successfully.
Upgrade of the
Quality Center
Synchronizer database does
not complete successfully.
Run the following files located in the
<Quality Center Synchronizer installation
directory>\bin directory:
1 To uninstall any previous version of the service,
run stop_and_remove_synchronizer_service.bat.
2 To install the service, run
sync_service_install.bat.
Resolve any problem that caused the upgrade to
fail. Then run the following files located in the
<Quality Center Synchronizer installation
directory>\bin directory:
1 To restore the Quality Center Synchronizer
database to it’s previous state, run
run_recovery_tool.bat.
2 To rerun the server configuration, run
run_config_tool.bat.
Installing the Quality Center Synchronizer Client
After you install the Synchronizer server, you can install the Synchronizer
client.
24
Note: If you have been working with a previous version of the
Quality Center Synchronizer client, it is detected and uninstalled as part of
the installation process.
To install the Quality Center Synchronizer client:
1 Open the Quality Center Synchronizer Add-in page. For more information
on opening the Quality Center Synchronizer Add-in page, see “Installing
the Synchronizer Server” on page 16.
2 Click the Download Quality Center Synchronizer Client link.
Chapter 1 • Installing Quality Center Synchronizer
3 Follow the instructions on your screen to complete the installation of the
Synchronizer client.
4 To access this user’s guide in PDF format after the installation is complete,
choose Start > Programs > HP Quality Center Synchronizer Client > User’s
Guide.
Starting and Stopping the Quality Center Synchronizer
Service
This section describes how to start and stop the Synchronizer service.
Starting the Quality Center Synchronizer Service
You start the Synchronizer service from the Synchronizer server machine.
The Synchronizer service must be running to work with the Synchronizer
client.
To start the Quality Center Synchronizer service:
On the Synchronizer server machine, choose Start > Programs > HP
Quality Center Synchronizer > Start Synchronizer.
Note: The Synchronizer service is started in the background. It may take a
few minutes before the Synchronizer client can connect to the server.
25
Chapter 1 • Installing Quality Center Synchronizer
Stopping the Quality Center Synchronizer Service
You stop the Synchronizer service from the Synchronizer server machine.
To stop the Quality Center Synchronizer service:
1 Make sure that no tasks are running for any link. You can check whether
link tasks are currently running from the Running field in the Links Grid.
For more information on the Links Grid, see “Viewing Link Details” on
page 84.
Tip: To ensure that no tasks can run on any link, disable all links before you
stop the Quality Center Synchronizer service. For more information on
disabling links, see “Enabling and Disabling Synchronization Links” on
page 102.
2 On the Synchronizer server machine, choose Start > Programs > HP
Quality Center Synchronizer > Stop Synchronizer.
Starting the Quality Center Synchronizer Client
After you have installed the Synchronizer server and client, and started the
server, you can start the Synchronizer client and connect to the server.
Notes:
➤ You can work with more than one client connected to the server at the
same time. To avoid unexpected results, if you work with more than one
client, you must make sure that no link is worked on by more than one
client at the same time.
➤ The Synchronizer client is automatically disconnected from the
Synchronizer server after an extended period of inactivity. For
information on reconnecting, see “Disconnecting from and
Reconnecting to the Quality Center Synchronizer Server” on page 28.
26
Chapter 1 • Installing Quality Center Synchronizer
To start the Quality Center Synchronizer client:
1 On the Synchronizer client machine, choose Start > Programs > HP
Quality Center Synchronizer Client > Quality Center Synchronizer Client.
The Connect to Server dialog box opens.
2 In the Server name box, type the machine name of the Synchronizer server
to which you want to connect.
3 In the Password box, type the password for the Synchronizer server. The
initial password is blank.
Note: To increase the security of your Quality Center Synchronizer data,
change the password from the default blank password as soon as possible.
For more information on changing the server password, see “Changing the
Quality Center Synchronizer Password” on page 110.
4 Click Connect. The Synchronizer connects to the server you specified and
the Synchronizer client opens.
Tip: To close the Synchronizer client, choose Connection > Exit.
27
Chapter 1 • Installing Quality Center Synchronizer
Disconnecting from and Reconnecting to the
Quality Center Synchronizer Server
You can disconnect from the Synchronizer server manually when needed.
For example, you may want to connect to a different server. Additionally, if
you receive a warning that the Synchronizer client is not connected to the
server, you need to manually disconnect from the Synchronizer server. This
can occur, for example, after an extended period of inactivity.
After you disconnect from a server, you must connect to another server or
reconnect to the same server to continue working with the Synchronizer.
To disconnect from and reconnect to a Quality Center Synchronizer server:
1 Select Connection > Disconnect, or click the Disconnect button. The
Connect to Server dialog box opens.
28
2 Click the Disconnect button. The Server name and Password boxes become
editable.
3 Enter the logon credentials as described in step 2 in “Starting the
Quality Center Synchronizer Client” on page 27.
4 Click the Connect button. The Synchronizer connects to the server you
specified and the Synchronizer client opens.
Chapter 1 • Installing Quality Center Synchronizer
Uninstalling Quality Center Synchronizer
This section describes how to uninstall the Synchronizer server and client. It
also describes how to uninstall the PostgreSQL database management
system.
Uninstalling the Quality Center Synchronizer Server
This section describes how to uninstall the Synchronizer server.
To uninstall the Quality Center Synchronizer server:
1 Stop the Synchronizer service. For more information, see “Stopping the
Quality Center Synchronizer Service” on page 26.
2 On the Synchronizer server machine, choose Start > Settings > Control
Panel > Add or Remove Programs.
3 In the Currently installed programs list, select HP Quality Center
Synchronizer.
4 Click Remove and follow the instructions on your screen.
5 If you have no other applications that use PostgreSQL, uninstall PostgreSQL.
Important: Do not uninstall PostgreSQL if you are uninstalling the
Synchronizer server as part of the upgrade process. During the server
installation you can choose to upgrade the existing database or delete it and
create a new database.
For more information, see “Uninstalling PostgreSQL” on page 30.
29
Chapter 1 • Installing Quality Center Synchronizer
Uninstalling the Quality Center Synchronizer Client
This section describes how to uninstall the Synchronizer client.
To uninstall the Quality Center Synchronizer client:
1 On the Synchronizer client machine, choose Start > Settings > Control
Panel > Add or Remove Programs.
2 In the Currently installed programs list, select HP Quality Center
Synchronizer Client.
3 Click Remove and follow the instructions on your screen.
Uninstalling PostgreSQL
This section describes how to uninstall the PostgreSQL database
management system and delete the PostgreSQL user.
Important:
➤ Uninstalling the PostgreSQL database deletes all Quality Center
Synchronizer link data.
30
➤ You should only uninstall PostgreSQL if there are no other applications
that are dependent on it.
To uninstall PostgreSQL:
1 On the Synchronizer server machine, choose Start > Settings > Control
Panel > Add or Remove Programs.
2 In the Currently installed programs list, select the appropriate PostgreSQL
version.
3 Click Remove and follow the instructions on your screen.
4 Delete the PostgreSQL installation directory. By default, this is C:\postgres.
Chapter 1 • Installing Quality Center Synchronizer
To delete the PostgreSQL user:
1 On the Synchronizer server machine, right-click My Computer and choose
Manage. The Computer Management utility opens.
2 In the Computer Management utility, under System Tools, under Local
Users and Groups, select Users.
3 In the users list in the right pane, select the postgres user.
4 Choose Action > Delete. Click Yes to confirm.
31
Chapter 1 • Installing Quality Center Synchronizer
32
2
Synchronizing at a Glance
This chapter provides an overview of synchronizing data and describes the
Quality Center Synchronizer infrastructure.
This chapter includes:
➤ About Synchronizing at a Glance on page 33
➤ The Quality Center Synchronizer Client Window on page 34
➤ Synchronization Links on page 35
➤ Integrity Checks on page 37
➤ Incremental Synchronizations on page 41
➤ Full Synchronizations on page 42
About Synchronizing at a Glance
The Synchronizer enables you to synchronize data between Quality Center
and other applications.
You create synchronization links between Quality Center and another
application to manage the synchronization between them. Synchronization
links define which data is synchronized and how it is synchronized. For
more information on synchronization links, see “Synchronization Links” on
page 35.
After you create a synchronization link, you run an integrity check to
validate the link and to highlight problems that may occur during
synchronization. For more information on integrity checks, see “Integrity
Checks” on page 37.
33
Chapter 2 • Synchronizing at a Glance
You can run two types of synchronization: incremental synchronizations
and full synchronizations. For more information on these synchronization
types, see “Incremental Synchronizations” on page 41 and “Full
Synchronizations” on page 42.
The Quality Center Synchronizer Client Window
The Synchronizer client enables you to manage the synchronization links
stored in the Synchronizer database. For more information on starting the
Synchronizer client, see “Starting the Quality Center Synchronizer Client”
on page 26.
34
The Synchronizer client window contains the following key elements:
➤ Quality Center Synchronizer menu bar. Contains drop-down menus of the
Synchronizer commands.
➤ Quality Center Synchronizer toolbar. Contains buttons of commands
commonly used when managing synchronization links.
➤ Links list. Contains a list of the synchronization links available on the
Synchronizer server. Located on the left of the Synchronizer client window.
➤ Link Details pane. Contains information about your synchronization links.
Located on the upper right of the Synchronizer client window.
➤ Execution pane. Contains information about link task execution. Located
on the bottom right of the Synchronizer client window.
Synchronization Links
You create synchronization links between two endpoints. An endpoint is an
application containing data that is synchronized by the Synchronizer. The
first endpoint is always an instance of Quality Center, while the second
endpoint is another application such as Rational ClearQuest or Rational
RequisitePro.
A synchronization link or link defines which entities are included in the
synchronization, and how the synchronization is performed. For example,
you can define whether the Synchronizer synchronizes only new records
that were added since the last synchronization, or also synchronizes existing
records that were updated. You also define which fields and field values in
one endpoint are mapped to corresponding fields and field values in the
other endpoint.
Chapter 2 • Synchronizing at a Glance
For a mapping between fields or field values, the source endpoint refers to
the endpoint from which data is synchronized. Data in the source endpoint
for the mapping remains unchanged. The destination endpoint refers to the
endpoint to which data is synchronized. Data in the destination endpoint is
updated according to the data in the source endpoint and the mapping’s
settings.
Each link contains information to determine which data to synchronize and
how to perform the synchronization. For more details on the information
contained in links, see “Time Stamp, Identity Mappings, and Record
Versions” on page 36 and “Cycle Redundancy Checks” on page 36.
35
Chapter 2 • Synchronizing at a Glance
Time Stamp, Identity Mappings, and Record Versions
The Synchronizer stores various data during the synchronization process.
During subsequent synchronization runs, the Synchronizer uses this data to
determine if a record needs to be synchronized. The stored data includes:
➤ Time stamp. Indicates when the last synchronization task started running
on a specific link.
➤ Identity mappings. For each link, the Synchronizer stores a table of identity
mappings between records in each endpoint. Each record in each endpoint
is identified by a unique ID, and this table records the correspondence
between each pair of records.
➤ Record versions. Indicates the version of each synchronized record in each
endpoint. During synchronization, each synchronized record receives a
unique version.
Cycle Redundancy Checks
After the Synchronizer has determined that a mapping is a candidate for
synchronization, a cycle redundancy check (CRC) is performed to determine
whether to synchronize the records in the mapping. A cycle redundancy
check is a mathematical operation used to indicate whether data in an
endpoint has changed.
36
The Synchronizer performs a cycle redundancy check for each endpoint on
the mapped fields only. This enables the Synchronizer to determine whether
the modifications made to the records in the mapping necessitate
synchronizing the records.
For example, suppose you are mapping defects in Quality Center with
defects in ClearQuest, and the only field mapping for the link is between the
Status field in Quality Center and the State field in ClearQuest. Suppose the
Priority field is updated for a defect in Quality Center. As the defect was
modified, the mapping that includes the defect is a candidate for
synchronization, based on the link time stamp. However, as the mapped
fields were not modified, the records should not be synchronized, even
though there were other modifications to the records. During
synchronization, the Synchronizer performs a cycle redundancy check on
the mapping. The check indicates that the mapped fields were not modified,
and therefore the records are not synchronized.
Integrity Checks
An integrity check identifies possible problems that can occur during the
synchronization process. You must run an integrity check on a link before
you can run a synchronization task on that link. When an integrity check
passes successfully, you can enable the link and run synchronization tasks
on it.
You run an integrity check to validate a link when you:
➤ Create a new link
➤ Modify an existing link
➤ Modify the XML schema file for one of the link’s endpoints
An integrity check verifies both general settings for the link, and the field
mappings defined for the link. Each individual check within the integrity
check can pass or fail. The integrity check passes only if none of the
individual checks within it fail.
If you do not run an integrity check, or if the integrity check does not pass,
the link remains unvalidated and cannot be enabled for synchronization.
Chapter 2 • Synchronizing at a Glance
The Synchronizer generates a report for each run, which you can open by
clicking the View Report button in Execution pane (in the lower part of the
Synchronizer window). After an unsuccessful integrity check run, you can
review this report to identify which individual checks failed and to
determine how to fix the link. After the link is fixed, run the integrity check
again.
This section includes the following topics:
➤ “Checks Performed on General Link Settings” on page 38
➤ “Checks Performed on Link Field Mappings” on page 39
37
Chapter 2 • Synchronizing at a Glance
Checks Performed on General Link Settings
The following table displays which checks the Synchronizer performs for
each endpoint when you run an integrity check. Depending on the entity
type synchronized in the link, not all of these checks are performed for
every link.
Check NameCheck Description
Endpoint
Connection
User permission
check
Endpoint
parameters check
Fetching endpoint
schema
Specified filter
exists
Subtype exists
check
Endpoint events
check
Checks that the Synchronizer can successfully connect to
the endpoint using the settings defined.
Checks that the user used to connect to the endpoint has
sufficient permissions to perform the required tasks.
Checks and validates additional parameters that may be
defined for the endpoint.
For example, if an alternate root folder is defined for
requirements synchronization, checks that the folder
exists in Quality Center.
Checks that the Synchronizer can obtain the database
schema for the endpoint.
If a filter is defined for the endpoint in the link, checks
that the filter exists in the endpoint.
Checks that the mapped requirement type exists in the
endpoint.
Checks the following;
➤ If the endpoint is set to handle record creation in the
other endpoint, it is also set to update the other
endpoint.
➤ If the endpoint is set to recreate records, the other
endpoint is set to handle record creation.
➤ One endpoint only is set to handle record creation for
the mapped requirement type.
38
Check NameCheck Description
Chapter 2 • Synchronizing at a Glance
Fields mapping
defined
Consistency of
mapping and
endpoint events
Checks that a field mapping is defined between the
endpoints and that it can be obtained by the
Synchronizer.
Checks that if a field mapping is defined from the
endpoint, the link is set to handle record creation or
updates in the other endpoint. Also checks that if the link
is set to handle record creation or updates in the
endpoint, a field mapping is defined to the endpoint.
Checks Performed on Link Field Mappings
An integrity check performs the following checks on the field mappings you
define for the link. The Synchronizer also performs these checks when you
check the field mappings when you create or configure a link. Depending
on the type of field mapped, not all of these checks are performed for every
identity mapping.
Check NameCheck Description
Required fields
check
Checks that required fields in the destination endpoint
are mapped to a field in the source endpoint, or are
assigned a constant value. If this is not the case, the check
fails.
In addition, checks that recommended fields in the
destination endpoint are mapped to a field in the source
endpoint, or are assigned a constant value. If this is not
the case, the check passes with a warning.
Field existence
check
Field types match
check
Fields length match
check
Checks that the field exists in the endpoint.
Checks that if a mapping exists between fields of different
types, the values can be converted between the types.
For string type fields (String, Multi value list, Single value list, User list), checks that the maximum length for values
for each of the fields in a mapping is the same. If the
maximum length is different, the check passes with a
warning that some values may be truncated.
39
Chapter 2 • Synchronizing at a Glance
Check NameCheck Description
Fixed list mapping
check
User list checkChecks whether the source field of a mapping is not a user
Value mapping
types check
Values length match
check
Values mapping in
mandatory field
check
Fixed list values
mapping check
Checks whether the source field of a mapping is not a
verified list field, whereas the destination field is a verified
list field. In such a case, the check passes with a warning
as it is possible that values will be mapped to the
destination that are not in its list.
list field, whereas the destination field is a user list field.
In such a case, the check passes with a warning as it is
possible that values will be mapped to the destination
that are not in its user list.
Checks that it is possible to convert between the type of
the value mapped to a field and the type of the field.
For string type fields (String, Multi value list, Single value list, User list), checks that the length of values mapped to
the field in a field value mapping is not greater that the
maximum length for the field. If a value is mapped that is
longer that the maximum length, the check passes with a
warning that the value will be truncated.
Checks that no field value mapping maps an empty string
to a mandatory field.
Checks that no field value mapping exists that maps
values to a verified list field that are not in the list
associated with the destination field.
40
Read only checkChecks that there is no mapping to read-only fields.
Incremental Synchronizations
You r un an incremental synchronization on a link to determine which
records in the endpoints were created or modified since the previous
synchronization task, and then synchronize data between the two
endpoints according to the mapping and settings you defined for the link.
➤ In an incremental synchronization, the Synchronizer first sends a request to
each endpoint to supply a list of records created or modified since the time
indicated by the time stamp for the link. The time stamp for a link is the
time the last synchronization task started running. The endpoint supplies
this list by comparing the time stamp for the link with the time each record
was last modified as recorded by the endpoint. If a record was modified after
the time indicated by the time stamp for the link, it is included in the list.
➤ If a record that is included in the list for one of the endpoints is not
previously known to the Synchronizer, and therefore does not appear in the
identity map table for the link, the Synchronizer infers that the record was
created after the last synchronization. If you enabled record creation in the
other endpoint, the Synchronizer creates a corresponding record in that
endpoint and updates the identity map table to include this
correspondence.
Chapter 2 • Synchronizing at a Glance
➤ If a record in the list already appears in the identity map table for the link,
and the record’s version is different from the version in the identity
mapping record, the Synchronizer infers that the record has been updated
since the last synchronization. The Synchronizer then performs a cycle
redundancy check to determine if fields included in the mapping were
modified and require synchronization. If synchronization is necessary, the
Synchronizer updates the corresponding record in the other endpoint,
depending on the settings for the link.
41
Chapter 2 • Synchronizing at a Glance
➤ An incremental synchronization does not handle deleted records. In
addition, it can cause data consistency issues. For example, consistency
issues could arise if the Synchronizer tries to update a record but is unable to
do so for some reason, such as the record being locked in the endpoint. In
such a case, the Synchronizer updates the time stamp for the link even
though the records have not been synchronized. In future synchronizations,
the Synchronizer will not detect that these records still need to be
synchronized. To handle deleted records and data consistency issues, you
can run a full synchronization. For more information, see “Full
Synchronizations” on page 42.
Full Synchronizations
You can run a full synchronization to perform a full comparison of the
records in each endpoint. This is useful if you want to handle records that
were deleted from one of the endpoints, or if you want to synchronize
records that were not synchronized in an incremental synchronization.
In a full synchronization, the Synchronizer requests from each endpoint a
list of all the records in that endpoint, not just those created or modified
since the previous synchronization task. It then compares this list of records
with the list of records included in the identity mapping table. If a record
appears in the identity mapping table but no longer appears in the
endpoint, the Synchronizer infers that the record was deleted from the
endpoint and deals with this case according to the options specified in the
link’s configuration.
42
If a record appears in both the endpoint and the identity mapping table for
the link, the Synchronizer synchronizes the record based on the link’s time
stamp, the record’s version, and the cycle redundancy checks, as it would in
an incremental synchronization. However, some records may be
synchronized that would not otherwise be synchronized in an incremental
synchronization. This is because in a full synchronization, all records are
requested from each endpoint, and not just those modified since the
previous synchronization task.
3
Creating Synchronization Links
You create synchronization links to synchronize data between
Quality Center and another endpoint.
This chapter includes:
➤ About Creating Synchronization Links on page 44
➤ Creating Links on page 45
➤ Setting Link Properties on page 50
➤ Setting Scheduling Options on page 54
➤ Setting Filter Options on page 56
➤ Creating Requirement Type Mappings on page 59
➤ Setting Event Options on page 61
➤ Creating Field Mappings on page 66
➤ Setting Mail Notifications on page 81
➤ Setting Adapter Parameters on page 82
43
Chapter 3 • Creating Synchronization Links
About Creating Synchronization Links
You create synchronization links from the Synchronizer client. The link
defines synchronization of defects or requirements between Quality Center
and another endpoint.
Creating synchronization links involves the following stages:
1 Determine basic settings for the link and define its endpoints. For more
information, see “Creating Links” on page 45.
2 Confirm the basic settings and define additional general settings. For more
information, see “Setting Link Properties” on page 50.
3 Define whether synchronizations will be run manually, or automatically at
regular time intervals. For more information, see “Setting Scheduling
Options” on page 54.
4 Define which records created in an endpoint are synchronized. For more
information, see “Setting Filter Options” on page 56.
5 If you are synchronizing requirements, create mappings between
requirement types in the endpoints. For more information, see “Creating
Requirement Type Mappings” on page 59.
44
6 Define which types of changes to data in an endpoint are synchronized. You
can synchronize records added since the previous synchronization, records
updated since the previous synchronization, or records deleted since the
previous full synchronization. For more information, see “Setting Event
Options” on page 61.
7 Define how fields are mapped between the two endpoints. You can also map
specific field values in one endpoint to fields values in the other endpoint.
For more information, see “Creating Field Mappings” on page 66.
8 Run an integrity check to verify the settings and mappings for the link. For
information on integrity checks, see “Integrity Checks” on page 37. For
information on running an integrity check, see “Running Link Tasks
Manually” on page 91.
9 Save the link by clicking the Save button. Click Yes to confirm. This saves
the link and converts it to read-only mode. To edit the link configuration
again, click the Edit button.
After you have defined a synchronization link, you can run tasks on it to
synchronize data between Quality Center and another endpoint. For more
information on running synchronization link tasks, see “Running Link
Tasks” on page 89.
Creating Links
The Quality Center Synchronizer provides a wizard that enables you to
create a link. For each link, you assign a name and description, and define
its two endpoints. One endpoint is always a Quality Center instance. The
other endpoint is the project in the application you want to synchronize.
You also define which type of entity to synchronize in each endpoint, such
as defects or requirements. Each link can synchronize only one entity type
in each endpoint. The entity types you choose determine which fields are
available for synchronization in each endpoint, based on the database
schema for the types in their endpoints.
You can create only one synchronization link between the same entity types
in the same two endpoints, and each synchronization link must be unique.
The uniqueness of a link is defined by its connection data. This means that
you can create as many links as needed to one Quality Center project, as
long as the other endpoints are all unique. For example:
In this example, the pair of endpoints for each link are unique, so you can
create these synchronization links.
If you then try to create another synchronization link using
Quality Center/MyProject <---> RequisitePro/Project_B as endpoints, the
link creation fails because the projects in both endpoints are already paired
in an existing link.
45
Chapter 3 • Creating Synchronization Links
To create a link:
Select Link > Create or click the Create Link button. The Create Link wizard
opens to the General Properties screen.
46
1 Define the general link properties:
➤ In the Link name box, type a name for the link.
➤ In the Description box, type a description for the link.
➤ In the Endpoint 2 type box, select the application you want to
synchronize with Quality Center.
Chapter 3 • Creating Synchronization Links
2 Click Next. The Quality Center Endpoint screen opens.
3 Enter the connection settings for the Quality Center project:
➤ User name. The user name for a Quality Center user. This user must have
create, modify, and delete permissions for the entity being synchronized
(defect or requirement) in the Quality Center project.
➤ Password. The password for the user you specified.
➤ ServerURL. The URL of the Quality Center server. For example,
http://MyServer:8080/qcbin.
➤ Domain. The domain containing the project whose data you want to
synchronize.
➤ Project. The name of the project whose data you want to synchronize.
For more details on Quality Center servers, domains, and projects, refer to
the HP Quality Center Administrator’s Guide.
47
Chapter 3 • Creating Synchronization Links
4 (Optional) Click the Check Connectivity button if you want to verify the
connection to the Quality Center project. For example, you may want to
test the connectivity to several projects before finalizing a project for this
link. If the Synchronizer is able to connect to the project, a confirmation
message displays.
5 Click Next. The Synchronizer tries to connect to the Quality Center project
and retrieve the available entity types. If successful, the <Endpoint
Application> Endpoint screen opens.
48
6 Enter the connection settings for the endpoint you want to synchronize
with Quality Center. The settings available depend on which type of
endpoint you are working with. For details on the settings available for a
particular endpoint, see:
➤ “RequisitePro Connection Properties” on page 122.
➤ “ClearQuest Connection Properties” on page 116
Chapter 3 • Creating Synchronization Links
7 (Optional) Click the Check Connectivity button if you want to verify the
connection to the project in the application you are synchronizing with the
Quality Center entities. For example, you may want to test the connectivity
to several projects before finalizing a project for this link. If the
Synchronizer can connect to the project, a confirmation message displays.
8 Click Next. The Synchronizer tries to connect to the endpoint project and
retrieve the available record entity types. If successful, the Entity Types
screen opens.
9 In the Available entity type pairs box, select the entity type pair you want to
synchronize.
10 Click Finish. A message box asks you if you want to edit the new link.
➤ Click Yes to begin configuring the link. For more information, see
“Setting Link Properties” on page 50.
➤ Click No to open the link in read-only mode.
Tip: If you choose to open the link in read-only mode, you can edit the
link later by clicking the Edit button.
49
Chapter 3 • Creating Synchronization Links
Setting Link Properties
After you have defined the link name, description, and endpoints, you
define the basic properties for the link.
To set properties for a link:
1 Create the link and define its connection settings as described in “Creating
Links” on page 45.
2 In the Links list, select the link you created. The General tab is displayed.
50
Note: The tabs displayed in the Link Details pane vary depending on which
type of entity you are working with.
3 Review the link details. To edit or set additional link properties, click the
Edit button. For more information on editing links, see “Editing
Synchronization Link Settings” on page 99.
Chapter 3 • Creating Synchronization Links
You can edit the following fields:
➤ In the Link name box, edit the name of the link.
➤ In the Link description box, edit the description of the link.
4 Click the Connectivity tab.
5 (Optional) You can edit the settings used to connect to each endpoint. This
is useful, for example, if the logon credentials change, or if you want to
modify the link to synchronize a different project. For more information on
these settings, see “Creating Links” on page 45.
6 (Optional) To check the connection to an endpoint, click the Check
Connectivity button for the endpoint. If the Synchronizer can connect to
the endpoint, a confirmation message displays.
51
Chapter 3 • Creating Synchronization Links
7 (Optional) If you are synchronizing requirements, you can specify an
alternate root folder for synchronization under the Quality Center
requirements tree. Select Use alternate root folder and enter the path of the
root folder you want to synchronize.
Important: Specifying an alternate root folder can cause unexpected
behavior. Review “Guidelines for Defining an Alternate Root Folder in
Quality Center” on page 53 before specifying an alternate root folder.
8 You can now define the scheduling options for the link, including how and
when you want to run tasks for the link. For more information, see “Setting
Scheduling Options” on page 54.
52
Chapter 3 • Creating Synchronization Links
Guidelines for Defining an Alternate Root Folder in
Quality Center
By default, the Synchronizer synchronizes all requirements in the
Quality Center Requirements root folder.
You can specify an alternate root folder if you want to synchronize only a
subset of the requirements in your Quality Center project. For example, you
may want to synchronize multiple projects from the RequisitePro endpoint
to different folders in one Quality Center project, as shown in the following
illustration.
RequisitePro Projects
Quality Center
Requirements
RP_Project1
Folder1
Req1
Req2
...
RP_Project2
Folder1
Req1
Req2
...
Project1
Folder1
Req1
Req2
...
Project2
Folder
Req1
Req2
...
In the example above, the requirements in the RequisitePro endpoint’s
Project 2 are synchronized with the requirements in the Quality Center
RP_Project 2 folder instead of the Requirements folder.
Consider the following when specifying an alternate root folder.
➤ The path you specify must replicate the exact hierarchy in Quality Center.
For example: Requirements\MyProject (Note that Requirements is already
defined for you in the dialog box.)
Tip: You can copy/paste each folder name to ensure exact spelling.
➤ The path of the alternate root folder must be completely different from the
path of any other link. For example, if you specify an alternate folder for one
link, you can specify a sibling folder for a different link.
53
Chapter 3 • Creating Synchronization Links
➤ If you want to reorganize the requirements in the Requirements module
after one or more synchronization tasks are performed, carefully move
requirements while retaining the same hierarchy, instead of deleting
requirements and creating new ones. The Synchronizer synchronizes
Quality Center requirements according to their Quality Center ID. Moving
the requirements maintains the requirement ID and helps prevent
requirements from being added or deleted during a synchronization task.
Setting Scheduling Options
After you define the general properties for a link, you determine its
scheduling options. If you do not determine scheduling options for a link,
link tasks do not run automatically and you must run these tasks manually
from the Synchronizer client.
To set scheduling options for a link:
1 Verify that you are working in edit mode. For more information, see
“Editing Synchronization Link Settings” on page 99.
2 Click the Scheduling tab.
54
Chapter 3 • Creating Synchronization Links
3 Select Enable scheduling to enable scheduling of link tasks.
4 Select Run incremental synchronization task to run incremental
synchronization tasks automatically for the link. For more information on
incremental synchronization tasks, see “Incremental Synchronizations” on
page 41. The following options are available:
➤ Schedule every. Runs incremental synchronization tasks for the link at
the specified time interval. The time interval can be specified in minutes
or hours. The first time interval starts when you start the Synchronizer
server. By default, the time interval is set to 30 minutes for defects
synchronization, and 8 hours for requirements synchronization.
Note: You cannot schedule an incremental synchronization to run more
frequently than five minutes.
➤ Run task at. Runs incremental synchronization tasks on the link at the
specified time each day. By default, tasks run every day.
Click the browse button to open the Days of Week dialog box, and select
specific days of the week to run the task. On these days, the tasks will run
at the time you specified in the Run task at option.
55
Chapter 3 • Creating Synchronization Links
5 Select Run full synchronization task to run full synchronization tasks
automatically for the link. For more information on full synchronization
tasks, see “Full Synchronizations” on page 42. The following options are
available:
➤ Schedule every. Runs full synchronization tasks for the link at the
specified time interval. The time interval can be specified in hours or
days. The first time interval starts when you start the Synchronizer server.
Note: You cannot schedule a full synchronization to run more frequently
than every hour.
➤ Run task at. Runs full synchronization tasks on the link at the specified
time each day. By default, tasks run every day.
Click the browse button to open the Days of Week dialog box, and select
specific days of the week to run the task. On these days, the tasks will run
at the time you specified in the Run task at option. For an illustration of
the Days of Week dialog box, see step 4 above.
6 You can now define the filters for the link. For more information, see
“Setting Filter Options” on page 56.
Setting Filter Options
After you define the general properties for a link and its scheduling options,
you can define filters to be used during synchronization. When the
Synchronizer looks for new records that have been created in the endpoints
since the last synchronization, it includes only records that match the
selected filters.
Records that have already been mapped are always synchronized, even if the
filter for the endpoint changes or if they no longer match the filter.
To set filters for a defects synchronization link:
1 Verify that you are working in edit mode. For more information, see
“Editing Synchronization Link Settings” on page 99.
2 Click the Filters tab. The filter options are displayed, according to the entity
type you are synchronizing.
56
Chapter 3 • Creating Synchronization Links
3 For defects synchronization, the Filters tab displays the following filter
options.
For each endpoint, select one of the following options:
➤ No filter. All records are considered for synchronization.
➤ Use filter (for creation events). Select a filter from the list. Only records
that match the selected filter are considered for synchronization.
4 You can now define which types of changes to data in the endpoints are
synchronized. For more information, see “Setting Event Options” on
page 61.
To set filters for a requirements synchronization link:
1 Verify that you are working in edit mode. For more information, see
“Editing Synchronization Link Settings” on page 99.
2 Click the Filters tab. The filter options are displayed, according to the entity
type you are synchronizing.
57
Chapter 3 • Creating Synchronization Links
3 For requirements synchronization, the Filters tab displays the following
filter options.
For each endpoint, select one of the following options:
➤ No filters. All records are considered for synchronization.
➤ Use filters (for creation events). Records that match any of the selected
filters are considered for synchronization. Note that selected filters apply
only to the requirement type with which they are associated.
58
➤ To add a filter, click the Add button. In the Add Filter dialog box, select
the filter and click OK. The filter is added to the list. To add an
additional filter, click the Add button.
➤ To remove a filter, select the filter from the list and click the Remove
button.
4 You can now define mappings between requirement types in the endpoints.
For more information, see “Creating Requirement Type Mappings” on
page 59.
Chapter 3 • Creating Synchronization Links
Creating Requirement Type Mappings
When synchronizing requirements, you create mappings between
requirement types in each endpoint. For example, you might map the
Functional requirement type in Quality Center to the Functional requirement
type in RequisitePro.
Consider the following points when creating requirement type mappings:
➤ Each requirement type in an endpoint can be mapped only once to a
requirement type in the other endpoint. Records for requirement types that
are not mapped are not synchronized.
➤ For each requirement type mapping, new requirements created in one
endpoint only are synchronized. For more information, see “Setting Event
Options for Requirements Synchronization” on page 63.
➤ Folders are automatically mapped if they contain a requirement type that is
mapped. They cannot be configured.
For more information on synchronizing requirements between
Quality Center and another endpoint, refer to the appropriate appendix for
that endpoint.
To create requirement type mappings for a link:
1 Verify that you are working in edit mode. For more information, see
“Editing Synchronization Link Settings” on page 99.
59
Chapter 3 • Creating Synchronization Links
2 Click the Subtype Mapping tab.
3 In each of the endpoint-type panes on the left, select one requirement type
that you want to map. In the example above, Functional and Functional are
selected.
4 Click Add Mapping to create the requirement type mapping between the
endpoints. The new mapping is displayed in the Mapped Subtypes box.
60
5 To create additional requirement type mappings, repeat steps 3 to 4.
6 To delete a requirement type mapping, under Mapped Subtypes, select the
mapping and click the Delete button.
Note: Deleting a requirement type mapping deletes all associated link data
for the requirement type’s records in both endpoints. For more information,
see “Deleting Synchronization Links” on page 103 for important
information.
7 You can now define which types of changes to data are synchronized in the
endpoints. For more information, see “Setting Event Options” on page 61.
Setting Event Options
You set event options to direct the Synchronizer how to handle the creation,
update, and deletion of records in the endpoints. This section includes:
➤ “Setting Event Options for Defects Synchronization” on page 61
➤ “Setting Event Options for Requirements Synchronization” on page 63
Setting Event Options for Defects Synchronization
After you define basic properties for the link, and set scheduling and filter
options, you define which type of synchronization is performed on each
endpoint.
To set event options for defects synchronization:
1 Verify that you are working in edit mode. For more information, see
“Editing Synchronization Link Settings” on page 99.
2 Click the Events tab.
Chapter 3 • Creating Synchronization Links
61
Chapter 3 • Creating Synchronization Links
3 For each endpoint, under Creation, select how to handle records created in
the endpoint. The following options are available:
➤ Create a corresponding record in the other endpoint. If a record is
created in the endpoint, a corresponding record is created in the other
endpoint.
➤ Do nothing. No action is taken in the other endpoint in response to
records created in the endpoint.
4 For each endpoint, under Update, select how to handle records updated in
the endpoint. The following options are available:
➤ Update its corresponding record in the other endpoint. If a record that
was previously synchronized is updated in the endpoint, the
corresponding record is updated in the other endpoint.
You must select this option if the Create a corresponding record in the other endpoint option is selected for the endpoint.
➤ Do nothing. No action is taken in the other endpoint in response to
records updated in the endpoint.
5 For each endpoint, under Deletion (Full Synchronization Only), specify how
to handle records deleted in the endpoint. The following options are
available:
62
➤ Do nothing. No action is taken in the other endpoint in response to
records deleted in the endpoint.
➤ Delete its corresponding record in the other endpoint. If a record that
was previously synchronized is deleted in the endpoint, the Synchronizer
deletes the corresponding record in the other endpoint.
➤ Recreate based on its corresponding record in the other endpoint. If a
record that was previously synchronized is deleted in one endpoint, the
Synchronizer recreates the record based on the data for the
corresponding record in the other endpoint.
This option is available only if Create a corresponding record in the other endpoint is selected in the other endpoint.
Note that the Synchronizer handles deleted records only during full
synchronization tasks, and not during incremental synchronization tasks.
Chapter 3 • Creating Synchronization Links
6 You can now define how data fields and field values are mapped between
the endpoints. For more information, see “Creating Field Mappings” on
page 66.
Setting Event Options for Requirements Synchronization
After you define basic properties for the link, set scheduling and filter
options, and create requirement type mappings, you define which type of
synchronization is performed on each endpoint.
For each requirement type mapping, one endpoint is selected as master for
the synchronization of records.
The event options for the master and non-master endpoints are summarized
in the following table:
Event
CreationWhen a record is created in the
UpdateWhen a record is updated in the
DeletionWhen a record is deleted in the
Event Options for
Master Endpoint
master endpoint, a
corresponding record is created
in the other endpoint.
master endpoint, its
corresponding record in the
other endpoint is updated.
master endpoint, the following
options are available:
➤ No action is taken in the
other endpoint.
➤ The corresponding record in
the other endpoint is deleted.
Event Options for the
Non-master Endpoint
When a record is created in this
endpoint, no action is taken in
the other endpoint.
When a record is updated in this
endpoint, the following options
are available:
➤ No action is taken in the
other endpoint.
➤ The corresponding record in
the other endpoint is
updated.
When a record is deleted in this
endpoint, the following options
are available:
➤ No action is taken in the
other endpoint.
➤ The record is recreated based
on its corresponding record
in the other endpoint.
63
Chapter 3 • Creating Synchronization Links
The Synchronizer maintains the hierarchical requirements tree structure
during synchronization, based on the master endpoint. Consider the
following ways in which the Synchronizer handles the parent/child
relationship between requirements during synchronization:
➤ When a new requirement is created in the master endpoint, and the
requirement is the child of requirements that were not previously
synchronized, the parent requirements are also created in the other
endpoint. If a filter is defined, the parent requirements are synchronized
even if they do not match the filter.
➤ If a requirement is moved within the requirements tree of the master
endpoint, it is moved accordingly in the other endpoint.
➤ If you selected an alternate root folder for requirements synchronization in
the Filters tab, a requirement that you move out of the specified root folder
is handled as a deleted requirement.
➤ If a parent requirement is deleted in the master endpoint, and the option to
delete corresponding records in the other endpoint is selected, the parent
requirement and all child requirements are deleted in the other endpoint.
➤ When a deleted parent requirement is recreated in an endpoint, the child
requirements are also recreated.
64
To set event options for requirements synchronization:
1 Verify that you are working in edit mode. For more information, see
“Editing Synchronization Link Settings” on page 99.
2 Under Mapped Subtypes, select the mapping you want to configure and
click Configure.
Alternatively, in the Links list, expand a requirement link, select the
requirement type mapping, and click the Events tab.
Chapter 3 • Creating Synchronization Links
The event options are displayed.
3 Under Endpoint 1 Events or Endpoint 2 Events, click Master (controls
record creation and deletion) to select a master endpoint. Event options
associated with the selection of the master endpoint are set.
4 For the master endpoint, under Deletion, select how to handle records
deleted in the endpoint. The following options are available:
➤ Do nothing. No action is taken in the other endpoint in response to
records deleted in the endpoint.
➤ Delete its corresponding record in the other endpoint. If a record that
was previously synchronized is deleted in the endpoint, the Synchronizer
deletes the corresponding record in the other endpoint.
5 For the non-master endpoint, under Update, select how to handle records
updated in the endpoint. The following options are available:
➤ Update its corresponding record in the other endpoint. If a record that
was previously synchronized is updated in the endpoint, the
corresponding record is updated in the other endpoint.
➤ Do nothing. No action is taken in the other endpoint in response to
records updated in the endpoint.
65
Chapter 3 • Creating Synchronization Links
6 For the non-master endpoint, under Deletion, select how to handle records
deleted in the endpoint. The following options are available:
➤ Do nothing. No action is taken in the other endpoint in response to
records deleted in the endpoint.
➤ Recreate based on its corresponding record in the other endpoint. This
option is available only if Create a corresponding record in the other endpoint is selected in the other endpoint. When a record that was
previously synchronized is deleted in one endpoint, the Synchronizer
recreates the record based on the data for the corresponding record in the
other endpoint.
7 If your link contains additional requirement type mappings, repeat steps 1
to 6 to configure each mapping.
8 You can now define how data fields and field values are mapped between
the endpoints. For more information, see “Creating Field Mappings” on
page 66.
Creating Field Mappings
66
After you define which changes to endpoint data are synchronized, you
specify which fields are mapped and in which direction they are mapped.
For example, you might map a field named Priority in one endpoint to a field
named Criticality in the other endpoint.
Field mappings must be defined for each defects link, and for each
requirement type mapping of a requirements link.
You can also map specific values for a field in one endpoint to specific values
of a field in the other endpoint.
This section includes the following topics:
➤ “Mapping Endpoint Fields” on page 67
➤ “Mapping Field Values” on page 76
➤ “Mapping Constant Values” on page 79
➤ “Mapping Attachment Fields” on page 80
Chapter 3 • Creating Synchronization Links
Mapping Endpoint Fields
You map fields between the two endpoints in a synchronization link.
To map endpoint fields for a link:
1 Verify that you are working in edit mode. For more information, see
“Editing Synchronization Link Settings” on page 99.
2 Navigate to the Field Mapping tab.
➤ For a defects link, in the Links list, select the link and click the Field
Mapping tab.
➤ For a requirements link, in the Links list, expand the link, select a
requirement type mapping, and click the Field Mapping tab.
Alternatively, from the Subtypes Mapping tab, under Mapped Subtypes,
select a requirement type mapping and click Configure.
The field mapping configuration options are displayed.
67
Chapter 3 • Creating Synchronization Links
The top part of the tab lists the fields for the entities being synchronized.
Mapped entities are displayed in italics, as shown in the Headline field in
this example.
The following columns are displayed for each field:
ColumnDescription
NameThe name of the field in the endpoint.
TypeThe field type. The following types are available:
➤ Attachment. The field contains attachments associated with
the record. For more information on synchronizing record
attachments, see “Mapping Attachment Fields” on page 80.
➤ Date. The field contains a date value.
➤ Multi value list. The field contains values from a predefined
list. The field can contain more than one value from this list.
➤ Number. The field contains a numerical value.
➤ Single value list. The field contains a single value from a
predefined list.
➤ String. The field contains string values.
➤ User list. The field contains a value from a list of users.
68
Chapter 3 • Creating Synchronization Links
ColumnDescription
AttributesIndicates whether the field is read-only. You cannot create a
mapping to a field that is read-only. The following attribute
values are available:
➤ R. The field can be read but cannot be written to.
➤ RW. The field can be both read and written to.
MappedIndicates whether the field is currently included in a mapping to
a field in the other endpoint or a constant value is mapped to the
field.
In addition, an icon indicating whether the field is required is displayed
adjacent to each field name in the Name column. The following table lists
the possible options and details on how the level is determined for each
field in Quality Center.
IconLevelDescription
MandatoryThe field is mandatory for the endpoint. You must map
this field as the destination of a mapping from a field in
the other endpoint or map a constant value to the field.
A mandatory field that is unmapped causes an error
during an integrity check if entity creation is enabled
for the endpoint.
For a Quality Center endpoint, a field is Mandatory in
the Synchronizer if it is a required field in
Quality Center but not given a default value in
Quality Center when a record is created.
69
Chapter 3 • Creating Synchronization Links
IconLevelDescription
RecommendedIt is strongly recommended that you map this field as
OptionalYou do not need to map this field as the destination of a
the destination of a mapping from a field in the other
endpoint, but you are able to run synchronization tasks
on the link if you do not create the mapping. A
recommended field that is unmapped causes a warning
during an integrity check if entity creation is enabled
for the endpoint.
For a Quality Center endpoint, a field is Recommended
in the Synchronizer if it is required in Quality Center
and is given a default value in Quality Center when a
record is created.
mapping from a field in the other endpoint, but can
optionally do so.
For a Quality Center endpoint, a field is Optional in the
Synchronizer if it is not required in Quality Center and
is not given a default value in Quality Center when a
new record is created.
70
3 To sort the fields by the data in a particular column, click the column
header. Click the column header again to switch between sorting the data in
ascending order and sorting the data in descending order.
4 You can filter the fields displayed in the fields list using the filter buttons
located above the list of fields:
➤ To switch between showing and hiding Mandatory fields, click the Filter
mandatory fields button.
➤ To switch between showing and hiding Recommended fields, click the
Filter recommended fields button.
➤ To switch between showing and hiding Optional fields, click the Filter
optional fields button.
Chapter 3 • Creating Synchronization Links
5 To view the properties for a field, double-click a field, or select a field and
click the View Field Properties button. The Field Properties dialog box opens
listing the names, values, and descriptions of the field’s properties.
Select an item to view its description.
Note: Most of these fields can also be viewed in the Field Properties tab
described in step 11 on page 75.
6 To import a set of field mappings from an exported XML link configuration
file, click the Import button. In the Open dialog box, select the XML file
from which you want to import the field mappings and click Open. The
field mappings defined in the XML files are imported. For more information
on exporting link configuration files, see “Exporting and Importing Link
Definitions” on page 104.
71
Chapter 3 • Creating Synchronization Links
You can also import field mappings from a sample file. Navigate to
<Quality Center Synchronizer Client directory>\samples directory, and
select the file for the type of endpoint that you are synchronizing with
Quality Center.
7 To export a set of field mappings to an XML file, click the Export button. In
the Save As dialog box, type a file name for the XML file to which you want
to export the field mappings and click Save.
8 To add a mapping between fields in each endpoint, select the field in each
endpoint that you want to map and click the
Choose the direction of the mapping using one of the following options:
OptionDescription
Map Selected Fields down arrow.
Create bidirectional
mapping
Map QC field to
<Destination
Application> field
Map <Source
Application> field
to QC field
Changes made to data in each endpoint are updated
in the other endpoint. If you select this option, you
must select which endpoint is the dominant
endpoint. For more information on selecting the
dominant endpoint, see step 10 on page 74.
Changes made to data in Quality Center are updated
in the destination application during
synchronization, but changes made to data in the
destination application are not updated in
Quality Center.
Note: Changes to a record in the destination
application may be overridden by changes to the
corresponding record in Quality Center, even if the
changes in the destination application were made
after those in Quality Center.
Changes made to data in the source application are
updated in Quality Center during synchronization,
but changes made to data in Quality Center are not
updated in the source application.
Note: Changes to a record in Quality Center may be
overridden by changes to the corresponding record
in the source application, even if the changes in
Quality Center were made after those in the source
application.
72
Chapter 3 • Creating Synchronization Links
The mapping between the fields is added to the Mapped Fields list and the
value of the Mapped column for the fields changes to Yes.
Notes:
➤ A field in one endpoint can be mapped to only one field in the other
endpoint.
➤ If you map string fields with different maximum lengths, during
synchronization a string value in the source endpoint will be truncated
as necessary if it exceeds the maximum length of the corresponding field
in the destination endpoint.
➤ Instead of mapping fields in each endpoint, you can assign a constant
value to a field during the creation of new records. For more information,
see “Mapping Constant Values” on page 79.
➤ You can map attachment fields between the endpoints. For more
information, see “Mapping Attachment Fields” on page 80.
9 For fields of type String, Single value list, Multi value list, or User list, you
can map specific field values between the endpoints. For more information,
see “Mapping Field Values” on page 76.
73
Chapter 3 • Creating Synchronization Links
10 To edit a field mapping’s properties, in the Mapped Fields list, select the
mapping and click the Mapping Properties tab. Select the property you
want to edit, click the down arrow, and select the new value. You can edit
the following options:
OptionDescription
DirectionThe direction in which the synchronization can be
Dominant sideRelevant for a bidirectional mapping. If changes are made
performed. The options include:
➤ <----> Bidirectional
➤ ----> From Endpoint 1 (Quality Center)
to Endpoint 2 (the synchronized application)
➤ <----From Endpoint 2 (the synchronized application)
to Endpoint 1 (Quality Center)
to the same record in both endpoints since the last
synchronization, the change made in the dominant
endpoint is updated in the other endpoint. By default,
Endpoint 1 (Quality Center) is the dominant endpoint.
For example, suppose that since the last synchronization
the value for a field in Endpoint 2 was changed to 20 and
that the value for the corresponding field in Endpoint 1
was changed to 10. Suppose also that Endpoint 2 is the
dominant endpoint. During the next synchronization, the
Synchronizer will change the value of the field in
Endpoint 1 to 20.
74
Synchronize back
on create
Relevant for a single directional mapping. If, during
synchronization, the destination endpoint creates a value
that does not exist in the source endpoint, the new value is
sent to source endpoint. This helps to ensure that both
endpoints contain exactly the same data.
For example, suppose that you created a new record in
Quality Center. During synchronization, that record is
added as a new record in the endpoint application, which
subsequently generates an ID for the field. The
Synchronizer recognizes this new value, sends it to
Quality Center, and adds it to the source record.
Chapter 3 • Creating Synchronization Links
11 To view details for the fields in a mapping, in the Mapped Fields list, select
the mapping and click the Field Properties tab. The properties for the fields
in the mapping are displayed.
ColumnDescription
Display NameThe field name used in the endpoint’s user interface.
Field LengthThe length of the field in the endpoint.
Field TypeThe field type in the endpoint.
NameThe field name used in the endpoint’s database.
Read onlyIndicates if the field is a read-only field in the endpoint.
RequiredThe level assigned to the field.
Verifi edIndicates whether the field’s values are validated in the endpoint
against a fixed list.
12 To delete a field mapping, in the Mapped Fields list, select the mapping. In
the toolbar above the Mapped Fields list, click the Delete Field Mapping
button. Click Yes to confirm.
13 To check the field mappings you have defined, click the Check Field
Mapping button. The Synchronizer runs a field mapping check. For
information on the checks performed on the mappings, see “Checks
Performed on Link Field Mappings” on page 39.
When the field mapping check has run, the Check Field Mapping report
opens, displaying a list of errors that will cause the link to fail when run,
warnings that may prevent the link running correctly, and other
information. Close the report to continue.
Note: You must enable a link before you can run synchronization tasks on
it. For more information on enabling links, see “Enabling and Disabling
Synchronization Links” on page 102.
75
Chapter 3 • Creating Synchronization Links
Mapping Field Values
For a field of type String, Single value list, Multi value list, or User list, you
can map specific values for a field in one endpoint to specific values of a
field in the other endpoint.
For example, suppose a Quality Center field, Priority, has values Low,
Medium, High, and Critical, and a field in the synchronized application,
Importance, has values 1, 2, 3, and 4. You might map the values Low to 1,
Medium to 2, High to 3, and Critical to 4. If the value of the Priority field in
Quality Center changes from Medium to High, the Synchronizer updates the
value of the corresponding field in the synchronized application from 2
to 3.
Note: If you map multiple values in one endpoint to a single value in the
other endpoint, only one value can be synchronized back. This can
potentially cause data loss. For example, suppose you map the following
Priority values:
76
Quality Center
endpoint
High<-->High
Medium<-->Medium
Low-->Medium
Mapping
Direction
Other application
endpoint
During a synchronization task, a Priority value of Low in Quality Center will
be converted to Medium in the other endpoint. When that same record is
synchronized back to Quality Center, the Priority value will be set to
Medium, resulting in the loss of the original Low Priority value.
Chapter 3 • Creating Synchronization Links
To map values for a field:
1 Select the link and verify that you are working in edit mode. For more
information, see “Editing Synchronization Link Settings” on page 99.
2 In the Field Mapping tab, in the Mapped Fields list, select the field mapping
for which you want to map field values. Click the Value Mapping tab. The
Value mapping tab displays the field values currently mapped.
3 Click the Add Value Mapping button. The Add Value Mapping dialog box
opens.
4 In the Endpoint 1 Value box, select or type the value from Endpoint 1 you
want to include in the field value mapping.
5 In the Endpoint 2 Value box, select or type the value from Endpoint 2 you
want to include in the field value mapping.
77
Chapter 3 • Creating Synchronization Links
6 In the Direction box, select the direction for the field value mapping. The
following options are available:
➤ <---->. Occurrences of the value in the Endpoint 1 Value box are mapped
to the value in the Endpoint 2 Value box. Occurrences of the value in the
Endpoint 2 Value box are mapped to the value in the Endpoint 1 Value
box.
➤ ---->. Occurrences of the value in the Endpoint 1 Value box are mapped to
the value in the Endpoint 2 Value box, but occurrences of the value in
the Endpoint 2 Value box are not mapped to the value in the Endpoint 1 Value box.
➤ <----. Occurrences of the value in the Endpoint 2 Value box are mapped to
the value in the Endpoint 1 Value box, but occurrences of the value in
the Endpoint 1 Value box are not mapped to the value in the Endpoint 2 Value box.
Click OK.
Note: You can map one or more field values in the source endpoint to a
single field value in the destination endpoint, but not vice versa.
78
7 To edit a mapping between field values, select the mapping and click the
Edit Value Mapping button. In the Add Value Mapping dialog box, edit the
mapping and click OK.
8 To remove a mapping between field values, select the mapping and click the
Delete Value Mapping button.
Chapter 3 • Creating Synchronization Links
Mapping Constant Values
Instead of mapping a field in one endpoint to a field in the other endpoint,
you can assign a constant value to a field. This value is assigned to the field
when the Synchronizer creates new entities. When the Synchronizer
updates existing entities, the constant value is not assigned to the field, and
the existing value is left unchanged.
Example 1: Suppose you have a required field in the Quality Center
endpoint, but you do not have a field to map it to in the other endpoint.
You can assign a constant value so that the required field is considered to be
mapped, and the integrity check for this link can pass.
Example 2: Suppose you want to distinguish between defects created directly
in Quality Center and those created in Quality Center by the Synchronizer.
You could create a defects field named Creation Method in Quality Center
and then assign this field the constant value Created by Quality Center Synchronizer.
Note: If you assign a constant value to a string field and the length of the
constant value is longer that the maximum length of the string field, the
Synchronizer truncates the constant value.
To map constant values:
1 Select the link and verify that you are working in edit mode. For more
information, see “Editing Synchronization Link Settings” on page 99.
2 In the Field Mapping tab, in the fields list for the appropriate endpoint,
select the field to which you want to map a constant value.
79
Chapter 3 • Creating Synchronization Links
3 Click the Add Constant Value button (located above the endpoint schema
grid). The Add Constant Value dialog box opens.
4 Type or select the constant value you want to be assigned to the field during
record creation.
5 Click OK to close the Add Constant Value dialog box.
Mapping Attachment Fields
In addition to mapping regular fields between the two endpoints, you can
also map attachment fields between the endpoints. When you synchronize
an attachment field, both the attachment and its description are
synchronized.
80
Consider the following guidelines when mapping attachment fields:
➤ You can create only one mapping between attachment fields per link.
➤ The Synchronizer identifies attachments by their file name, and not by their
content. Therefore:
➤ If you change the file name of an attachment, even if you do not change
its content, the Synchronizer determines that the original attachment
has been deleted and a new attachment added, and synchronizes the
attachment fields accordingly.
➤ If you have different attachments in each of the endpoints, but they have
the same file name, the Synchronizer is not able to distinguish between
them and considers them as the same attachment.
➤ For a bidirectional attachment field mapping, if an attachment was updated
in both endpoints since the last synchronization, the Synchronizer copies
the attachment in the non-dominant endpoint to the conflict_backup
directory, located under the main Quality Center Synchronizer directory. It
then overwrites the attachment in the non-dominant endpoint with the
attachment in the dominant endpoint.
Setting Mail Notifications
You can instruct the Synchronizer to send e-mail notifications for:
➤ Failed link task runs
➤ Passed link task runs with errors
To set mail notifications:
1 Verify that you are working in edit mode. For more information, see
“Editing Synchronization Link Settings” on page 99.
2 Select Tools > Server Options and specify the e-mail settings. For more
information, see “Configuring the Server Options” on page 108.
Chapter 3 • Creating Synchronization Links
3 Click the Advanced tab.
81
Chapter 3 • Creating Synchronization Links
4 Set the e-mail notification settings:
➤ In the E-mail address box, type an e-mail address to instruct the
Synchronizer server to send e-mail notifications for failed link task runs
(and also for task runs that pass with errors if you select the check box
below). Only one e-mail address can be specified for each link. The e-mail
notifications are sent according to the e-mail settings defined for the
Synchronizer server.
➤ Select the Send notification when task passes with errors check box to
instruct the Synchronizer to send an e-mail notification to the e-mail
address listed above when a synchronization task passes with errors.
Setting Adapter Parameters
By default, the Synchronizer supports specific connectivity parameters for
each adapter type. An adapter is the endpoint application to which the
Synchronizer connects. You can view these connectivity parameters, and the
values defined for them, in the Connectivity tab.
If an adapter requires additional parameters, for example, because the
adapter was modified, or you are working with an adapter other than the
defaults supported by the Synchronizer, these additional parameters are
displayed in the Advanced tab.
82
To define the value for an adapter parameter:
Click the Value cell for the adapter parameter you want to define and enter
the parameter value.
4
Working with Quality Center
Synchronizer
This chapter describes how to work with the Synchronizer. You can run an
integrity check to verify configuration settings for a synchronization link.
You can also run, configure, enable, disable, and delete synchronization
links, and change your Quality Center Synchronizer password.
This chapter includes:
➤ Viewing Link Details on page 84
➤ Running Link Tasks on page 89
➤ Viewing Task Run History on page 93
➤ Viewing Task Run Reports on page 95
➤ Editing Synchronization Link Settings on page 99
➤ Resetting a Link on page 100
➤ Enabling and Disabling Synchronization Links on page 102
➤ Deleting Synchronization Links on page 103
➤ Automatic Backup of the Quality Center Synchronizer Database on page 104
➤ Exporting and Importing Link Definitions on page 104
➤ Exporting and Importing Link Data on page 105
➤ Configuring the Quality Center Synchronizer Options on page 107
➤ Changing the Quality Center Synchronizer Password on page 110
83
Chapter 4 • Working with Quality Center Synchronizer
Viewing Link Details
You can view details for all your synchronization links in a grid. You can
also view details for a specific link.
This section contains the following topics:
➤ “Viewing Details for All Links” on page 84
➤ “Viewing Details for a Specific Link” on page 85
➤ “The Link Fields” on page 86
Viewing Details for All Links
You can view details for all your synchronization links in the Links Grid.
To view details for all links:
1 In the Links list, select the root folder Links. The Links Grid is displayed.
84
Each row in the Links Grid displays details for a synchronization link. For
more information on the fields displayed in the grid, see “The Link Fields”
on page 86.
Chapter 4 • Working with Quality Center Synchronizer
2 To sort the Links Grid by the data in a particular column, click the column
header. Click the column header again to switch between sorting the data in
ascending order and sorting the data in descending order.
3 To refresh a selected record in the Links Grid, select Link > Refresh, or click
the Refresh Selected button, or click the down arrow and select Refresh
Selected. This can be useful as changes to link status that occur due to
events in the Synchronizer server, such as an integration check passing
successfully, are not automatically updated in the Synchronizer client.
4 To refresh the information in all of the rows in the Links Grid, click the
Refresh Selected down arrow and select Refresh All.
Viewing Details for a Specific Link
You can view details for a specific link.
To view information for a specific link:
1 In the Links list, select a link for which you want to view details. The link’s
details are displayed in the General tab.
85
Chapter 4 • Working with Quality Center Synchronizer
For more information on the fields displayed in the General tab, see “The
Link Fields” on page 86.
To view requirement type mappings for a requirements link, expand the
link. For more information on mappings between requirement types, see
“Creating Requirement Type Mappings” on page 59.
2 To refresh the information displayed in the General tab, click the Refresh
Selected button or click the down arrow and select Refresh Selected. This
can be useful as changes to link status that occur due to events in the
Synchronizer server, such as an integration check passing successfully, are
not automatically updated in the Synchronizer client.
3 You can view history details of the task runs for the link. For more
information, see “Viewing Task Run History” on page 93.
The Link Fields
The following details are displayed in the Links Grid and the General tab:
FieldDescription
86
AutoModeIndicates whether the synchronization link is in
automatic mode:
➤ If the field has value True , the link is in automatic
mode and will run automatically at time intervals you
specified in the Scheduling tab.
➤ If the field has value False, the link will run only if you
manually instruct it to do so. For more information on
running links, see “Running Link Tasks” on page 89.
Endpoint 1The type of endpoint for Endpoint 1 and the type of
entity being synchronized in the endpoint. Possible
values are QC:Requirement and QC:Defect.
Endpoint 1
Connectivity Data
Endpoint 1 Entity
Name
Settings for the connection to Endpoint 1. Includes the
Quality Center server, domain, and project with which
the Synchronizer is synchronizing.
The type of entity being synchronized in Endpoint 1.
Possible values are Requirement and Defect.
Chapter 4 • Working with Quality Center Synchronizer
FieldDescription
Endpoint 1 TypeThe type of endpoint for Endpoint 1, which must always
be Quality Center.
Endpoint 2The type of endpoint for Endpoint 2 and the type of
entity being synchronized in the endpoint.
Endpoint 2
Connectivity Data
Endpoint 2 Entity
Name
Endpoint 2 TypeThe type of endpoint for Endpoint 2.
IDA unique identification number assigned by the
Last Full
Synchronization
Last Incremental
Synchronization
Last Integrity CheckThe result of the last integrity check run on the link and
Settings for the connection to Endpoint 2. The
information displayed is dependent on the type of
endpoint used. For more details on the settings available
for a particular endpoint, refer to the appropriate
appendix for that endpoint.
The type of entity being synchronized in Endpoint 2.
Possible values are Requirement and Defect.
Synchronizer to the link. This number cannot be
modified.
The result of the last full synchronization run on the link
and the date and time it was run. For more information
on running full synchronizations, see “Running Link
Tasks” on page 89.
The result of the last incremental synchronization run on
the link and the date and time it was run. For more
information on running incremental synchronizations,
see “Running Link Tasks” on page 89.
the date and time it was run. For more information on
running integrity checks, see “Running Link Tasks” on
page 89.
Link DescriptionA description of the link.
Link NameThe name of the link.
Mapped RecordsThe number of records mapped for synchronization.
Run IDA unique identification number of the current task run for
the link. “0” indicates no task for the link is currently
running.
87
Chapter 4 • Working with Quality Center Synchronizer
FieldDescription
RunningIndicates whether a task for the link is currently running:
➤ If the field has value Tru e, the link is in the middle of a
task execution, such as an integrity check, incremental
synchronization, or full synchronization. You cannot
perform another operation on the link until the first
operation has finished running.
➤ If the field has value False, no tasks for the link are
currently running, and you can perform an operation
on the link, provided it is enabled.
StateIndicates whether the link is enabled, disabled, or
unvalidated. For more information about these states, see
“Enabling and Disabling Synchronization Links” on
page 102.
Time StampIndicates the time when the last synchronization on the
link was started. This time is used by the Synchronizer to
determine which records were created or updated since
the last synchronization. To manually change this time
stamp, see “Resetting a Link” on page 100.
88
Running Link Tasks
You can run incremental synchronization tasks and full synchronization
tasks in automatic mode, so that the task is run automatically at specified
time intervals. Alternatively, you can run a link task manually. For more
information on link tasks, see “Incremental Synchronizations” on page 41
and “Full Synchronizations” on page 42.
Important Note: When you run a synchronization task, any locked record in
an endpoint is not synchronized. You can check the report at the end of a
synchronization task run to determine if any records were not
synchronized, and why they were not synchronized. If a mapped record was
not synchronized because it was locked during the run, you can update it
by:
➤ Running an incremental synchronization task after the record is
modified again. For information on incremental synchronization tasks,
see “Incremental Synchronizations” on page 41.
➤ Resetting the time stamp. For more information, see “Resetting a Link”
on page 100.
Chapter 4 • Working with Quality Center Synchronizer
➤ Running a full synchronization task. For information on full
synchronization tasks, see “Full Synchronizations” on page 42.
This section contains the following topics:
➤ “Running Link Tasks in Automatic Mode” on page 89
➤ “Running Link Tasks Manually” on page 91
Running Link Tasks in Automatic Mode
You can run incremental synchronization tasks and full synchronization
tasks in automatic mode. The task is run at time intervals you specify in the
Scheduling tab. This is useful when there are regular changes to the data you
want to synchronize.
89
Chapter 4 • Working with Quality Center Synchronizer
The Synchronizer can run only one task at a time for a particular
synchronization link. The Synchronizer resolves possible conflicts between
tasks using the following rules:
➤ If a task is already running for a link and the scheduled time for a second
task of a different type arrives, the second task waits in a queue and runs
immediately upon completion of the first task. If the second task is of the
same type, for example if they are both incremental synchronization tasks,
the second task does not run at all.
➤ If both an incremental synchronization task and a full synchronization task
for the same link are scheduled for the same time, the full synchronization
task runs before the incremental synchronization task. The incremental
synchronization task enters a queue and runs upon completion of the full
synchronization task.
The Synchronizer can run one full synchronization task or five incremental
synchronization tasks from different links simultaneously. If the scheduled
time for an additional task arrives when the maximum number of tasks is
already running, the additional task waits in a queue. When a task that is
currently running completes, the additional task runs.
90
To run a link task in automatic mode:
1 Ensure that the link has passed an integrity check. For information on
integrity checks, see “Integrity Checks” on page 37. For information on
running an integrity check, see “Running Link Tasks Manually” on page 91.
2 Ensure that the task is set to run in automatic mode in the Scheduling tab.
For more information on editing configuration settings for a link, see
“Editing Synchronization Link Settings” on page 99. For more information
on available settings for running tasks automatically, see “Setting
Scheduling Options” on page 54.
3 Ensure that the link is enabled. For more information on enabling links, see
“Enabling and Disabling Synchronization Links” on page 102.
4 If a task is currently running for a link, a green arrow is added to the link’s
icon
in the Links list. To verify that the information displayed is current,
click the Refresh Selected button or click the down arrow and select Refresh
Selected.
Chapter 4 • Working with Quality Center Synchronizer
To monitor the progress of a task that is currently running, in the Links list,
right-click the link on which the task is running and click View Run. The
task’s progress is displayed in the Execution pane. For more information on
viewing and managing a task’s progress in the Execution pane, see “Running
Link Tasks Manually” on page 91.
Running Link Tasks Manually
You can run a link task manually.
Note: The maximum number of concurrent tasks that can run manually or
in automatic mode are as follows:
➤ Only one task can run at a time for a particular synchronization link.
➤ One full synchronization task or five incremental synchronization tasks
from different links can run concurrently.
If the maximum number of tasks are already running, the link task does not
run.
To run a link task manually:
1 Ensure that the link is enabled. For more information on enabling links, see
“Enabling and Disabling Synchronization Links” on page 102.
2 In the Links list or Links Grid, perform one of the following actions:
➤ To run an integrity check task, select the link on which you want to run
the task. Choose Run Task > Run Integrity Check or click the Run button
and choose Integrity Check.
➤ To run an incremental synchronization task, select the link on which you
want to run the task. Choose Run Task > Run Incremental
Synchronization or click the Run button and choose Incremental
Synchronization.
➤ To run a full synchronization task, select the link on which you want to
run the task. Choose Run Task > Run Full Synchronization or click the
Run button and choose Full Synchronization.
91
Chapter 4 • Working with Quality Center Synchronizer
The task starts running in the Execution pane.
3 If the Auto Refresh check box is selected, the client periodically samples the
information messages generated by the server as the task progresses and
displays them in the Execution pane. To prevent the automatic display of
these information messages, clear the Auto Refresh check box.
4 If the Auto Refresh check box is not selected, you can click the Refresh
Progress button at any stage during the execution of the task to display the
next information message on the task’s progress.
92
5 At any stage during the execution of the task, you can click the Cancel
Current Task button to cancel the execution of the task.
6 When the task has finished running, you can click the View Report button
to view a report summarizing the task run. For more information on
viewing reports, see “Viewing Task Run Reports” on page 95.
Viewing Task Run History
You can view the history of the tasks run for a link. For each task run, you
can view a report detailing the progress of the task.
To view task run history:
1 In the Links list, select a link.
2 In the General tab, under State Details, click the Get History button for the
type of task for which you want to view run history. The Run History dialog
box opens.
Chapter 4 • Working with Quality Center Synchronizer
93
Chapter 4 • Working with Quality Center Synchronizer
The task run details for the link are displayed in a grid, which contains the
following columns:
ColumnDescription
Run IDA unique identification number for the task run, assigned by
the Synchronizer.
StateThe final status of the task run.
Possible statuses:
➤ Passed. Either all records synchronized successfully, or there
were no changed records to be synchronized.
➤ Failed. No records synchronized successfully.
➤ Passed with errors. At least one record synchronized
successfully. (Not relevant for integrity check task runs.)
➤ Error. System error occurred preventing synchronization.
➤ Cancelled. User cancelled synchronization task.
Start TimeThe date and time at which the task started running.
End TimeThe date and time at which the task finished running.
94
ReportEnables you to view a report for the task run.
3 To view a report for a task run, click the View Report button for the task run.
For more information on viewing task run reports, see “Viewing Task Run
Reports” on page 95.
4 To sort the grid by the data in a particular column, click the column header.
Click the column header again to switch between sorting the data in
ascending order and sorting the data in descending order.
5 Click Close to close the Run History dialog box.
Viewing Task Run Reports
You can view a report from a task run for a synchronization link.
To view a task run report:
1 Open the task report using one of the following methods:
➤ You can view a report for a task run in the Execution pane. For more
information, see “Running Link Tasks” on page 89.
➤ You can also view a report for a previous task run. For more information,
see “Viewing Task Run History” on page 93.
The task report opens.
Chapter 4 • Working with Quality Center Synchronizer
95
Chapter 4 • Working with Quality Center Synchronizer
The report contains the following details:
SectionDescription
Report For LinkThe name of the synchronization link for which the task ran.
StatusThe final status of the task run.
Possible statuses:
➤ Passed. Either all records synchronized successfully, or
there were no changed records to be synchronized.
➤ Failed. No records synchronized successfully.
➤ Passed with errors. At least one record synchronized
successfully. (Not relevant for integrity check task runs.)
➤ Error. System error occurred preventing synchronization.
➤ Cancelled. User cancelled synchronization task.
Run IDA unique identification number for the task run, assigned by
the Synchronizer.
Run TypeThe type of link task.
Run Start TimeThe time the execution of the task started.
96
Run End TimeThe time the execution of the task finished.
SummaryA summary of the following task run information, dependent
on the type of task run:
➤ Integrity check. The number of checks passed, passed
with warning and failed.
➤ Incremental synchronization and full synchronization.
A list of the number of records created, updated, and
deleted in each endpoint and the number of records
that the Synchronizer failed to synchronize.
ConfigurationBasic connection information about the two endpoints in
the link.
SectionDescription
Chapter 4 • Working with Quality Center Synchronizer
General checks
(integrity check
task only)
Field mapping
checks (integrity
check task only)
Lists the general checks performed on each endpoint. For a
list of the general checks performed during an integrity
check, see “Checks Performed on General Link Settings” on
page 38.
Lists the field mapping checks performed on each endpoint.
For a list of the field mapping checks performed during an
integrity check, see “Checks Performed on Link Field
Mappings” on page 39.
97
Chapter 4 • Working with Quality Center Synchronizer
2 To view a log file displaying events processed by the Synchronizer server
during the execution of the task, click the View Log link in the bottom left
corner of the report. The log file for the task run opens. The log file can be
useful when tracing errors and problems that occurred during the execution
of the task. For each message, the Synchronizer displays the following
columns:
ColumnDescription
TimeThe time at which the message was generated.
LevelThe level of severity of the message. Can have one of the
following values:
➤ ERROR. A warning of a critical problem with the link.
If an error occurs during an integrity check, the integrity
check fails and you cannot run tasks on the link.
If an error occurs during a synchronization task, it may
indicate a general problem with the link, in which case the
synchronization tasks fails. Alternatively, it may indicate a
problem with synchronizing a particular record, in which
case the synchronization passes with errors.
➤ WARN. A warning of an issue of which you should be aware.
If a warning occurs during an integrity check, the integrity
check does not fail, so tasks on the link can run, but it may
cause unexpected results.
If a warning occurs during a synchronization task, it may
indicate that the synchronization had unexpected or
undesired results.
➤ INFO. A message displayed for information only. No action
is necessary.
98
CategoryThe category of the message.
MessageThe text of the message.
Chapter 4 • Working with Quality Center Synchronizer
Editing Synchronization Link Settings
You can edit the settings for a synchronization link.
Note: When you edit the settings for a synchronization link, the link’s state
is changed to Unvalidated. You must enable the link before you can run
synchronization tasks on it. For more information on enabling links, see
“Enabling and Disabling Synchronization Links” on page 102.
To edit synchronization link settings:
1 In the Links list, select the link and click the Edit button. The link details are
made available for editing.
Note: When editing link settings, you must save the new settings before you
can enable the link. For more information on enabling links, see “Enabling
and Disabling Synchronization Links” on page 102.
2 Edit the configuration settings. A red asterisk next to the link’s icon
the Links list indicates unsaved changes in that link.
Note: You can edit more than one link simultaneously.
For more information on configuration settings, see Chapter 3, “Creating
Synchronization Links.”
3 To undo all changes, click the Discard Changes button.
4 To save the new configuration settings, click the Save button. Click Yes to
confirm. To run the integrity check, click Yes.
in
99
Chapter 4 • Working with Quality Center Synchronizer
Resetting a Link
Each synchronization link in the Synchronizer has an associated time
stamp, and each record mapping within a link has a version. The time
stamp represents the time the link was last handled by the Synchronizer.
The version enables the Synchronizer to identify the records that can be
synchronized.
When the Synchronizer runs a synchronization task for a link, it updates the
time stamp for the link at the start of the task’s execution. In addition, when
the Synchronizer handles the successful synchronization of a paired record
mapping, it adds a record containing the versions of each pair of
synchronized records to the database.
The Synchronizer uses the time stamp and versions when it determines
which records to synchronize. In some circumstances, you may want to
override the automatic time stamp and the record version history:
➤ Time stamp. You can override the automatic time stamp and reset the time
stamp to a time prior to the last synchronization. This is useful if there were
issues with the latest synchronization of some records, and you want to
revert to an earlier version of these records so that you can run a
synchronization task again.
100
➤ Synchronization history. You can perform a complete reset to clear both the
time stamp and the version history for the mapped records. This is useful
when a field mapping changes, and you want to synchronize the mapped
entities as if you created a new link.
Consider carefully the consequences before deciding to reset the time stamp
for a link, and which option to use when resetting it.
Tip: You can sometimes achieve the same outcome as resetting the link’s
time stamp by running a full synchronization task. For more information on
full synchronization tasks, see “Full Synchronizations” on page 42.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.