ヘッダーをスキップ
Oracle Fusion Middleware Oracle SOA Suiteインストレーション・ガイド
11g リリース1(11.1.1)
B55901-01
  目次
目次
索引
索引

戻る
戻る
 
次へ
次へ
 

D サイレント・インストール

この付録では、Oracle SOA Suiteをコマンドラインからサイレント・モードでインストールする方法を説明します。 この付録の構成は、次のとおりです。

D.1 サイレント・インストールの概要

サイレント・インストールには視覚的な出力がなく、ユーザー入力も要求されないため、Oracle SOA Suiteのインストール状況を監視する必要がありません。

Oracle SOA Suiteのサイレント・インストールを実行するには、コマンドラインでインストーラにレスポンス・ファイルを渡し、-silentフラグを指定します。 レスポンス・ファイルとは、インストーラのプロンプトに対する回答となる変数とパラメータの値が格納されたテキスト・ファイルです。


注意:

UNIXユーザーの場合は、これがOracle SOA Suiteの初めてのインストールの場合、インストール前にoraInst.loc ファイルを作成する必要があります。 詳細は、第D.3.1項「UNIXユーザー: oraInst.locファイルの作成」を参照してください。

Oracle SOA Suiteのインストールに続いて、rootユーザーとしてroot.shスクリプトを実行する必要があります。 root.sh スクリプトにより環境変数の設定が検出されるため、ローカルbinディレクトリのフルパスを入力できます。



注意:

Windowsユーザーの場合は、これがOracle SOA Suiteの初めてのインストールの場合、インストール前にレジストリ・キーを作成する必要があります。 レジストリ・キーの作成については、第D.3.2項「Windowsユーザー: レジストリ・キーの作成」で説明します。

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

サイレント・インストールを実施する前に、インストールに関する情報をレスポンス・ファイルに記述する必要があります。 不適切な構成のレスポンス・ファイルを使用してインストールを試行した場合、インストールは失敗します。 レスポンス・ファイルはテキスト・エディタで作成または編集可能なテキスト・ファイルです。

表D-1は、インストールCD-ROMのDisk1/stage/Responseディレクトリ(UNIXの場合)またはDisk1\stage\Responseディレクトリ(Windowsの場合)に格納されているレスポンス・ファイルを一覧したものです。

表D-1 Oracle SOA Suiteのインストールおよび構成用のレスポンス・ファイル・テンプレート

テンプレート 説明

oracle.as.soa.top.Custom.rsp

Oracle SOA Suite製品をインストールして構成する際に使用するレスポンス・ファイルのテンプレートです。 GUIと同じようにソフトウェアをインストールし、構成ウィザードを実行してWebLogicドメインを作成または拡張し、Oracle SOA Suite製品を構成します。

このテンプレートを完成させるには、<Value Required>を含む各フィールドに有効な値を指定します。 このファイルの内容は、第D.2.1項「oracle.as.soa.top.Custom.rspファイルの内容」で確認できます。

sampleResponse.rsp

Oracle SOA Suite製品のインストールのみを行う場合に使用するレスポンス・ファイルのテンプレートです。 WebLogicドメインを作成または拡張してOracle SOA Suite製品を構成するには、構成ウィザードを別途実行する必要があります。

このファイルで指定する必要があるのは、ORACLE_HOMEパラメータとMIDDLEWARE_HOMEパラメータのみです。 このファイルの内容は、第D.2.2項「sampleResponse.rspファイルの内容」で確認できます。


初めから用意されているこれらのレスポンス・ファイルだけでなく、独自のレスポンス・ファイルを作成することもできます。インストールGUIを実行し、「インストール・サマリー」画面「保存」をクリックします。 レスポンス・ファイルの名前と作成場所を尋ねられます。 作成後、そのファイルをそのまま使用して他のシステムにインストールを複製することも、必要に応じて修正することもできます。

D.2.1 oracle.as.soa.top.Custom.rspファイルの内容

この項では、UNIXシステム上のDisk1/stage/Response/oracle.as.soa.top.Custom.rspレスポンス・ファイルの内容を示します。

