Oracle Tuxedo Application Runtimesのインストール

     前  次    新規ウィンドウで目次を開く  新規ウィンドウで索引を開く  PDFとして表示 - 新規ウィンドウ  Adobe Readerを入手 - 新規ウィンドウ
コンテンツはここから始まります

サイレント・インストールを使用したOracle Tuxedo Application Runtimesのインストール

次の各項では、サイレント・インストールを使用して、UNIXシステムでOracle Tuxedo Application Runtimesをインストールする方法について説明します。

 


サイレント・インストールとは

サイレント・インストールでは、インストール前に作成しておいたテキスト・ファイルから構成の設定を読み取ります。インストール中にユーザーが操作を行う必要はありません。サイレント・インストールは、WindowsシステムとUNIXシステムのいずれでも利用できます。

サイレント・インストールは、インストールの構成を一度設定した上で、その構成を使用して数多くのマシンにインストールを繰り返す方法です。

 


サイレント・インストールの主な操作

レスポンス・ファイルの作成

OUI記録モードを使用して、選択したインストール・オプションに基づいて、新しいレスポンス・ファイルを作成できます。

記録モードを使用すると、OUIではインストール・セッションがレスポンス・ファイルに記録されます。レスポンス・ファイル名をコマンド行パラメータで指定します。記録されたレスポンス・ファイルが「サマリー」ページ直後に生成されます。実際にOracle製品をインストールしてレスポンス・ファイルを作成する必要はありません。つまり、インストールを記録モードで起動して、「サマリー」ページに移動するまでインストール・オプションで続行できます。「サマリー」ページで、「終了」をクリックして、インストールの続行からインストールを終了します。ただし、選択したすべてのオプションがレスポンス・ファイルに保存されます。

新規作成レスポンス・ファイルを使用して、組織にある他のコンピュータで同一インストール・セッションを実行できます。

記録モードはサイレント・インストール中にも使用できます。この場合、元のソース・レスポンス・ファイルで指定された変数値は、新しいレスポンス・ファイルに記録されます。

次の各項では、記録モードをWindowsシステムおよびUNIXシステムで使用する方法について説明します。

記録モードの使用

新しいレスポンス・ファイルを記録するには:

  1. コマンド・プロンプトで、cdコマンドを使用して、インストールのOUI実行可能ファイル(runInstaller.sh)が格納されているディレクトリに移動します。
  2. UNIXで次のコマンドを入力します。
  3. ./runInstaller -record -destinationFile <response_file_name> 

    新しいレスポンス・ファイルの完全パスで<response_file_name>を置換します。例:

    UNIXの場合:

    ./runInstaller -record -destinationFile /private/temp/install_oracle11g.rsp
  4. OUIユーザー・インタフェースを使用し、インストール・オプションを選択して記録します。

OUIで「サマリー」ページが表示されると、インストールを続行するか終了できます。

コマンド行で指定したパスとファイル名を使用して、OUIで新しいレスポンス・ファイルが保存されます。

Oracle Tuxedo Application Runtimesレスポンス・ファイルの必須変数

この項で定義した変数はTuxedoインストーラに固有です。

注意: 文字列型変数の場合、二重引用符を使用して値を囲む必要があります。
ORACLE_HOME

製品がインストールされる場所。完全なサイレント・インストールを行うには、ORACLE_HOMEの値を入力する必要があります。

ORACLE_HOME_NAME

現在のOracleホームの名前。完全なサイレント・インストールを行うには、ORACLE_HOME_NAMEの値を入力する必要があります。

INSTALL_TYPE

インストール・タイプ変数を設定して、現在選択されているトップ・レベル・コンポーネントのインストール・タイプを判別できます。Install_typeを次の表から選択できます。

インストール・タイプ
説明
完全インストール
このインストール・タイプでは、すべてのOracle Tuxedo Application Runtimesコンポーネントがインストールされます。
CICS Runtimeのインストール
このインストール・タイプでは、Oracle Tuxedo Application Runtime for CICSコンポーネントがインストールされます。
Batch Runtimeのインストール
このインストール・タイプでは、Oracle Tuxedo Application Runtime for Batchコンポーネントがインストールされます。
IMS Runtimeのインストール
このインストール・タイプでは、Oracle Tuxedo Application Runtime for IMSコンポーネントがインストールされます。
カスタム・インストール
このインストール・タイプでは、お客様が選択したコンポーネントがインストールされます。

詳細は、「インストール・タイプ」を参照してください。

SAMPLE_INSTALLED

ART製品のサンプルをインストールする場合、trueに設定します。これは必須です。

