Oracle 12.2.0.1.0 RunInstaller
Variables
export NEWVER=122010
In situations where you intend to have multiple separate ORACLE_HOMEs at the same version on the same host then you may wish to append the ORACLE_SID as shown in the example below (where ORCL is the ORACLE_SID)...
export NEWVER=122010ORCL
RootPre (AIX)
Run as 'root'...
/u01/img/122010/database/rootpre.sh
Create Response File
export RSPFILE=/u01/img/122010/database/response/db_install${NEWVER}.rsp
vi ${RSPFILE}
Cut & Paste the following boilerplate text...
#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.2.0
oracle.install.option=INSTALL_DB_SWONLY
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/u01/app/oraInventory
ORACLE_HOME=/u01/app/oracle/product/::NEWVER::
ORACLE_BASE=/u01/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.OSDBA_GROUP=dba
oracle.install.db.OSOPER_GROUP=dba
oracle.install.db.OSBACKUPDBA_GROUP=dba
oracle.install.db.OSDGDBA_GROUP=dba
oracle.install.db.OSKMDBA_GROUP=dba
oracle.install.db.OSRACDBA_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=
oracle.install.db.config.starterdb.globalDBName=
oracle.install.db.config.starterdb.SID=
oracle.install.db.ConfigureAsContainerDB=
oracle.install.db.config.PDBName=
oracle.install.db.config.starterdb.characterSet=
oracle.install.db.config.starterdb.memoryOption=
oracle.install.db.config.starterdb.memoryLimit=
oracle.install.db.config.starterdb.installExampleSchemas=
oracle.install.db.config.starterdb.password.ALL=
oracle.install.db.config.starterdb.password.SYS=
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=
oracle.install.db.config.starterdb.storageType=
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
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=
DECLINE_SECURITY_UPDATES=
PROXY_HOST=
PROXY_PORT=
PROXY_USER=
PROXY_PWD=
COLLECTOR_SUPPORTHUB_URL=
Set variables in file...
cp ${RSPFILE} ${RSPFILE}1
cat ${RSPFILE}1 | sed -e"s/::NEWVER::/${NEWVER}/" >${RSPFILE}
cat ${RSPFILE} | grep ORACLE_HOME
RunInstaller
cd /u01/img/122010/database
./runInstaller -silent -responseFile ${RSPFILE} -showProgress
The log will have a name starting with installActions and will be in /u01/app/oraInventory/logs
Root.sh
Run root.sh (as 'root') as shown in the output of RunInstaller.
If this install created the Oracle Inventory, you will be asked to run two scripts as shown below...
/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/product/${NEWVER}/root.sh