Icon indicating 6.0.1 content only

WebSphere Process Server, 버전 6.0.1 사용을 위한 manageprofiles 명령

manageprofiles 명령행 도구를 사용하여 WebSphere Process Server 런타임 환경을 작성하거나 기능을 보강할 수 있습니다. 이 명령은 Deployment Manager, 사용자 정의 프로파일 또는 독립형 프로파일의 런타임 환경을 정의하는 파일 세트인 프로파일을 관리하는 데 사용할 수 있습니다. 이 명령을 사용하여 프로파일을 작성, 삭제, 기능 보강, 기능 해제, 나열 또는 유효성을 검증할 수 있습니다.

manageprofiles 명령은 프로파일 마법사(그래픽 모드 또는 자동 응답 파일에서 사용 가능) 이외에 프로파일을 작성할 수 있는 또 다른 방법입니다. 프로파일 마법사 또는 응답 파일(프로파일 마법사와 교대로 "자동으로" 활성화됨)의 사용은 대부분의 상황에서 프로파일을 작성할 수 있는 방법입니다. 그러나 고급 사용자는 일부 상황에서 manageprofiles 명령을 사용하는 것이 바람직하다고 생각할 수 있습니다. 프로파일 마법사는 이러한 기능을 제공하지 않으므로 예를 들어, 프로파일을 기능 해제한 후 삭제하려면 manageprofiles 명령을 사용해야 합니다. 프로파일을 삭제하기 전에 기능을 해제해야 합니다.

프로파일 마법사(자동 설치 포함)를 사용하여 처음 프로파일을 작성하거나 기능을 보강할 경우, 프로파일 작성 또는 기능 보강의 명령행 버전이 로그 파일에 작성됩니다. 로그 파일에서 이 명령행을 추출하여 특정 위치에 신중하게 수정을 가하고 이를 사용하여 다른 프로파일을 작성하거나 기능을 보강할 수 있습니다.

중요: IBM은 WebSphere Process Server의 경우, 처음에 프로파일 마법사나 자동 설치 프로세스를 사용하여 새 파일을 작성하거나 기존 WebSphere Application Server 프로파일의 기능을 보강하고 이러한 프로파일을 또는 기능 보강을 "복사"하거나 매우 비슷하게 작성하는 경우에만 manageprofiles 명령을 사용할 것을 권장합니다. manageprofiles 명령을 사용하여 프로파일 작성 및 기능 보강 이 프로시저의 단계별 지시사항을 포함합니다.

사용법

manageprofiles 명령을 사용하여 프로파일 작성 및 기능 보강에서 설명한 바와 같이 WebSphere Process Server에서는 manageprofiles 명령만 사용하십시오.
제한사항:
wasprofile 명령을 사용하여 WebSphere Process Server 프로파일을 수정하지 마십시오.

프로파일 유형

각 프로파일에 대한 템플리트는 install_root/profileTemplates 디렉토리에 있습니다. 이 디렉토리 내에는 다른 프로파일 유형에 대응하는 다양한 디렉토리가 있습니다. 이러한 디렉토리는 manageprofiles 명령을 -templatePath 옵션과 함께 사용하는 동안에 표시하는 경로입니다. 또한 설치 루트 외부에 있는 프로파일 템플리트를 지정할 수 있습니다. WebSphere Process Server에 사용되는 템플리트는 다음과 같습니다.
  • default.wbiserver: 독립형 프로파일용
  • managed.wbiserver: 사용자 정의 프로파일용
  • dmgr.wbiserver: Deployment Manager 프로파일용

명령 파일 위치

명령 파일은 install_root/bin 디렉토리에 있습니다. 명령 파일은 Linux 및 UNIX 플랫폼의 경우에는 manageprofiles.sh로, Windows 플랫폼의 경우에는 manageprofiles.bat로 이름 지정된 스크립트입니다.

로깅

manageprofiles의 각 호출은 install_root/logs/wasprofile 디렉토리에 두 개의 로그를 작성합니다.
  • wasprofile_<mode>_profile_name.log는 manageprofiles 명령에 의해 실행된 조치 세부사항을 포함합니다.
  • manageProfiles-<mode>-profile_name.log는 템플리트가 제공된 호출에 적용되는 매우 간략한 설명과 해당 리턴 코드를 포함합니다.
