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

자동으로 사용자 정의 프로파일 작성

responsefile.pcaw.esb.managedProfile.txt 파일은 사용자 정의 프로파일을 작성하기 위한 샘플 응답 파일입니다. 사용자 정의 노드를 조작 가능하게 만들려면 addNode 명령을 사용하여 이 노드를 Deployment Manager 셀에 연합하십시오. 관리 노드가 되어야만 한다는 이 강한 종속성 때문에 이 프로파일을 종종 관리 프로파일이라고도 합니다.

Linux® 또는 UNIX® 플랫폼에서 루트 또는 Windows® 플랫폼에서 관리자 그룹에 속하는 사용자로 로그온한 다음 옵션 응답 파일을 사용하여 사용자 정의 노드를 작성하십시오. Windows 플랫폼에서 설치할 경우 설치 프로시저의 일부 단계에서는 관리자 그룹에 속하는 사용자가 운영 체제의 일부로 작동서비스로 로그온 고급 사용자 권한이 있어야 합니다.

자동 설치할 경우 설치 프로그램은 이 파일을 읽어 Deployment Manager 프로파일의 특성을 알아냅니다. 초기 설치 후 응답 파일을 사용하여 Deployment Manager 프로파일을 추가로 작성할 수도 있습니다. 응답 파일은 기본값으로 제공됩니다.

사용자 정의 프로파일 연합

파일에 포함된 다음과 같은 몇 개의 지시문은 사용자 정의 노드를 Deployment Manager 셀에 연합하는 방법에 대한 옵션을 제공합니다.
  • -W pctfederationpanelInstallWizardBean.federateLater

    Deployment Manager가 실행 중이 아니거나 연합에 대한 다음 설명에 나오는 이유로 Deployment Manager에 액세스할 수 없는 경우 이 값을 true로 설정하십시오.

  • -W pctfederationpanelInstallWizardBean.hostname

    Deployment Manager가 실행 중인 시스템으로 해석될 수 있는 값을 지정하십시오. 호스트 네이밍에 대한 자세한 정보는 프로파일, 노드, 호스트 및 셀에 대한 네이밍 고려사항을 참조하십시오.

  • -W pctfederationpanelInstallWizardBean.port

    Deployment Manager SOAP 포트의 값을 지정하십시오. 올바른 값을 지정해야 합니다. 잘못된 값을 사용하면 노드를 연합할 수 없으며 INSTCONFFAILED 표시기가 표시되면서 실패하게 됩니다. Deployment Manager의 기본 SOAP 포트는 8879입니다.

노드 연합 시기: 프로파일 작성 중 또는 작성 후

다음 모든 사항이 참일 경우에만 사용자 정의 프로파일을 자동으로 작성할 때 노드를 연합하십시오.
  • Deployment Manager가 실행 중이어야 합니다.
  • Deployment Manager가 WebSphere ESB 프로파일이어야 합니다.
  • Deployment Manager 노드에서 보안이 사용 불가능해야 합니다.
  • Deployment Manager가 기본 SOAP JMX 커넥터 유형을 사용하고 이 커넥터가 사용 가능해야 합니다.
다음 사항 중 하나라도 참인 경우에는 자동 프로파일 작성 중에 노드를 연합하지 마십시오.
  • Deployment Manager가 실행 중이 아니거나 실행 중인지 여부를 확인할 수 없습니다.
  • Deployment Manager가 아직 WebSphere ESB 프로파일로 기능 업그레이드되지 않은 WebSphere Application Server Network Deployment 프로파일입니다.
  • Deployment Manager 노드에서 보안이 사용 가능합니다.
  • SOAP 커넥터가 사용 불가능합니다.
  • Deployment Manager가 기본값이 아닌 원격 메소드 호출(RMI)를 사용하여 선호하는 JMX(Java™ Management Extensions) 커넥터로 다시 구성됩니다. (선호하는 커넥터 유형을 확인하려면 Deployment Manager의 관리 콘솔에서 시스템 관리 > Deployment manager > 관리 서비스를 선택하십시오.)
위의 사항 중 하나라도 참인 경우에는 addNode 명령을 사용하여 명령에서 사용자 ID와 암호를 입력하여 노드를 작성한 후에 연합해야 합니다.

Deployment Manager가 실행 중이 아니거나 다른 이유로 사용할 수 없는 상태에서 사용자 정의 노드를 연합하려고 하면 프로파일 작성이 실패하며 생성된 사용자 정의 프로파일은 사용할 수 없습니다. 동일한 프로파일 이름으로 다른 사용자 정의 프로파일을 작성하기 전에 프로파일 저장소에서 이 사용자 정의 프로파일 디렉토리를 이동해야 합니다. 프로파일 저장소는 기본적으로 install_rootprofiles 디렉토리에 있으며 install_rootWebSphere ESB 설치 디렉토리입니다.

