WebSphere Application Server Network Deployment, Version 6.0.x   
             オペレーティング・システム: AIX , HP-UX, Linux, Solaris, Windows

             目次と検索結果のパーソナライズ化

responsefile.pct.NDstandAloneProfile.txt

responsefile.pct.NDstandAloneProfile.txt ファイルは、 Network Deployment 製品のサイレント・インストール中にスタンドアロン・アプリケーション・サーバーを 作成するためのサンプル応答ファイルです。

root として ログオンした後 (AIX や Linux などのプラットフォームの場合)、 または管理者グループに属するユーザーとしてログオンした後 (Windows プラットフォームの場合)、 オプションの応答ファイルを使用して、 スタンドアロン・アプリケーション・サーバー・プロファイルを作成します。 Windows プラットフォーム上のいくつかのインストール手順のステップでは、 管理者グループに属するユーザーが、 「オペレーティング・システムの一部としてアクションを行う」および「サービスとしてログオンする 」拡張ユーザー権限を備えている必要があります。

応答ファイルは、デフォルト値で出荷されています。

オプション・ファイルの通常の使用では、サイレント・モードでインストール・ウィザードを実行します。これはサイレントなインストールと呼ばれます。 ウィザードはオプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。 以下のコマンドを実行して、サイレント・インストール用の myresponsefile.txt と呼ばれる オプション・ファイルのコピーを使用します。
pctWindows.exe -options "myresponsefile.txt" -silent

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

-silent オプションがファイル内に存在するとき、問題が発生します。 プロファイル管理ツールの直接呼び出しの間に、ファイルがオプションを扱う作業を行いましたが、サイレントな製品インストールから呼び出されて失敗しました。 サイレントな製品インストール中に、プロファイルをサイレントに作成することについての詳細は、応答ファイルのカスタマイズ を参照してください。

オプションは必要ありません。 問題を回避するためにオプションを使用することは避けてください。

応答ファイルのロケーション

オプションの応答ファイルの例は、2 つのロケーションにあります。

ファイルの例:
  • responsefile.pct.NDdmgrProfile.txt
  • responsefile.pct.NDmanagedProfile.txt
  • responsefile.pct.NDstandAloneProfile.txt

ロケーション:

表 1. オプションの応答ファイルのロケーション
製品ディスクのロケーション インストールされたロケーション
/WAS ディレクトリー app_server_root/bin/ProfileCreator ディレクトリー

製品ディスク上のファイルを使用して、Network Deployment 製品をサイレントにインストールして、プロファイルを作成します。

Network Deployment 製品のインストール後に、プロファイル管理ツール・コマンド上で -options パラメーターを使用して、インストールされた応答ファイルを使用することができます。

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

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

製品インストールの間の作動環境の作成

Network Deployment 製品のバージョン 6 のインストールは、2 ステップのプロセスです。
  1. コア製品ファイルおよび機能ファイルのインストール。
  2. デプロイメント・マネージャー・プロファイル、カスタム・プロファイル、またはアプリケーション・サーバー・プロファイルの作成。

サンプル・オプション応答ファイル responsefile.nd.txt は、インストールの最初の部分を制御し、また、インストールの 2 番目の部分を開始することができます。 コア・プロダクト・ファイルのインストールの一部としてプロファイルを作成するには、プロファイル作成用に応答ファイルを識別する responsefile.nd.txt ファイル内のオプションを使用します。 プロファイル応答ファイルによって、プロファイル管理ツールをサイレントに使用することが可能になります。

プロファイル作成のための適切な応答ファイルを編集し使用するには、以下の手順を実行します。
  1. 製品ディスク上の WAS ディレクトリーから、適切なファイルをマシン上のわかりやすい場所にコピーします。 ファイルの例は、以下のとおりです。
    作成するプロファイル コピーする応答ファイル
    デプロイメント・マネージャー・プロファイル responsefile.pct.NDdmgrProfile.txt
    カスタム・プロファイル responsefile.pct.NDmanagedProfile.txt
    アプリケーション・サーバー・プロファイル responsefile.pct.NDstandAloneProfile.txt
  2. ファイルを編集して、インストールに応じた値にカスタマイズします。
  3. プロファイル作成ウィザードのための応答ファイルに -silent オプシ ョンが存在していないことを確認します。 このオプションがある場合、プロファイルは作成されません。
  4. ファイルを保管します。
  5. responsefile.nd.txt ファイルを編集して、プロファイル応答ファイルのロケーションおよび名前を識別します。 -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation オプションの値を変更して、ファイルを識別します。 以下に例を示します。
    -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation=
    "/opt/IBM/WebSphere/MyOptionFiles/customProfile.txt"
  6. インストールを開始します。 以下に例を示します。
    install -options "myresponsefile.txt" -silent
    
  7. インストールを完了したら、成功を表すログを確認します。

