目次 前 次 PDF


サイレント・インストールを使用したOracle Tuxedo ART Test Managerのインストール

サイレント・インストールを使用したOracle Tuxedo ART Test Managerのインストール
次の項では、サイレント・インストールを使用して、UNIXシステムでOracle Tuxedo ART Test Managerをインストールする方法について説明します。
サイレント・インストールとは
サイレント・インストールは、インストールの開始前に作成しておいたテキスト・ファイルから構成の設定を読み取ります。インストール・プロセス中に手動で操作する必要はありません。サイレント・インストールは、UNIXシステムで機能します。
サイレント・インストールは、インストールの構成を一度設定した上で、その構成を使用して数多くのマシンにインストールを繰り返す方法です。
サイレント・インストールの主な操作
レスポンス・ファイルの作成
OUI記録モードを使用して、選択したインストール・オプションに基づいて、新しいレスポンス・ファイルを作成できます。
記録モードを使用すると、OUIではインストール・セッションがレスポンス・ファイルに記録されます。レスポンス・ファイルの名前をコマンドラインで指定します。記録されたレスポンス・ファイルが「サマリー」ページの直後に生成されます。実際にOracle製品をインストールしてレスポンス・ファイルを作成する必要はありません。つまり、インストールを記録モードで開始して、「サマリー」ページに移動するまでインストールの各オプションを続行できます。インストールの続行を停止するには、「サマリー」ページで「終了」をクリックします。ただし、選択したすべてのオプションがレスポンス・ファイルに保存されます。
新規作成レスポンス・ファイルを使用して、組織にある他のコンピュータで同一インストール・セッションを実行できます。
記録モードはサイレント・インストール中にも使用できます。この場合、元のソース・レスポンス・ファイルで指定された変数値は、新しいレスポンス・ファイルに記録されます。
次の項では、UNIXシステムで記録モードを使用する方法について説明します。
記録モードの使用
新しいレスポンス・ファイルを記録するには:
1.
コマンド・プロンプトで、cdコマンドを使用して、インストール用のOUI実行可能ファイル(runInstaller.sh)が格納されているディレクトリに移動します。
2.
./runInstaller.sh -record -destinationFile <response_file_name>
<response_file_name>を新しいレスポンス・ファイルの完全パスに置き換えます。例:
UNIXの場合:
./runInstaller.sh -record -destinationFile /private/temp/install_oracle11g.rsp
3.
OUIで「サマリー」ページが表示されると、インストールを続行するか終了できます。
コマンド行で指定したパスとファイル名を使用して、OUIで新しいレスポンス・ファイルが保存されます。
Oracle Tuxedo ART Test Managerレスポンス・ファイルで必要な変数
この項で定義した変数は、Oracle Tuxedo ART Test Managerインストーラに固有です。
注意:
ORACLE_HOME
製品がインストールされる場所。完全なサイレント・インストールを行うには、ORACLE_HOMEの値を入力する必要があります。
ORACLE_HOME_NAME
現在のOracleホームの名前。完全なサイレント・インストールを行うには、ORACLE_HOME_NAMEの値を入力する必要があります。
OVER_WRITE_WORKSPACE
値がTRUEの場合、ART Test Managerのワークスペース・ディレクトリを上書きします。この値は必須です。
WORKSPACE_DIR
ART Test Managerのワークスペース・ディレクトリとして使用する場所。完全なサイレント・インストールを行うには、WORKSPACE_DIRの値を入力する必要があります。
ADMIN_PASSWORD
ART Test Managerの管理者パスワード。完全なサイレント・インストールを行うには、ADMIN_PASSWORDの値を入力する必要があります。
レスポンス・ファイルによるインストール
多くのOracleソフトウェア製品には、OUI画面を表示したりインストール中に質問に応答せずにOUIをコマンド行から実行するツールと手順が用意されています。
これは、サイレント・インストールと呼ばれます。
一連のインストール・オプションを選択するように求めるかわりに、あらかじめ定義された一連のオプションを使用してOUIでソフトウェアをインストールします。これらのオプションはレスポンス・ファイル(.rsp)に格納されます。
注意:
Oracle製品がインストールされていないUNIXコンピュータでサイレント・インストールを実行しようとすると、エラー・メッセージが表示されます。サイレント・インストールをこの状況で実行する前にoraInventoryディレクトリにあるoraInstRoot.shスクリプトを最初に実行する必要があります。このスクリプトをroot権限で実行する必要があります。これによりOUIでクリーンなホストに中央インベントリが設定できます。
レスポンス・ファイルの指定
OUIを起動してレスポンス・ファイルを指定するには、実行可能ファイルがインストールされているディレクトリで次のコマンドをコマンド行に入力します。
UNIXの場合:
./runInstaller.sh -responseFile <filename> <optional_parameters>
注意:
Oracle Tuxedo ART Test Managerを完全なサイレント・モードでインストールするには、<optional_parameters>-silentに指定する必要があります。
responseFileの完全パスを指定する必要があります。実行しない場合、OUIでは起動したOUIに関連付けられたoraparam.iniファイルを基準とした相対の場所と仮定します。
コマンド行使用に関するヘルプについては、実行可能ファイルが格納されているディレクトリで次をコマンド行に入力します。
UNIXの場合:
./runInstaller.sh –help
レスポンス・ファイル指定時のオプション・パラメータ
-responseFileフラグで使用できるオプション・パラメータは次のとおりです。
-nowelcome - インストール中に表示される「ようこそ」ダイアログを抑止する場合に、-nowelcomeフラグと-responseFileフラグを併用します。
-silent - OUIを完全なサイレント・モードで実行する場合に、-silentフラグと-responseFileフラグを併用します。「ようこそ」ダイアログは自動的に抑止されます。
-waitforcompletion - -waitforcompletionフラグを-silentフラグと併用し、javaエンジンを生成して終了するかわりに完了を待ちます。
Oracleインベントリがないホストのファイル(名前はsilentInstall<timestamp>.log)内です。このファイルは、UNIXプラットフォームの/tmpディレクトリに生成されます。
注意:
-silentオプションを使用すると「ようこそ」画面は表示されないため、-nowelcomeオプションと-silentオプションは併用する必要がありません。
UNIXテンプレート・ファイルのサンプル
リスト3-1のこのUNIXレスポンス・ファイルのサンプルは、Oracle Tuxedo ART Test Manager 12cリリース2 (12.2.2)のサイレント・インストールに適用されます。
リスト3-1 UNIXレスポンス・ファイル
####################################################################
## Copyright (c) 1999, 2013 Oracle. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## identifies the variable type. ##
## ##
## Please specify the values in the following format: ##
## ##
## Type Example ##
## String "Sample Value" ##
## Boolean True or False ##
## Number 1000 ##
## StringList {"String value 1","String Value 2"} ##
## ##
## The values that are given as <Value Required> need to be ##
## specified for a silent installation to be successful. ##
## ##
## ##
## This response file is generated by Oracle Software ##
## Packager. ##
####################################################################
 
 
RESPONSEFILE_VERSION=2.2.1.0.0
 
#-------------------------------------------------------------------------------
#Name : UNIX_GROUP_NAME
#Datatype : String
#Description: UNIX group to be set for the inventory directory. Valid only in UNIX platforms.
#Example: UNIX_GROUP_NAME = "install"
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME="oinstall"
 
#-------------------------------------------------------------------------------
#Name : FROM_LOCATION
#Datatype : String
#Description: Complete path to the products.xml.
#Example: FROM_LOCATION = "../stage/products.xml"
#-------------------------------------------------------------------------------
FROM_LOCATION="/nfs/users/huchchen/art/stage_art_linux/Disk1/stage/products.xml"
 
#-------------------------------------------------------------------------------
#Name : FROM_LOCATION_CD_LABEL
#Datatype : String
#Description: This variable should only be used in multi-CD installations. It includes the label of the compact disk where the file "products.xml" exists. The label can be found in the file "disk.label" in the same directory as products.xml.
#Example: FROM_LOCATION_CD_LABEL = "CD Label"
#-------------------------------------------------------------------------------
FROM_LOCATION_CD_LABEL=<Value Unspecified>
 
#-------------------------------------------------------------------------------
#Name : ORACLE_HOME
#Datatype : String
#Description: Complete path of the Oracle Home.
#Example: ORACLE_HOME = "C:\OHOME1"
#-------------------------------------------------------------------------------
ORACLE_HOME="/nfs/users/huchchen/OraHome_8"
 
#-------------------------------------------------------------------------------
#Name : ORACLE_BASE
#Datatype : String
#Description: Complete path of the Oracle Base.
#Example: ORACLE_BASE = "C:\app"
#-------------------------------------------------------------------------------
ORACLE_BASE=<Value Unspecified>
 
#-------------------------------------------------------------------------------
#Name : ORACLE_HOME_NAME
#Datatype : String
#Description: Oracle Home Name. Used in creating folders and services.
#Example: ORACLE_HOME_NAME = "OHOME1"
#-------------------------------------------------------------------------------
ORACLE_HOME_NAME="OUIHome8"
 
#-------------------------------------------------------------------------------
#Name : SHOW_WELCOME_PAGE
#Datatype : Boolean
#Description: Set to true if the Welcome page in OUI needs to be shown.
#Example: SHOW_WELCOME_PAGE = false
#-------------------------------------------------------------------------------
SHOW_WELCOME_PAGE=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_CUSTOM_TREE_PAGE
#Datatype : Boolean
#Description: Set to true if the custom tree page in OUI needs to be shown.
#Use this page to select or de-select dependencies. This page appears only in a custom install type.
#Example: SHOW_CUSTOM_TREE_PAGE = false
#-------------------------------------------------------------------------------
SHOW_CUSTOM_TREE_PAGE=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_COMPONENT_LOCATIONS_PAGE
#Datatype : Boolean
#Description: Set to true if the component locations page in OUI needs to be shown.
#This page only appears if there are products whose installed directory can be changed.
#If you set this to false you will prevent the user from being able to specify alternate directories.
#Example: SHOW_COMPONENT_LOCATIONS_PAGE = false
#-------------------------------------------------------------------------------
SHOW_COMPONENT_LOCATIONS_PAGE=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_SUMMARY_PAGE
#Datatype : Boolean
#Description: Set to true if the summary page in OUI needs to be shown.
#The summary page shows the list of components that will be installed in this session.
#Example: SHOW_SUMMARY_PAGE = true
#-------------------------------------------------------------------------------
SHOW_SUMMARY_PAGE=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_INSTALL_PROGRESS_PAGE
#Datatype : Boolean
#Description: Set to true if the install progress page in OUI needs to be shown.
#This page shows the current status in the installation. The current status includes the product being installed and the file being copied.
#Example: SHOW_INSTALL_PROGRESS_PAGE = true
#-------------------------------------------------------------------------------
SHOW_INSTALL_PROGRESS_PAGE=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_REQUIRED_CONFIG_TOOL_PAGE
#Datatype : Boolean
#Description: Set to true if the required config assistants page in OUI needs to be shown.
#This page shows the list of required configuration assistants that are part of this installation.
#It shows the status of each assistant, including any failures with detailed information on why it failed.
#Example: SHOW_REQUIRED_CONFIG_TOOL_PAGE = true
#-------------------------------------------------------------------------------
SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_CONFIG_TOOL_PAGE
#Datatype : Boolean
#Description: Set to true if the config assistants page in OUI needs to be shown.
#This page shows the list of configuration assistants that are part of this installation and are configured to launch automatically.
#It shows the status of each assistant, including any failures with detailed information on why it failed.
#Example: SHOW_CONFIG_TOOL_PAGE = true
#-------------------------------------------------------------------------------
SHOW_CONFIG_TOOL_PAGE=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_RELEASE_NOTES
#Datatype : Boolean
#Description: Set to true if the release notes of this installation need to be shown at the end of installation.
#This dialog is launchable from the End of Installation page and shows the list of release notes available for the products just installed.
# This also requires the variable SHOW_END_SESSION_PAGE variable to be set to true.
#Example: SHOW_RELEASE_NOTES = true
#-------------------------------------------------------------------------------
SHOW_RELEASE_NOTES=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_ROOTSH_CONFIRMATION
#Datatype : Boolean
#Description: Set to true if the Confirmation dialog asking to run the root.sh script in OUI needs to be shown.
#Valid only for UNIX platforms.
#Example: SHOW_ROOTSH_CONFIRMATION = true
#-------------------------------------------------------------------------------
SHOW_ROOTSH_CONFIRMATION=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_END_SESSION_PAGE
#Datatype : Boolean
#Description: Set to true if the end of session page in OUI needs to be shown.
#This page shows if the installation is successful or not.
#Example: SHOW_END_SESSION_PAGE = true
#-------------------------------------------------------------------------------
SHOW_END_SESSION_PAGE=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_EXIT_CONFIRMATION
#Datatype : Boolean
#Description: Set to true if the confirmation when exiting OUI needs to be shown.
#Example: SHOW_EXIT_CONFIRMATION = true
#-------------------------------------------------------------------------------
SHOW_EXIT_CONFIRMATION=true
 
