Yaping's Weblog

April 13, 2009

Silently install Oracle database software to custom components

Filed under: Oracle — Yaping @ 2:40 pm

Sometimes we have to install Oracle software silently, and choose components as we need.

If so, we should specify parameters -silent and -responseFile when we run runInstaller command.

The value of -responseFile can be ../database/response/custom.rsp, there’re several important setting in custom.rsp.

custom.rsp:

#——————————————————————————

#Name : FROM_LOCATION

#Datatype : String

#Description: Complete path to the products.xml.

#Example : FROM_LOCATION = “../source/db/Disk1/stage/products.xml”

#——————————————————————————

FROM_LOCATION=”../database/stage/products.xml”

#——————————————————————————

#Name : INSTALL_TYPE

#Datatype : String

#Description: Installation type of the component.

#

# The following choices are available. The value should contain

# only one of these choices.

# EE : Enterprise Edition

# SE : Standard Edition

# Custom : Custom

#Example : INSTALL_TYPE = “Custom”

#——————————————————————————

INSTALL_TYPE=”Custom”

#——————————————————————————

#Name : oracle.server:DEPENDENCY_LIST

#Datatype : StringList

#Description: List of products that you would like to install.

#

# The following choices are available. You may specify any

# combination of these choices. The components you choose should

# be specified in the form “:”

# Below is a list of components you may specify to install.

#

# oracle.rdbms:11.1.0.6.0 – Oracle Database 11g

# oracle.options:11.1.0.6.0 – Enterprise Edition Options

# oracle.network:11.1.0.6.0 – Oracle Net Services

# oracle.sysman.console.db:11.1.0.5.0 – Database Control

# oracle.rdbms.oci:11.1.0.6.0 – Oracle Call Interface (OCI)

# oracle.precomp:11.1.0.6.0 – Oracle Programmer

# oracle.xdk:11.1.0.6.0 – Oracle XML Development Kit

# oracle.sqlplus.isqlplus:11.1.0.6.0 – iSQL*Plus

# oracle.odbc:11.1.0.6.0 – Oracle ODBC Driver

# oracle.sysman.ccr:10.2.6.0.0 – Oracle Configuration Manager

#

#Example : DEPENDENCY_LIST = {“oracle.rdbms:11.1.0.6.0”}

#——————————————————————————

oracle.server:DEPENDENCY_LIST={“oracle.rdbms:11.1.0.6.0″,”oracle.options:11.1.0.6.0″,”oracle.network:11.1.0.6.0″,”oracle.sysman.console.db:11.1.0.5.0″,”oracle.rdbms.oci:11.1.0.6.0″,”oracle.precomp:11.1.0.6.0″,”oracle.xdk:11.1.0.6.0″,”oracle.sqlplus.isqlplus:11.1.0.6.0″,”oracle.odbc:11.1.0.6.0″,”oracle.sysman.ccr:10.2.6.0.0”}

#——————————————————————————

#Name : oracle.options:DEPENDENCY_LIST

#Datatype : StringList

#Description: List of Enterprise Edition Options you would like to install.

#

# The following choices are available. You may specify any

 # combination of these choices. The components you choose should

# be specified in the form “:”

# Below is a list of components you may specify to install.

#

# oracle.network.aso:11.1.0.6.0 – Oracle Advanced Security

# oracle.rdbms.partitioning:11.1.0.6.0 – Oracle Partitioning

# oracle.sdo:11.1.0.6.0 – Oracle Spatial

# oracle.rdbms.lbac:11.1.0.6.0 – Oracle Label Security

# oracle.oraolap:11.1.0.6.0 – Oracle OLAP

# oracle.rdbms.dmse:11.1.0.6.0 – Oracle Data Mining Scoring Engine

#

#Example : DEPENDENCY_LIST = {“oracle.rdbms.partitioning:11.1.0.6.0”}

#——————————————————————————

oracle.options:DEPENDENCY_LIST={“oracle.network.aso:11.1.0.6.0″,”oracle.rdbms.partitioning:11.1.0.6.0″,”oracle.sdo:11.1.0.6.0″,”oracle.oraolap:11.1.0.6.0″,”oracle.rdbms.lbac:11.1.0.6.0″,”oracle.rdbms.dmse:11.1.0.6.0″,”oracle.rdbms.rat:11.1.0.6.0″,”oracle.rdbms.dm:11.1.0.6.0″,”oracle.rdbms.dv:11.1.0.6.0″}

Some server/options value don’t be listed on the above description part, but you can find them in the products.xml file, like the following, then we can use them to set the value of oracle.server/oracle.options:

products.xml:

<COMP NAME=”oracle.rdbms.rat” VER=”11.1.0.6.0″ BUILD_NUMBER=”0″ REP_VER=”0.0.0.0.0″ RELEASE=”Production” INV_LOC=”Components/oracle.rdbms.rat/11.1.0.6.0/1/” LANGS=”ALL_LANGS” STG_PLAT=”Linux” PLAT=”ALL_PLATFORMS”>
   <EXT_NAME>Oracle Real Application Testing</EXT_NAME>
   <DESCID>COMPONENT_DESC</DESCID>

<COMP NAME=”oracle.rdbms.dm” VER=”11.1.0.6.0″ BUILD_NUMBER=”0″ REP_VER=”0.0.0.0.0″ RELEASE=”Production” INV_LOC=”Components/oracle.rdbms.dm/11.1.0.6.0/1/” LANGS=”ALL_LANGS” STG_PLAT=”Linux” PLAT=”ALL_PLATFORMS”>
   <EXT_NAME>Oracle Data Mining RDBMS Files</EXT_NAME>

<COMP NAME=”oracle.rdbms.dv” VER=”11.1.0.6.0″ BUILD_NUMBER=”0″ REP_VER=”0.0.0.0.0″ RELEASE=”Production” INV_LOC=”Components/oracle.rdbms.dv/11.1.0.6.0/1/” LANGS=”ALL_LANGS” STG_PLAT=”Linux” PLAT=”ALL_PLATFORMS”>
   <EXT_NAME>Oracle Database Vault option</EXT_NAME>

Advertisements

1 Comment »

  1. Hi, good post. I have been thinking about this topic,so thanks for blogging. I’ll definitely be coming back to your posts. Keep up great writing

    Comment by With This Diet I Was Able to Lose Thirty Póunds in Under a Month — May 6, 2009 @ 8:49 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: