Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
   
ORACLE SILENT MODE INSTALLATION




By swaws ji
Aug 03, 2008

Digg! digg!     Print    email to friend Email to Friend

Note: This article was written for educational purpose only. Please refer to the related vendor documentation for detail.




Download Free Confio Software

ORACLE SILENT MODE INSTALLATION 

You can automate the installation and configuration of Oracle software, either fully or partially, by specifying a response file when you start the Oracle Universal Installer. The Installer uses the values contained in the response file to provide answers to some or all of the Installer prompts:

If you include responses for all of the prompts in the response file and specify the -silent option when starting the Installer, then the Installer runs in silent mode. During a silent-mode installation, the Installer does not display any screens. Instead, it displays progress information in the terminal that you used to start it.

PREREQUEST

Adding dba group

[root@tritya root]# groupadd -g 200 dba

oracle User creation

[root@tritya root]# useradd -g dba -d /home/oracle -s /bin/bash -c Oracle Software Owner -m -u 300 oracle

Kernel Settings

vi /etc/sysctl.conf

SET THE ORACLE RECOMENDED KERNEL PARAMETERS IN THIS FILE

OraInst file

[root@tritya root]# mkdir -p /var/opt/oracle
[root@tritya root]# cd /var/opt/oracle
[root@tritya oracle]# vi oraInst.loc

and enter the values

inventory_loc=home/oracle/oraInventory
inst_group=
(save and exit)

[root@tritya root]# cat /var/opt/oracle/oraInst.loc
inventory_loc=home/oracle/oraInventory
inst_group=

[root@tritya oracle]# chown oracle:dba oraInst.loc

[root@tritya oracle]# chmod 664 oraInst.loc

[root@tritya oracle]# su - oracle

[oracle@tritya oracle]$ cd database/response/

[oracle@tritya response]$ vi enterprise.rsp

Modify the Below Three Values for SOFTWARE ONLY INSTALLATION

ORACLE_HOME=/home/oracle/product/10.2.0.1

ORACLE_HOME_NAME=orcl

n_configurationOption=3

[oracle@tritya database]$ ./runInstaller -silent -responsefile /home/oracle/database/response/enterprise.rsp
Starting Oracle Universal Installer...
...............

skipped ....

Installation in progress (Thu May 15 23:54:45 IST 2008)
............................................................... 18% Done.
............................................................... 36% Done.
............................................................... 54% Done.
............................................................... 73% Done.
............ 76% Done.
Install successful

Linking in progress (Thu May 15 23:59:36 IST 2008)
Link successful

Setup in progress (Fri May 16 00:06:30 IST 2008)
.............. 100% Done.
Setup successful

The following configuration scripts
/home/oracle/product/10.2.0.1/root.sh
need to be executed as root for configuring the system. If you skip the execution of the configuration tools, the configuration will not be complete and the product wont function properly. In order to get the product to function properly, you will be required to execute the scripts and the configuration tools after exiting the OUI.

Open A new Window with root user and execute the below script

[root@tritya ]# sh /home/oracle/product/10.2.0.1/root.sh
Running Oracle10 root.sh script...

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /home/oracle/product/10.2.0.1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
[root@tritya ]#

Test Oracle Installation From Oracle User

[oracle@tritya oracle]$ source .bash_profile

[oracle@tritya oracle]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Fri May 16 00:10:19 2008

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to an idle instance.

SQL>

 



Comments/Reviews on this article:
Aime  Tchang
Sep 04, 2008

I don’t’ understand, where do you set the response file to? And how is that response file presented? How do you direct the OUI to that file? Thank

swaws  ji
Sep 21, 2008

Aime Tchang
Sep 04, 2008

I don’t’ understand, where do you set the response file to? And how is that response file presented? How do you direct the OUI to that file? Thank


Response file is available in the software package .
[oracle@tritya oracle]$ cd database/response/

[oracle@tritya response]$ vi enterprise.rsp

Modify the Below Three Values for SOFTWARE ONLY INSTALLATION

ORACLE_HOME=/home/oracle/product/10.2.0.1

ORACLE_HOME_NAME=orcl

n_configurationOption=3

TO Install with the response file, aruguments are passed with ./runInstaller ..

[oracle@tritya database]$ ./runInstaller -silent -responsefile /home/oracle/database/response/enterprise.rsp





 
About author:

 

Please login to post your comments





  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software