#-------------------------------------------------------------------------------
#Name : NEXT_SESSION
#Datatype : Boolean
#Description: Set to true to allow users to go back to the File Locations page for another installation. This flag also needs to be set to true in order to process another response file (see NEXT_SESSION_RESPONSE).
#Example: NEXT_SESSION = true
#-------------------------------------------------------------------------------
NEXT_SESSION=false
 
#-------------------------------------------------------------------------------
#Name : NEXT_SESSION_ON_FAIL
#Datatype : Boolean
#Description: Set to true to allow users to invoke another session even if current install session has failed. This flag is only relevant if NEXT_SESSION is set to true.
#Example: NEXT_SESSION_ON_FAIL = true
#-------------------------------------------------------------------------------
NEXT_SESSION_ON_FAIL=true
 
#-------------------------------------------------------------------------------
#Name : NEXT_SESSION_RESPONSE
#Datatype : String
#Description: Set to true to allow users to go back to the File Locations page for another installation. This flag also needs to be set to true in order to process another response file (see NEXT_SESSION_RESPONSE).
#Example: NEXT_SESSION_RESPONSE = "nextinstall.rsp"
#-------------------------------------------------------------------------------
NEXT_SESSION_RESPONSE=<Value Unspecified>
 
#-------------------------------------------------------------------------------
#Name : DEINSTALL_LIST
#Datatype : StringList
#Description: List of components to be deinstalled during a deinstall session.
#Example: DEINSTALL_LIST = {"art_tm","12.2.2.0.0"}
#-------------------------------------------------------------------------------
DEINSTALL_LIST={"art_tm","12.2.2.0.0"}
 
#-------------------------------------------------------------------------------
#Name : SHOW_DEINSTALL_CONFIRMATION
#Datatype : Boolean
#Description: Set to true if deinstall confimation is needed during a deinstall session.
#Example: SHOW_DEINSTALL_CONFIRMATION = true
#-------------------------------------------------------------------------------
SHOW_DEINSTALL_CONFIRMATION=true
 
#-------------------------------------------------------------------------------
#Name : SHOW_DEINSTALL_PROGRESS
#Datatype : Boolean
#Description: Set to true if deinstall progress is needed during a deinstall session.
#Example: SHOW_DEINSTALL_PROGRESS = true
#-------------------------------------------------------------------------------
SHOW_DEINSTALL_PROGRESS=true
 
#-------------------------------------------------------------------------------
#Name : CLUSTER_NODES
#Datatype : StringList
#Description: This variable represents the cluster node names selected by the user for installation.
#Example: CLUSTER_NODES = {"node1","node2"}
#-------------------------------------------------------------------------------
CLUSTER_NODES={}
 
#-------------------------------------------------------------------------------
#Name : ACCEPT_LICENSE_AGREEMENT
#Datatype : Boolean
#Description: By setting this variable to true, you are accepting the license agreement. This variable is used only for silent installations.
#Example: ACCEPT_LICENSE_AGREEMENT = true
#-------------------------------------------------------------------------------
ACCEPT_LICENSE_AGREEMENT=false
 
#-------------------------------------------------------------------------------
#Name : METALINK_LOCATION
#Datatype : String
#Description: This variable represents the Oracle metalink location.
#-------------------------------------------------------------------------------
METALINK_LOCATION=<Value Unspecified>
 
#-------------------------------------------------------------------------------
#Name : METALINK_USERNAME
#Datatype : String
#Description: This variable represents the Oracle metalink user name.
#-------------------------------------------------------------------------------
METALINK_USERNAME=<Value Unspecified>
 
#-------------------------------------------------------------------------------
#Name : METALINK_PASSWORD
#Datatype : String
#Description: This variable represents the corresponding Oracle metalink password.
#-------------------------------------------------------------------------------
METALINK_PASSWORD=<Value Unspecified>
 
