WebSphere Extended Deployment, Version 6.0.x     운영 체제: AIX, HP-UX, Linux, Solaris, Windows, z/OS

성능 모니터 사용 가능

시작하기 전에

일반적으로 이 예를 시작하기 전에 클러스터를 중지해야 합니다. 관리 콘솔을 통해 클러스터를 중지하십시오.

이 타스크의 수행 목적 및 시기

다음 명령은 PMI 성능 모니터링 하부 구조를 사용 가능하게 하므로 파티션 기능(WPF)의 성능 모니터링 확장 기능에서 트랜잭션 상태를 제공할 수 있습니다.
  1. 이 섹션에서 성능 모니터가 초기화된 후에 서버를 수행하기 위해 이전에 사용된 launchclient 창을 종료하고 새 명령행 인터페이스를 여십시오.
  2. 이 섹션의 나머지 모든 단계를 새 창에서 수행하십시오.
  3. 새 창이 열리면 deployment manager의 홈 디렉토리로 변경하십시오. 그런 다음 wpfadmin 스크립트를 실행할 디렉토리를 bin 디렉토리로 변경하십시오.
  4. WPF를 모니터하려면 H PMI 레벨이 필요합니다.
  5. wpfadmin enableWPFPMI H --c cluster
    wsadmin -lang jython -f wpfadmin.pty enableWPFPMI H --c cluster
    WASX7209I: Connected to process "Deployment Manager" on node CellManager 
    using SOAP connector;  The type of process is: DeploymentMana
    ger
    WPFC0065I: Cluster set to cluster
    WPFC0043I: The wpfModule of PMI is enabled for cluster cluster 
    and set to level H.
    
지금 이 클러스터를 시작해야 합니다. cluster_name 클러스터를 재시작하려면 관리 콘솔을 사용하십시오. 이제 특정 Bean 인스턴스에 대한 특정 트랜잭션 수를 추적할 수 있습니다.
다음 명령은 30초마다 상위 10개의 인스턴스로 트랜잭션 수를 추적합니다.

wpfadmin subscribeWPFPMI cumulative TransactionCount
WPFKeyBasedPartitionSample WPFKeyBasedPartition 10  30000 --c cluster

ple WPFKeyBasedPartition 10 30000 --c cluster
WASX7209I: Connected to process "Deployment Manager" on node CellManager 
using SOAP connector;  The type of process is: DeploymentMana
ger
WPFC0065I: Cluster set to cluster
WPFC0040I: WPF PMI has been subscribed with options range=cumulative, 
type=TransactionCount, application name=WPFKeyBase
dPartitionSample, ejb name=WPFKeyBasedPartition, partition count=10, 
interval=30000
WPFC0041I: Your client id is 1. Use this in future wpfadmin PMI calls.
클라이언트 ID를 참고하십시오. 이 등록을 모니터할 때 사용하는 참조 ID입니다. 이제 실제로 활성 모니터링을 시작할 수 있습니다.
모니터하기 전에 기존 트랜잭션을 완료해야 합니다. 완료하지 않으면 클라이언트 응용프로그램이 오류를 보고합니다. 유효한 트랜잭션인지 확인하려면 이전에 수행한 클라이언트 실행 응용프로그램을 실행하십시오. 일부 트랜잭션이 완료되지 않으면 다음 오류가 표시됩니다.

wpfadmin getTransactionCount --id 1 --top 15

C:\was\nd51\bin>wsadmin -lang jython -f wpfadmin.pty getTransactionCount 
--id 1 --top 15
WASX7209I: Connected to process "Deployment Manager" on node CellManager 
using SOAP connector;  The type of process is: DeploymentMana
ger
WPFC0065I: Id set to 1
WPFC0065I: Top interval set to 15

PartitionName       TransactionCount  TotalResponseTime  MinimumTime 
MaximumTime
WPFC0045I: No statistics are available! Please wait and try again.

launchclient c:\was\base51\installedApps\Cell\
WPFKeyBasedPartitionSample.ear
-CCproviderURL=corbaloc::<host>:<port>

다음 명령을 사용하여 파티션 기능의 응용프로그램 모니터링을 켜십시오.

wpfadmin getTransactionCount --id 1 --top 15

wsadmin -lang jython -f wpfadmin.pty getTransactionCount --id 1
--top 15

WASX7209I: Connected to process "Deployment Manager" on node 
CellManager using SOAP connector;  The type of process is: 
DeploymentManager
WPFC0065I: Id set to 1
WPFC0065I: Top interval set to 15

PartitionName       TransactionCount  TotalResponseTime  MinimumTime  MaximumTime
PK000010            3                 1418               207          639
PK000009            3                 1456               32           752
PK000008            3                 2254               586          907
PK000007            3                 1161               149          817
PK000006            3                 2130               663          760
PK000005            3                 1711               77           908
PK000004            3                 1040               109          784
PK000003            3                 703                22           400
PK000002            3                 1138               125          684
PK000001            3                 926                31           670
==================================

PartitionName       TransactionCount  TotalResponseTime  MinimumTime  MaximumTime
PK000010            3                 1418               207          639
PK000009            3                 1456               32           752
PK000008            3                 2254               586          907
PK000007            3                 1161               149          817
PK000006            3                 2130               663          760
PK000005            3                 1711               77           908
PK000004            3                 1040               109          784
PK000003            3                 703                22           400
PK000002            3                 1138               125          684
PK000001            3                 926                31           670
사용자가 명령 창에서 CTRL-C를 눌러 종료하기 전까지 이 옵션은 추적을 계속합니다.

wpfadmin getTransactionCount --id 1

wsadmin -lang jython -f wpfadmin.pty getTransactionCount --id 1
WASX7209I: Connected to process "Deployment Manager" on node CellManager 
using SOAP connector;
The type of process is: DeploymentManager
WPFC0065I: Id set to 1

PartitionName       TransactionCount  TotalResponseTime  MinimumTime  MaximumTime
PK000010            15                7904               99           894
PK000009            15                6964               32           866
PK000008            15                6880               3            998
PK000007            15                6766               64           946
PK000006            15                9253               210          993
PK000005            15                7897               21           971
PK000004            15                7191               109          994
PK000003            15                7076               6            931
PK000002            15                7210               84           789
PK000001            15                6375               31           949

추가로 조사할 경우 누적 옵션 대신 활성 옵션을 사용하십시오. 또한 launchclient 명령에서는 -loop xxxxx 매개변수를 사용합니다. PMI 추적을 사용한 후 –loop 옵션은 루핑 방식으로 각 파티션 엔드포인트에서 트랜잭션을 생성하고 활성 트랜잭션은 특정 시간 동안 발생한 새 트랜잭션 수를 반영합니다.

예를 들어, 다음과 같습니다.
wpfadmin subscribeWPFPMI active TransactionCount WPFKeyBasedPartitionSample 
WPFKeyBasedPartition 10
30000 --c cluster
또한 순환하는 클라이언트 실행 명령은 다음과 같습니다.
launchclient c:\was\base51\installedApps\Cell\WPFKeyBasedPartitionSample.ear 
-CCproviderURL=corbaloc::<host>:<port> -loop 10000



Related tasks
트랜잭션 성능 통계 모니터

타스크 주제    

이용 약관 | 피드백 마지막 갱신 날짜: Mar 21, 2006 11:38:53 AM EST
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=?topic=/com.ibm.websphere.xd.doc/info/WPF51/twpfenablepm.html

© Copyright IBM 2005, 2006. All Rights Reserved.
이 Information Center는 Eclipse 테크놀러지로 강화되었습니다. (http://www.eclipse.org)