multiutil commands on multiple computers
By default, only one computer per site is configured to
administer schema repositories and user databases and use the multiutil commands.
You can designate this computer in either of the following
ways:
- By running multiutil activate. The computer on which you run multiutil activate is configured to run subsequent multiutil commands.
- By running mkreplica -import. The computer on which you run multiutil mkreplica -import is configured to run subsequent multiutil commands.
If you want to run multiutil from a computer other than those at which activate and mkreplica -import were run, you must configure the computer to access the schema repository (database set) at your site.
To configure a UNIX or Linux system, use the cqreg add_dbset subcommand.
To configure a Windows system, use the installutil adddbset command:
installutil adddbset dbset-name db-vendor server-hostname
{ db-path-name.suffix | database-name }
ro-login-name ro-login-password connection-options
dbset-name is the name of the
schema repository. You must specify it using the following format:
CQMS.clan-name.site-name
Connection options:
Each database vendor has a default port number.
Vendor | Default port |
---|---|
DB2® | 50000 |
Oracle | 1521 |
Microsoft SQL Server | 1433 |
If your database uses a different port, you must specify it using the
connection-options parameter. The following example shows how to use the
installutil
adddbset command to connect to the schema repository in the boston site of the
telecomm clan on port 1526. The dbset-name is
CQMS.TELECOMM.BOSTON.
E:\Program Files\Rational\ClearQuest> installutil adddbset
CQMS.TELECOMM.BOSTON ORACLE bar_host cquser cquser password port=1526