#-------------------------------------------------------------------------------
#Name : PROXY_HOST
#Datatype : String
#Description: The proxy host used to connect to Oracle metalink.
#Example: PROXY_HOST =
#-------------------------------------------------------------------------------
PROXY_HOST=""
 
#-------------------------------------------------------------------------------
#Name : PROXY_PORT
#Datatype : String
#Description: The proxy port used to connect to Oracle metalink.
#Example: PROXY_PORT =
#-------------------------------------------------------------------------------
PROXY_PORT=""
 
#-------------------------------------------------------------------------------
#Name : PROXY_REALM
#Datatype : String
#Description: The realm for the proxy used to connect to Oracle metalink.
#Example: PROXY_REALM =
#-------------------------------------------------------------------------------
PROXY_REALM=<Value Unspecified>
 
#-------------------------------------------------------------------------------
#Name : PROXY_USER
#Datatype : String
#Description: The username for the proxy used to connect to Oracle metalink.
#Example: PROXY_USER =
#-------------------------------------------------------------------------------
PROXY_USER=""
 
#-------------------------------------------------------------------------------
#Name : PROXY_PWD
#Datatype : String
#Description: The password for the proxy used to connect to Oracle metalink.
#Example: PROXY_PWD =
#-------------------------------------------------------------------------------
PROXY_PWD=<Value Unspecified>
 
#-------------------------------------------------------------------------------
#Name : DONT_PROXY_FOR
#Datatype : String
#Description: The dont proxy for list.
#Example: DONT_PROXY_FOR =
#-------------------------------------------------------------------------------
DONT_PROXY_FOR=<Value Unspecified>
 
#-------------------------------------------------------------------------------
#Name : TOPLEVEL_COMPONENT
#Datatype : StringList
#Description: The top level component to be installed in the current session.
#Example: TOPLEVEL_COMPONENT = {"art_tm","12.2.2.0.0"}
#-------------------------------------------------------------------------------
TOPLEVEL_COMPONENT= {"art_tm","12.2.2.0.0"}
 
#-------------------------------------------------------------------------------
#Name : SHOW_SPLASH_SCREEN
#Datatype : Boolean
#Description: Set to true if the initial splash screen in OUI needs to be shown.
#Example: SHOW_SPLASH_SCREEN = true
#-------------------------------------------------------------------------------
SHOW_SPLASH_SCREEN=true
 
#-------------------------------------------------------------------------------
#Name : SELECTED_LANGUAGES
#Datatype : StringList
 
#Description: Languages in which the components will be installed.
 
#Component : art_tm
 
#-------------------------------------------------------------------------
------
 
 
SELECTED_LANGUAGES={"en"}
 
 
#-------------------------------------------------------------------------
------
 
#Name : COMPONENT_LANGUAGES
#Datatype : StringList
#Description: Languages supported by this component.List of supported languages : {"en"}
#Component : art_tm
#------------------------------------------------------------------------- COMPONENT_LANGUAGES={"en"}
#-------------------------------------------------------------------------
------
#-------------------------------------------------------------------------------
#Name : INSTALL_TYPE
#Datatype : String
#Description: Installation type of the component.
#Component : art_tm
#-------------------------------------------------------------------------------
 
INSTALL_TYPE="Custom"
 
#-------------------------------------------------------------------------------
#Name : OVER_WRITE_WORKSPACE
#Datatype : Boolean
#Description: This is overwrite flag for existing art test manager workspace.
#Component : art_tm
#-------------------------------------------------------------------------------
 
OVER_WRITE_WORKSPACE=true
 
#-------------------------------------------------------------------------------
#Name : ADMIN_PASSWORD
#Datatype : String
#Description: This is the password for administrator.
#Component : art_tm
#-------------------------------------------------------------------------------
 
ADMIN_PASSWORD="aaaaaaaa"
 
#-------------------------------------------------------------------------------
#Name : WORKSPACE_DIR
#Datatype : String
#Description: This is the workspace directory of art test manager 12.2.2.0.0.
#Component : art_tm
#-------------------------------------------------------------------------------
 
WORKSPACE_DIR="/nfs/users/huchchen/OraHome_8/art_tm_workspace"
 

Copyright ©1994, 2017,Oracle and/or its affiliates. All rights reserved