learn-oracle

Oracle DBA






ORACLE SILENT MODE INSTALLATION


You can automate the installation and configuration of Oracle software, either fully or partially, by specifying a response file when Oracle dba 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 Oracle dba 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 Oracle dba 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, Oracle dba 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>

More Tutorials on Oracle dba ...


Liked it ? Want to share it ? Social Bookmarking

Add to: Mr. Wong Add to: BoniTrust Add to: Newsider Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Jumptags Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Technorati Add to: Newsvine Information


Source : Website | Oracle DBA

Want to share or request Oracle Tutorial articles to become a Oracle DBA. Direct your requests to webmaster@oracleonline.info





   Oracle Jobs   

   Forum
Oracle Forum   
   Ask A Question