옵션 응답 파일에서 -silent 옵션 사용 방지

파일에 -silent 옵션이 있을 경우 문제가 발생합니다. 프로파일 작성 마법사에 대한 직접 호출 동안에는 옵션을 사용하여 파일을 작동할 수 있지만 자동 제품 설치에서 호출할 경우에는 실패합니다. 자동 제품 설치 중에 프로파일을 자동으로 작성하는 방법에 관한 옵션 응답 파일 사용자 정의를 참조하십시오.

옵션은 필요하지 않습니다. 문제가 생기지 않도록 하려면 옵션을 사용하지 마십시오.

응답 파일 위치

옵션 응답 파일의 예는 다음 두 곳에서 찾을 수 있습니다.

예제 파일:
  • responsefile.pcaw.esb.dmgrProfile.txt
  • responsefile.pcaw.esb.managedProfile.txt
  • responsefile.pcaw.esb.standAloneProfile.txt

위치:

표 1. 옵션 응답 파일 위치
제품 디스크 위치 설치된 위치
/ESB 디렉토리 install_root/bin/ProfileCreator 디렉토리

제품 디스크의 파일을 사용하여 WebSphere ESB를 자동으로 설치하고 프로파일을 작성하십시오.

WebSphere ESB를 설치한 다음 프로파일 작성 마법사 명령에서 -options 매개변수와 함께 설치된 응답 파일을 사용할 수 있습니다.

필수 디스크 공간

프로파일 필수 디스크 공간 필요한 임시 공간
Deployment Manager 프로파일 30MB 40MB
사용자 정의 프로파일 10MB 40MB
Application Server 프로파일 200MB 40MB

제품 설치 중에 오퍼레이션 환경 작성

WebSphere ESB 설치 과정은 다음과 같은 2단계 프로세스입니다.
  1. 코어 제품 파일 및 기능 파일 설치
  2. Deployment Manager 프로파일, 사용자 정의 프로파일 또는 Application Server 프로파일 작성

샘플 옵션 응답 파일 responsefile.esb.txt는 설치 단계의 첫 부분을 제어하며 설치의 두 번째 부분도 시작할 수 있습니다. 코어 제품 파일 설치 과정의 일부로 프로파일을 작성하려면 프로파일 작성에 필요한 응답 파일을 식별하는 responsefile.esb.txt 파일에서 해당 옵션을 사용하십시오. 프로파일 응답 파일을 사용하면 프로파일 작성 마법사를 자동으로 사용할 수 있습니다.

프로파일을 작성하기 위해 적절한 응답 파일을 편집하고 사용하려면 다음 프로시저를 수행하십시오.
  1. 제품 디스크의 ESB 디렉토리에서 해당 파일을 시스템에서 쉽게 식별할 수 있는 위치에 복사하십시오. 예제 파일은 다음과 같습니다.
    작성할 프로파일: 복사할 응답 파일:
    Deployment Manager 프로파일 responsefile.pcaw.esb.dmgrProfile.txt
    사용자 정의 프로파일 responsefile.pcaw.esb.managedProfile.txt
    Application Server 프로파일 responsefile.pcaw.esb.standAloneProfile.txt
  2. 파일을 편집하여 설치에 맞게 값을 사용자 정의하십시오.
  3. 프로파일 작성 마법사용 응답 파일에 -silent 옵션이 있는지 확인하십시오. 옵션이 있으면 프로파일이 작성되지 않습니다.
  4. 파일을 저장하십시오.
  5. responsefile.esb.txt 파일을 편집하여 프로파일 응답 파일의 이름 및 위치를 식별하십시오. 파일을 식별하기 위해 -W pcawresponsefilelocationqueryactionInstallWizardBean.fileLocation 옵션의 값을 변경하십시오. 예:
    -W pcawresponsefilelocationqueryactionInstallWizardBean.fileLocation=
    "/opt/IBM/WebSphere/MyOptionFiles/customProfile.txt"
  6. 설치를 시작하십시오. 예:
    install -options "myresponsefile.txt" -silent
  7. 설치한 후 로그를 조사하여 성공했는지 확인하십시오.

설치 후 프로파일 작성

WebSphere ESB 제품의 설치 과정은 다음과 같은 2단계 프로세스입니다.
  1. 코어 제품 파일 및 기능 파일 설치
  2. Deployment Manager 프로파일, 사용자 정의 프로파일 또는 독립형 서버 프로파일 작성