####################################################################
## Copyright (c) 1999, 2009 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=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : FROM_LOCATION
#Datatype   : String
#Description: Complete path to the products.xml.
#Example: FROM_LOCATION = "../stage/products.xml"
#-------------------------------------------------------------------------------
FROM_LOCATION="../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=<Value Required>
#-------------------------------------------------------------------------------
#Name       : ORACLE_BASE
#Datatype   : String
#Description: Complete path of the Oracle Base.
#Example: ORACLE_BASE =
#-------------------------------------------------------------------------------
ORACLE_BASE=<Value Required>

#-------------------------------------------------------------------------------
#Name       : ORACLE_HOME_NAME
#Datatype   : String
#Description: Oracle Home Name. Used in creating folders and services.
#Example: ORACLE_HOME_NAME = "OHOME1"
#-------------------------------------------------------------------------------
ORACLE_HOME_NAME="OHOME1"

#-------------------------------------------------------------------------------
#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=false

#-------------------------------------------------------------------------------
#Name       : SUPPRESS_BUGLIST_WARNING
#Datatype   : Boolean
#Description: Set to true if the Welcome page in OUI needs to be shown.
#Example: SUPPRESS_BUGLIST_WARNING = false
#-------------------------------------------------------------------------------
SUPPRESS_BUGLIST_WARNING=false

#-------------------------------------------------------------------------------
#Name       : SHOW_NODE_SELECTION_PAGE
#Datatype   : Boolean
#Description: Set to true if the node selection page in OUI needs to be shown.
#Example: SHOW_NODE_SELECTION_PAGE = false
#-------------------------------------------------------------------------------
SHOW_NODE_SELECTION_PAGE=false

#-------------------------------------------------------------------------------
#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=false

#-------------------------------------------------------------------------------
#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=false
#-------------------------------------------------------------------------------
#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=true

#-------------------------------------------------------------------------------
#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.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
#    oracle.as.soa.top, 11.0.0.0.0 : Oracle SOA Suite 11g 11.0.0.0.0
#Example: DEINSTALL_LIST = {"oracle.as.soa.top","11.0.0.0.0"}
#-------------------------------------------------------------------------------
DEINSTALL_LIST={"oracle.as.soa.top","11.0.0.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"}
#-------------------------------------------------------------------------------
CLUSTER_NODES=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : REMOTE_NODES
#Datatype   : StringList
#Description: This variable represents the remote node names on which installation is carried out.
#Example: REMOTE_NODES =
#-------------------------------------------------------------------------------
REMOTE_NODES=<Value Required>

#-------------------------------------------------------------------------------
#Name       : LOCAL_NODE
#Datatype   : String
#Description: This variable represents the local node.
#Example: LOCAL_NODE =
#-------------------------------------------------------------------------------
LOCAL_NODE=<Value Required>

#-------------------------------------------------------------------------------
#Name       : RESTART_SYSTEM
#Datatype   : Boolean
#Description: Set to true to allow automatic restart of the system, if set to false then installer will exit without restarting, no exit confirmation dialog is shown
#Example: RESTART_SYSTEM = false
#-------------------------------------------------------------------------------
RESTART_SYSTEM=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : RESTART_REMOTE_SYSTEM
#Datatype   : Boolean
#Description: Set to true to allow automatic restart of the remote systems, if set to false then installer will not restart the remote systems, no exit confirmation dialog is shown
#Example: RESTART_REMOTE_SYSTEM = false
#-------------------------------------------------------------------------------
RESTART_REMOTE_SYSTEM=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : ORACLE_HOSTNAME
#Datatype   : String
#Description: This variable holds the hostname of the system as set by the user.
#Example: ORACLE_HOSTNAME =
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : REMOVE_HOMES
#Datatype   : StringList
#Description: List of the homes to be removed during a deinstall session. Each home is represented by its full path.
#Example: REMOVE_HOMES = {<full_path_of_home1>,<full_path_of_home2>, ...}
#-------------------------------------------------------------------------------
REMOVE_HOMES=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : SHOW_XML_PREREQ_PAGE
#Datatype   : Boolean
#Description: This variable determines whether or not to show the prereq page.
#Example: SHOW_XML_PREREQ_PAGE = true
#-------------------------------------------------------------------------------
SHOW_XML_PREREQ_PAGE=true

#-------------------------------------------------------------------------------
#Name       : SHOW_END_OF_INSTALL_MSGS
#Datatype   : Boolean
#Description: Set to true if the text on end of install screen is to be shown. The text is always available under <Oracle Home>/install/readme.txt.
#Example: SHOW_END_OF_INSTALL_MSGS = true
#-------------------------------------------------------------------------------
SHOW_END_OF_INSTALL_MSGS=true

#-------------------------------------------------------------------------------
#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=true
#-------------------------------------------------------------------------------
#Name       : METALINK_LOCATION
#Datatype   : String
#Description: This variable represents the Oracle metalink location.
#Example: METALINK_LOCATION =
#-------------------------------------------------------------------------------
METALINK_LOCATION=<Value Required>

#-------------------------------------------------------------------------------
#Name       : METALINK_USERNAME
#Datatype   : String
#Description: This variable represents the Oracle metalink user name.
#Example: METALINK_USERNAME =
#-------------------------------------------------------------------------------
METALINK_USERNAME=<Value Required>

#-------------------------------------------------------------------------------
#Name       : MYORACLESUPPORT_USERNAME
#Datatype   : String
#Description: This variable represents the Oracle metalink user name.
#Example: MYORACLESUPPORT_USERNAME =
#-------------------------------------------------------------------------------
MYORACLESUPPORT_USERNAME=<Value Required>

#-------------------------------------------------------------------------------
#Name       : METALINK_PASSWORD
#Datatype   : String
#Description: This variable represents the corresponding Oracle metalink password.
#Example: METALINK_PASSWORD =
#-------------------------------------------------------------------------------
METALINK_PASSWORD=<Value Required>

#-------------------------------------------------------------------------------
#Name       : MYORACLESUPPORT_PASSWORD
#Datatype   : String
#Description: This variable represents the corresponding Oracle metalink password.
#Example: MYORACLESUPPORT_PASSWORD =
#-------------------------------------------------------------------------------
MYORACLESUPPORT_PASSWORD=<Value Required>

#-------------------------------------------------------------------------------
#Name       : PROXY_HOST
#Datatype   : String
#Description: The proxy host  used to connect to Oracle metalink.
#Example: PROXY_HOST =
#-------------------------------------------------------------------------------
PROXY_HOST=<Value Required>

#-------------------------------------------------------------------------------
#Name       : PROXY_PORT
#Datatype   : String
#Description: The proxy port used to connect to Oracle metalink.
#Example: PROXY_PORT =
#-------------------------------------------------------------------------------
PROXY_PORT=<Value Required>
#-------------------------------------------------------------------------------
#Name       : PROXY_REALM
#Datatype   : String
#Description: The realm for the proxy used to connect to Oracle metalink.
#Example: PROXY_REALM =
#-------------------------------------------------------------------------------
PROXY_REALM=<Value Required>

#-------------------------------------------------------------------------------
#Name       : PROXY_USER
#Datatype   : String
#Description: The username for the proxy  used to connect to Oracle metalink.
#Example: PROXY_USER =
#-------------------------------------------------------------------------------
PROXY_USER=<Value Required>

#-------------------------------------------------------------------------------
#Name       : PROXY_PWD
#Datatype   : String
#Description: The password for the proxy  used to connect to Oracle metalink.
#Example: PROXY_PWD =
#-------------------------------------------------------------------------------
PROXY_PWD=<Value Required>

#-------------------------------------------------------------------------------
#Name       : DONT_PROXY_FOR
#Datatype   : String
#Description: The dont proxy for list.
#Example: DONT_PROXY_FOR =
#-------------------------------------------------------------------------------
DONT_PROXY_FOR=<Value Required>

#-------------------------------------------------------------------------------
#Name       : DECLINE_SECURITY_UPDATES
#Datatype   : Boolean
#Description: OUI Session variable set to decline from receiving the security updates
#Example: DECLINE_SECURITY_UPDATES =
#-------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=<Value Required>

#-------------------------------------------------------------------------------
#Name       : COLLECTOR_RESPONSE_FILE
#Datatype   : String
#Description: OUI Session variable used to provide the OCM response file location
#Example: COLLECTOR_RESPONSE_FILE =
#-------------------------------------------------------------------------------
COLLECTOR_RESPONSE_FILE=<Value Required>

#-------------------------------------------------------------------------------
#Name       : SECURITY_UPDATES_VIA_METALINK
#Datatype   : Boolean
#Description: OUI Session variable used to set if the security updates should be received via Metalink details
#Example: SECURITY_UPDATES_VIA_METALINK =
#-------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_METALINK=<Value Required>
#-------------------------------------------------------------------------------
#Name       : SECURITY_UPDATES_VIA_MYORACLESUPPORT
#Datatype   : Boolean
#Description: OUI Session variable used to set if the security updates should be received via Metalink details
#Example: SECURITY_UPDATES_VIA_MYORACLESUPPORT =
#-------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_MYORACLESUPPORT=<Value Required>

#-------------------------------------------------------------------------------
#Name       : TOPLEVEL_COMPONENT
#Datatype   : StringList
#Description: The top level component to be installed in the current session.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
#    oracle.as.soa.top, 11.0.0.0.0 : Oracle SOA Suite 11g 11.0.0.0.0
#Example: TOPLEVEL_COMPONENT = {"oracle.as.soa.top","11.0.0.0.0"}
#-------------------------------------------------------------------------------
TOPLEVEL_COMPONENT={"oracle.as.soa.top","11.0.0.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 =
#-------------------------------------------------------------------------------
SHOW_SPLASH_SCREEN=true

#-------------------------------------------------------------------------------
#Name       : SELECTED_LANGUAGES
#Datatype   : StringList
#Description: Languages in which the components will be installed.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
#    en,   : English
#    fr,   : French
#    ar,   : Arabic
#    bn,   : Bengali
#    pt_BR,   : Brazilian Portuguese
#    bg,   : Bulgarian
#    fr_CA,   : Canadian French
#    ca,   : Catalan
#    hr,   : Croatian
#    cs,   : Czech
#    da,   : Danish
#    nl,   : Dutch
#    ar_EG,   : Egyptian
#    en_GB,   : English (United Kingdom)
#    et,   : Estonian
#    fi,   : Finnish
#    de,   : German
#    el,   : Greek
#    iw,   : Hebrew
#    hu,   : Hungarian
#    is,   : Icelandic
#    in,   : Indonesian
#    it,   : Italian
#    ja,   : Japanese
#    ko,   : Korean
#    es,   : Latin American Spanish
#    lv,   : Latvian
#    lt,   : Lithuanian
#    ms,   : Malay
#    es_MX,   : Mexican Spanish
#    no,   : Norwegian
#    pl,   : Polish
#    pt,   : Portuguese
#    ro,   : Romanian
#    ru,   : Russian
#    zh_CN,   : Simplified Chinese
#    sk,   : Slovak
#    sl,   : Slovenian
#    es_ES,   : Spanish
#    sv,   : Swedish
#    th,   : Thai
#    zh_TW,   : Traditional Chinese
#    tr,   : Turkish
#    uk,   : Ukrainian
#    vi,   : Vietnamese
#Example: SELECTED_LANGUAGES = {"en"}
#-------------------------------------------------------------------------------
#SELECTED_LANGUAGES={"en"}
#-------------------------------------------------------------------------------
#Name       : COMPONENT_LANGUAGES
#Datatype   : StringList
#Description: Languages in which the components will be installed.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
#    en,   : English
#    fr,   : French
#    ar,   : Arabic
#    bn,   : Bengali
#    pt_BR,   : Brazilian Portuguese
#    bg,   : Bulgarian
#    fr_CA,   : Canadian French
#    ca,   : Catalan
#    hr,   : Croatian
#    cs,   : Czech
#    da,   : Danish
#    nl,   : Dutch
#    ar_EG,   : Egyptian
#    en_GB,   : English (United Kingdom)
#    et,   : Estonian
#    fi,   : Finnish
#    de,   : German
#    el,   : Greek
#    iw,   : Hebrew
#    hu,   : Hungarian
#    is,   : Icelandic
#    in,   : Indonesian
#    it,   : Italian
#    ja,   : Japanese
#    ko,   : Korean
#    es,   : Latin American Spanish
#    lv,   : Latvian
#    lt,   : Lithuanian
#    ms,   : Malay
#    es_MX,   : Mexican Spanish
#    no,   : Norwegian
#    pl,   : Polish
#    pt,   : Portuguese
#    ro,   : Romanian
#    ru,   : Russian
#    zh_CN,   : Simplified Chinese
#    sk,   : Slovak
#    sl,   : Slovenian
#    es_ES,   : Spanish
#    sv,   : Swedish
#    th,   : Thai
#    zh_TW,   : Traditional Chinese
#    tr,   : Turkish
#    uk,   : Ukrainian
#    vi,   : Vietnamese
#Example: COMPONENT_LANGUAGES = {"en"}
#Component  : oracle.as.soa.top
#-------------------------------------------------------------------------------

COMPONENT_LANGUAGES={"en"}
#-------------------------------------------------------------------------------
#Name       : DEPENDENCY_LIST
#Datatype   : StringList
#Description: List of dependees that need to be installed along with this product.
#The following choices are available. The value can contain any combination of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
#    oracle.sysman.common.core, 10.2.0.1.0 : Enterprise Manager Common Core Files 11.1.0.2.0
#Example: DEPENDENCY_LIST = {"oracle.sysman.common.core:10.2.0.1.0"}
#Component  : oracle.sysman.common
#-------------------------------------------------------------------------------

DEPENDENCY_LIST={ "oracle.sysman.common.core:11.1.0.2.0" }

D.2.2 sampleResponse.rspファイルの内容

この項では、UNIXシステム上のDisk1/stage/Response/sampleResponse.rspレスポンス・ファイルの内容を示します。

[ENGINE]

#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0

[GENERIC]

#Provide the Oracle Home location. The location has to be the immediate child under the specified Middleware Home location. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty directory or a valid SOA Oracle Home.
ORACLE_HOME=/scratch/aragunad/middleware/Oracle_SOA2

#Provide existing Middleware Home location.
MIDDLEWARE_HOME=/scratch/aragunad/middleware


[SYSTEM]


[APPLICATIONS]


[RELATIONSHIPS]

D.2.3 サイレント・インストールのセキュリティ

レスポンス・ファイルにはインストーラで必要となるパスワードが含まれています。 レスポンス・ファイル内のパスワードに関するセキュリティ上の問題を最小限にするには、次のガイドラインに従います。

  • レスポンス・ファイルに権限を設定し、サイレント・インストールを実行するオペレーティング・システム・ユーザーのみに読取りが制限されるようにします。

  • 可能であれば、サイレント・インストールの終了後にシステムからレスポンス・ファイルを削除します。

D.3 インストール前のタスク

この項では、サイレント・インストールを実施する前に実行する必要のあるタスクについて説明します。

内容は、次のとおりです。

D.3.1 UNIXユーザー: oraInst.locファイルの作成

Oracleインベントリ・ディレクトリは、コンピュータ上にインストールされたすべてのOracle製品をインストーラが追跡するために使用します。 インベントリ・ディレクトリはoraInst.locという名前のファイルに保存されます。 このファイルがシステムに存在しない場合は、サイレント・インストールを実行する前に作成しておく必要があります。 このファイルはインストーラによって使用されます。

  1. rootユーザーとしてログインします。

    prompt> su
    
  2. viやemacsなどのテキスト・エディタを使用して、任意のディレクトリにoraInst.locファイルを作成します。 このファイルは次の2行で構成されます。

    inventory_loc=oui_inventory_directory
    inst_group=oui_install_group
    

    oui_inventory_directoryを、インベントリ・ディレクトリを作成するディレクトリへのフルパスに置換します。 さらに、oui_install_groupを、このディレクトリに対する書込み権限を持つメンバーのグループ名に置換します。

  3. rootユーザーからログオフします。

    # exit
    

D.3.2 Windowsユーザー: レジストリ・キーの作成

コンピュータにOracle SOA Suiteをインストールしたことがない場合は、次のレジストリ・キーと値を作成する必要があります。

HKEY_LOCAL_MACHINE / SOFTWARE / Oracle / inst_loc = [inventory_directory]

Inventory_Directoryをインストーラ・ファイルへのフルパスに置換します。次に例を示します。

C:Program Files\Oracle\Inventory

D.4 サイレント・インストールの手順

次に、UNIXシステムでコマンドラインからインストーラを実行する際の構文を示します。

runInstaller [-mode] [-options] [(<CommandLinevariable=Value>)*]

Windowsシステムの場合

setup.exe [-mode] [-options] [(<CommandLinevariable=Value>)*]

表D-2 インストーラのコマンドライン・パラメータ

パラメータ 説明

インストール・モード - 1つのみ指定可能

-i

-install

インストーラをGUIモードで起動します。 これがデフォルトのモードです。コマンドラインでモードを指定しない場合はこのモードが使用されます。

-silent

サイレント・モードでインストールします。 インストーラにレスポンス・ファイルまたはコマンドライン変数と値のペアを渡す必要があります。

-d

-deinstall

アンインストールを実行するために、インストーラをGUIモードで起動します。

-p

-prerequisite

インストーラをGUIモードで起動しますが、前提条件のチェックのみを実行します。 ソフトウェアはインストールされません。

-v

-validate

インストーラをGUIモードで起動し、すべての前提条件チェックと妥当性チェックを実行しますが、ソフトウェアはインストールしません。

-sv

-silentvalidate

すべての前提条件チェックと妥当性チェックをサイレント・モードで実行します。 インストーラにレスポンス・ファイルまたは一連のコマンドライン変数と値のペアを渡す必要があります。

インストール・オプション

-help

--help

--usage

runInstallerコマンドで使用できるusageパラメータを表示します。

-invPtrLoc file

インベントリの場所へのポインタです。 fileの部分をoraInst.locファイルのフルパス名に置換します。

-response file

-responseFile file

レスポンス・ファイルへのポインタです。 fileの部分をレスポンス・ファイルのフルパス名に置換します。

-jreLoc location

Java Runtime Environment(JRE)がインストールされている場所へのポインタです。 locationの部分をJREがインストールされているjreディレクトリのフルパスに置換します。

-logLevel level

インストーラで実行するロギングのレベルを指定します。levelで指定したレベルよりも低い重要性のメッセージがすべて記録されます。 有効なレベルは次のとおりです。

  • severe

  • warning

  • info

  • config

  • fine

  • finer

  • finest

-debug

インストーラからデバッグ情報を取得します。

-force

空ではないディレクトリへのサイレント・インストールを許可します。

-printdiskusage

ディスク使用に関するデバッグ情報をログに記録します。

-printmemory

メモリー使用に関するデバッグ情報をログに記録します。

-printtime

時間使用に関するデバッグ情報をログに記録します。 このコマンドを実行すると、timeTakentimestamp.logファイルが作成されます。

-waitforcompletion

Windowsのみ: Javaエンジンを生成して終了するのではなく、インストーラは完了を待機します。

-noconsole

コンソール・ウィンドウにメッセージを表示しないようにします。

-ignoreSysPrereqs

システムの前提条件チェックの結果を無視してインストールを続行します。

-executeSysPrereqs

システムの前提条件チェックのみを実行して終了します。

-paramFile file

oraparam.iniファイルのフルパスを指定します。 このファイルはインストーラの初期化ファイルです。 このファイルのデフォルトの場所は、Disk1/install/platformです。

-novalidation

インストーラによって実行されるすべての妥当性チェックを無効にします。

-nodefaultinput

GUIインストールでは、一部の画面に情報やデフォルト値があらかじめ入力されています。 このオプションを指定するとこの動作が無効化され、情報や値があらかじめ入力されなくなります。

コマンドライン変数

インストーラ変数

インストーラ変数は、varName=valueの形式で指定します。次に例を示します。

ORACLE_HOME=/scratch/jdoe/Oracle/Middleware/Oracle_SOA1

セッション変数

セッション変数は、session:varName=valueの形式で指定します。

コンポーネント変数

コンポーネント変数は、session:compInternalName:[Version:]varName=valueの形式で指定します。


D.4.1 サンプル・コマンド

これがシステムでの初めてのインストールの場合(Oracleインベントリの場所がまだ存在しない)、UNIXシステムでサイレント・インストールを実行するには次のコマンドを使用します。

./runInstaller -silent -response file -invPtrLoc file

Windowsシステムの場合

setup.exe -silent -response file -invPtrLoc file

次に、このコマンドをUNIXシステムで実行する場合の完全例を示します。

./runInstaller -silent -response /home/Oracle/response/devSOA.rsp -invPtrLoc /home/jdoe/oraInst.loc

Windowsの場合

setup.exe -silent -response C:\home\Oracle\response\devSOA.rsp -invPtrLoc c:\home\Oracle\oraInst.loc

システムにOracle製品をインストール済で、インベントリの場所を指定する必要がない場合は、UNIXシステムで、次のようなコマンドを使用します。

./runInstaller -silent -response file

Windowsシステムの場合

setup.exe -silent -response file

次に、このコマンドをUNIXシステムで実行する場合の完全例を示します。

./runInstaller -silent -response /home/Oracle/response/devSOA.rsp

Windowsの場合

setup.exe -silent -response c:\home\Oracle\response\devSOA.rsp

D.4.2 サンプル出力

次は、sampleResponse.rspテンプレートを使用してサイレント・インストールを実行したときのサンプル出力です。

$ ./runInstaller -jreLoc /home/Oracle/Middleware/jdk160_11/ -silent -response /home/Oracle/response/sampleResponse.rsp
Platform is Linux X86 32 bit
Starting Oracle Universal Installer...

Checking if CPU speed is above 300 MHz.    Actual 2999 MHz    Passed
Checking Temp space: must be greater than 150 MB.   Actual 69669 MB    Passed
Checking swap space: must be greater than 512 MB.   Actual 1395 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-04-03_10-49-20PM. Please wait ...[jdoe@dadvmn0789 Disk1]$ Log: /home/Oracle/oraInventory/logs/install2009-04-03_10-49-20PM.log
Copyright © 1999, 2009, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Expected result: One of enterprise-4,enterprise-5,redhat-4,redhat-5,SuSE-10
Actual Result: enterprise-4
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.
Checking for gcc-3.4.3-22.1; found gcc-3.4.6-10.0.1-i386.       Passed
Checking for gcc-c++-3.4.3-22.1; found gcc-c++-3.4.6-10.0.1-i386.       Passed
Checking for openmotif21-2.1.30-11.RHEL4.4 ; found openmotif21-2.1.30-11.0.1.RHEL4.6-i386.      Passed
Checking for setarch-1.6-1; found setarch-1.6-1-i386.   Passed
Checking for pdksh-5.2.14-30; found pdksh-5.2.14-30.6-i386.     Passed
Checking for sysstat-5.0.5-1; found sysstat-5.0.5-19.el4-i386.  Passed
Checking for gnome-libs-1:1.4.1.2.90-44.1; found gnome-libs-1:1.4.1.2.90-44.2-i386.     Passed
Checking for libstdc++-3.4.3-22.1 ; found libstdc++-3.4.6-10.0.1-i386.  Passed
Checking for libstdc++-devel-3.4.3-22.1; found libstdc++-devel-3.4.6-10.0.1-i386.       Passed
Checking for compat-libstdc++-296-2.96-132.7.2; found compat-libstdc++-296-2.96-132.7.2-i386.   Passed
Checking for compat-db-4.1.25-9; found compat-db-4.1.25-9-i386. Passed
Checking for control-center-2.8.0-12; found control-center-1:2.8.0-12.rhel4.5-i386.     Passed
Checking for glibc-common-2.3.4-2.9; found glibc-common-2.3.4-2.41-i386.        Passed
Checking for binutils-2.15.92.0.2-13; found binutils-2.15.92.0.2-25-i386.       Passed
Checking for make-1:3.80-5; found make-1:3.80-7.EL4-i386.       Passed
Checking for xscreensaver-4.18-5.rhel4.2; found xscreensaver-1:4.18-5.rhel4.14.0.1-i386.        Passed
Check complete. The overall result of this check is: Passed
Packages Check: Success.
Checking for VERSION=2.6.9; found VERSION=2.6.9-78.0.0.0.1.ELxenU.      Passed
Checking for hardnofiles=4096; found hardnofiles=4096.  Passed
Checking for softnofiles=4096; found softnofiles=4096.  Passed
Check complete. The overall result of this check is: Passed
Kernel Check: Success.
Expected result: ATLEAST=2.3.4-2.19
Actual Result: 2.3.4-2.41
Check complete. The overall result of this check is: Passed
GLIBC Check: Success.
Expected result: 922MB
Actual Result: 4000MB
Check complete. The overall result of this check is: Passed
TotalMemory Check: Success.
Verifying data......
Copying Files...
-----------20%----------40%----------60%----------80%--------100%

The installation of Oracle SOA Suite 11g completed successfully.