WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 운영 체제: AIX, HP-UX, Linux, Solaris, Windows

manageprofiles 명령

manageprofiles 명령행 도구는 그래픽 프로파일 작성 마법사의 대안으로 모든 WebSphere ESB 런타임 환경을 작성하는 데 사용할 수 있습니다. 이 명령은 프로파일(Deployment manager에 대해 런타임 환경을 정의하는 파일 세트), 사용자 정의 프로파일 또는 독립형 서버 프로파일 등을 작성합니다. 또한 이 명령은 프로파일을 작성, 삭제, 기능 업그레이드, 업그레이드된 기능 해제, 나열 또는 유효성 검증하는 데 사용할 수 있습니다.

프로파일 작성 마법사는 ISMP(InstallShield for MultiPlatforms) 응용프로그램입니다. 마법사를 사용하면 이번 주제에 설명된 대부분의 매개변수를 입력할 수 있습니다. 그러나 일부 매개변수에는 manageprofiles 명령을 사용해야 합니다. 예를 들어 프로파일 작성 마법사에서 삭제 기능을 제공하지 않기 때문에 프로파일의 삭제 또는 업그레이드된 기능 해제를 수행하려면 manageprofiles 명령을 사용해야 합니다.

그러나 프로파일 작성 마법사는 또한 manageprofiles 명령에서 수행하지 않는 타스크를 수행합니다. 예를 들어 마법사는 작성되는 각 프로파일에 대해 Windows® 서비스를 작성할 수 있습니다. 또한 이전의 포트 할당에 기초하여 충돌하지 않는 포트를 할당할 수도 있습니다.

프로파일 작성 마법사를 (대화식 또는 자동으로) 사용하여 프로파일을 작성하거나 기능 업그레이드할 경우 명령행 버전의 프로파일 작성 또는 기능 업그레이드가 로그 파일에 기록됩니다. 로그 파일에서 이 명령행을 추출하고 주의깊게 수정하여 사용하면 다른 프로파일을 작성하거나 기능 업그레이드할 수 있습니다.

중요사항:WebSphere ESB 프로파일을 작성하거나 기존의 WebSphere Application Server 프로파일을 기능 업그레이드하려면 먼저 프로파일 작성 마법사 또는 자동 설치 프로세스를 사용하고 manageprofiles 명령만 사용하여 그러한 프로파일을 "복제"하거나 그와 매우 유사한 프로파일을 작성해야 합니다. manageprofiles 명령을 사용하여 프로파일 작성 및 기능 업그레이드에는 이 프로시저의 단계별 지시사항이 포함되어 있습니다.
자세한 정보는 다음 섹션을 참조하십시오.

프로파일 유형

각 프로파일의 템플리트는 install_root/profileTemplates 디렉토리에 있습니다.

이 디렉토리 안에는 다른 프로파일 유형에 상응하는 다양한 디렉토리가 있습니다. 이 디렉토리는 -templatePath 옵션으로 manageprofiles 명령에 지시하는 경로입니다. 또한 설치 루트 외부에 있는 프로파일 템플리트(있는 경우)를 지정할 수 있습니다.

WebSphere ESBmanageprofiles 명령을 사용하면 다음 유형의 ESB 프로파일을 작성할 수 있습니다.
  • 독립형 서버 프로파일은 install_root/profileTemplates/default.esbserver 템플리트를 사용합니다.
  • Deployment Manager 프로파일은 install_root/profileTemplates/dmgr.esbserver 템플리트를 사용합니다.
  • 사용자 정의 프로파일은 install_root/profileTemplates/managed.esbserver 템플리트를 사용합니다.

명령 파일의 위치

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

프로파일 작성 마법사는 명령행 도구에 대한 GUI(Graphical User Interface)입니다. 프로파일 작성 마법사를 호출하는 명령의 파일 이름은 운영 체제 플랫폼마다 다릅니다.

로깅

manageprofiles의 각 호출은 install_root/logs/wasprofile 디렉토리에 두 개의 로그를 작성합니다.
  • wasprofile_<mode>_profile_name.log에는 manageprofiles 명령에서 호출한 조치의 세부사항이 포함됩니다.
  • manageprofile_<mode>_profile_name.log에는 주어진 호출에 적용된 템플리트에 대한 훨씬 더 간결한 설명 및 해당 리턴 코드가 포함됩니다.