예를 들어, manageprofiles 명령 manageprofiles_create_profile1은 두 개의 로그 파일을 작성합니다.
  • install_root/logs/wasprofile/wasprofile_create_profile1.log
  • install_root/logs/wasprofile/manageProfiles-create-profile1.log

manageprofiles.sh 명령 구문

Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: manageprofiles 명령과 함께 다음 구문 및 매개변수를 사용하여 프로파일에 대한 정보를 얻고 프로파일을 삭제하거나 프로파일의 기능을 해제하십시오. manageprofiles 명령으로 프로파일을 작성하거나 기능을 보강하려면 manageprofiles 명령을 사용하여 프로파일 작성 및 기능 보강의 지시사항을 수행하십시오.

기존 프로파일 나열:
# ./manageprofiles.sh -listProfiles 
                 
프로파일에 대한 최신 증가 부분 제거:
# ./manageprofiles.sh -unaugment 
              -profileName profile_name 
프로파일 삭제:
주: 모든 기능 제거는 프로파일을 삭제하기 전에 반드시 프로파일에서 제거되어야 합니다. 그렇지 않으면 예상치 못한 결과가 나타날 수 있습니다.
# ./manageprofiles.sh -delete 
                -profileName profile_name | -profilePath profile_path 
                
경로로부터 기존 프로파일 이름 가져오기:
# ./manageprofiles.sh -getName 
                 -profilePath profile_path 
                
이름으로부터 기존 프로파일 가져오기:
# ./manageprofiles.sh -getPath 
                 -profileName profile_name 
                
프로파일 레지스트리의 무결성 확인:
# ./manageprofiles.sh -validateRegistry 
                
발견되지 않는 프로파일을 제거하여 프로파일 레지스트리의 무결성 확인:
# ./manageprofiles.sh -validateAndUpdateRegistry 
                 [-backup file_name] 
                
명령의 도움말 가져오기:
# ./manageprofiles -help

# ./manageprofiles -option_name -help

manageprofiles.bat 명령 구문

Icon indicating Windows platforms Windows 플랫폼: 기존 프로파일 나열:
manageprofiles -listProfiles 
프로파일에 대한 최신 증가 부분 제거:
manageprofiles -unaugment 
               -profileName profile_name 
프로파일 삭제:
주: 모든 기능 제거는 프로파일을 삭제하기 전에 반드시 프로파일에서 제거되어야 합니다. 그렇지 않으면 예상치 못한 결과가 나타날 수 있습니다.
manageprofiles -delete 
              -profileName profile_name | -profilePath profile_path 
            

경로로부터 기존 프로파일 이름 가져오기:
manageprofiles -getName 
               -profilePath fully_qualified_profile_path 
             
이름으로부터 기존 프로파일 가져오기:
manageprofiles -getPath 
               -profileName profile_name 
             
프로파일 레지스트리의 무결성 확인:
manageprofiles -validateRegistry 
             
프로파일 레지스트리의 무결성 확인(발견되지 않는 프로파일은 제거):
manageprofiles -validateAndUpdateRegistry 
             [-backup file_name] 
             
명령의 도움말 가져오기:
manageprofiles -help

manageprofiles -option_name -help

매개변수

WebSphere Process Server에서 manageprofiles 명령과 사용하는 매개변수 목록 및 설명은 manageprofiles 매개변수의 내용을 참조하십시오.

명령 출력

완료 시, 각 명령은 명령행에 다음 명령문 중 하나를 인쇄합니다. (정확한 표현은 호출되는 manageprofiles의 모드에 따라 다릅니다.)
  • INSTCONFSUCCESS: 프로파일 작성에 성공했습니다.
  • INSTCONFFAILED: 프로파일 작성에 실패했습니다.
  • INSTCONFPARTIALSUCCESS: 일부 중요하지 않은 POST 설치 구성 조치가 실패했습니다.
일부의 경우, 명령문이 한 번 이상 인쇄됩니다. 예를 들어, INSTCONFSUCCESS 행이 명령행으로 세 번 인쇄됩니다.
관련 태스크
manageprofiles 명령을 사용하여 프로파일 작성 및 기능 보강
관련 참조
manageprofiles 매개변수

이용약관 |


(c) Copyright IBM Corporation 2005, 2006.
이 Information Center는 Eclipse 기술을 기반으로 합니다. (http://www.eclipse.org)