Install Oracle 19c database software in silent mode on Linux x86_64
Pre-requisites already been taken care like memory, swap, kernel parameters, add groups, profile and users…etc
Table of Contents
___________________________________________________________________________________________________
1. Overview
2. Hardware Requirements
3. Verify OS version
4. Oracle Installation Prerequisites
5. Download 19c db software
6. Unzip software
7. Backup response file
8. Modify the response file
9. Execute Pre-requisites
10. Install oracle software in Silent mode
11. Execute root.sh
12. Verify
___________________________________________________________________________________________________
Usually to install database software we will use ./runInstaller graphical user interface. Some times we may not have access to a graphical user interface. Silent mode installation allows to configure necessary Oracle components without using graphical interface In this response file can be used to provide all the required information for the installation, so no additional user input is required.
The first thing we need to verify the hardware requirements for an Oracle 19c Release 3 — Check Physical RAM. # grep MemTotal /proc/meminfo We need at least 8192 MB of physical RAM. <---- — Check Swap Space. # grep SwapTotal /proc/meminfo/* RAM up to 1024MB then swap = 2 times the size of RAM RAM between 2049MB and 8192MB then swap = equal to the size of RAM RAM more than 8192MB then swap size = 0.75 times the size of RAM We need at least 8192 MB of swap <---- -– Check space available in /tmp # df -h /tmp/* You need to have at least 2048 MB of space in the /tmp directory. <--- -– Check space for Oracle Software and pre-configured database. # df -h Space requirement for Oracle 19c Software: Enterprise Edition 10G <---- Minimum [oracle@rac1 19.0.0]$ du -sh db_1/ 9.9G db_1/ [oracle@rac1 19.0.0]$ —- To determine whether the system architecture can run the software, enter the following command: # grep "model name" /proc/cpuinfo This command displays the processor type. Verify that the processor architecture matches the Oracle software release that you want to install. If you do not see the expected output, then you cannot install the software on this system.
[oracle@rac1 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5
[oracle@rac1 ~]$
4. Oracle Installation Prerequisites
[root@rac1 ~]# yum install -y oracle-database-preinstall-19c
Loaded plugins: langpacks, ulninfo
ol7_UEKR4 | 2.5 kB 00:00:00
ol7_latest | 2.7 kB 00:00:00
(1/4): ol7_UEKR4/x86_64/updateinfo | 87 kB 00:00:00
(2/4): ol7_UEKR4/x86_64/primary_db | 5.6 MB 00:00:02
(3/4): ol7_latest/x86_64/primary_db | 26 MB 00:00:04
(4/4): ol7_latest/x86_64/updateinfo | 2.6 MB 00:00:04
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
oracle-database-preinstall-19c x86_64 1.0-1.el7 ol7_latest 18 k
Transaction Summary
========================================================================================================================================================================
Install 1 Package
Total download size: 18 k
Installed size: 55 k
Downloading packages:
oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm | 18 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : oracle-database-preinstall-19c-1.0-1.el7.x86_64 1/1
Verifying : oracle-database-preinstall-19c-1.0-1.el7.x86_64 1/1
Installed:
oracle-database-preinstall-19c.x86_64 0:1.0-1.el7
Complete!
[root@rac1 ~]#
Download the Oracle software from OTN or MY ORACLE SUPPORT (MOS). https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html
NOTE: You can't edit oracle home location while installation using OUI. It will pickup automatically ORACLE HOME location, where you have unzipped database binaries. Hence directly unzip in ORACLE HOME location and then start ./runInstaller
After unzip, it will NOT keep all files in single directory like 10g,11g and 12c.
[oracle@rac1 dbhome_1]$ pwd
/u01/app/oracle/product/19.0.0/db_1
[oracle@rac1 db_1]$ ls -ltr
total 2987996
-rwxrwxr-x. 1 oracle oinstall 3059705302 Jan 24 20:25 LINUX.X64_193000_db_home.zip
[oracle@rac1 db_1]$
[oracle@rac1 db_1]$ unzip LINUX.X64_193000_db_home.zip
[oracle@rac1 db_1]$
[oracle@rac1 db_1]$ ls -ltr
total 2988120
-rw-r--r--. 1 oracle oinstall 852 Aug 18 2015 env.ora
-rw-r--r--. 1 oracle oinstall 2927 Oct 15 2016 schagent.conf
-rwxr-x---. 1 oracle oinstall 1783 Mar 9 2017 runInstaller
drwxr-x---. 14 oracle oinstall 4096 Apr 12 2019 OPatch
drwxr-x---. 7 oracle oinstall 69 Apr 17 2019 xdk
drwxr-xr-x. 3 oracle oinstall 19 Apr 17 2019 wwg
drwxr-xr-x. 4 oracle oinstall 31 Apr 17 2019 usm
drwxr-xr-x. 5 oracle oinstall 45 Apr 17 2019 suptools
drwxr-xr-x. 6 oracle oinstall 54 Apr 17 2019 srvm
drwxr-xr-x. 3 oracle oinstall 17 Apr 17 2019 sqlj
drwxr-xr-x. 4 oracle oinstall 41 Apr 17 2019 sqldeveloper
drwxr-xr-x. 3 oracle oinstall 18 Apr 17 2019 slax
-rw-r-----. 1 oracle oinstall 10 Apr 17 2019 root.sh.old.1
drwxr-xr-x. 3 oracle oinstall 21 Apr 17 2019 relnotes
drwxr-xr-x. 4 oracle oinstall 29 Apr 17 2019 racg
drwxr-xr-x. 5 oracle oinstall 52 Apr 17 2019 R
drwxr-xr-x. 5 oracle oinstall 39 Apr 17 2019 perl
drwxr-xr-x. 4 oracle oinstall 33 Apr 17 2019 owm
drwxr-xr-x. 3 oracle oinstall 19 Apr 17 2019 oss
drwxr-xr-x. 6 oracle oinstall 52 Apr 17 2019 ord
drwxr-xr-x. 4 oracle oinstall 34 Apr 17 2019 oracore
drwxr-xr-x. 7 oracle oinstall 65 Apr 17 2019 opmn
drwxr-xr-x. 5 oracle oinstall 42 Apr 17 2019 olap
drwxr-xr-x. 5 oracle oinstall 46 Apr 17 2019 nls
drwxr-xr-x. 4 oracle oinstall 31 Apr 17 2019 mgw
drwxr-xr-x. 9 oracle oinstall 4096 Apr 17 2019 md
drwxr-xr-x. 10 oracle oinstall 4096 Apr 17 2019 ldap
drwxr-xr-x. 3 oracle oinstall 18 Apr 17 2019 has
drwxr-xr-x. 3 oracle oinstall 19 Apr 17 2019 dv
drwxr-xr-x. 3 oracle oinstall 20 Apr 17 2019 diagnostics
drwxr-xr-x. 3 oracle oinstall 20 Apr 17 2019 demo
drwxr-xr-x. 3 oracle oinstall 19 Apr 17 2019 dbjava
drwxr-xr-x. 3 oracle oinstall 20 Apr 17 2019 data
drwxr-xr-x. 7 oracle oinstall 71 Apr 17 2019 cv
drwxr-xr-x. 3 oracle oinstall 18 Apr 17 2019 css
drwxr-xr-x. 6 oracle oinstall 55 Apr 17 2019 crs
drwxr-xr-x. 6 oracle oinstall 78 Apr 17 2019 plsql
drwxr-xr-x. 2 oracle oinstall 22 Apr 17 2019 dbs
drwxr-xr-x. 2 oracle oinstall 33 Apr 17 2019 utl
drwxr-xr-x. 2 oracle oinstall 29 Apr 17 2019 instantclient
drwxr-xr-x. 13 oracle oinstall 4096 Apr 17 2019 dmu
drwxr-xr-x. 3 oracle oinstall 35 Apr 17 2019 ucp
drwxr-xr-x. 3 oracle oinstall 35 Apr 17 2019 jdbc
drwxr-xr-x. 2 oracle oinstall 26 Apr 17 2019 QOpatch
drwxr-xr-x. 4 oracle oinstall 66 Apr 17 2019 ords
drwxr-xr-x. 5 oracle oinstall 4096 Apr 17 2019 sdk
drwxr-xr-x. 6 oracle oinstall 4096 Apr 17 2019 apex
drwxr-xr-x. 8 oracle oinstall 4096 Apr 17 2019 odbc
drwxr-xr-x. 2 oracle oinstall 4096 Apr 17 2019 jlib
drwxr-xr-x. 4 oracle oinstall 30 Apr 17 2019 drdaas
drwxr-xr-x. 11 oracle oinstall 4096 Apr 17 2019 ctx
-rwx------. 1 oracle oinstall 786 Apr 17 2019 root.sh.old
drwxr-xr-x. 10 oracle oinstall 4096 Apr 17 2019 network
drwxr-xr-x. 5 oracle oinstall 41 Apr 17 2019 hs
drwxr-xr-x. 9 oracle oinstall 93 Apr 17 2019 assistants
drwxr-xr-x. 6 oracle oinstall 53 Apr 18 2019 sqlplus
-rwx------. 1 oracle oinstall 638 Apr 18 2019 root.sh
drwxr-xr-x. 8 oracle oinstall 4096 Apr 18 2019 oui
drwxr-xr-x. 5 oracle oinstall 4096 Apr 18 2019 deinstall
drwxr-xr-x. 4 oracle oinstall 87 Apr 18 2019 clone
drwxr-xr-x. 2 oracle oinstall 4096 Apr 18 2019 addnode
drwxr-xr-x. 4 oracle oinstall 4096 Apr 18 2019 sqlpatch
drwxr-xr-x. 13 oracle oinstall 4096 Apr 18 2019 rdbms
drwxr-xr-x. 6 oracle oinstall 56 Apr 18 2019 precomp
drwxr-xr-x. 4 oracle oinstall 12288 Apr 18 2019 lib
drwxr-xr-x. 6 oracle oinstall 4096 Apr 18 2019 jdk
drwxr-xr-x. 8 oracle oinstall 82 Apr 18 2019 javavm
drwxr-x---. 13 oracle oinstall 4096 Apr 18 2019 inventory
drwxr-xr-x. 2 oracle oinstall 8192 Apr 18 2019 bin
drwxr-xr-x. 10 oracle oinstall 4096 Apr 18 2019 install
-rwxrwxr-x. 1 oracle oinstall 3059705302 Jan 24 20:25 LINUX.X64_193000_db_home.zip
[oracle@rac1 db_1]$
7. Backup response file (db_install.rsp)
[oracle@rac1 response]$ ls -ltr /u01/app/oracle/product/19.0.0/db_1/install/response/db_install.rsp -rw-r--r--. 1 oracle oinstall 19932 Feb 6 2019 /u01/app/oracle/product/19.0.0/db_1/install/response/db_install.rsp [oracle@rac1 response]$ [oracle@rac1 response]$ ls -ltr /u01/app/oracle/product/19.0.0/db_1/assistants/dbca/*.rsp -rw-r-----. 1 oracle oinstall 25502 Apr 6 2019 /u01/app/oracle/product/19.0.0/db_1/assistants/dbca/dbca.rsp [oracle@rac1 response]$ [oracle@rac1 response]$ ls -ltr /u01/app/oracle/product/19.0.0/db_1/assistants/netca/*.rsp -rw-r-----. 1 oracle oinstall 6207 Apr 6 2019 /u01/app/oracle/product/19.0.0/db_1/assistants/netca/netca.rsp [oracle@rac1 response]$ [oracle@rac1 response]$ cd /u01/app/oracle/product/19.0.0/db_1/install/response [oracle@rac1 response]$ ls -ltr total 20 -rw-r--r--. 1 oracle oinstall 19932 Feb 6 2019 db_install.rsp [oracle@rac1 response]$ [oracle@rac1 response]$ cp db_install.rsp db_install.rsp.bkp [oracle@rac1 response]$ ls -ltr total 40 -rw-r--r--. 1 oracle oinstall 19932 Feb 6 2019 db_install.rsp -rw-r--r--. 1 oracle oinstall 19932 Jan 26 12:40 db_install.rsp.bkp [oracle@rac1 response]$
[oracle@rac1 response]$ cat db_install.rsp #################################################################### ## Copyright(c) Oracle Corporation 1998,2019. All rights reserved.## ## ## ## Specify values for the variables listed below to customize ## ## your installation. ## ## ## ## Each variable is associated with a comment. The comment ## ## can help to populate the variables with the appropriate ## ## values. ## ## ## ## IMPORTANT NOTE: This file contains plain text passwords and ## ## should be secured to have read permission only by oracle user ## ## or db administrator who owns this installation. ## ## ## #################################################################### #------------------------------------------------------------------------------ # Do not change the following system generated value. #------------------------------------------------------------------------------ oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0 #------------------------------------------------------------------------------- # Specify the installation option. # It can be one of the following: # - INSTALL_DB_SWONLY # - INSTALL_DB_AND_CONFIG #------------------------------------------------------------------------------- oracle.install.option=INSTALL_DB_SWONLY #------------------------------------------------------------------------------- # Specify the Unix group to be set for the inventory directory. #------------------------------------------------------------------------------- UNIX_GROUP_NAME=oinstall #------------------------------------------------------------------------------- # Specify the location which holds the inventory files. # This is an optional parameter if installing on # Windows based Operating System. #------------------------------------------------------------------------------- INVENTORY_LOCATION=/u01/app/oraInventory #------------------------------------------------------------------------------- # Specify the complete path of the Oracle Home. #------------------------------------------------------------------------------- ORACLE_HOME=/u01/app/oracle/product/19.0.0/db_1 #------------------------------------------------------------------------------- # Specify the complete path of the Oracle Base. #------------------------------------------------------------------------------- ORACLE_BASE=/u01/app/oracle #------------------------------------------------------------------------------- # Specify the installation edition of the component. # # The value should contain only one of these choices. # - EE : Enterprise Edition # - SE2 : Standard Edition 2 #------------------------------------------------------------------------------- oracle.install.db.InstallEdition=EE ############################################################################### # # # PRIVILEGED OPERATING SYSTEM GROUPS # # ------------------------------------------ # # Provide values for the OS groups to which SYSDBA and SYSOPER privileges # # needs to be granted. If the install is being performed as a member of the # # group "dba", then that will be used unless specified otherwise below. # # # # The value to be specified for OSDBA and OSOPER group is only for UNIX based # # Operating System. # # # ############################################################################### #------------------------------------------------------------------------------ # The OSDBA_GROUP is the OS group which is to be granted SYSDBA privileges. #------------------------------------------------------------------------------- oracle.install.db.OSDBA_GROUP=oinstall #------------------------------------------------------------------------------ # The OSOPER_GROUP is the OS group which is to be granted SYSOPER privileges. # The value to be specified for OSOPER group is optional. #------------------------------------------------------------------------------ oracle.install.db.OSOPER_GROUP=oinstall #------------------------------------------------------------------------------ # The OSBACKUPDBA_GROUP is the OS group which is to be granted SYSBACKUP privileges. #------------------------------------------------------------------------------ oracle.install.db.OSBACKUPDBA_GROUP=oinstall #------------------------------------------------------------------------------ # The OSDGDBA_GROUP is the OS group which is to be granted SYSDG privileges. #------------------------------------------------------------------------------ oracle.install.db.OSDGDBA_GROUP=oinstall #------------------------------------------------------------------------------ # The OSKMDBA_GROUP is the OS group which is to be granted SYSKM privileges. #------------------------------------------------------------------------------ oracle.install.db.OSKMDBA_GROUP=oinstall #------------------------------------------------------------------------------ # The OSRACDBA_GROUP is the OS group which is to be granted SYSRAC privileges. #------------------------------------------------------------------------------ oracle.install.db.OSRACDBA_GROUP=oinstall ################################################################################ # # # Root script execution configuration # # # ################################################################################ #------------------------------------------------------------------------------------------------------- # Specify the root script execution mode. # # - true : To execute the root script automatically by using the appropriate configuration methods. # - false : To execute the root script manually. # # If this option is selected, password should be specified on the console. #------------------------------------------------------------------------------------------------------- oracle.install.db.rootconfig.executeRootScript=false #-------------------------------------------------------------------------------------- # Specify the configuration method to be used for automatic root script execution. # # Following are the possible choices: # - ROOT # - SUDO #-------------------------------------------------------------------------------------- oracle.install.db.rootconfig.configMethod= #-------------------------------------------------------------------------------------- # Specify the absolute path of the sudo program. # # Applicable only when SUDO configuration method was chosen. #-------------------------------------------------------------------------------------- oracle.install.db.rootconfig.sudoPath= #-------------------------------------------------------------------------------------- # Specify the name of the user who is in the sudoers list. # Applicable only when SUDO configuration method was chosen. # Note:For Single Instance database installations,the sudo user name must be the username of the user installing the database. #-------------------------------------------------------------------------------------- oracle.install.db.rootconfig.sudoUserName= ############################################################################### # # # Grid Options # # # ############################################################################### #------------------------------------------------------------------------------ # Value is required only if the specified install option is INSTALL_DB_SWONLY # # Specify the cluster node names selected during the installation. # # Example : oracle.install.db.CLUSTER_NODES=node1,node2 #------------------------------------------------------------------------------ oracle.install.db.CLUSTER_NODES= ############################################################################### # # # Database Configuration Options # # # ############################################################################### #------------------------------------------------------------------------------- # Specify the type of database to create. # It can be one of the following: # - GENERAL_PURPOSE # - DATA_WAREHOUSE # GENERAL_PURPOSE: A starter database designed for general purpose use or transaction-heavy applications. # DATA_WAREHOUSE : A starter database optimized for data warehousing applications. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.type= #------------------------------------------------------------------------------- # Specify the Starter Database Global Database Name. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.globalDBName= #------------------------------------------------------------------------------- # Specify the Starter Database SID. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.SID= #------------------------------------------------------------------------------- # Specify whether the database should be configured as a Container database. # The value can be either "true" or "false". If left blank it will be assumed # to be "false". #------------------------------------------------------------------------------- oracle.install.db.ConfigureAsContainerDB= #------------------------------------------------------------------------------- # Specify the Pluggable Database name for the pluggable database in Container Database. #------------------------------------------------------------------------------- oracle.install.db.config.PDBName= #------------------------------------------------------------------------------- # Specify the Starter Database character set. # # One of the following # AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2, # EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257, # BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6, # AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8, # IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, # KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950, # ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258 #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.characterSet= #------------------------------------------------------------------------------ # This variable should be set to true if Automatic Memory Management # in Database is desired. # If Automatic Memory Management is not desired, and memory allocation # is to be done manually, then set it to false. #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.memoryOption= #------------------------------------------------------------------------------- # Specify the total memory allocation for the database. Value(in MB) should be # at least 256 MB, and should not exceed the total physical memory available # on the system. # Example: oracle.install.db.config.starterdb.memoryLimit=512 #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.memoryLimit= #------------------------------------------------------------------------------- # This variable controls whether to load Example Schemas onto # the starter database or not. # The value can be either "true" or "false". If left blank it will be assumed # to be "false". #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.installExampleSchemas= ############################################################################### # # # Passwords can be supplied for the following four schemas in the # # starter database: # # SYS # # SYSTEM # # DBSNMP (used by Enterprise Manager) # # # # Same password can be used for all accounts (not recommended) # # or different passwords for each account can be provided (recommended) # # # ############################################################################### #------------------------------------------------------------------------------ # This variable holds the password that is to be used for all schemas in the # starter database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.ALL= #------------------------------------------------------------------------------- # Specify the SYS password for the starter database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.SYS= #------------------------------------------------------------------------------- # Specify the SYSTEM password for the starter database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.SYSTEM= #------------------------------------------------------------------------------- # Specify the DBSNMP password for the starter database. # Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.DBSNMP= #------------------------------------------------------------------------------- # Specify the PDBADMIN password required for creation of Pluggable Database in the Container Database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.PDBADMIN= #------------------------------------------------------------------------------- # Specify the management option to use for managing the database. # Options are: # 1. CLOUD_CONTROL - If you want to manage your database with Enterprise Manager Cloud Control along with Database Express. # 2. DEFAULT -If you want to manage your database using the default Database Express option. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.managementOption= #------------------------------------------------------------------------------- # Specify the OMS host to connect to Cloud Control. # Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.omsHost= #------------------------------------------------------------------------------- # Specify the OMS port to connect to Cloud Control. # Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.omsPort= #------------------------------------------------------------------------------- # Specify the EM Admin user name to use to connect to Cloud Control. # Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.emAdminUser= #------------------------------------------------------------------------------- # Specify the EM Admin password to use to connect to Cloud Control. # Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.emAdminPassword= ############################################################################### # # # SPECIFY RECOVERY OPTIONS # # ------------------------------------ # # Recovery options for the database can be mentioned using the entries below # # # ############################################################################### #------------------------------------------------------------------------------ # This variable is to be set to false if database recovery is not required. Else # this can be set to true. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.enableRecovery= #------------------------------------------------------------------------------- # Specify the type of storage to use for the database. # It can be one of the following: # - FILE_SYSTEM_STORAGE # - ASM_STORAGE #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.storageType= #------------------------------------------------------------------------------- # Specify the database file location which is a directory for datafiles, control # files, redo logs. # # Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.fileSystemStorage.dataLocation= #------------------------------------------------------------------------------- # Specify the recovery location. # # Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation= #------------------------------------------------------------------------------- # Specify the existing ASM disk groups to be used for storage. # # Applicable only when oracle.install.db.config.starterdb.storageType=ASM_STORAGE #------------------------------------------------------------------------------- oracle.install.db.config.asm.diskGroup= #------------------------------------------------------------------------------- # Specify the password for ASMSNMP user of the ASM instance. # # Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE #------------------------------------------------------------------------------- oracle.install.db.config.asm.ASMSNMPPassword= [oracle@rac1 response]$
[oracle@rac1 ~]$ cd /u01/app/oracle/product/19.0.0/db_1/ [oracle@rac1 db_1]$ ls -ltr runInstaller -rwxr-x---. 1 oracle oinstall 1783 Mar 9 2017 runInstaller [oracle@rac1 db_1]$ [oracle@rac1 db_1]$ ./runInstaller -executePrereqs -silent -responseFile /u01/app/oracle/product/19.0.0/db_1/install/response/db_install.rsp Launching Oracle Database Setup Wizard... Prerequisite checks executed successfully. [oracle@rac1 db_1]$
10. Install oracle software in Silent mode
[oracle@rac1 db_1]$ ./runInstaller -silent -responseFile /u01/app/oracle/product/19.0.0/db_1/install/response/db_install.rsp Launching Oracle Database Setup Wizard... The response file for this session can be found at: /u01/app/oracle/product/19.0.0/db_1/install/response/db_2020-01-26_12-57-15PM.rsp You can find the log of this install session at: /u01/app/oraInventory/logs/InstallActions2020-01-26_12-57-15PM/installActions2020-01-26_12-57-15PM.log As a root user, execute the following script(s): 1. /u01/app/oracle/product/19.0.0/db_1/root.sh Execute /u01/app/oracle/product/19.0.0/db_1/root.sh on the following nodes: [rac1] Successfully Setup Software. <----- [oracle@rac1 db_1]$
[root@rac1 ~]# /u01/app/oracle/product/19.0.0/db_1/root.sh Check /u01/app/oracle/product/19.0.0/db_1/install/root_rac1_2020-01-26_13-00-18-602822551.log for the output of root script [root@rac1 ~]# [root@rac1 ~]# cat /u01/app/oracle/product/19.0.0/db_1/install/root_rac1_2020-01-26_13-00-18-602822551.log Performing root user operation. The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/19.0.0/db_1 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 script. <---- Now product-specific root actions will be performed. Oracle Trace File Analyzer (TFA) is available at : /u01/app/oracle/product/19.0.0/db_1/bin/tfactl [root@rac1 ~]#
[oracle@rac1 db_1]$ export ORACLE_HOME=/u01/app/oracle/product/19.0.0/db_1 [oracle@rac1 db_1]$ export PATH=/u01/app/oracle/product/19.0.0/db_1/bin:$PATH; [oracle@rac1 db_1]$ which sqlplus /u01/app/oracle/product/19.0.0/db_1/bin/sqlplus [oracle@rac1 db_1]$ sqlplus SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 26 13:06:03 2020 Version 19.3.0.0.0 Copyright (c) 1982, 2019, Oracle. All rights reserved. Enter user-name:
Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.
Thank you,
Rajasekhar Amudala
Email: br8dba@gmail.com
WhatsApp : +
Linkedin: https://www.linkedin.com/in/rajasekhar-amudala/