코어 제품 파일이 존재하는 경우 프로파일 작성 마법사를 사용하여 아무 때나 프로파일을 작성할 수 있습니다. 첫 번째 단계 콘솔에서 마법사를 시작하거나 프로파일 작성 마법사를 사용하여 시작하십시오.

프로파일 작성 마법사를 자동 모드로 사용하여 프로파일을 자동으로 작성하려면 프로파일에 대해 다음 샘플 옵션 응답 파일 중 하나를 사용할 수도 있습니다. 프로파일을 작성하기 위해 적절한 응답 파일을 편집하고 사용하려면 다음 프로시저를 수행하십시오.
  1. install_root/bin/ProfileCreator 디렉토리의 해당 파일을 시스템에서 쉽게 식별할 수 있는 위치에 복사하십시오. 예제 파일은 다음과 같습니다.
    작성할 프로파일: 복사할 응답 파일:
    Deployment Manager responsefile.pcaw.esb.dmgrProfile.txt
    관리 노드 responsefile.pcaw.esb.managedProfile.txt
    독립형 Application Server responsefile.pcaw.esb.standAloneProfile.txt

    예를 들면 파일을 my_options_file.txt로 복사하십시오.

  2. 파일을 편집하여 설치에 맞게 값을 사용자 정의하십시오.
  3. 파일을 저장하십시오.
  4. 설치를 시작하십시오.
    예:
    • For AIX platforms ./pcatAIX.bin -options my_options_file.txt -silent
    • ./pcatHPUX.bin -options my_options_file.txt -silent
    • LINUX platforms ./pcatLinux.bin -options my_options_file.txt -silent
    • LINUX platforms Power 플랫폼: ./pcatLinuxPPC.bin -options my_options_file.txt -silent
    • Solaris platforms ./pcatSolaris.bin -options my_options_file.txt -silent
    • For Windows platforms pcatWindows.exe -options my_options_file.txt -silent
  5. 프로파일 작성 마법사를 사용한 후 로그를 조사하여 성공했는지 확인하십시오.

로깅

다음 로그 파일에 프로파일 작성 관련 정보가 기록됩니다.
  • install_root/logs/log.txt 파일에는 설치 상태가 기록됩니다.
  • install_rootprofiles/profile_name/logs/pctLog.txt 파일에는 프로파일 작성 마법사를 사용하여 프로파일을 작성할 때 발생하는 설치 이벤트가 기록됩니다.
  • install_root/logs/wasprofile/wasprofile_create_profile_name.log 파일에는 프로파일을 작성할 때 발생하는 설치 이벤트가 기록됩니다.
  • install_root/logs/wasprofile/wasprofile_delete_profile_name.log 파일에는 프로파일을 삭제할 때 발생하는 설치 이벤트가 기록됩니다.

네이밍 고려사항

네이밍 고려사항에 대해서는 프로파일, 노드, 호스트 및 셀에 대한 네이밍 고려사항을 참조하십시오.

responsefile.pcaw.esb.managedProfile.txt 파일 예제

팁: 사용자 정의 프로파일은 Deployment Manager 셀에 추가되어야만 조작 가능해집니다. managed node이어야만 하는 속성으로 인해 이 프로파일을 종종 managed profile 또는 managed node라고 합니다.

물론 노드를 셀에 연합할 때까지 노드는 관리되지 않습니다. Application Server 프로파일 내의 연합된 노드를 포함하여 연합된 노드는 관리 노드라는 점도 유념해야 합니다.

다음 응답 파일은 여러 지시문 이름에서 사용자 정의라는 용어 대신 관리라는 용어를 참조합니다. 하지만 이 응답 파일의 모든 지시문이 사용자 정의 프로파일을 정의하는 데 도움이 됩니다.


################################################################################
#
# Response file for WebSphere ESB custom profile creation
#
# This options file is located in the CD_ROOT\ESB\ directory and in the
# install_root\bin\ProfileCreator_wbi directory.
#
# To use the options file under CD_ROOT\ESB\ directory, follow the instructions
# in CD_ROOT\ESB\responsefile.esb.txt. The WebSphere ESB
# installer locates this file during silent installation
# and automatically runs the silent profile creation at the end of installation.
# 
# To use the options file under install_root\bin\ProfileCreator_wbi for silent profile
# creation, you must change various values in the file and use the following command
# line arguments:
# 
#    -options "responsefile.pcaw.esb.managedProfile.txt" -silent
#
################################################################################


