在 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),請指定 IP 位址或主機名稱作為 localhost 的值,從而設定 cqConnectionURL 的值。畫面上會顯示預設值。這些值應該與 /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. 導覽至報告伺服器設定檔的 %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 使用者名稱和密碼,然後按一下登入

意見