subscribeWPFPMI 매개변수는 파티션 기능(WPF)의 비동기 PMI 모듈을 등록합니다.
다음 예제는 매개변수 사용법을 표시합니다.
./wpfadmin subscribeWPFPMI [active|cumulative]
[TransactionCount|ResponseTime|FailedTransactionCount]
<application_name><ejb_name><partition_count>
<aggregator_interval>
--c <cluster_name>
<application name> 및 <ejb_name>은 PMI 통계를 보관할 응용프로그램 및 EJB를 지정합니다.
<partition_count>는 PMI 통계를 보관하는 파티션 수입니다. 예를 들어 클러스터에 10,000개의 파티션이 있고 partition_count가 20으로 설정된 경우 트랜잭션 수 또는 응답 시간 관점에서 상위 20개의 파티션만 저장됩니다.
<aggregator_interval>은 총계기가 각 수집 사이에서 대기하는 간격입니다. 기본값은 15000밀리초입니다.
<cluster_name>은 응용프로그램이 실행 중인 클러스터를 나타냅니다. wpfModule의 PMI 스펙 레벨이 이 클러스터의 서버에 대해 H로 설정되지 않은 경우 subscribeWPFPMI가 실패합니다.
subscribeWPFPMI 매개변수는 ID 정수를 사용자에서 리턴합니다. 사용자는 통계를 확보하고 등록 옵션을 갱신할 때 후속 명령에서 이 ID를 사용합니다. 이 모든 옵션은 개별적으로 설정할 수도 있습니다.
[root@wpfsample3 bin]# ./wpfadmin subscribeWPFPMI cumulative TransactionCount WPFKeyBasedPartitionSample WPFKeyBasedPartition 3 15000 --c cluster1 WASX7209I: Connected to process "Deployment Manager" on node wpfsample3Manager using SOAP connector; The type of process is: DeploymentManager WPFC0065I: Cluster set to cluster1 WPFC0040I: WPF PMI has been subscribed with options range=cumulative, type=TransactionCount, application name=WPFKeyBasedPartitionSample, ejb name=WPFKeyBasedPartition, partition count=3, interval=15000 WPFC0041I: Your client id is 2. Use this in future wpfadmin PMI calls.
Related concepts
관리 스크립트(wpfadmin) 및 사용