インストール完了後のプロファイルの作成

Network Deployment 製品のバージョン 6 のインストールは、2 ステップのプロセスです。
  1. コア製品ファイルおよび機能ファイルのインストール
  2. デプロイメント・マネージャー・プロファイル、カスタム・プロファイル、またはアプリケーション・サーバー・プロファイルの作成

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

また、以下のプロファイル用のオプション応答ファイル例の 1 つを使用して、サイレント・モードでプロファイル管理ツールを使用して、プロファイルをサイレントに作成します。 プロファイル作成のための適切な応答ファイルを編集し使用するには、以下の手順を実行します。
  1. app_server_root/bin/ProfileCreator ディレクトリーから適切なファイルをマシン上のわかりやすい場所にコピーします。ファイルの例は、以下のとおりです。
    プロファイルを作成する対象 コピーする応答ファイル
    デプロイメント・マネージャー responsefile.pct.NDdmgrProfile.txt
    管理対象ノード responsefile.pct.NDmanagedProfile.txt
    スタンドアロン・アプリケーション・サーバー responsefile.pct.NDstandAloneProfile.txt

    例えば、my_options_file.txt としてファイルをコピーします。

  2. ファイルを編集して、インストールに応じた値にカスタマイズします。
  3. ファイルを保管します。
  4. インストールを開始します。
    以下に例を示します。
    • [AIX] ./pctAIX.bin -options my_options_file.txt -silent
    • [HP-UX] ./pctHPUX.bin -options my_options_file.txt -silent
    • [HP-UX] 64 ビット・プラットフォーム: ./pctHPUXIA64.bin -options my_options_file.txt -silent
    • [Linux] ./pctLinux.bin -options my_options_file.txt -silent
    • [Linux] 64 ビット・プラットフォーム: ./pct.bin -options my_options_file.txt -silent
    • [Linux] Power プラットフォーム: ./pctLinuxPPC.bin -options my_options_file.txt -silent
    • [Linux] S/390 プラットフォーム: ./pctLinux390.bin -options my_options_file.txt -silent
    • [Solaris] ./pctSolaris.bin -options my_options_file.txt -silent
    • [Windows] pctWindows.exe -options my_options_file.txt -silent
    • [Windows] 64 ビット・プラットフォーム: pctWindowsIA64.exe -options my_options_file.txt -silent
  5. プロファイル管理ツールの使用後に、成功を表すログを確認します。

ロギング

以下のログ・ファイルは、プロファイル作成についての情報を記録します。
  • app_server_root/logs/log.txt ファイルは、インストール状況を記録します。
  • profile_root/logs/pctLog.txt ファイルは、プロファイル作成ウィザードを使用してプロファイルを作成したときに発生するインストール・イベントを記録します。
  • app_server_root/logs/wasprofile/wasprofile_create_profile_name.log ファイルは、プロファイル作成時に発生するインストール・イベントを記録します。
  • app_server_root/logs/wasprofile/wasprofile_delete_profile_name.log ファイルは、プロファイル削除時に発生するインストール・イベントを記録します。

詳しくは、インストールのトラブルシューティング を参照してください。

使用上の注意

ネーミングの考慮事項

プロファイルおよびその他のオブジェクトに名前を提供するときは、以下の推奨を考慮します。

プロファイルのネーミング

プロファイル名ディレクティブの値を提供するときは、以下のガイドラインを使用します。
-W profilenamepanelInstallWizardBean.profileName
プロファイルの名前付けガイドライン: プロファイル名には、固有の名前を付けることができますが、以下の制限があります。 プロファイルの名前を付ける際には、以下の文字を使用しないでください。
  • スペース
  • *&? など、ご使用のオペレーティング・システムのディレクトリー名に許可されていない特殊文字
  • スラッシュ (/) または (¥)
全角文字は許可されています。

予約済みの名前を回避します。

responsefile.pct.NDstandAloneProfile.txt ファイルおよび responsefile.pct.NDmanagedProfile.txt ファイル内のディレクティブの値として、以下の予約済みフォルダー名は避けてください。

