インストールおよびアップグレードガイド > サイレントモードのインストール
 
サイレントモードのインストール
インストールは、手動の対話型インターフェイス(つまり、グラフィカルユーザーインターフェイスまたはコンソールベース)を必要とせずに実行できます。インストーラーをサイレントモードで実行するには、次の2つの方法があります。1)キーと値のペアを含むプロパティファイルを使用する、または2)キーと値のペアを含むコマンドラインを使用する
この章で取り上げるトピックは次のとおりです。
サイレントインストール用のオプションファイルの作成
サイレントモードでのインストーラーの実行
サイレントインストール用のオプションファイルの作成
必要に応じて、サイレントモードのインストールを実行する際には特定のキーと値のペアを持つオプションファイルを使用できます。
サイレントインストール用のオプションファイルを作成するには、次の手順を実行します。
1.テキストエディターで、次のようなオプションファイルを作成します。
Business Directory
# Modify install directory and all port number references
#
mode=unattended
install_directory=/opt/TIBCO/BD
server_port=9500
repository_admin_password=password
bd_admin_password=password
-----------------------------------------
TDV Server
# Modify install directory and all port number references
#
mode=unattended
install_directory=/opt/TIBCO/TDV
server_port=9400
repository_admin_password=password
database_admin_password=password
server_admin_password=password
------------------------------------------
 
2.インストール用のファイル内の値を編集します。
次の表で、オプションファイルの変数について説明します。
変数
説明と値
INSTALL_DIRECTORY
ソフトウェアをインストールする<TDV_Installdir>というディレクトリ。
値は空にすることもでき、また、ディレクトリがなくても問題ありません。UNIXでは、ディレクトリ名にスペースを含めることはできません。例:
install_directory=/opt/TIBCO/TDV
install_directory=C:\Program Files\TIBCO\Studio
install_directory=/opt/TIBCO/BD
REPOSITORY_ADMIN_PASSWORD
インストール中に自動的にインストールされるリポジトリデータベースにアクセスするためのパスワード。PostgreSQLでは、選択するパスワードに#または$を含めることはできません。
SERVER_PORT
デフォルトは、TDVの場合は9400、Business Directoryの場合は9500です。
DATABASE_ADMIN_PASSWORD
インストール時に自動的に作成されるデフォルトのキャッシングデータベースへのアクセスに使用するパスワード。PostgreSQLでは、選択するパスワードに#または$を含めることはできません。
SERVER_ADMIN_PASSWORD
Webマネージャーとクライアントアプリケーションへのログインに使用するパスワード。
3.ファイルに<installer.properties>という名前を付けて保存します。
サイレントモードでのインストーラーの実行
コマンドラインオプションを使用したインストーラーの実行
1.オプションファイル方式:
a. オプションファイルを作成します。「サイレントインストール用のオプションファイルの作成」を参照してください。
b. 次のオプションを指定してインストーラーを実行します。 <instFile>.exe/bin --optionfile <OPTION_FILE>
2.コマンドライン(オプションファイルなし)方式: 以下の例を参照してください。
コンポーネント
コマンドオプション
TDV Server
すべての入力パラメーターを使用したWindowsでのインストール:
<instFILE>.exe --mode unattended --install_directory <TDV_Installdir> --server_port "6400" --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password"
注: database_admin_passwordは、TDV Serverでのみ有効です。BDではこの変数を使用しません。
必要なパラメーターのみを使用したWindowsでのインストール:
<instFILE>.exe --mode unattended --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password"
このコマンドは、TDV Serverをデフォルトポート9400でデフォルトディレクトリC:\Program Files\TIBCO\TDV Server <version>にインストールします。
すべての入力パラメーターを使用したLinux/AIXでのインストール:
<instFILE>.bin --mode unattended --install_directory <TDV_Installdir> --server_port "6400" --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password"
必要なパラメーターのみを使用したLinux/AIXでのインストール:
<instFILE>.bin --mode unattended --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password"
このコマンドは、TDV Serverをデフォルトポート9400でデフォルトディレクトリ/opt/TIBCO/TDV_Server_<version>にインストールします。
: ユーザーに/optに対するrwx権限が必要です。
Studio
Windows:
<instFILE>.exe --mode "unattended" --install_directory <TDV_Installdir>
Linux/AIX:
<instFILE>.bin --mode "unattended" --install_directory <TDV_Installdir>
Business Directory
すべての入力パラメーターを使用したWindowsでのインストール:
<instFILE>.exe --mode unattended --install_directory “<TDV_Installdir>” --bd_admin_password "admin1" --repository_admin_password "password" --server_port 9500
必要なパラメーターのみを使用したWindowsでのインストール:
<instFILE>.exe --mode unattended --bd_admin_password "admin1" --repository_admin_password "password"
このコマンドは、BDをデフォルトポート9500でデフォルトディレクトリC:\Program Files\TIBCO\BD Server<version>にインストールします。
すべての入力パラメーターを使用したLinux/AIXでのインストール:
<instFILE>.bin --mode unattended --install_directory “<TDV_Installdir>" --bd_admin_password "admin1" --repository_admin_password "password" --server_port 9500
必要なパラメーターのみを使用したLinux/AIXでのインストール:
<instFILE>.bin --mode unattended --bd_admin_password "admin1" --repository_admin_password "password"
上記のコマンドは、BDをポート9500でデフォルトディレクトリ/opt/TIBCO/TDV_BD_Server_8.0にインストールします。
: ユーザーに/optに対するrwx権限が必要です。
注: 使用可能なオプションを確認するには、<instFILE>.exe / bin --helpを実行します。
上記の表で使用されている変数は次のとおりです。
<instFILE>はファイル名です。たとえば、Windows TDV Serverの場合はTIB_tdv_server_8.0.0_win_x86_64.exeになります。
<OPTION_FILE>は入力パラメーターが保存されているファイルの名前です。
<TDV_Installdir>はインストールディレクトリです。たとえば、Linux/AIX BDの場合は/opt/TIBCO/TDV_BD_Server_8.0になります。
3.TDVインストールディレクトリを探して、インストールが成功したことを確認します。次の場所に成功または失敗のメッセージを表示することもできます。
%HOMEDRIVE%\BD_install.log(Windows)または/tmp/BD_install.log(UNIX)
%HOMEDRIVE%\TDV_install.log(Windows)または/tmp/TDV_install.log(UNIX)