WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 オペレーティング・システム: AIX, HP-UX, Linux, Solaris, Windows

デプロイメント・マネージャー・プロファイルのサイレント作成

responsefile.pcaw.esb.dmgrProfile.txt ファイルは、 WebSphere ESB のサイレント・インストール中に デプロイメント・マネージャー・プロファイルを作成するためのサンプル応答ファイルです。

オプション応答ファイルを使用してデプロイメント・マネージャー・プロファイルを作成する前に、Linux® プラットフォームまたは UNIX® プラットフォーム上で root としてログオンするか、 Windows® プラットフォーム上で Administrator グループに属するユーザーとしてログオンします。Windows プラットフォームでのいくつかのインストール手順には、ユーザーが Administrator グループに属しており、オペレーティング・システムの一部として機能 し、サービスとしてログオンできる、という上級ユーザー権限を備えている必要があります。

サイレント・インストールが行われると、インストール・プログラムによってこのファイルが読み込まれ、 デプロイメント・マネージャー・プロファイルの特性が判別されます。この応答ファイルを使用すると、初期インストールのあとに、 他のデプロイメント・マネージャー・プロファイルを作成することができます。応答ファイルはデフォルト値で出荷されています。

オプション応答ファイル内での -silent オプションの使用の回避

ファイル内に -silent オプションが存在するときに問題が発生します。ファイルは、プロファイル作成ウィザードへの直接呼び出し中にオプションと連携しますが、製品のサイレント・インストールからの呼び出し時には失敗します。 製品のサイレント・インストール中にサイレントでプロファイルを作成する方法については、オプション応答ファイルのカスタマイズを参照してください。

このオプションは必須ではありません。 このオプションを使用しないことにすれば問題を回避できます。

応答ファイルの場所

オプション応答ファイルのサンプルは、2 つの場所にあります。

サンプル・ファイル
  • 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 パラメーターを使用してインストールした応答ファイルを使用できます。

必要なディスク・スペース

プロファイル 必要なディスク・スペース 必要な一時スペース
デプロイメント・マネージャー・プロファイル 30 MB 40 MB
カスタム・プロファイル 10 MB 40 MB
アプリケーション・サーバー・プロファイル 200 MB 40 MB

製品インストール中の操作環境の作成

WebSphere ESB のインストールは 2 段階のプロセスです。
  1. 中核となる製品ファイルと機能ファイルのインストール
  2. デプロイメント・マネージャー・プロファイル (deployment manager profile)、カスタム・プロファイル (custom profile)、またはアプリケーション・サーバー・プロファイルの作成

オプション応答ファイルのサンプル、 responsefile.esb.txt は、インストールの最初の部分 を制御し、また、インストールの 2 番目の部分を開始することもできます。 中核となる製品ファイルのインストールの一環としてプロファイル を作成するには、プロファイル作成のための応答ファイルを識別する responsefile.esb.txt ファイルでオプションを使用します。 そうすることにより、ユーザーはプロファイル応答ファイルを使用して、 プロファイル作成ウィザードのサイレント使用を行うことができます。

プロファイルの作成に適した応答ファイルを編集し、使用するには、次の手順を実行します。
  1. 製品の適切なファイルを、製品ディスクの ESB ディレクトリーからマ シン内の識別しやすい場所にコピーします。 サンプル・ファイルは次の通りです。
    作成するファイル コピーする応答ファイル
    デプロイメント・マネージャー・プロファイル responsefile.pcaw.esb.dmgrProfile.txt
    カスタム・プロファイル responsefile.pcaw.esb.managedProfile.txt
    アプリケーション・サーバー・プロファイル 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 profile)、カスタム・プロファイル (custom profile)、またはスタンドアロン・サーバー・プロファイル (stand-alone server profile) の作成

中核となる製品ファイルが存在している場合は、プロファイル作成ウィザードを使用していつでもプロファイルを作成できます。 ファースト・ステップ・コンソールから、またはプロファイル作成ウィザード・コマンドを直 接使用して、ウィザードを開始します。

プロファイル作成ウィザードをサイレント・モードで使用してプロファイルをサイレ ントに作成するために、プロファイルのオプション応答ファイルの次のサンプルのいずれかを使 用することもできます。 プロファイルの作成に適した応答ファイルを編集し、使用するには、次の手順を実行します。
  1. 製品の該当するファイルを、 install_root/bin/ProfileCreator ディレクトリーからマシン内の識別しやすい場所にコピーします。 サンプル・ファイルは次の通りです。
    プロファイルを作成する対象 コピーする応答ファイル
    デプロイメント・マネージャー responsefile.pcaw.esb.dmgrProfile.txt
    管理対象ノード responsefile.pcaw.esb.managedProfile.txt
    スタンドアロン・アプリケーション・サーバー 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.dmgrProfile.txt ファイルの例


