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

응용프로그램 클라이언트 실행

  1. 클러스터를 시작하십시오.
  2. <WAS_HOME>/bin> 디렉토리에서 다음 명령을 실행하십시오.
    wpfadmin listActive --a ProxyDSAccountSample --o 200
    200개의 파티션이 활성화되고 있음을 확인하게 됩니다.
  3. 클라이언트 창의 <WAS_HOME>/installedApps/<cell>/ 디렉토리에서 다음 명령을 실행하십시오.
    ..\..\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..........
    
    
  4. 이전 단계에서 출력에 언급된 명령을 실행하여 파티션 E0001 및 W0001을 다른 서버로 이동하십시오. Enter를 누르십시오. 응용프로그램 클라이언트 창에 다음이 표시됩니다.
    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을 이동한 서버인지 확인하십시오.
  5. westtest 데이터베이스에 계정 W_ACT0001이 작성되었으며 easttest 데이터베이스에 계정 E_ACCT0001이 작성되었는지 데이터베이스를 확인하십시오. Enter를 누르십시오. 응용프로그램 클라이언트 창에 다음이 표시됩니다.
    3.Delete Account W_ACCT0001
    4.Delete Account E_ACCT0001
    5.Sample finishes
    



Related concepts
파티션 기능 프로그래밍

타스크 주제    

이용 약관 | 피드백 마지막 갱신 날짜: 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/twpfrunappclient.html

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