WebSphere Application Server Network Deployment をサイレント・インストールする場合は、 ユーザーとの対話がないインストール・オプションを提供するファイルを使用します。 このインストールを構成するには、 応答ファイル内のオプションを変更してから、 インストール・コマンドを実行してください。 サイレント・インストール・モードは、 対話式インストール・オプションを受け入れません。サイレント・インストール中に デフォルト以外のオプションを指定するには、応答ファイルを使用する必要があります。サイレント・ インストールを実行するには、契約オプションでご使用条件を受け入れる必要があります。
root として ログオンした後 (AIX や Linux などのプラットフォームの場合)、 または管理者グループに属するユーザーとしてログオンした後 (Windows プラットフォームの場合)、 オプションの応答ファイルを使用して、本製品のインストールを行います。 Windows プラットフォーム上のいくつかのインストール手順のステップでは、 管理者グループに属するユーザーが、 「オペレーティング・システムの一部としてアクションを行う」および「サービスとしてログオンする 」拡張ユーザー権限を備えている必要があります。
オプション応答ファイルを使用して、
カスタマイズ・インストール・パッケージ (CIP) をインストールすることもできます。CIP は、Installation
Factory によって作成されます。
サンプルのオプション応答ファイルは、responsefile.nd.txt と呼ばれます。 このファイルは、製品ディスクまたはダウンロードされたインストール・イメージ内の WAS ディレクトリー にあります。
インストール・ウィザードは、既存のオプション応答ファイルを読み取り、グラフィカル・ユーザー・インターフェースを表示することなくサイレントに実行することが可能です。
install -options "myresponsefile.txt" -silent
サンプルのオプション応答ファイル responsefile.nd.txt は、 インストールの最初のパーツを制御し、またインストールの 2 番目のパーツを開始します。 コア・プロダクト・ファイルのインストール後にプロファイルを作成するには、 プロファイル作成のための応答ファイルを識別する responsefile.nd.txt ファイル内の オプションを使用します。プロファイル応答ファイルによって、 プロファイル管理ツール をサイレントに使用することが可能になります。
インストール・ウィザードおよび プロファイル管理ツール は、 以下のログ・ファイルにインストール・イベントを記録します。
WebSphere Application Server Network Deployment のログ・ファイル: 以下の表は、バージョン 6.1 用 WebSphere Application Server Network Deployment のインストール・ログ、内容、 および成功と失敗を示すインディケーターを示しています。
詳しくは 、インストールのトラブルシューティング を参照してください。
値を計画するためのワークシートとして、 以下のオプションの説明を使用します。以下にリストされたディレクティブに関する個々の説明を参照し、 応答の計画に役立ててください。
-W silentInstallLicenseAcceptance.value="false" # -W detectedexistingcopypanelInstallWizardBean.choice="addFeatures" プラットフォーム固有: -P wasProductBean.installLocation="/usr/IBM/WebSphere/AppServer" プラットフォーム固有: -P wasProductBean.installLocation="/opt/IBM/WebSphere/AppServer" プラットフォーム固有: -P wasProductBean.installLocation="C:¥Program Files¥IBM¥WebSphere¥AppServer" -P samplesProductFeatureBean.active="true" -P javadocsProductFeatureBean.active="true" -W ndsummarypanelInstallWizardBean.launchPCT="true" -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation=""
以下の値のリストを参照し、 ファイルのオプションへの応答を計画します。
カスタマイズ・インストール・パッケージ (CIP) には、1 つ以上の保守パッケージおよび カスタマイズ済みプロファイルが含まれています。
################################################################################ # # 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¥WAS¥responsefile.nd.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¥WAS¥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" ################################################################################ # # Install a new copy of IBM WebSphere Application Server product # # If you are installing a new of copy of the product, leave the following line uncommented. # Otherwise, comment the line. # # -W NDdetectedexistingcopypanelInstallWizardBean.choice="installNew" ################################################################################ # # Apply maintenance and add features # # If you are planning to apply maintenance, add features, or both on # top of an existing installation, uncomment the following line. # # -W NDdetectedexistingcopypanelInstallWizardBean.choice="addFeaturesAndFixes" # # Please make sure installLocation is set to your existing install location. # # # For additional features you wish to install, set the feature active # properties to true. # # NOTE: If the product edition of the custom installation package is # different from the existing installation package, then the features # will not be added. # # For example, you have installed core product feature, now you want to install # samples feature, the active properties should be: # # -P samplesProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="false" # ################################################################################ # # IBM WebSphere Application Server Network Deployment, 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 wasProductBean.installLocation=/usr/IBM/WebSphere/AppServer # # # HP-UX, Solaris or Linux Default Install Location: # # -P wasProductBean.installLocation=/opt/IBM/WebSphere/AppServer # # # Windows Default Install Location: # -P wasProductBean.installLocation="C:¥Program Files¥IBM¥WebSphere¥AppServer" ################################################################################ # # Warning: the custom install package may update your existing profiles. # # This custom install package may update the runtime environment profiles # in your runtime environment. Tt is strongly recommended that you backup # all profiles before you continue. If you uninstall this maintenance package # at a later time, these profile updates will not be uninstalled because # additional custom modifications may have subsequently been made. # # For more information on profile management, see the wasprofile command # documentation in the Information Center. # # The default value is "true", it will block the install unless you change # the active property to "false". # # If you have already backed up your profiles or you wish to ingore the warnings, # you can change it to "false". # # For example: # # -W profileUpdateWarningPanelWizardBean.active="false" # -W profileUpdateWarningPanelWizardBean.active="true" ################################################################################ # # "Core Product Files" feature # # This feature is required by Application Server and will be installed by default. # Selection is not required. # ################################################################################ # # "Application Server samples" feature # # The selection state of the "Application Server samples" 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 "Application Server samples" for installation, use # # -P samplesProductFeatureBean.active="true" # -P samplesProductFeatureBean.active="true" ################################################################################ # # "Javadocs" feature # # The selection state of the "Javadocs" 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 "Javadocs" for installation, use # # -P javadocsProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # WebSphere Application Server Profile Creation Tool (PCT) # # To launch the Profile Creation Tool SILENTLY at the end # of the installation, please change the value to "true". # Otherwise, change the value to "". # # Please Note: This will launch the latest PCT. If the Custom Install Package # contains profile customizations, this will launch the PCT installed in # <WAS_HOME>/cip/<uid>/ProfileCreator. Otherwise, it will launch the GM version # PCT which can be found at <WAS_HOME>/bin/ProfileCreator. # -W ndsummarypanelInstallWizardBean.launchPCT="true" ################################################################################ # If you choose to run Profile Creation Tool silently at the end of the # installation, you must # 1. get a copy of the PCT response file of Profile creator (from CD) and put to a temp dir # such as: /tmp/WAS/responsefile.pct.NDdmgrProfile.txt For DMGR profile creation # /tmp/WAS/responsefile.pct.NDmanagedProfile.txt For Manage profile creation # /tmp/WAS/responsefile.pct.NDstandAloneProfile.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 pctresponsefilelocationqueryactionInstallWizardBean.fileLocation="/tmp/WAS/responsefile.pct.NDdmgrProfile.txt" -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation=""
################################################################################ # # 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¥WAS¥responsefile.nd.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¥WAS¥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 NDdetectedexistingcopypanelInstallWizardBean.choice="addFeatures" # # 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 core product feature, now you want to install # samples feature, the active properties should be: # # -P samplesProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="false" ################################################################################ # # IBM WebSphere Application Server Network Deployment, 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 wasProductBean.installLocation=/usr/IBM/WebSphere/AppServer # # # HP-UX, Solaris or Linux Default Install Location: # # -P wasProductBean.installLocation=/opt/IBM/WebSphere/AppServer # # # Windows Default Install Location: # -P wasProductBean.installLocation="C:¥Program Files¥IBM¥WebSphere¥AppServer" ################################################################################ # # "Core Product Files" feature # # This feature is required by Application Server and will be installed by default. # Selection is not required. # ################################################################################ # # "Application Server samples" feature # # The selection state of the "Application Server samples" 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 "Application Server samples" for installation, use # # -P samplesProductFeatureBean.active="true" # -P samplesProductFeatureBean.active="true" ################################################################################ # # "Javadocs" feature # # The selection state of the "Javadocs" 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 "Javadocs" for installation, use # # -P javadocsProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # WebSphere Application Server Profile Creation Tool # # To launch the Profile Creation Tool SILENTLY at the end # of the installation, please change the value to "true". # Otherwise, change the value to "". # -W ndsummarypanelInstallWizardBean.launchPCT="true" ################################################################################ # If you choose to run Profile Creation Tool silently at the end of the # installation, you must # 1. get a copy of the PCT response file of Profile creator (from CD) and put to a temp dir # such as: /tmp/WAS/responsefile.pct.NDdmgrProfile.txt For DMGR profile creation # /tmp/WAS/responsefile.pct.NDmanagedProfile.txt For Manage profile creation # /tmp/WAS/responsefile.pct.NDstandAloneProfile.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 pctresponsefilelocationqueryactionInstallWizardBean.fileLocation= # "/tmp/WAS/responsefile.pct.NDdmgrProfile.txt" -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation=""