応答ファイルと呼ばれるファイルを使用して、分散システムでサイレント・インストールまたはバックグラウンド・インストールを実行できます。この場合、サイレント・インストールによって、インストール・プログラムは、グラフィカル・ユーザー (「ウィザード」) インターフェースを表示する代わりに、ユーザーが提供するファイルからユーザーの応答をすべて読み取ることができます。 応答ファイル responsefile.wps.txt を使用して、WebSphere Process Server または Client のサイレント・インストールを実行することができます。応答ファイルは、デフォルト値で出荷されています。
応答ファイル内で -silent オプションを使用しないでください。使用すると、プロファイルの作成が失敗する可能性があります。
応答ファイルの例 responsefile.wps.txt は、WebSphere Process Server CD 1 の WBI ディレクトリー内にあります。これはインストールされません。
スペース所要量について詳しくは、http://www.ibm.com/support/docview.wss?uid=swg27006205 で WebSphere Process Server の詳細なシステム要件を確認し、ご使用のバージョンの WebSphere Process Server のリンクを選択してください。
install -options /tmp/WBI/myoptions.txt -silent
install.exe -options "C:¥temp¥WBI¥myoptions.txt" -silent
インストールが正常終了しなかった場合は、他のログ・ファイルを調べて 原因を判別してください。インストール済み環境のトラブルシューティングのヒントについては、『ログ・ファイル』に記載されている関連のログ・ファイルの説明や『エラー・メッセージ: インストールおよびプロファイルの作成と拡張に記載されているエラー・メッセージ、後述のセクショントラブルシューティングを調べて、インストールのトラブルシューティングを参照してください。また、プロファイルが正常に作成されなかった場合は、トラブルシューティングのヒントとして、プロファイルの作成または拡張時の障害からのリカバリーを参照してください。
インストールが正常に終了した場合、WebSphere Process Server スタンドアロン・プロファイルまたはデプロイメント・マネージャー・プロファイルの作成後に、ファースト・ステップ・コンソールからサーバーやデプロイメント・マネージャーを始動し、インストール済み 環境が適切に作動していることを確認します。詳細については、ファースト・ステップ・コンソールのオプションを参照してください。インストール検査ツールを使用してインストールの検査を行うこともできます。詳しくは、『インストール検査ツールの使用 (Using the installation verification tools)』を参照してください。
ファイルで値を提供するときは正確に行います: オプション応答ファイルは、 インストール・プログラムがそのファイルに含まれるオプション値を読み取れるように、正確にカスタマイズしてください。 誤った指定は、インストール・ウィザードのサイレント・インターフェースに影響を及ぼします。例えば、大/小文字の区別があるプロパティー名では、常に大/小文字の誤りのないようにしてください。 また、値は常に二重引用符で囲みます。
エラーが無効オプション値である場合、InstallShield for Multiplatforms (ISMP) には、インストールを確認して停止しなければならないという警告メッセージが 表示されます。
応答ファイルを、製品に同梱される responsefile.wps.txt ファイルと比較し、必要な修正を行います。 ファイルの修正後に、再インストールします。
特定のイベントによって、InstallShield for Multiplatforms (ISMP) がインストール・ウィザードをサイレント・モードで開始できなくなる可能性があります (例えば、インストール・ウィザードを起動するためのディスク・スペースが十分でない状況などが考えられます)。インストールが失敗し、インストール・ログに情報がない場合は、-log パラメーターを 使用して、ISMP プログラムがインストール・ウィザードの開始に失敗する原因となるイベントのエントリーを記録します。 このようなイベントを記録するための install コマンドの構文は、以下のとおりです。
install -options "/usr/IBM/WebSphere/silentFiles/myresponsefile.txt" -silent -log # !/usr/IBM/WebSphere/myOptionFiles/log.txt @ALL
install -options "/opt/IBM/WebSphere/silentFiles/myresponsefile.txt" -silent -log # !/opt/IBM/WebSphere/myOptionFiles/log.txt @ALL
install -options "/opt/ibm/WebSphere/silentFiles/myresponsefile.txt" -silent -log # !/opt/ibm/WebSphere/myOptionFiles/log.txt @ALL
install.exe -options "C:¥IBM¥WebSphere¥silentFiles¥myresponsefile.txt" -silent -log # !C:¥IBM¥WebSphere¥silentFiles¥log.txt @ALL
################################################################################ # # Licensed Material - Property of IBM # 5724-L01, 5655-N53 # (C) Copyright IBM Corporation 2005, 2006. All Rights Reserved. # US Government Users Restricted Rights- Use, duplication or disclosure # restricted by GSA ADP Schedule Contract with IBM Corp. # ################################################################################ ################################################################################ # # InstallShield Options File # # Wizard name: Install # Wizard source: setup.jar # # This file can be used to configure Install with the options specified below # when the wizard is run with the "-options" command line option. Read each # setting's documentation for information on how to change its value. # # A common use of an options file is to run the wizard in silent mode. This lets # the options file author specify wizard settings without having to run the # wizard in graphical mode. To use this options file for silent mode # execution, use the following command line arguments when running the wizard: # # -options "D:¥installImage¥WBI¥responsefile.wps.txt" -silent # ################################################################################ ################################################################################### # # License Acceptance # # Valid Options : true Accepts the license. Will install the product. # false Declines the license. Install will not occur. # # If no install occurs, this will be logged to a temporary log file in the user's temporary directory. # # By changing the silentInstallLicenseAcceptance.value in this response file to "true", you agree that # you have reviewed and agree to the terms of the IBM International Program License Agreement # accompanying this program, which is located at CD_ROOT¥WBI¥LICENSES. If you do not agree to # these terms, do not change the value or otherwise download, install, copy, access, or use # the program and promptly return the program and proof of entitlement to the party from whom you # acquired it to obtain a refund of the amount you paid. # # -G licenseAccepted="false" ################################################################################ # # Incremental Install # # If you are installing additional features on top of an existing installation, # (e.g. incremental install), uncomment the following line. This will notify # the installer that you are doing an incremental install. # # -W wbiDetectionPanel_InstallWizardBean.optionSelected="1" # # Please make sure installLocation is set to your existing install location. # # For already installed features, you need to set the feature active property # to false. For new features you want to install, you need to set the active # properties to true. # # For example, you have installed the Samples Gallery feature, now you want to # install the Public API Javadoc(tm) feature, the active properties should be: # # -P brbeansProductFeatureBean.active="false" # -P emsProductFeatureBean.active="false" # -P samplesProductFeatureBean.active="false" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # IBM WebSphere Process Server, V6.0 Install Location # # The install location of the product. Specify a valid directory into which the # product should be installed. 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. # # Below is the list of default install locations for each supported operating # system. By default, in this response file, the Windows install location is # used. If you want to use the default install location for another operating # system, uncomment the appropriate default install location entry (by removing '#') and # then comment out (by adding '#') the Windows operating system entry below. # # # AIX Default Install Location: # # -P wbiProductBean.installLocation=/usr/IBM/WebSphere/ProcServer # # # HP-UX, Solaris or Linux Default Install Location: # # -P wbiProductBean.installLocation=/opt/IBM/WebSphere/ProcServer # # # Windows Default Install Location: # # NOTE: The Windows operating system limits the length of a fully qualified path # to 256 characters. A long pathname for the installation root directory makes # it more likely that this limit will be exceeded when files are created during # normal product use. IBM recommends that you keep the pathname of the installation # root directory as short as possible. -P wbiProductBean.installLocation="C:¥Program Files¥IBM¥WebSphere¥ProcServer" ################################################################################ # # Use Existing IBM WebSphere Application Server V6.0 # # If you intend to use an existing installation of WebSphere Application Server V6.0 or # WebSphere Application Server Network Deployment, V6.0, uncomment the following line # (by removing '#'). # # -W wasdetectionpanelInstallWizardBean.optionSelected="1" # # You must then set the above WebSphere Process Server install location to the install root # of the existing WAS installation. # # Note that the install will fail if WebSphere Process Server has already been installed # in the existing WAS install location. # ################################################################################ # # Setup Type # # The type of installation you wish to perform. Legal values are: # # Custom - Performs a custom installation of WebSphere Process Server, including # optional features which can be enabled below. # Client - Performs a client-only installation of WebSphere Process Server. Optional # features such as Samples and Javadocs are not installed. # # Additional Notes for a Client Install # - When running a client install, all features must be set to "false" # - The Profile Wizard cannot be started after a Client-only Install # # For example, to perform a Client installation, use # # -W setuptypepanelInstallWizardBean.selectedSetupTypeId="Client" -W setuptypepanelInstallWizardBean.selectedSetupTypeId="Custom" ################################################################################ # # "Business Rule Beans (deprecated)" feature # # The selection state of the "Business Rule Beans (deprecated)" feature. Legal # values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Business Rule Beans (deprecated)" for installation, use # # -P brbeansProductFeatureBean.active="false" # # This value must be set to false for "Client" only installs. -P brbeansProductFeatureBean.active="false" ################################################################################ # # "Extended Messages (deprecated)" feature # # The selection state of the "Extended Messages (deprecated)" feature. Legal # values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Extended Messages (deprecated)" for installation, use # # -P emsProductFeatureBean.active="false" # # This value must be set to false for "Client" only installs. -P emsProductFeatureBean.active="false" ################################################################################ # # "Samples Gallery" feature # # The selection state of the "Samples Gallery" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Samples Gallery" for installation, use # # -P samplesProductFeatureBean.active="true" # # This value must be set to false for "Client" only installs. -P samplesProductFeatureBean.active="true" ################################################################################ # # "Public API Javadoc (tm)" feature # # The selection state of the "Public API Javadoc (tm)" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Public API Javadoc (tm)" for installation, use # # -P javadocsProductFeatureBean.active="true" # # This value must be set to false for "Client" only installs. -P javadocsProductFeatureBean.active="true" ################################################################################ # # WebSphere Process Server Profile Wizard # # To launch the Profile Wizard SILENTLY at the end # of the installation, please change the value to "true". # Otherwise, set the value to "false". # # This option does not apply for the "Client" Setup Type. -W summaryPanel_InstallWizardBean.launchPCAW="false" ################################################################################ # If you choose to run Profile Wizard silently at the end of the # installation, you must # 1. get a copy of the Profile Wizard response file (from CD) and put to a temp dir # such as: /tmp/WBI/responsefile.pcaw.wps.dmgrProfile.txt For DMGR profile creation # /tmp/WBI/responsefile.pcaw.wps.managedProfile.txt For Manage profile creation # /tmp/WBI/responsefile.pcaw.wps.standAloneProfile.txt For Stand alone profile creation # 2. modify the response file by filling in the required options/values. # Note: If the values are not completed properly, the configuration may be unsuccessful. # 3. specify below the absolute path to your modified response file. # # For example, -W pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation= ¥ # "/tmp/WBI/responsefile.pcaw.wps.dmgrProfile.txt" # # This option does not apply for the "Client" Setup Type. -W pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation=""
(c) Copyright IBM Corporation 2005, 2006.
このインフォメーション・センターには Eclipse テクノロジー (http://www.eclipse.org) が採用されています。