################################################################################
#
# Response file for Websphere ESB dmgr 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.dmgrProfile.txt" -silent
#
################################################################################


################################################################################
# 
# Profile name
#
# Set the profile name for installing a deployment manager profile. The profile 
# name must be unique for this WebSphere ESB installation.  
#
-W profilenamepanelInstallWizardBean.profileName="profileDmgr"

################################################################################
# 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 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¥profileDmgr"


################################################################################
# 
# 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 nodehostandcellnamepanelInstallWizardBean.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 nodehostandcellnamepanelInstallWizardBean.hostName="YOUR_HOST_NAME"

################################################################################
#
# Cell name
#
# Specify the cell name for the Application Server. 
#
# Replace YOUR_CELL_NAME with the actual cell name. 
#
-W nodehostandcellnamepanelInstallWizardBean.cellName="YOUR_CELL_NAME"


################################################################################
# 
# Port 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 found in: 
# <profile>/config/cells/<cell name>/nodes/<node name>/serverindex.xml
#
-W pctdmgrprofileportspanelInstallWizardBean.WC_adminhost="9060"
-W pctdmgrprofileportspanelInstallWizardBean.WC_adminhost_secure="9043"
-W pctdmgrprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS="9809"
-W pctdmgrprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS="8879"
-W pctdmgrprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS="9404"
-W pctdmgrprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS="9406"
-W pctdmgrprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS="9405"
-W pctdmgrprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS="9101"
-W pctdmgrprofileportspanelInstallWizardBean.CELL_DISCOVERY_ADDRESS="7277"
-W pctdmgrprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS="9352"


################################################################################
# 
# Windows service
#
# The following directives are to install services for WebSphere Application Server 
# on Windows.  
# Using Services, you can start and stop services, 
# and configure startup and recovery actions. 
# Set winServiceQuery="false" will turn off the function on windows system.
# You can ignore these or comment them out for other Operating Systems.
#
-W winservicepanelInstallWizardBean.winServiceQuery="true"

################################################################################
# Specify account type of the service. Legal values are:
#   
#    localsystem   - Indicates that you choose to use Local System account.
#    specifieduser - Indicates that you choose to use specified user account.
#
-W winservicepanelInstallWizardBean.accountType="localsystem"

################################################################################
# If you chose to install a service above with the accountType="localsystem",
# the userName and password below can be ignored. If the accountType was set to:
# accountType="specifieduser", then you must specify the User Name and Password 
# which are required to install the Services. The current user must be admin or must 
# have admin authority to install a Service. Also the username
# which is given here must have "Log On as a Service " authority 
# for the service to run properly.
#
# Replace YOUR_USER_NAME with your username.
#
-W winservicepanelInstallWizardBean.userName="YOUR_USER_NAME"

################################################################################
# Replace YOUR_PASSWORD with your valid password.
#
-W winservicepanelInstallWizardBean.password="YOUR_PASSWORD"

################################################################################
# Set the startup type of the WebSphere ESB on Windows.
# Valid values are "automatic", "manual", and "disabled".
#
-W winservicepanelInstallWizardBean.startupType="manual"


################################################################################
#
# Service Component Architecture Configuration
#
# The following entries are used to create a Service Component Architecture
# configuration.  Set doConfigureSCACheckList="true" if you want
# to configure a Service Component Architecture.  If you do not want a 
# Service Component Architecture leave the value as "".  
# If you set the value to "true" then the rest of the parameters must also be filled 
# out.
#
-W wbiSCAConfigInputPanelBeanId.doConfigureSCACheckList=""


################################################################################
# If you chose to create a Service Component Architecture configuration above
# then specify the userid for that configuration.  If not then comment out
# this line.
#
-W wbiSCAConfigInputPanelBeanId.userId="YOUR_USER_ID_SCA"


################################################################################
# If you chose to create a Service Component Architecture configuration above
# then specify the password for that configuration and confirm that password. 
# If not then comment out these lines.
#
-W wbiSCAConfigInputPanelBeanId.password="YOUR_PASSWORD_SCA"
-W wbiSCAConfigInputPanelBeanId.passwordConfirmation="YOUR_PASSWORD_SCA"

################################################################################
# Profile type
#
# Must be set to  "dmgr" for installing a deployment manager Profile.
# Do not change this!
#
-W profiletypepanelInstallWizardBean.selection="dmgr"

関連タスク
オプション応答ファイルのカスタマイズ

Reference topic

ご利用条件 | フィードバック (英語のみ)

Timestamp icon最終更新: 5 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_dmgr.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
このインフォメーション・センターでは Eclipse テクノロジーが採用されています。(http://www.eclipse.org)