manageprofiles 명령

WebSphere Process Server 프로파일을 관리하려면 manageprofiles 명령행 도구를 사용하십시오. 이 명령을 사용하여 프로파일을 작성, 삭제, 기능 보강, 기능 해제, 나열 또는 유효성을 검증할 수 있습니다.

manageprofiles 명령은 프로파일 마법사 이외에 프로파일을 작성 또는 기능 보강할 수 있는 또 다른 방법입니다. 프로파일 마법사를 사용하여 프로파일을 작성 또는 기능을 보강하거나 자동으로 프로파일을 작성할 경우, 프로파일 작성 또는 기능 보강 구성의 명령행 버전이 로그 파일에 작성됩니다. 고급 사용자는 로그 파일에서 이 명령행을 추출하여 특정 위치에 신중하게 수정을 가하고 manageprofiles 명령과 함께 이를 사용하여 다른 프로파일을 작성하거나 기능을 보강할 수 있습니다. 또한, manageprofiles 명령은 프로파일을 기능 보강 취소한 다음 삭제하는 등 프로파일 마법사가 제공하지 않는 기능을 사용할 수 있습니다.

중요: IBM은 먼저 프로파일 마법사를 사용하여 유사 프로파일을 작성 또는 기능 보강한 후(또는 응답 파일을 사용하여 유사 프로파일을 자동으로 작성한 후 - 프로파일의 자동 기능 보강은 지원되지 않음) manageprofiles 명령을 사용하여 매우 유사한 다른 프로파일을 작성하기 위해 그러한 프로파일의 작성 또는 기능 보강을 "복사"하는 경우에만 manageprofiles 명령을 사용한 WebSphere Process Server 프로파일의 작성 또는 기능 보강을 지원합니다. manageprofiles 명령을 사용하여 프로파일 작성manageprofiles 명령을 사용하여 프로파일 기능 보강에는 이 프로프저의 단계별 지시사항이 들어 있습니다. WebSphere Process Server 프로파일의 작성 또는 기능 보강 이외의 다른 타스크의 경우(기능 보강 해제, 삭제, 나열 또는 프로파일 확인) (이전에 생성된 명령을 복사하지 않고) 명령행에서 manageprofiles를 사용할 수 있습니다.

사용법

manageprofiles 명령으로 WebSphere Process Server 프로파일을 작성 또는 기능 보강하려면 manageprofiles 명령을 사용하여 프로파일 작성manageprofiles 명령을 사용하여 프로파일 기능 보강에서 설명한 지시사항을 수행하십시오. 또한 manageprofiles 명령 구문에 표시된 바와 같이 manageprofiles 명령을 사용하여 프로파일을 직접 삭제, 보강된 기능 해제, 나열 또는 유효성 확인을 수행할 수 있습니다.
제한사항:
wasprofile 명령을 사용하여 WebSphere Process Server 프로파일을 수정하지 마십시오.

프로파일 유형

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

명령 파일 위치

명령 파일은 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 명령 구문

manageprofiles 명령과 함께 다음 구문 및 매개변수를 사용하여 프로파일에 대한 정보를 얻을하고 프로파일을 삭제하거나 프로파일의 기능을 해제하십시오.

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

매개변수

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

명령 출력

완료시 명령은 다음 중 하나와 유사한 명령문을 인쇄합니다. (정확한 표현은 호출되는 manageprofiles의 모드에 따라 다릅니다.)
  • INSTCONFSUCCESS: 프로파일 작성에 성공했습니다.
  • INSTCONFFAILED: 프로파일 작성에 실패했습니다.
  • INSTCONFPARTIALSUCCESS: 일부 중요하지 않은 POST 설치 구성 조치에 실패했습니다.
명령문이 두 번 이상 인쇄되는 경우가 있습니다. 예를 들어, INSTCONFSUCCESS 행이 명령행으로 세 번 인쇄됩니다.

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