COBOL_COMPILER_TYPE

COBOLコンパイラ・タイプを構成します。

使用しているデフォルトのCOBOLコンパイラ・タイプが記録されます。

artcicsコンポーネントを選択せずに、artbatchコンポーネントを選択した場合、値は「Micro-Focus-Cobol」、「COBOL-IT」または「COBOLなし」になります。

artcicsコンポーネントを選択した場合、値は「Micro-Focus-Cobol」または「COBOL-IT」になります。

artimsコンポーネントのみを選択した場合、これは必須ではありません。

COBOL_IT_DIR

COBOL-ITインストール・ディレクトリの完全パスを構成します。

COBOL_COMPILER_TYPEが「COBOL-IT」の場合は必須です。

レスポンス・ファイルによるインストール

多くのOracleソフトウェア製品には、OUI画面を表示したりインストール中に質問に応答せずにOUIをコマンド行から実行するツールと手順が用意されています。

これは、サイレント・インストールと呼ばれます。

一連のインストール・オプションを選択するように求めるかわりに、あらあじめ定義された一連のオプションを使用してOUIでソフトウェアをインストールします。これらのオプションはレスポンス・ファイル(.rsp)に格納されます。

注意: Oracle製品がインストールされていないUNIXコンピュータでサイレント・インストールを実行しようとすると、エラー・メッセージが表示されます。サイレント・インストールをこの状況で実行する前に、/oraInventoryディレクトリにあるoraInstRoot.shスクリプトを最初に実行する必要があります。このスクリプトをroot権限で実行する必要があります。これによりOUIでクリーンなホストに中央インベントリが設定できます。
注意: 詳細は、「Oracle Universal Installerインベントリ」を参照してください。

レスポンス・ファイルの指定

OUIを起動してレスポンス・ファイルを指定するには、実行可能ファイルがインストールされているディレクトリで次のコマンドをコマンド行に入力します。

UNIXの場合:

./runInstaller -responseFile <filename> <optional_parameters>
注意:

コマンド行使用に関するヘルプについては、実行可能ファイルが格納されているディレクトリで次をコマンド行に入力します。

UNIXの場合:

./runInstaller – help

レスポンス・ファイル指定時のオプション・パラメータ

-responseFileフラグで使用可能なオプション・パラメータ:

注意: -silentオプションを使用すると「ようこそ」画面は表示されないため、-nowelcomeオプションと-silentオプションは併用する必要がありません。

UNIXテンプレート・ファイルのサンプル

リスト3-1のUNIXレスポンス・ファイルのサンプルは、Oracle Tuxedo Application Runtimes 12cリリース2 (12.1.3)のサイレント・インストールに適用されます。

リスト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 = {"artbase","12.1.3.0.0"}
#-------------------------------------------------------------------------------
DEINSTALL_LIST={"artbase","12.1.3.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 = {"artbase","12.1.3.0.0"}
#-------------------------------------------------------------------------------
TOPLEVEL_COMPONENT={"artbase","12.1.3.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  : artbase
#-------------------------------------------------------------------------------
SELECTED_LANGUAGES={"en"}
#-------------------------------------------------------------------------------
#Name       : COMPONENT_LANGUAGES
#Datatype   : StringList
#Description: Languages supported by this component.List of supported languages : {"en","ja"}
#Component  : artbase
#-------------------------------------------------------------------------------
COMPONENT_LANGUAGES={"en"}
#-------------------------------------------------------------------------------
#Name       : INSTALL_TYPE
#Datatype   : String
#Description: Installation type of the component.
#Component  : artbase
#-------------------------------------------------------------------------------
INSTALL_TYPE="Full Install"
#-------------------------------------------------------------------------------
#Name       : SAMPLE_INSTALLED
#Datatype   : Boolean
#Description: true if it install samples for art
#Component  : artbase
#-------------------------------------------------------------------------------
SAMPLE_INSTALLED=true
#-------------------------------------------------------------------------------
#Name       : COBOL_COMPILER_TYPE
#Datatype   : String
#Description: It keep record the default COBOL compiler you are using.
#Component  : artbase
#-------------------------------------------------------------------------------
COBOL_COMPILER_TYPE="COBOL-IT"
#-------------------------------------------------------------------------------
#Name       : COBOL_IT_DIR
#Datatype   : String
#Description: the full path of COBOL-IT installation directory.
#Component  : artbase
#-------------------------------------------------------------------------------
COBOL_IT_DIR="/opt/cobol-it-64"

  先頭に戻る       前  次