Repository tools command to temporary stop the indexing service
Use the suspendIndexer command to suspend an indexing service.
Purpose
To temporary stop the indexing service, you can run the suspendIndexer command. One use of the suspendIndexer command is to stop the server when backing up the index directories. Copy the index directories to a backup directory. Runrepotools -resumeIndexer
to
resume the service again.Important: The server must be running when
you run the command.
Parameters
Attribute | Description | Required | Default |
---|---|---|---|
repositoryURL | The connection URL for the server. | No | https://localhost:9443/application where application is jts, ccm, rm, qm, gc, dcc, or relm. |
adminUserId | Administrative user ID to login to the Jazz repository. | No | ADMIN |
adminPassword | Administrative user password to login to the Jazz repository. | No | ADMIN |
credentialsFile | The file containing the administrative user login credentials. | No | credentials.properties |
certificateFile | The file containing the administrative user login certificate. | No | none |
smartCard | The alias to login using a smart card, or ? to list available aliases. | No | none |
logFile | Path to the log file. | No | repotools-application_suspendIndexer.log where application is jts, ccm, rm, qm, gc, dcc, or relm. |
kerberos | Authenticate with Windows user credentials using Kerberos/SPNEGO by setting to true. Or authenticate with Windows Integrated Authentication by setting to windows. | No | None |
Example
The following example is for Jazz®
Team Server. To use
this command for other applications, run these options from the server directory:
- 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 -suspendIndexer repositoryURL=https://hostname.example.com:9443/jts kerberos=true
Open a command line and enter this command:
cd opt/IBM/JazzTeamServer/server/ ./repotools-jts.sh -suspendIndexer repositoryURL=https://hostname.example.com:9443/jts