-W nodehostnamepanelInstallWizardBean.nodeName=""
-W nodehostnamepanelInstallWizardBean.hostName=""
-W setnondmgrcellnameinglobalconstantsInstallWizardBean.value=""
responsefile.pct.NDdmgrProfile.txt ファイル内のディレクティブの値として、以下の予約済みフォルダー名は避けてください。

-W nodehostandcellnamepanelInstallWizardBean.nodeName=""
-W nodehostandcellnamepanelInstallWizardBean.hostName=""
-W nodehostandcellnamepanelInstallWizardBean.cellName=
予約名: フィールド値として予約済みのフォルダー名を使用しないでください。 予約済みフォルダー名を使用すると、予測不能な結果が起こる可能性があります。 以下のワードは、予約されています。
  • cells
  • nodes
  • servers
  • clusters
  • applications
  • deployments

ノード名およびセル名の考慮事項

[Windows] profile_root の文字数は、 80 文字を超えないようにする必要があります。

詳しくは、ホスト名の値 を参照してください。

################################################################################
#
# Response file for WebSphere Application Server v6.0 stand alone profile
# creation
#
# This options file is located in the CD_ROOT¥WAS¥ directory and in the 
# app_server_root¥bin¥ProfileCreator directory. 
#
# To use the options file under CD_ROOT¥WAS¥ directory, follow the instructions 
# in CD_ROOT¥WAS¥responsefile.nd.txt. WebSphere Application Server# Network Deployment 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 app_server_root¥bin¥ProfileCreator for silent profile
# creation, you must change various values in the file and use the following  
# command line arguments:
#
#    -options "responsefile.pct.NDstandAloneProfile.txt" -silent
#
################################################################################


################################################################################
# 
# Profile name
#
# Set the profile name for installing a stand alone profile. The profile 
# name must be unique for this WebSphere Application Server installation.
#
-W profilenamepanelInstallWizardBean.profileName="profileStandAlone"

################################################################################
# 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 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="<WAS_HOME>¥profiles¥<PROFILE_NAME>"
#
-P installLocation="C:¥Program Files¥IBM¥WebSphere¥AppServer¥profiles¥profileStandAlone"


################################################################################
# 
# Node name
#
# Please select the node name for the Application Server. Node name under one cell 
# has to be unique. 
#
# If you plan to migrate a V5 deployment manager cell, the V5 managed nodes are also 
# migrated to the V6 cell. To incrementally migrate an individual V5 managed node 
# to V6, you must use the same node name for the V6 Application Server profile.
#
# 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"


################################################################################
# 
# 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 numbers for each profile can be find in: 
# <profile>/config/cells/<cell name>/nodes/<node name>/serverindex.xml
#
-W pctdefaultprofileportspanelInstallWizardBean.WC_defaulthost="9080"
-W pctdefaultprofileportspanelInstallWizardBean.WC_adminhost="9060"
-W pctdefaultprofileportspanelInstallWizardBean.WC_defaulthost_secure="9443"
-W pctdefaultprofileportspanelInstallWizardBean.WC_adminhost_secure="9043"
-W pctdefaultprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS="2809"
-W pctdefaultprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS="8880"
-W pctdefaultprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS="9401"
-W pctdefaultprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS="9403"
-W pctdefaultprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS="9402"
-W pctdefaultprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS="9100"
-W pctdefaultprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS="9353"
-W pctdefaultprofileportspanelInstallWizardBean.SIB_ENDPOINT_ADDRESS="7276"
-W pctdefaultprofileportspanelInstallWizardBean.SIB_ENDPOINT_SECURE_ADDRESS="7286"
-W pctdefaultprofileportspanelInstallWizardBean.SIB_MQ_ENDPOINT_ADDRESS="5558"
-W pctdefaultprofileportspanelInstallWizardBean.SIB_MQ_ENDPOINT_SECURE_ADDRESS="5578"


################################################################################
# 
# 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 Application Server on Windows.
# Valid values are "automatic", "manual", and "disabled".
#
-W winservicepanelInstallWizardBean.startupType="manual"



################################################################################
# Profile type
# 
# This must be set to "default" for installing a stand alone profile
# Do not change this!
#
-W profiletypepanelInstallWizardBean.selection="default"



関連タスク
応答ファイルのカスタマイズ
サイレント・インストール 製品および追加のソフトウェアのインストール
参照トピック    

ご利用条件 | フィードバック

最終更新: Jan 21, 2008 10:13:28 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rins_responsefile_pct_stand_aloneprofile.html