この付録では、Oracle SOA Suiteをコマンドラインからサイレント・モードでインストールする方法を説明します。 この付録の構成は、次のとおりです。
サイレント・インストールには視覚的な出力がなく、ユーザー入力も要求されないため、Oracle SOA Suiteのインストール状況を監視する必要がありません。
Oracle SOA Suiteのサイレント・インストールを実行するには、コマンドラインでインストーラにレスポンス・ファイルを渡し、-silent
フラグを指定します。 レスポンス・ファイルとは、インストーラのプロンプトに対する回答となる変数とパラメータの値が格納されたテキスト・ファイルです。
注意: UNIXユーザーの場合は、これがOracle SOA Suiteの初めてのインストールの場合、インストール前にoraInst.loc ファイルを作成する必要があります。 詳細は、第D.3.1項「UNIXユーザー: oraInst.loc ファイルの作成」を参照してください。
Oracle SOA Suiteのインストールに続いて、rootユーザーとして |
注意: Windowsユーザーの場合は、これがOracle SOA Suiteの初めてのインストールの場合、インストール前にレジストリ・キーを作成する必要があります。 レジストリ・キーの作成については、第D.3.2項「Windowsユーザー: レジストリ・キーの作成」で説明します。 |
サイレント・インストールを実施する前に、インストールに関する情報をレスポンス・ファイルに記述する必要があります。 不適切な構成のレスポンス・ファイルを使用してインストールを試行した場合、インストールは失敗します。 レスポンス・ファイルはテキスト・エディタで作成または編集可能なテキスト・ファイルです。
表D-1は、インストールCD-ROMのDisk1/stage/Response
ディレクトリ(UNIXの場合)またはDisk1\stage\Response
ディレクトリ(Windowsの場合)に格納されているレスポンス・ファイルを一覧したものです。
表D-1 Oracle SOA Suiteのインストールおよび構成用のレスポンス・ファイル・テンプレート
テンプレート | 説明 |
---|---|
|
Oracle SOA Suite製品をインストールして構成する際に使用するレスポンス・ファイルのテンプレートです。 GUIと同じようにソフトウェアをインストールし、構成ウィザードを実行してWebLogicドメインを作成または拡張し、Oracle SOA Suite製品を構成します。 このテンプレートを完成させるには、 |
|
Oracle SOA Suite製品のインストールのみを行う場合に使用するレスポンス・ファイルのテンプレートです。 WebLogicドメインを作成または拡張してOracle SOA Suite製品を構成するには、構成ウィザードを別途実行する必要があります。 このファイルで指定する必要があるのは、 |
初めから用意されているこれらのレスポンス・ファイルだけでなく、独自のレスポンス・ファイルを作成することもできます。インストールGUIを実行し、「インストール・サマリー」画面で「保存」をクリックします。 レスポンス・ファイルの名前と作成場所を尋ねられます。 作成後、そのファイルをそのまま使用して他のシステムにインストールを複製することも、必要に応じて修正することもできます。
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" }
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]
この項では、サイレント・インストールを実施する前に実行する必要のあるタスクについて説明します。
内容は、次のとおりです。
oraInst.loc
ファイルの作成Oracleインベントリ・ディレクトリは、コンピュータ上にインストールされたすべてのOracle製品をインストーラが追跡するために使用します。 インベントリ・ディレクトリはoraInst.loc
という名前のファイルに保存されます。 このファイルがシステムに存在しない場合は、サイレント・インストールを実行する前に作成しておく必要があります。 このファイルはインストーラによって使用されます。
root
ユーザーとしてログインします。
prompt> su
viやemacsなどのテキスト・エディタを使用して、任意のディレクトリにoraInst.loc
ファイルを作成します。 このファイルは次の2行で構成されます。
inventory_loc=oui_inventory_directory inst_group=oui_install_group
oui_inventory_directory
を、インベントリ・ディレクトリを作成するディレクトリへのフルパスに置換します。 さらに、oui_install_group
を、このディレクトリに対する書込み権限を持つメンバーのグループ名に置換します。
root
ユーザーからログオフします。
# exit
コンピュータにOracle SOA Suiteをインストールしたことがない場合は、次のレジストリ・キーと値を作成する必要があります。
HKEY_LOCAL_MACHINE / SOFTWARE / Oracle / inst_loc = [inventory_directory]
Inventory_Directory
をインストーラ・ファイルへのフルパスに置換します。次に例を示します。
C:Program Files\Oracle\Inventory
次に、UNIXシステムでコマンドラインからインストーラを実行する際の構文を示します。
runInstaller [-mode] [-options] [(<CommandLinevariable=Value>)*]
Windowsシステムの場合
setup.exe [-mode] [-options] [(<CommandLinevariable=Value>)*]
表D-2 インストーラのコマンドライン・パラメータ
パラメータ | 説明 |
---|---|
インストール・モード - 1つのみ指定可能 |
|
|
インストーラをGUIモードで起動します。 これがデフォルトのモードです。コマンドラインでモードを指定しない場合はこのモードが使用されます。 |
|
サイレント・モードでインストールします。 インストーラにレスポンス・ファイルまたはコマンドライン変数と値のペアを渡す必要があります。 |
|
アンインストールを実行するために、インストーラをGUIモードで起動します。 |
|
インストーラをGUIモードで起動しますが、前提条件のチェックのみを実行します。 ソフトウェアはインストールされません。 |
|
インストーラをGUIモードで起動し、すべての前提条件チェックと妥当性チェックを実行しますが、ソフトウェアはインストールしません。 |
|
すべての前提条件チェックと妥当性チェックをサイレント・モードで実行します。 インストーラにレスポンス・ファイルまたは一連のコマンドライン変数と値のペアを渡す必要があります。 |
インストール・オプション |
|
|
|
|
インベントリの場所へのポインタです。 fileの部分を |
|
レスポンス・ファイルへのポインタです。 fileの部分をレスポンス・ファイルのフルパス名に置換します。 |
|
Java Runtime Environment(JRE)がインストールされている場所へのポインタです。
locationの部分をJREがインストールされている |
|
インストーラで実行するロギングのレベルを指定します。levelで指定したレベルよりも低い重要性のメッセージがすべて記録されます。 有効なレベルは次のとおりです。
|
|
インストーラからデバッグ情報を取得します。 |
|
空ではないディレクトリへのサイレント・インストールを許可します。 |
|
ディスク使用に関するデバッグ情報をログに記録します。 |
|
メモリー使用に関するデバッグ情報をログに記録します。 |
|
時間使用に関するデバッグ情報をログに記録します。 このコマンドを実行すると、 |
|
Windowsのみ: Javaエンジンを生成して終了するのではなく、インストーラは完了を待機します。 |
|
コンソール・ウィンドウにメッセージを表示しないようにします。 |
|
システムの前提条件チェックの結果を無視してインストールを続行します。 |
|
システムの前提条件チェックのみを実行して終了します。 |
|
|
|
インストーラによって実行されるすべての妥当性チェックを無効にします。 |
|
GUIインストールでは、一部の画面に情報やデフォルト値があらかじめ入力されています。 このオプションを指定するとこの動作が無効化され、情報や値があらかじめ入力されなくなります。 |
コマンドライン変数 |
|
インストーラ変数 |
インストーラ変数は、 ORACLE_HOME=/scratch/jdoe/Oracle/Middleware/Oracle_SOA1 |
セッション変数 |
セッション変数は、 |
コンポーネント変数 |
コンポーネント変数は、 |
これがシステムでの初めてのインストールの場合(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
次は、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.