JVM 설정을 늘려서 ClearQuest Web 서버의 성능 최적화

ClearQuest Web 서버를 설치하거나 업그레이드한 후에는 JVM 설정을 늘려서 성능을 개선하고 메모리 부족 오류와 같은 안정성 문제가 발생하지 않도록 하십시오.

시작하기 전에

이 프로시저에는 WebSphere 명령을 실행하여 JVM 설정을 늘리는 방법이 표시되어 있습니다. 예제에서는 ClearQuest Web 서버가 기본 프로파일 cqwebprofile에 배치되어 있다고 가정합니다. ClearQuest Web 서버를 다른 이름을 사용하는 프로파일에 배치한 경우에는 cqwebprofile을 해당 환경에서 사용하는 프로파일의 이름으로 바꾸십시오.

이 태스크 정보

이 프로시저에는 Windows, UNIX 또는 Linux 시스템에서 WebSphere 명령을 실행하는 데 필요한 지시사항이 있습니다.

프로시저

Windows 시스템에서 JVM 설정을 늘리려면 다음과 같이 하십시오.

  1. 명령 창이나 쉘을 열고 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"
  2. 다음 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"
  3. 변경사항이 적용되도록 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

피드백