ClearQuest Web サーバーのインストールまたはアップグレードの後、パフォーマンスの改善、またはメモリ不足エラーなど安定度の問題の防止のため、JVM 設定を増やします。
始める前に
以下の手順に JVM 設定を増やすための WebSphere コマンドの実行方法を示します。
ここに示す例では、ClearQuest Web サーバーがデフォルト プロファイル
cqwebprofile にデプロイされているものとします。
ClearQuest Web サーバーがこれとは異なる名前を持つプロファイルにデプロイされている場合、ご使用の環境で使用しているプロファイルの名前に
cqwebprofile を置き換えてください。
このタスクについて
以下の手順で、Windows および UNIX または Linux システムで WebSphere コマンドを実行するための説明を示します。
手順
Windows システムで JVM 設定を増やすには、以下のようにします。
- コマンド ウィンドウまたはシェルを開いて、WebSphere Application Server の bin ディレクトリに移動します。
- Windows:
wsadmin.bat -profile -profileName
cqwebprofile "C:¥Program Files¥IBM¥RationalSDLC¥ClearQuest¥cqweb¥scripts¥teamAdminUtils.jacl"
-c "setJvmMaxHeapSize 1024"
- UNIX または Linux:
./wsadmin.sh -profile
-profileName cqwebprofile "/opt/ibm/RationalSDLC/clearquest/cqweb/scripts/teamAdminUtils.jacl"
-c "setJvmMaxHeapSize 1024"
- 以下の WebSphere コマンドを実行して、ClearQuest Web サーバーをデプロイした WebSphere Application Server プロファイル用の JVM ヒープ サイズを 1024 に設定します。
- Windows:
wsadmin.bat -profile -profileName
cqwebprofile "C:¥Program Files¥IBM¥RationalSDLC¥ClearQuest¥cqweb¥scripts¥teamAdminUtils.jacl"
-c "setJvmMaxHeapSize 1024"
- UNIX または Linux:
./wsadmin.sh -profile
-profileName cqwebprofile "/opt/ibm/RationalSDLC/clearquest/cqweb/scripts/teamAdminUtils.jacl"
-c "setJvmMaxHeapSize 1024"
- WebSphere Application Server プロファイルを再起動して、変更を有効にします。
- Windows:
stopServer.bat server1 -profileName cqwebprofile
startServer.bat server1 -profileName cqwebprofile
- UNIX または Linux:
./stopServer.sh server1 -profileName cqwebprofile
./startServer.sh server1 -profileName cqwebprofile