예를 들어 manageprofiles 명령을 사용하여 profile1이라는 프로파일을 작성한 경우 다음 두 개의 로그 파일이 작성됩니다.
  • install_root/logs/wasprofile/wasprofile_create_profile1.log
  • install_root/logs/wasprofile/manageprofile-create-profile1.log
LINUX platforms UNIX platforms

manageprofiles.sh 명령 구문

manageprofiles 명령과 함께 다음 구문 및 매개변수를 사용하면 자신의 프로파일 정보를 가져오고 프로파일을 삭제하거나 업그레이드된 기능 해제를 수행할 수 있습니다. manageprofiles를 사용하여 프로파일을 작성 또는 기능 업그레이드하려면 manageprofiles 명령을 사용하여 프로파일 작성 및 기능 업그레이드의 지시사항을 수행하십시오.

기존 프로파일을 나열합니다:
# ./manageprofiles.sh -listProfiles                 
프로파일에 대한 최근 기능 업그레이드를 제거합니다:
# ./manageprofiles.sh -unaugment              -profileName profile_name
프로파일을 삭제합니다:
주: 프로파일을 삭제하려면 먼저 프로파일에서 모든 기능 업그레이드를 제거해야 합니다. WebSphere ESB 프로파일에 대해 delete 명령을 발행하려면 먼저 unaugment 명령을 두 번 발행하십시오. 이렇게 하면 프로파일 및 관련된 모든 artefact는 삭제됩니다. 프로파일을 삭제한 후에 프로파일을 다시 작성하려면 먼저 profile_root 디렉토리의 내용을 수동으로 삭제하십시오.
# ./manageprofiles.sh -unaugment
              -profileName profile_name
# ./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.sh -help
# ./manageprofiles.sh -option_name -help
For Windows platforms

manageprofiles.bat 명령 구문

기존 프로파일을 나열합니다:
manageprofiles -listProfiles             
프로파일에 대한 최근 기능 업그레이드를 제거합니다:
manageprofiles -unaugment               -profileName  profile_name
프로파일을 삭제합니다:
주: 프로파일을 삭제하려면 먼저 프로파일에서 모든 기능 업그레이드를 제거해야 합니다. delete 명령을 발행하려면 먼저 unaugment 명령을 두 번 발행하십시오. 이렇게 하면 프로파일 및 관련된 모든 artefact는 삭제됩니다. 프로파일을 삭제한 후에 프로파일을 다시 작성하려면 먼저 profile_root 디렉토리의 내용을 수동으로 삭제하십시오.
manageprofiles -unaugment 
               -profileName  profile_name
manageprofiles -unaugment 
               -profileName  profile_name
manageprofiles -delete 
              -profileName profile_name | -profilePath profile_path 
            
Get the name of an existing profile from its path:
manageprofiles -getName 
               -profilePath fully_qualified_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 ESB manageprofiles 명령에는 WebSphere Process Server manageprofiles 명령과 동일한 매개변수 세트가 있습니다.

WebSphere ESB에 대한 manageprofiles 명령과 함께 사용하는 매개변수의 목록 및 설명은 manageprofiles 매개변수를 참조하십시오.

명령 출력

작성 또는 기능 업그레이드 명령이 완료되면 다음 문 중 하나가 명령행에 인쇄됩니다. 정확한 구문은 manageprofiles가 호출된 모드에 따라 다릅니다.
  • INSTCONFSUCCESS: 프로파일 작성이 완료되었습니다.
  • INSTCONFFAILED: 프로파일 작성에 실패했습니다.
  • INSTCONFPARTIALSUCCESS: 일부 설치후 구성 조치가 완료되지 않았습니다.
문이 두 번 이상 인쇄되는 경우도 있습니다. 예를 들어 WebSphere ESB 프로파일의 경우 명령행에 INSTCONFSUCCESS 행이 세 번 인쇄됩니다.

예제

업그레이드된 기능 해제LINUX platforms UNIX platforms
install_root/bin  manageProfiles.sh -unaugment –profileName profileName
For Windows platforms
install_root\bin  manageProfiles -unaugment –profileName profileName
삭제LINUX platforms UNIX platforms
install_root/bin  manageProfiles.sh -delete –profileName profileName
For Windows platforms
install_root\bin  manageProfiles -delete –profileName profileName
관련 참조
manageprofiles 매개변수

Reference topic

이용약관 | 피드백

시간소인 아이콘마지막 갱신 날짜: 6 Mar 2006
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc.nl1_6.0.1\ref\rwesb_manageprofile.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
이 information Center는 Eclipse 기술을 기반으로 합니다. (http://www.eclipse.org)