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

파티션 동적 추가

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

동적으로 파티션을 추가 및 제거할 수 있습니다. 다음 명령은 이 기능을 표시합니다.

<WAS_HOME>\launchclient <WAS_HOME>\profiles\[APP_SERVER_PROFILE]\installedApps\Cell\

WPFKeyBasedPartitionSample.ear -CCproviderURL=corbaloc::localhost:9813
-addPartition PKMyNewOne

결과는 다음과 유사합니다.
IBM WebSphere Application Server, Release 5.1
J2EE Application Client Tool
	Copyright IBM Corp., 1997-2003
WSCL0012I: Processing command line arguments.
WSCL0013I: Initializing the J2EE Application Client Environment.
WSCL0035I: Initialization of the J2EE Application Client Environment
has completed.
	WSCL0014I: Invoking the Application Client class 
com.ibm.websphere.wpf.client.WPFKeyBasedPartitionClient
Adding partition PKMyNewOne
Partitions added. Since there is a delay when a partition 
activates, to run the client against the newly added partition, 
run launchClient again
without the -addPartition option
이 기능을 제공하려면 응용프로그램을 프로그래밍해야 합니다. 이 기능은 wpfadmin에서 일반적으로 제공되는 기능이 아닙니다. 프로그래머인 경우 파티션의 동적 추가 및 제거를 지원하려면 샘플 응용프로그램을 참조하십시오.

위의 경고에서는 런타임 보기에서 파티션 추가 및 활성화가 즉시 발생하지 않음(일반적으로 매우 빠름)을 설명합니다. 따라서 대형 클러스터 구성에서 다음 명령을 실행해도 즉시 반영되지 않을 수 있습니다.

listActive의 출력은 다음과 같이 표시됩니다.

wsadmin -lang jython -f wpfadmin.pty listActive

WASX7209I: Connected to process "Deployment Manager" 
on node CellManager using SOAP connector;  
The type of process is: DeploymentManager

WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PKMyNewOne: 
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000010: 
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000009:
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000008: 
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000007: 
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000006: 
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000005: 
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000004: 
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000003: 
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000002: 
Server Cell\NodeA\cluster_member_3
WPFC0050I: Application WPFKeyBasedPartitionSample, 
Partition PK000001: 
Server Cell\NodeA\cluster_member_3

이제 명령 출력에 PKMyNewOne 파티션이 있습니다. 현재 매개변수 없이 데모 클라이언트를 실행하는 경우 파티션은 트랜잭션을 수신할 수 있습니다.



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/twpfaddparts.html

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