wpfadmin listActive --a ProxyDSAccountSample --o 200200개의 파티션이 활성화되고 있음을 확인하게 됩니다.
..\..\bin\launchClient.bat ProxyDSAccountSample.ear -CCBootstrapPort= <BOOTSTRAP_PORT> run여기서 BOOTSTRAP_PORT는 이 노드에 있는 서버의 부트스트랩 포트입니다(예: 9811). 다음의 출력이 표시됩니다.
IBM WebSphere Application Server, Release 6.0 J2EE Application Client Tool Copyright IBM Corp., 1997-2004 ...... WSCL0035I: Initialization of the J2EE Application Client Environment has completed. WSCL0014I: Invoking the Application Client class com.ibm.websphere.proxyds.client.ProxyDSAccountSampleClient ----Move partition E0001 and W0001 to different servers using the following command. <WAS_DMGR_HOME>/bin/wpfadmin.cmd|wpfadmin.sh move --p E0001|W0001 --d <DESTINATION SERVER> ----Press <ENTER> to continue..........
1.Create Account E_ACCT0001 with balance 1000 for Jian in server monkey1Cell01/monkey1Node02/s1 2.Create Account W_ACCT0001 with balance 2000 for Josh in server monkey1Cell01/monkey1Node02/s2 ----Check the server to see the routing is correct. ----Check your database. The previous records are added to two different databases you have configured. Press <ENTER> to continue..........<server1>은 파티션 E0001을 이동한 서버이고 <server2>는 파티션 W0001을 이동한 서버인지 확인하십시오.
3.Delete Account W_ACCT0001 4.Delete Account E_ACCT0001 5.Sample finishes
Related concepts
파티션 기능 프로그래밍