################################################################################
# 
# Profile name
#
# Set the name for this custom profile. The profile name must be unique for this
# WebSphere ESB installation.
#
#
-W profilenamepanelInstallWizardBean.profileName="profileManaged"

################################################################################
# If you want to set this profile to be your default profile, set to "true".
# Otherwise set to "false". If this is the first profile being created, the profile
# automatically is the default.
#
-W profilenamepanelInstallWizardBean.isDefault="false"


################################################################################
# 
# Profile location
#
# Specify a directory to contain the files that define the run-time environment,
# such as commands,configuration files, and log files. If the specified directory
# already exists it must be empty. If the directory name contains
# spaces, enclose it in double-quotes as shown in the Windows example below.
#
# Note that spaces in the install location is only supported on Windows
# operating systems.
#
# Default Install Location:
#
#    -P installLocation="<ESB_HOME>\profiles\<PROFILE_NAME>"
#
-P installLocation="C:\Program Files\IBM\WebSphere\ESB\profiles\profileManaged"


################################################################################
# 
# Node name
#
# Please select the node name for the Application Server. Node name under one cell
# has to be unique.
#
# Replace YOUR_NODE_NAME with the actual node name.
#
-W nodehostnamepanelInstallWizardBean.nodeName="YOUR_NODE_NAME"


################################################################################
#
# Host name
#
# Specify the host name for the Application Server. The host name is the domain
# name system (DNS) name (short or long) or the IP address of this computer.
# 
# Replace YOUR_HOST_NAME with the actual host name. Comment the line to use
# the default value.
# 
-W nodehostnamepanelInstallWizardBean.hostName="YOUR_HOST_NAME"


################################################################################
#
# Cell name
#
# You should not Modify this, unless absolutely necessary
# 
# The Wizard would set this to short local host name + "Node##Cell" by default.
#
# If you would like to override the resolved cell name value, uncomment the line and
# replace YOUR_CELL_NAME with <YOUR_OWN_VALUE>
#
# -W setnondmgrcellnameinglobalconstantsInstallWizardBean.value="YOUR_CELL_NAME"


################################################################################
# 
# Ports value assignment
#
# The following entries are used to reset port numbers used in the configuration
#
# They are currently set to the defaults.
# Please check to make sure there are no port conflicts.
# Port nubmers for each profile can be find in:
# <profile>/config/cells/<cell name>/nodes/<node name>/serverindex.xml
#
# If you specify true for the value of
# the -W pctfederationpanelInstallWizardBean.federateLater
# directive, port numbers are assigned automatically when you federate the
# node with the addNode command. The following port numbers do not apply.
#
-W pctmanagedprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS="2809"
-W pctmanagedprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS="8878"
-W pctmanagedprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS="9901"
-W pctmanagedprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS="9201"
-W pctmanagedprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS="9202"
-W pctmanagedprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS="9100"
-W pctmanagedprofileportspanelInstallWizardBean.NODE_DISCOVERY_ADDRESS="7272"
-W pctmanagedprofileportspanelInstallWizardBean.NODE_MULTICAST_DISCOVERY_ADDRESS="5000"
-W pctmanagedprofileportspanelInstallWizardBean.NODE_IPV6_MULTICAST_DISCOVERY_ADDRESS="5001"
-W pctmanagedprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS="9353"


################################################################################
# 
# Federation
#
# A custom profile contains an empty node that must be federated to a deployment
# manager to become a functional managed node. Identify a running deployment
# manager that will administer the node or choose to federate the node later
# using the addNode command.
#
# Set to "true" if you want to federate this custom node later using the addNode
# command. You must federate this node later if the deployment manager :
#            - is not running.
#            - has security enabled.
#            - has the SOAP connector disabled
#
# If you want to federate it now, set to "" and fill in the entries for the host
# and port of the deployment manager.
#
-W pctfederationpanelInstallWizardBean.federateLater=""

################################################################################
# Specify the host name of the deployment manager for federation.
#
-W pctfederationpanelInstallWizardBean.hostname="YOUR_DEPLOYMENT_MANAGER_HOST_NAME"

################################################################################
# Specify the port number where the deployment manager (DMGR) is reachable on the
# above host. The default port value is "8879".
#
-W pctfederationpanelInstallWizardBean.port="YOUR_DEPLOYMENT_MANAGER_PORT_NUMBER"





################################################################################
# 
# Profile type
#
# Must be set to "managed" for installing a custom profile. Do not change this!
# 
-W profiletypepanelInstallWizardBean.selection="managed"

관련 태스크
옵션 응답 파일 사용자 정의

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\tasks\twesb_silent_cust.html

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