目次 前 次 PDF


サイレント・インストールを使用したOracle Tuxedo Mainframe Adapter for SNAのインストール

サイレント・インストールを使用したOracle Tuxedo Mainframe Adapter for SNAのインストール
次の項では、サイレント・インストールを使用してUNIXシステムにOracle Tuxedo Mainframe Adapter for SNAをインストールする方法について説明します。
サイレント・インストールとは
サイレント・インストールでは、インストール前に作成しておいたテキスト・ファイルから構成の設定を読み取ります。インストール・プロセス中にユーザーが操作を行う必要はありません。サイレント・インストールは、UNIXシステムで利用できます。
サイレント・インストールは、インストールの構成を一度設定した上で、その構成を使用して数多くのマシンにインストールを繰り返す方法です。
サイレント・インストールの主な操作
レスポンス・ファイルの作成
OUI記録モードを使用して、選択したインストール・オプションに基づいて、新しいレスポンス・ファイルを作成できます。
記録モードを使用すると、OUIではインストール・セッションがレスポンス・ファイルに記録されます。レスポンス・ファイル名をコマンド行で指定します。記録されたレスポンス・ファイルが「サマリー」ページ直後に生成されます。実際にOracle製品をインストールしてレスポンス・ファイルを作成する必要はありません。つまり、インストールを記録モードで起動して、「サマリー」ページに移動するまでインストール・オプションで続行できます。インストールの続行を停止するには、「サマリー」ページで「終了」をクリックします。ただし、選択したすべてのオプションがレスポンス・ファイルに保存されます。
新規作成レスポンス・ファイルを使用して、組織にある他のコンピュータで同一インストール・セッションを実行できます。
記録モードはサイレント・インストール中にも使用できます。この場合、元のソース・レスポンス・ファイルで指定された変数値は、新しいレスポンス・ファイルに記録されます。
次の項では、UNIXシステムで記録モードを使用する方法について説明します。
記録モードの使用
新しいレスポンス・ファイルを記録するには:
1.
コマンド・プロンプトで、cdコマンドを使用して、インストール用のOUI実行可能ファイル(runInstaller.sh)が格納されているディレクトリに変更します。
2.
UNIXの場合:
./runInstaller.sh -record -destinationFile <response_file_name>
<response_file_name>を新しいレスポンス・ファイルの完全パスに置き換えます。次に例を示します。
UNIXの場合:
./runInstaller.sh -record -destinationFile /private/temp/tmasna_linux_silent.rsp
3.
OUIで「サマリー」ページが表示されると、インストールを続行するか終了できます。
コマンド行で指定したパスとファイル名を使用して、OUIで新しいレスポンス・ファイルが保存されます。
Oracle Tuxedo Mainframe Adapter for SNAレスポンス・ファイルの必須変数
この項で定義した変数はTuxedoインストーラに固有です。
注意:
RESPONSEFILE_VERSION
レスポンス・ファイルのフォーマット・バージョン番号。
ORACLE_HOME
製品をインストールする場所。完全なサイレント・インストールを行うには、ORACLE_HOMEの値を入力する必要があります。
ORACLE_HOME_NAME
現在のOracleホームの名前。完全なサイレント・インストールを行うには、ORACLE_HOME_NAMEの値を入力する必要があります。
DEPENDENCY_LIST
この製品とともにインストールする必要のある依存製品のリスト。
例:
DEPENDENCY_LIST={"TMASNAGateway:12.2.2.0.0","TMASNACRM:12.2.2.0.0"}
Oracle Tuxedo Mainframe Adapter for SNAの特定の変数
INSTALL_TYPE
コンポーネントのインストール・タイプ。これは必須です。値は、「完全」Gatewayのみおよび「Distributed CRM」になります。
 
詳細は、ページ1-10の「インストール・タイプ」を参照してください。
SAMPLE_INSTALLED
TMA製品のサンプルをインストールする場合は、これをtrueに設定します。これは必須です。
CRM_FOLDER
CRMのインストール・ディレクトリのフルパス。これはオプションです。デフォルト値は$ORACLE_HOME/tuxedo12.2.2.0.0です。
レスポンス・ファイルによるインストール
多くのOracleソフトウェア製品には、OUI画面を表示したりインストール中に質問に応答せずにOUIをコマンド行から実行するツールと手順が用意されています。
これは、サイレント・インストールと呼ばれます。
一連のインストール・オプションを選択するように求めるかわりに、あらあじめ定義された一連のオプションを使用してOUIでソフトウェアをインストールします。これらのオプションはレスポンス・ファイル(.rsp)に格納されます。
注意:
Oracle製品がインストールされていないUNIXコンピュータでサイレント・インストールを実行しようとすると、エラー・メッセージが表示されます。サイレント・インストールをこの状況で実行する前に/oraInventoryディレクトリにあるoraInstRoot.shスクリプトを最初に実行する必要があります。このスクリプトをroot権限で実行する必要があります。これによりOUIでクリーンなホストに中央インベントリが設定できます。
レスポンス・ファイルの指定
OUIを起動してレスポンス・ファイルを指定するには、実行可能ファイルがインストールされているディレクトリで次のコマンドをコマンド行に入力します。
UNIXの場合:
./runInstaller.sh -responseFile <filename> <optional_parameters>
注意:
完全なresponseFileパスを指定する必要があります。実行しない場合、OUIでは起動したOUIに関連付けられたoraparam.iniファイルを基準とした相対の場所と仮定します。
コマンド行使用に関するヘルプについては、実行可能ファイルが格納されているディレクトリで次をコマンド行に入力します。
UNIXの場合:
./runInstaller.sh –help
レスポンス・ファイル指定時のオプション・パラメータ
-responseFileフラグで使用できるオプション・パラメータは次のとおりです。
-nowelcome - インストール中に表示される「ようこそ」ダイアログを抑止するために、-nowelcomeフラグを-responseFileフラグと併用します。
-silent - OUIを完全なサイレント・モードで実行するために、-silentフラグを-responseFileフラグと併用します。「ようこそ」ダイアログは自動的に抑止されます。
-force - ORACLE_HOMEの新しいフォルダを指定するときにダイアログを抑止する場合に、-forceフラグと-responseFileフラグを併用します。
-waitforcompletion - Javaエンジンを生成して終了するのではなく完了を待機する場合に、-waitforcompletionフラグと-silentフラグを併用します。
たとえば、UNIXマシンで、次を入力します。
./runInstaller.sh -responseFile /tma/tmasna_linux_silent.rsp -silent
注意:
-silentオプションを使用すると「ようこそ」画面は表示されないため、-nowelcomeオプションと-silentオプションは併用する必要がありません。
ORACLE_HOMEが空でない場合は、-forceオプションを使用してこれを上書きします。そうしないと、次のエラー・メッセージが表示されます。
SEVERE:OUI-10029:製品のインストール先として、空ではないディレクトリを指定しました。空のディレクトリ、または存在しないディレクトリを指定することをお薦めします。ただし、オペレーティング・システムで生成された「lost+found」などのファイルまたはサブディレクトリがディレクトリにある場合は、このメッセージを無視することもできます。
レスポンス・ファイルの例
リスト3-1およびリスト3-2に、Oracle Tuxedo Mainframe Adapter for SNA 12cリリース2 (12.1.3)のサイレント・インストールに適用されるレスポンス・ファイルの例を示します。
リスト3-1 レスポンス・ファイルの概要の例
RESPONSEFILE_VERSION=2.2.1.0.0
ORACLE_HOME="/home/test/OraHome_1"
ORACLE_HOME_NAME="OUIHome1"
INSTALL_TYPE="Full"
SAMPLES_SELECT=true
CRM_FOLDER="/home/test/OraHome_1/tuxedo12.2.2.0.0"
 
リスト3-2 例 - 完全なレスポンス・ファイル
####################################################################
## Copyright (c) 1999, 2014 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="dba"
 
#-------------------------------------------------------------------------------
#Name : FROM_LOCATION
#Datatype : String
#Description: Complete path to the products.xml.
#Example: FROM_LOCATION = "../stage/products.xml"
#-------------------------------------------------------------------------------
FROM_LOCATION="/home/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 = "/home/Oracle1"
#-------------------------------------------------------------------------------
ORACLE_HOME="/home/OraHome1"
 
#-------------------------------------------------------------------------------
#Name : ORACLE_BASE
#Datatype : String
#Description: Complete path of the Oracle Base.
#Example: ORACLE_BASE = "/home/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="OUIHome2"
 
#-------------------------------------------------------------------------------
#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 = {"tmabase_sna","12.2.2.0.0"}
#-------------------------------------------------------------------------------
DEINSTALL_LIST={"tmabase_sna","12.2.2.0.0"}
 
#-------------------------------------------------------------------------------
#Name : SHOW_DEINSTALL_CONFIRMATION
#Datatype : Boolean
#Description: Set to true if deinstall confirmation 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=""
 
#-------------------------------------------------------------------------------
#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 = {"tmabase_sna","12.2.2.0.0"}
#-------------------------------------------------------------------------------
TOPLEVEL_COMPONENT={"tmabase_sna","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 : tmabase_sna
#-------------------------------------------------------------------------------
 
SELECTED_LANGUAGES={"en"}
 
#-------------------------------------------------------------------------------
#Name : COMPONENT_LANGUAGES
#Datatype : StringList
#Description: Languages supported by this component.List of supported languages : {"en","ja"}
#Component : tmabase_sna
#-------------------------------------------------------------------------------
 
COMPONENT_LANGUAGES={"en"}
 
#-------------------------------------------------------------------------------
#Name : INSTALL_TYPE
#Datatype : String
#Description: Installation type of the component.
#Component : tmabase_sna
#-------------------------------------------------------------------------------
 
INSTALL_TYPE="Full"
 
#-------------------------------------------------------------------------------
#Name : SAMPLES_SELECT
#Datatype : Boolean
#Description: This variable save the selection whether customer want to install samples.
#Component : TMASNAGateway
#-------------------------------------------------------------------------------
 
SAMPLES_SELECT=<Value Unspecified>
 

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