在 WebSphere Application Server 上部署 Report Server for ClearQuest

本主题描述了如何在 WebSphere Application Server 上部署 Report Server for ClearQuest。

过程

  1. 找到文件 Deploy_RCQR _eWAS.py。 缺省情况下,此文件位于 %RATIONAL_COMMON%/CM/Scripts。 指定以下参数集。 如果要使用远程 Change Management Server (CM Server),请设置 cqConnectionURL 的值,指定 localhost 值的 IP 地址或主机名。 缺省值如所示。值应该与文件 /RCQR/server/reportserver.properties 中的值一致。 例如,user.registry.cq.connectionURL 值应该与 reportserver.properties 文件中的 cqConnectionURL 匹配。

    还请注意,管理员用户名在 Deploy_RCQR_eWAS.py 中存在三处,且值必须一致。以下示例显示了该文件的缺省值。 出现三次的管理员用户名将以粗体字型显示。

    # 设置定制安全的基本属性
    
    attrs = '[[useRegistryServerId false][primaryAdminId %s][customRegistryClassName %s]]' % ('admin', 'com.ibm.rational.cq.was.userregistry.CQUserRegistry')
    
    AdminConfig.modify(customUserRegistry, attrs)# 设置定制属性
    customProps = {
    'autoCreateJazzGroups':'true',
    'jazzAdmins':'admin',
    'jazzProjectLeads':'lead',
    'cqDbSetName':'7.0.0',
    'cqUserDbName':'SAMPL',
    'cqConnectionURL':'http://localhost:12080/TeamWeb/services/Team',
    'cqConnectionUsername':'admin',
    'cqConnectionPassword':'admin',
    'cqConnectionPasswordEncrypted':'false',
    }
  2. 通过使用“Windows 服务”对话框或运行以下命令来启动 Report Server 概要文件:
    "%RATIONAL_COMMON%/CM/profiles/reportalprofile/bin/startServer" server1 -profileName reportalprofile
  3. 浏览至 Report Server 概要文件的 %RATIONAL_COMMON%/CM/profiles/reportalprofile/bin 目录,然后运行以下命令:
    wsadmin.bat -lang jython -f  ..\..\..\Scripts\Deploy_RCQR_eWAS.py
  4. 使用以下命令更新 wasservice 的用户名和密码,其中的 <user><password>Deploy_RCQR_eWAS.py 中指定的值匹配。
    "%RATIONAL_COMMON%/eWAS/bin/wasservice" -add reportalprofile -serverName server1 -profilePath "%RATIONAL_COMMON%/CM/profiles/reportalprofile" -stopArgs "-username <user> -password <password>"
  5. 重新启动 Report Server for ClearQuest。请参阅启动和停止 Report Server for ClearQuest

验证部署

过程

  1. 重新启动 Report Server for ClearQuest。请参阅启动和停止 Report Server for ClearQuest
  2. 使用以下链接访问报告界面,其中 machinename.domain 是安装了 Report Server for ClearQuest 的计算机的主机名和域,而 portnumber 是端口(通常将 15443 用于安全连接):
    https://machinename.domain:portnumber/jazz/reportal/projects/Vega
    例如,可以使用以下 URL 从 Report Server for ClearQuest 主机打开报告界面:
    https://localhost:15443/jazz/reportal/projects/Vega
  3. 在登录提示处,输入您的 Rational ClearQuest 用户名和密码,然后单击登录

反馈