responsefile.pcaw.esb.managedProfile.txt 파일은 사용자 정의 프로파일을 작성하기 위한 샘플 응답 파일입니다. 사용자 정의 노드를 조작 가능하게 만들려면 addNode 명령을 사용하여 이 노드를 Deployment Manager 셀에 연합하십시오. 관리 노드가 되어야만 한다는 이 강한 종속성 때문에 이 프로파일을 종종 관리 프로파일이라고도 합니다.
Linux® 또는 UNIX® 플랫폼에서 루트 또는 Windows® 플랫폼에서 관리자 그룹에 속하는 사용자로 로그온한 다음 옵션 응답 파일을 사용하여 사용자 정의 노드를 작성하십시오. Windows 플랫폼에서 설치할 경우 설치 프로시저의 일부 단계에서는 관리자 그룹에 속하는 사용자가 운영 체제의 일부로 작동 및 서비스로 로그온 고급 사용자 권한이 있어야 합니다.
자동 설치할 경우 설치 프로그램은 이 파일을 읽어 Deployment Manager 프로파일의 특성을 알아냅니다. 초기 설치 후 응답 파일을 사용하여 Deployment Manager 프로파일을 추가로 작성할 수도 있습니다. 응답 파일은 기본값으로 제공됩니다.
Deployment Manager가 실행 중이 아니거나 연합에 대한 다음 설명에 나오는 이유로 Deployment Manager에 액세스할 수 없는 경우 이 값을 true로 설정하십시오.
Deployment Manager가 실행 중인 시스템으로 해석될 수 있는 값을 지정하십시오. 호스트 네이밍에 대한 자세한 정보는 프로파일, 노드, 호스트 및 셀에 대한 네이밍 고려사항을 참조하십시오.
Deployment Manager SOAP 포트의 값을 지정하십시오. 올바른 값을 지정해야 합니다. 잘못된 값을 사용하면 노드를 연합할 수 없으며 INSTCONFFAILED 표시기가 표시되면서 실패하게 됩니다. Deployment Manager의 기본 SOAP 포트는 8879입니다.
노드 연합 시기: 프로파일 작성 중 또는 작성 후
Deployment Manager가 실행 중이 아니거나 다른 이유로 사용할 수 없는 상태에서 사용자 정의 노드를 연합하려고 하면 프로파일 작성이 실패하며 생성된 사용자 정의 프로파일은 사용할 수 없습니다. 동일한 프로파일 이름으로 다른 사용자 정의 프로파일을 작성하기 전에 프로파일 저장소에서 이 사용자 정의 프로파일 디렉토리를 이동해야 합니다. 프로파일 저장소는 기본적으로 install_root의 profiles 디렉토리에 있으며 install_root는 WebSphere ESB 설치 디렉토리입니다.
파일에 -silent 옵션이 있을 경우 문제가 발생합니다. 프로파일 작성 마법사에 대한 직접 호출 동안에는 옵션을 사용하여 파일을 작동할 수 있지만 자동 제품 설치에서 호출할 경우에는 실패합니다. 자동 제품 설치 중에 프로파일을 자동으로 작성하는 방법에 관한 옵션 응답 파일 사용자 정의를 참조하십시오.
옵션은 필요하지 않습니다. 문제가 생기지 않도록 하려면 옵션을 사용하지 마십시오.
옵션 응답 파일의 예는 다음 두 곳에서 찾을 수 있습니다.
위치:
제품 디스크의 파일을 사용하여 WebSphere ESB를 자동으로 설치하고 프로파일을 작성하십시오.
WebSphere ESB를 설치한 다음 프로파일 작성 마법사 명령에서 -options 매개변수와 함께 설치된 응답 파일을 사용할 수 있습니다.
샘플 옵션 응답 파일 responsefile.esb.txt는 설치 단계의 첫 부분을 제어하며 설치의 두 번째 부분도 시작할 수 있습니다. 코어 제품 파일 설치 과정의 일부로 프로파일을 작성하려면 프로파일 작성에 필요한 응답 파일을 식별하는 responsefile.esb.txt 파일에서 해당 옵션을 사용하십시오. 프로파일 응답 파일을 사용하면 프로파일 작성 마법사를 자동으로 사용할 수 있습니다.
작성할 프로파일: | 복사할 응답 파일: |
---|---|
Deployment Manager 프로파일 | responsefile.pcaw.esb.dmgrProfile.txt |
사용자 정의 프로파일 | responsefile.pcaw.esb.managedProfile.txt |
Application Server 프로파일 | responsefile.pcaw.esb.standAloneProfile.txt |
-W pcawresponsefilelocationqueryactionInstallWizardBean.fileLocation= "/opt/IBM/WebSphere/MyOptionFiles/customProfile.txt"
install -options "myresponsefile.txt" -silent
코어 제품 파일이 존재하는 경우 프로파일 작성 마법사를 사용하여 아무 때나 프로파일을 작성할 수 있습니다. 첫 번째 단계 콘솔에서 마법사를 시작하거나 프로파일 작성 마법사를 사용하여 시작하십시오.
작성할 프로파일: | 복사할 응답 파일: |
---|---|
Deployment Manager | responsefile.pcaw.esb.dmgrProfile.txt |
관리 노드 | responsefile.pcaw.esb.managedProfile.txt |
독립형 Application Server | responsefile.pcaw.esb.standAloneProfile.txt |
예를 들면 파일을 my_options_file.txt로 복사하십시오.
네이밍 고려사항에 대해서는 프로파일, 노드, 호스트 및 셀에 대한 네이밍 고려사항을 참조하십시오.
물론 노드를 셀에 연합할 때까지 노드는 관리되지 않습니다. 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"