oracle 11.2.0.2 silent install

just another day at my work, my boss ask me to install a database software 11.2.0.2.
i don’t have the privilege of using GUI installer since the server reside in the other side of the world.
so decided to use silent install.

unlike with other version of oracle the 11.2.0.2 installer is different.
for 10.2

$ runInstaller -silent                                 \
      -responseFile $DISTRIB/response/enterprise.rsp   \
       ORACLE_HOME=/opt/app/oracle/product/10.2.0/db_1 \
       ORACLE_HOME_NAME=ORADB102_Home10                 \
       n_configurationOption=3

for 11.1

$ runInstaller -silent                                 \
      -responseFile $DISTRIB/response/enterprise.rsp   \
       FROM_LOCATION=$DISTRIB/stage/products.xml       \
       ORACLE_BASE=/opt/app/oracle                     \
       ORACLE_HOME=/opt/app/oracle/product/11.1.0/db_1 \
       ORACLE_HOME_NAME=ORADB111_Home1                 \
       n_configurationOption=3

but for 11.2.02

./runInstaller -silent \
-ignoreSysPrereqs \
-ignorePrereq \
-responseFile /backup/software/11gR2/database/response/db_install.rsp \
ORACLE_BASE=/opt/app/oracle \
ORACLE_HOME=/opt/app/oracle/product/11.2.0.2/db_1 \
ORACLE_HOME_NAME=OraDbHome11202 \
oracle.install.option=INSTALL_DB_SWONLY \
oracle.install.db.InstallEdition=EE \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=dba \
DECLINE_SECURITY_UPDATES=true \
'-ignoreInternalDriverError'

the installation….

lnxora01:pexb $ ./runInstaller -silent \
> -ignoreSysPrereqs \
> -ignorePrereq \
> 
> ORACLE_BASE=/opt/app/oracle \
> 
> ORACLE_HOME_NAME=OraDbHome11202 \
> oracle.install.option=INSTALL_DB_SWONLY \
> oracle.install.db.InstallEdition=EE \
> oracle.install.db.DBA_GROUP=dba \
> oracle.install.db.OPER_GROUP=dba \
oracle.install.db.OPER_GROUP=dba \
> DECLINE_SECURITY_UPDATES=true \
> '-ignoreInternalDriverError'
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 5604 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 17407 MB    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-01-25_07-08-21AM. Please wait ...lnxora01:pexb $

the warning below shows up since my User home and ORACLE_BASE is same and can be ignored.

[WARNING] [INS-32008] Oracle base location cant be same as the user home directory.
   CAUSE: The specified Oracle base is same as the user home directory.
   ACTION: Provide an Oracle base location other than the user home directory.

You can find the log of this install session at:

/opt/app/oraInventory/logs/installActions2012-01-25_07-08-21AM.log

if you tailed the alert log…

 
INFO: Completed validating state 
INFO: Terminating all background operations
INFO: Terminated all background operations
INFO: Successfully executed the flow in SILENT mode
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is 0
INFO: Shutdown Oracle Database 11g Release 2 Installer
INFO: Unloading Setup Driver

now it’s time to execute the root.sh. for me need to wait until our UNIX admin arrives.

 
As a root user, execute the following script(s):
        1. /opt/app/oracle/product/11.2.0.2/db_1/root.sh

Successfully Setup Software.

thanks!

bai

About these ads

2 Responses to oracle 11.2.0.2 silent install

  1. rsu says:

    wt abt oraInst.loc File is it not necessary…?
    i think we need to add the following details in oraInst.loc File
    inventory_loc=oui_inventory_directory
    inst_group=oui_install_group

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

Follow

Get every new post delivered to your Inbox.