WebSphere Application Server への ClearQuest 用レポート サーバーのデプロイ

WebSphere Application Server へ ClearQuest 用のレポート サーバーをデプロイするには、以下のようにします。
  1. ファイル Deploy_RCQR _eWAS.py を見つけます。 このファイルは、デフォルトでは %RATIONAL_COMMON%/CM/Scripts にあります。 以下の一連のパラメータを指定します。 リモート CM サーバーを使用している場合、値 localhost に IP アドレスまたはマシン名を指定して、cqConnectionURL の値を設定します。デフォルト値が表示されます。値は、ファイル /RCQR/server/reportserver.properties 内の値と整合性がなければなりません。 例えば、user.registry.cq.connectionURL 値は、 reportserver.properties ファイル内の cqConnectionURL と一致していなければなりません。

    また、管理者ユーザー名が Deploy_RCQR_eWAS.py の 3 箇所にリストされるので、 それらの値が整合している必要があります。以下の例では、このファイルのデフォルト値が示されています。 3 箇所に出現する管理者ユーザー名は、太字体で表示されています。

    # Set basic properties of custom security
    
    attrs = '[[useRegistryServerId false][primaryAdminId %s][customRegistryClassName %s]]' % ('admin', 'com.ibm.rational.cq.was.userregistry.CQUserRegistry')
    
    AdminConfig.modify(customUserRegistry, attrs)# Set custom properties
    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. 次のコマンドを実行して、レポート サーバー プロファイルを開始します。 %RATIONAL_COMMON%/CM/profiles/reportalprofile/bin/startServer server1 -profileName reportalprofile
  3. レポート サーバー プロファイルの 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 レポート サーバーがインストールされているマシンのホスト名とドメインで、portnumber はポートで、セキュア接続用には通常 15443 です。
    https://machinename.domain:portnumber/jazz/reportal/projects/Vega
  3. ログイン プロンプトで、Rational ClearQuest ユーザー名とパスワードを入力し、「ログイン」をクリックして継続します。

フィードバック