Friday, July 19, 2013

Silent Install Oracle 12c software and database Console mode

Following are the steps to install Oracle database 12c in Oracle Linux 6.4.

It assumes that OS has been installed, Oracle 12c software has been downloaded, per-requistes have been configured (best way is to use Oracle pre-install rpm).

Step 1:

Create /etc/oraInst.loc file and make following entries in it by root user:

inventory_loc=/u01/app/oraInventory
inst_group=oinstall

chown oracle:oinstall oraInst.loc
chmod 664 oraInst.loc






Step 2:

Prepare the response file db_install.rsp by oracle user located in database/response directory. Following is the response file I used:



oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.1.0


oracle.install.option=INSTALL_DB_SWONLY

ORACLE_HOSTNAME=sourcetest.world.com


UNIX_GROUP_NAME=oinstall


INVENTORY_LOCATION=/u01/app/oraInventory

SELECTED_LANGUAGES=en


ORACLE_HOME=/u01/app/oracle/product/12.1.0/db_1

ORACLE_BASE=/u01/app/oracle


oracle.install.db.InstallEdition=EE


oracle.install.db.DBA_GROUP=dba


oracle.install.db.OPER_GROUP=dba


oracle.install.db.BACKUPDBA_GROUP=dba


oracle.install.db.DGDBA_GROUP=dba

oracle.install.db.KMDBA_GROUP=dba



oracle.install.db.rac.configurationType=

oracle.install.db.CLUSTER_NODES=

oracle.install.db.isRACOneInstall=

oracle.install.db.racOneServiceName=

oracle.install.db.rac.serverpoolName=

oracle.install.db.rac.serverpoolCardinality=

oracle.install.db.config.starterdb.type=GENERAL_PURPOSE

oracle.install.db.config.starterdb.globalDBName=sourcetest

oracle.install.db.config.starterdb.SID=sourcetest

oracle.install.db.ConfigureAsContainerDB=

oracle.install.db.config.PDBName=

oracle.install.db.config.starterdb.characterSet=WE8MSWIN1252

oracle.install.db.config.starterdb.memoryOption=true

oracle.install.db.config.starterdb.memoryLimit=1024

oracle.install.db.config.starterdb.installExampleSchemas=false

oracle.install.db.config.starterdb.password.ALL=picasso

oracle.install.db.config.starterdb.password.SYS=picasso

oracle.install.db.config.starterdb.password.SYSTEM=

oracle.install.db.config.starterdb.password.DBSNMP=

oracle.install.db.config.starterdb.password.PDBADMIN=

oracle.install.db.config.starterdb.managementOption=

oracle.install.db.config.starterdb.omsHost=

oracle.install.db.config.starterdb.omsPort=

oracle.install.db.config.starterdb.emAdminUser=

oracle.install.db.config.starterdb.emAdminPassword=

oracle.install.db.config.starterdb.enableRecovery=false

oracle.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE

oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=/u01/app/oracle/oradata

oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=

oracle.install.db.config.asm.diskGroup=

oracle.install.db.config.asm.ASMSNMPPassword=

MYORACLESUPPORT_USERNAME=

MYORACLESUPPORT_PASSWORD=

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

DECLINE_SECURITY_UPDATES=true

PROXY_HOST=

PROXY_PORT=

PROXY_USER=

PROXY_PWD=

PROXY_REALM=

COLLECTOR_SUPPORTHUB_URL=

oracle.installer.autoupdates.option=SKIP_UPDATES

oracle.installer.autoupdates.downloadUpdatesLoc=

AUTOUPDATES_MYORACLESUPPORT_USERNAME=

AUTOUPDATES_MYORACLESUPPORT_PASSWORD=



Step 3:

Install by using the response file by oracle user:

./runInstaller -silent -responseFile /response/db_install.rsp

Make sure you have at least 6GB for the Oracle Home.

No comments: