wpfadmin listActive --a ProxyDSAccountSample --o 200Sie sehen, dass 200 Partitionen aktiviert werden.
..\..\bin\launchClient.bat ProxyDSAccountSample.ear -CCBootstrapPort= <BOOTSTRAP_PORT> runBOOTSTRAP-PORT steht für den Bootstrap-Port eines Servers auf diesem Knoten, z. B. 9811. Sie sehen die folgende Ausgabe:
IBM WebSphere Application Server Release 6.0 J2EE Application Client Tool Copyright IBM Corp., 1997-2004 ...... WSCL0035I: Die Initialisierung der Umgebung des J2EE-Anwendungsclient ist abgeschlossen. WSCL0014I: Die Application-Client-Klasse com.ibm.websphere.proxyds.client.ProxyDSAccountSampleClient wird aufgerufen. ----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..........Vergewissern Sie sich, dass Sie die Partition E0001 soeben in <server1> und die Partition W0001 in <server2> verschoben haben.
3.Delete Account W_ACCT0001 4.Delete Account E_ACCT0001 5.Sample finishes
Related concepts
Programmierumgebung des Partitionierungs-Feature