By default, only one machine per site is configured to administer
schema repositories and user databases and use the multiutil commands.
You can designate this machine in one of two ways:
- By running multiutil activate. The machine on which you
run multiutil activate is configured to run subsequent multiutil commands.
- By running mkreplica –import. The machine on which you run multiutil mkreplica –import is
configured to run subsequent multiutil commands.
If you want to run multiutil from a machine other than
those at which activate and mkreplica –import were run,
you must configure the machine to access the schema repository (database set)
at your site.
To configure a Linux® or UNIX® system-based machine, use the cqreg add_dbset subcommand.
For more information about this command, type man cqreg at a Linux or UNIX system
prompt.
To configure a computer running Windows®, 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
Each database vendor has a default port number.
Table 1. Default
port numbers for database vendorsVendor |
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