応答ファイルと呼ばれるファイルを使用して、サイレント・インストールまたはバックグラウンド・インストールを実行することができます。この場合、サイレント・インストールによって、インストール・プログラムは、グラフィカル・ユーザー (「ウィザード」) インターフェースを表示する代わりに、ユーザーが提供するファイルからユーザーの応答をすべて読み取ることができます。 応答ファイル responsefile.wps.txt を使用して、WebSphere Process Server のサイレント・インストールを実行することができます。応答ファイルは、デフォルト値で出荷されています。
応答ファイル内で -silent オプションを使用しないでください。使用すると、プロファイルの作成が失敗する可能性があります。
応答ファイルの例 responsefile.wps.txt は、WebSphere Process Server CD 1 の WBI ディレクトリー内にあります。これはインストールされません。
必要なディスク・スペースについては、必要なディスク・スペースを参照してください。
install -options /tmp/WBI/myoptions.txt -silent
install.exe -options "C:¥temp¥WBI¥myoptions.txt" -silent
インストールが正常終了しなかった場合は、他のログ・ファイルを調べて 原因を判別してください。インストール済み環境のトラブルシューティングのヒントについては、ログ・ファイルに記載されている関連のログ・ファイルの説明やエラー・メッセージ: インストールおよびプロファイルの作成と拡張に記載されているエラー・メッセージを参照し、後述のセクショントラブルシューティングを調べて、インストールのトラブルシューティングを参照してください。 また、プロファイルが正常に作成されなかった場合は、トラブルシューティングのヒントとして、プロファイルの作成または拡張時の障害からのリカバリーを参照してください。
インストールが正常に終了した場合、WebSphere Process Server スタンドアロン・プロファイルまたはデプロイメント・マネージャー・プロファイルの作成後に、ファースト・ステップ・コンソールからサーバーやデプロイメント・マネージャーを始動し、インストール済み 環境が適切に作動していることを確認します。詳しくは、ファースト・ステップ・コンソールのオプションを参照してください。
WebSphere Process Server バージョン 6.0.1 を使用する場合は、インストール検査ツールを使用してインストールの検査を行うこともできます。詳しくは、WebSphere Process Server バージョン 6.0.1 でのインストール検査ツールの使用を参照してください。
ファイルで値を提供するときは正確に行います: オプション応答ファイルは、 インストール・プログラムがそのファイルに含まれるオプション値を読み取れるように、正確にカスタマイズしてください。 誤った指定は、インストール・ウィザードのサイレント・インターフェースに影響を及ぼします。例えば、大/小文字の区別があるプロパティー名では、常に大/小文字の誤りのないようにしてください。 また、値は常に二重引用符で囲みます。
エラーが無効オプション値である場合、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 -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
WebSphere Process Server バージョン 6.0.0 に付属の応答ファイル (変更前) は、次のような内容になります。
################################################################################ # # Licensed Material - Property of IBM # 5724-L01 # (C) Copyright IBM Corporation 2005. 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 or console 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¥lafiles. 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. # #-W silentInstallLicenseAcceptance.value="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: # -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 # # This value is required for the installation. Do not change this! # -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" # -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" # -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" # -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" # -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". # -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.dmgrProfile.txt"-W # pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation=""
WebSphere Process Server バージョン 6.0.1 に付属の応答ファイル (変更前) は、次のような内容になります。
################################################################################ # # Licensed Material - Property of IBM # 5724-L01 # (C) Copyright IBM Corporation 2005. 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 or console 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 # # This value is required for the installation. Do not change this! # -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" # -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" # -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" # -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" # -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". # -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" -W pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation=""
(c) Copyright IBM Corporation 2005, 2006.
本製品では Eclipse テクノロジーが採用されています。(http://www.eclipse.org)