wpfadmin listActive --a ProxyDSAccountSample --o 200活動状態にある 200 個の区画が表示されます。
..¥..¥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
区画化機能のプログラミング