Repository tools command to verify the integrity of a database
Use the verify command to verify the integrity of a database.
Purpose
The verify command is used to verify the structural integrity of the data in the database, identify any issues, and provide resolution for those issues. The command uses verification levels set between number one and ten. Level ten is the maximum verification level and level one is the minimum verification level. Level one, for example, verifies whether the item can be fetched by simple fetch call at a high level. If the command identifies a major issue, you can use a higher level to get more detailed output. When the level is set to ten, it looks for the particular content of the component in all database tables and verifies their validity. When the command identifies an issue, you must run the suggested repotool command to fix those issues. If an unknown issue is identified, you must contact IBM Support.It is recommended that you run this command monthly and before an upgrade. You must run the command at level four before an upgrade. After you run the command, you must share the repotools-app.log file with IBM Support.
The log4j2 update changed the way the verify command logs output. It now summarizes the main sections of the output and generates a summary of the issues identified. You can update the C:\IBM\JazzTeamServer_7.0.3\server\conf\repotools_log4j2.xml file to change the logging level to the debug mode.
<Logger name="com.ibm.rdm.repotools.verifiers.RepositoryHealthService" level="DEBUG" />
<Logger name="com.ibm.rdm.repotools.verifiers.RepositoryHealthVerifier" level="DEBUG" />
Parameters
Attribute | Description | Required | Default |
---|---|---|---|
teamserver.properties | The file system path to the teamserver.properties file. | No | conf/application/teamserver.properties where application is jts, ccm, rm, qm, gc, dcc, or relm. |
logFile | Path to the log file. | No | repotools-application_verify.log where application is jts, ccm, rm, qm, gc, dcc, or relm. |
level | The verification level. A number between 1 to 10 can be used. 1 is the minimum level and 10 is the maximum level. Level 1 uses less verification, but it runs faster. Level 10 uses more verification, but it runs slower. | No | 1 |
Example
- IBM® Engineering Workflow Management (Change and Configuration Management application): repotools-ccm
- IBM Engineering Requirements Management DOORS® Next (Requirements Management application): repotools-rm
- IBM Engineering Test Management (Quality Management application): repotools-qm
- Global Configuration Management: repotools-gc
- Data Collection Component: repotools-dcc
- IBM Engineering Lifecycle Optimization - Engineering Insights: repotools-relm
Open a command prompt and enter this command:
cd C:\Program Files\IBM\JazzTeamServer\server\ repotools-jts.bat -verify teamserver.properties=conf\jts\teamserver.properties level=5
Open a command line and enter this command:
cd /opt/IBM/JazzTeamServer/server/ ./repotools-jts.sh -verify teamserver.properties=conf/jts/teamserver.properties level=5