您必须通过向命令行添加数据更改通知(Data Change Notifications,DCN)参数来配置 Rational® DOORS
Database Server,以与代理程序通信。DCN 是指其中包含 Rational DOORS 数据更改信息的消息。
要设置数据库服务器,请执行以下操作:
- 查找 dbadmin。
- 在 Windows® 系统中,dbadmin 位于 Rational DOORS 客户机上的 DOORS_9_2\bin 目录
- 在 Solaris 和 Linux® 系统中,dbadmin 位于 $DOORSHOME/bin 目录
- 请在命令行中通过以下格式运行 dbadmin:
dbadmin -data port@myserver -P server_password -dcnEnable -dcnBrokerUri
“tcp://myBroker:61616” -dcnChannelName “dcn”
表 1. 用于 Rational DOORS
Database Server 命令行设置的参数参数 |
描述 |
-data port@myserver |
用于识别 Rational DOORS Database Server,其中 port 为数据库服务器所使用的端口号,myserver 为数据库服务器安装所在的机器的名称。 |
-P server_password |
Rational DOORS 数据库服务器密码(如果已设置了密码)。 |
-dcnEnable |
用于启用 DCN |
-dcnBrokerUri "tcp://myBroker:61616" |
用于定位代理程序,其中 myBroker 为托管代理程序的机器,61616 为代理程序使用的缺省端口。 |
-dcnChannelName "dcn" |
用于设置 DCN 通道。通道名称总是为 dcn。 |
- 请重新启动 Rational DOORS
Database Server 以使新设置生效。