Sunday, 5 February 2017

Oracle 11.2.0.4 installation using Silent Mode on NON RAC

Overview:

In this article we performing installaiton of Oracle 11.2.0.4 installation on NON RAC.

Environment Details

Hostname
Primary server :–lnx-nsm-prod
Operating system
Linux
Database Environment
NSMDB


Software requirement:

1.3 GB
1.1 GB
1.1 GB

Download Oracle 11.2.0.4 from MOS
11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER (Patchset)

Copy downloaded Oracle 11.2.0.4 software to staging area.

$ cd /u01/app/oracle/software/
$ mkdir 11204

Create oracle user and group

#/usr/sbin/groupadd -g oinstall
#/usr/sbin/groupadd -g dba
#/usr/sbin/useradd -u -g oinstall -G dba oracle

Create Directories structure and give permissions

#mkdir -p /u01/app/oracle
#mkdir -p /u01/app/oracle/product/11.2.0.4/db
#mkdir -p /u01/app/oracle/product/Agent12c/core/12.1.0.4.0
#mkdir -p /u01/app/oracle/product/Agent12c
#mkdir -p /u01/app/11.2.0.4/grid

Permission on directories :

#chown -R oracle:oinstall /u01
#chmod -R 775 /u01

Login with  oracle user and edit Profile

#su - oracle
$vi .bash_profile  --> Update the below in bash profile.
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
export HISTTIMEFORMAT='%F %T '
#
PS1=`hostname`' {$PWD}: '; export PS1
set -o vi
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0.4/db
export AGENT_HOME=$ORACLE_BASE/product/Agent12c/core/12.1.0.4.0
export AGENT_BASE_DIR=$ORACLE_BASE/product/Agent12c

Unzip the oracle software 

$cd /u01/app/oracle/software/11204
$unzip p13390677_112040_Linux-x86-64_1of7.zip
$unzipp13390677_112040_Linux-x86-64_2of7.zip
$unzipp13390677_112040_Linux-x86-64_3of7.zip


Installing Oracle 11.2.0.4 in slient mode

$cd /u01/app/oracle/software/11204/database

Update db_rsp file only required fields as below.

ORACLE_HOSTNAME=lnx-nsm-prod
INVENTORY_LOCATION=/u01/app/oraInventory
ORACLE_HOME=/u01/app/oracle/product/11.2.0.4/db
ORACLE_BASE=/u01/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.4.0,oracle.oraolap:11.2.0.4.0,oracle.rdbms.dm:11.2.0.4.0,oracle.rdbms.dv:11.2.0.4.0,oracle.rdbms.lbac:11.2.0.4.0,oracle.rdbms.rat:11.2.0.4.0
oracle.install.db.DBA_GROUP=dba
oracle.install.db.OPER_GROUP=dba

Now RunInstaller
$cd /u01/app/oracle/software/11204/database
$./runInstaller -ignoreSysPrereqs -force -silent -responseFile /u01/app/oracle/software/11204/database/db_install_nsm.rsp



Run the sh file at the end of installation

#/u01/app/oraInventory/orainstRoot.sh
#/u01/app/oracle/product/11.2.0.4/db/root.sh


Conclusion:
In this article we have learnt how to install oracle 11.2.0.4 software on NON RAC using oracle response file in silent mode.  

No comments:

Post a Comment