[IBM i]

enbprfwas 명령

enbprfwas 명령을 사용하면 Application Server가 프로파일 아래에서 실행되고 선택적으로 그룹 프로파일을 QEJBSVR로 변경할 수 있는 프로파일을 만들 수 있습니다.

iSeries 네비게이터를 사용하여 동일한 작업을 수행할 수도 있습니다. 이 스크립트를 실행하려면 사용자 프로파일에 *ALLOBJ 권한이 있어야 합니다.

구문

명령 구문은 다음과 같습니다.
enbprfwas -profile <user profile> [-chggrpprf]

매개변수

다음 옵션은 enbprfwas 명령에 사용할 수 있습니다.

-profile
이것은 필수 매개변수입니다. <user profile> 값은 애플리케이션 서버를 실행 가능할 수 있게 할 프로파일의 이름을 지정합니다.
-chggrpprf
이는 선택적 매개변수입니다. 이 매개변수를 지정하는 경우, 명령은 <user profile>의 그룹 프로파일을 QEJBSVR로 변경합니다.
우수 사례 우수 사례: Application Server에서 IBM Technology for Java JVM(Java Virtual Machine)을 사용하는 경우 -Xshareclasses JVM 옵션을 포함하는 몇 가지 명령을 추가로 실행해야 합니다. 이러한 명령을 실행하면 가상 메모리 풋프린트를 줄이고 Application Server의 시작 시간을 개선할 수 있습니다. Application Server에서 IBM Technology for Java를 사용하는지 판별하려면 다음을 수행하십시오.
  1. profile_root/properties/.instance.properties 파일을 조사하십시오.
  2. instance.use.j9 특성 값이 true로 설정된 경우 Application Server에서 IBM Technology for Java JVM을 사용하는 것입니다.
-Xshareclasses JVM 옵션을 사용하도록 Application Server를 최적화하려면 다음 방법 중 하나를 선택하십시오.
  • 관리 콘솔 사용:
    1. 관리 콘솔에서 서버 > 서버 유형 > WebSphere Application Server > server를 클릭하십시오.
    2. 서버 인프라 섹션에서 Java 및 프로세스 관리 > 프로세스 정의를 클릭하십시오.
    3. JVM(Java Virtual Machine)을 선택하십시오.
    4. 일반 JVM 인수 필드에서, 문자열 맨 끝에 공백을 추가한 후 다음 문자열을 추가하십시오.
      -Xshareclasses:name=webspherev80_profile_name,groupAccess,nonFatal
      여기서 profile_name은 profile 매개변수에 대해 설명한 run-as 사용자 프로파일입니다. 확인을 클릭하십시오.
    5. 확인을 클릭하십시오.
    6. 콘솔 작업 표시줄에서 저장을 클릭하십시오.
    7. Application Server를 다시 시작하십시오.
  • wsadmin 명령 사용:
    1. Qshell 환경을 시작하십시오.
    2. IBM i CL 명령행에서 STRQSH 명령을 실행한 후 다음 명령을 실행하십시오.
      cd app_server_root/bin 
      wsadmin -conntype NONE -profileName was_profile
         # where was_profile is the profile of the application server. 
      set jvm [$AdminConfig getid /Server:server_name/JavaProcessDef:/JavaVirtualMachine:/] 
         # where server_name, is the application server name.
      set curargs [$AdminConfig showAttribute $jvm genericJvmArguments] 
      set newargs [concat $curargs "-Xshareclasses:name=webspherev80_profile_name,groupAccess,nonFatal"]
         # where profile_name is the run-as user profile. 
      set attrs [subst {{genericJvmArguments $newargs}}] 
      $AdminConfig modify $jvm $attrs 
      $AdminConfig save
      exit
    3. Application Server를 다시 시작하십시오.
bprac

주제 유형을 표시하는 아이콘 참조 주제



시간소인 아이콘 마지막 업데이트 날짜: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rxml_enbprfwas
파일 이름:rxml_enbprfwas.html