If you use MultiSite to replicate the PVOB or ClearQuest user database involved in the UCM-ClearQuest integration, you need to be aware of several requirements. This section describes those requirements.
When you set up the UCM-ClearQuest integration, you establish a link between a PVOB and a ClearQuest user database. If you use MultiSite, the following requirements apply:
Each site that contains a linked PVOB replica must contain a replica of the ClearQuest user database to which the PVOB is linked. Similarly, each site that contains a linked ClearQuest user database replica must contain a replica of the PVOB to which the user database is linked.
The name of the linked ClearQuest user database replica must match the name of the linked PVOB replica at the same site.
This section describes the additional steps to set up the UCM-ClearQuest integration when you use MultiSite. For the full set of steps required to enable a project to work with ClearQuest, see the Setting Up the Project chapter in Managing Software Projects with ClearCase.
The first time you enable a project within a PVOB to work with ClearQuest, your current PVOB replica must master the PVOB's root folder. If your current replica does not have mastership, transfer mastership of the root folder by using the multitool chmaster command at the replica that masters the root folder. The following example transfers mastership of the root folder from the current replica to the lowell replica.
multitool chmaster lowell folder:RootFolder
See ClearCase MultiSite Manual for details on transferring mastership.
Before you enable a project to work with ClearQuest, your current PVOB replica must master the project. If your replica does not master the project, transfer mastership of the project by using the multitool chmaster command at the replica that masters the project.
When you enable the project to work with ClearQuest, the integration creates a corresponding project record in the ClearQuest user database and assigns mastership of that record to the current replica of the ClearQuest user database. If a project record with the same name as the project exists in the ClearQuest user database when you enable the project, and that project record is not mastered by your current replica, you must transfer mastership of the project record to your current replica.
If a project contains activities, when you enable that project to work with ClearQuest, the integration creates corresponding ClearQuest records for the activities and links the records to the activities. The integration cannot link activities that are mastered by remote replicas. To link activities that are mastered by a remote replica:
At the remote site, start ClearCase Project Explorer. On UNIX, enter clearprojexp. On Windows, in the left pane of ClearCase Explorer, click UCM, and then click Project Explorer.
In the Project Explorer, display the project's property sheet, and click the ClearQuest tab.
Click Ensure all Activities are Linked. The integration checks all the project's activities. If the project is enabled, the integration links any unlinked activities. The integration then displays the following summary information:
Number of activities that had to be linked.
Number of activities that were previously linked.
Number of activities that could not be linked because they are not mastered by the current PVOB replica. In this case, the integration also displays a list of replicas on which you must run the Ensure all Activities are Linked operation again to correct the problem.
At each replica on the list described in Step #3, repeat Step #1 through Step #3.
This section describes how MultiSite affects how you maintain the project after enabling it to work with ClearQuest.
Before you can change a project's policy settings from within ClearQuest, the ClearQuest project record must be mastered. Similarly, before you can change a project's policy settings from within ClearCase, the project object must be mastered. After you change a project's policy settings in the current replica, the new settings do not take effect in streams in sibling replicas until you synchronize the current replica with those replicas. See ClearCase MultiSite Manual for details on synchronizing replicas.
The Do ClearQuest Action After Delivery project policy transitions activities to a Complete type state when a deliver operation completes successfully. For this policy to work correctly in a MultiSite environment, the activities being delivered must be mastered by the same replica that masters the target integration stream. To ensure that this is the case, you can set the Check Mastership Before Delivery policy.
The behavior of the Check Mastership Before Delivery policy depends on whether the deliver operation is local or remote. If the deliver operation is local, meaning that the target integration stream is mastered by the local PVOB replica, this policy causes the deliver operation to fail unless all activities being delivered are mastered locally.
A remote deliver operation is one for which the target integration stream is mastered by a remote PVOB replica. The developer starts the deliver operation but ClearCase leaves the operation in a posted state. The project manager at the remote site completes the deliver operation.
For a remote deliver operation, the Check Mastership Before Delivery policy causes the following behavior:
If all activities in the deliver operation are mastered by the remote replica, ClearCase allows the deliver operation to proceed.
If the deliver operation contains activities that are mastered by the local replica, MultiSite transfers mastership of those activities to the remote replica. After the project manager at the remote site performs any required merges and completes the deliver operation, MultiSite transfers mastership of the activities back to the local replica.
If the deliver operation contains activities that are mastered by a third replica, the deliver operation fails.
The integration links a project name to the title field in the corresponding ClearQuest project record. If you change the project name in ClearCase, the integration makes the same change to the title field in the corresponding ClearQuest project record. Similarly, if you change the title in ClearQuest, the integration makes the same change to the project name in ClearCase. Before you can change the project name and title in a MultiSite environment, the project record and the project object must both be mastered.
Before you can work on, set, or change an activity, the activity object and its ClearQuest record must be mastered locally.
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |