在 WebSphere Application Server 上部署 Report Server for ClearQuest

如果要在 WebSphere Application Server 上部署 Report Server for ClearQuest,請執行下列動作:
  1. 尋找 Deploy_RCQR _eWAS.py 檔案。依預設,這會位於 %RATIONAL_COMMON%/CM/Scripts 中。請指定下面這一組參數。 如果您在使用遠端 CM 伺服器,請指定 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. 執行下列指令來啟動 Report Server 設定檔:%RATIONAL_COMMON%/CM/profiles/reportalprofile/bin/startServer server1 -profileName reportalprofile
  3. 導覽至 Report Server 設定檔的 bin 目錄。此目錄為 %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 是用來安裝 Rational ClearQuest Report Server 之機器的主機名稱和網域,而 portnumber 是用於安全連線的埠,通常是 15443。
    https://machinename.domain:portnumber/jazz/reportal/projects/Vega
  3. 在登入提示中,輸入 Rational ClearQuest 使用者名稱和密碼,然後按一下登入繼續執行。

意見