在 WebSphere Application Server 上部署 Report Server for ClearQuest

关于此任务
要在 WebSphere Application Server 上部署 Report Server for ClearQuest:
  1. 找到文件 Deploy_RCQR _eWAS.py。 缺省情况下,此文件位于 %RATIONAL_COMMON%/CM/Scripts。 指定以下参数集。 如果要使用远程 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. 通过运行以下命令启动 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>"

验证部署

关于此任务
要验证部署:
  1. 从命令行启动报告服务器:
    %RATIONAL_COMMON%CM/profiles/reportalprofile/startServer server1 
  2. 转至报告界面。您可以从以下链接访问报告界面,其中 machinename.domain 是安装了 Report Server for ClearQuest 的机器的主机名和域,而 portnumber 是端口,通常将 15443 用于安全连接:
    https://machinename.domain:portnumber/jazz/reportal/projects/Vega
  3. 在登录提示处,输入您的 Rational ClearQuest 用户名和密码,然后单击登录

反馈