Database Installation Guide Linux
Database Installation Guide Linux
Database Installation Guide Linux
E96432-06
Copyright © 2015, 2019, Oracle and/or its affiliates. All rights reserved.
Contributors: Mark Bauer, David Austin, Neha Avasthy, Sampath Ravindhran, Prasad Bagal, Subhranshu
Banerjee, Gerald Venzl, Tammy Bednar, Eric Belden, Gavin Bowe, Robert Chang, Darcy Christensen, Kiran
Chamala, Jonathan Creighton, Benoit Dageville, Logeshwaran Rajan, Rajesh Dasari, Angad Gokakkar , Anu
Natarajan, Girdhari Ghantiyala, Bernard Clouse, Chandrasekharan Iyer, David Jimenez, Sivaram Soma, Lisa
Vaz, Vishal Saxena, Vasu Venkatasubramanian, Suman Palavalli, Sameer Joshi, Malai Stalin, Markus
Michalewicz, Subrahmanyam Kodavaluru, Bharathi Jayathirtha, Sudip Datta, Madhu Hunasigi, Jim Erickson,
Marcus Fallen, Joseph Francis, Mark Fuller, Allan Graves, Barbara Glover, Asad Hasan, Thirumaleshwara
Hasandka, Putta Ramesh, Sergio Leunissen, Aneesh Khandelwal, Joel Kallman, Eugene Karichkin, Jai
Krishnani, Prasad K Kulkarni, Ranjith Kundapur, Kevin Jernigan, Christopher Jones, Simon Law, Bryn
Llewellyn, Saar Maoz, Chao Liang, Gopal Mulagund, Ankur Kemkar, Sue Lee, Rich Long, Raunak Rungta,
Barb Lundhild, Robert Achacoso, Rudregowda Mallegowda, Prasad Kuruvadi Nagaraj, Mughees Minhas,
Krishna Mohan, Matthew McKerley, John McHugh, Gurudas Pai, Satish Panchumarthy , Rajesh Prasad,
Rajendra Pingte, Ramesh Chakravarthula, Srinivas Poovala, David Price, Hanlin Qian, Michael Coulter,
Hema Ramamurthy, Sunil Ravindrachar, Mark Richwine, Dipak Saggi, Trivikrama Samudrala, Rodrigo
Gonzalez Alba, David Schreiner, Ara Shakian, Naveen Ramamurthy, Mohit Singhal, Dharma Sirnapalli,
Akshay Shah, James Spiller, Roy Swonger, Binoy Sukumaran, Kamal Tbeileh, Ravi Thammaiah, Shekhar
Vaggu, Pablo Sainz Albanez, Hector Vieyra, Peter Wahl, Terri Winters, John Haxby, Sergiusz Wolicki,
Sivakumar Yarlagadda, Nagendra Kumar Ym, Zakia Zerhouni
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify,
license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means.
Reverse engineering, disassembly, or decompilation of this software, unless required by law for
interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on
behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software,
any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are
"commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-
specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the
programs, including any operating system, integrated software, any programs installed on the hardware,
and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications.
It is not developed or intended for use in any inherently dangerous applications, including applications that
may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its
safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are
used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron,
the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro
Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise
set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be
responsible for any loss, costs, or damages incurred due to your access to or use of third-party content,
products, or services, except as set forth in an applicable agreement between you and Oracle.
Contents
Preface
Audience xii
Documentation Accessibility xii
Set Up Java Access Bridge to Implement Java Accessibility xiii
Command Syntax xiii
Related Documentation xiv
Conventions xiv
iii
Installing the Oracle Preinstallation RPM with ULN Support 3-2
Installing the Oracle Preinstallation RPM From Unbreakable Linux Network 3-3
Installing a New Oracle Linux Installation from DVDs or Images 3-4
Installing Oracle Linux with Oracle Linux Yum Server Support 3-5
Configuring Oracle Ksplice to Perform Oracle Linux Updates 3-6
Configure Additional Operating System Features 3-7
iv
Installation Requirements for ODBC and LDAP 4-26
About ODBC Drivers and Oracle Database 4-27
Installing ODBC Drivers for Linux x86-64 4-27
About LDAP and Oracle Plug-ins 4-27
Installing the LDAP Package 4-27
Installation Requirements for Programming Environments for Linux 4-27
Installation Requirements for Programming Environments for Linux x86-64 4-28
Installation Requirements for Programming Environments for IBM: Linux on
System z 4-29
Installation Requirements for Web Browsers 4-29
Checking Kernel and Package Requirements for Linux 4-29
Installing the cvuqdisk RPM for Linux 4-30
Confirming Host Name Resolution 4-31
Disabling Transparent HugePages 4-31
Using Automatic SSH Configuration During Installation 4-33
Verifying the Disk I/O Scheduler on Linux 4-33
v
Creating an Oracle Software Owner User 5-12
Environment Requirements for Oracle Software Owners 5-12
Procedure for Configuring Oracle Software Owner Environments 5-12
Modifying Oracle Owner User Groups 5-15
Checking Resource Limits for Oracle Software Installation Users 5-15
Setting Remote Display and X11 Forwarding Configuration 5-17
Preventing Installation Errors Caused by Terminal Output Commands 5-18
Creating Oracle Database Vault User Accounts 5-18
Unsetting Oracle Installation Owner Environment Variables 5-19
vi
Enabling Hybrid Columnar Compression on Direct NFS Client 8-6
vii
11 Installing Oracle Database
About Image-Based Oracle Database Installation 11-2
About Deploying Oracle Database Using Oracle Fleet Patching and Provisioning 11-2
Accessing the Installation Software 11-3
Downloading Oracle Software 11-3
Downloading the Installation Archive Files from OTN 11-3
Downloading the Software from Oracle Software Delivery Cloud Portal 11-4
Copying the Software to the Hard Disk 11-5
Mounting Disks on Linux Systems 11-5
About Character Set Selection During Installation 11-6
About Automatic Memory Management Installation Options 11-7
Running the Installer in a Different Language 11-8
Installing the Oracle Database Software 11-8
Setup Wizard Installation Options for Creating Images 11-9
Applying Patches During an Oracle Database Installation or Upgrade 11-10
Running Oracle Database Setup Wizard to Install Oracle Database 11-10
Installing Oracle Database Using RPM Packages 11-12
About RPM-Based Oracle Database Installation 11-12
Restrictions and Guidelines for RPM-Based Installations 11-13
RPM Packages Naming Convention 11-13
Running RPM Packages to Install Oracle Database 11-13
viii
Starting Oracle Enterprise Manager Database Express 12-14
Creating a Fast Recovery Area 12-14
About the Fast Recovery Area and the Fast Recovery Area Disk Group 12-14
Creating the Fast Recovery Area Disk Group 12-15
Cloning an Oracle Database Home 12-16
ix
Running Oracle DBCA Using Response Files B-9
Postinstallation Configuration Using Response File Created During Installation B-10
Using the Installation Response File for Postinstallation Configuration B-10
Running Postinstallation Configuration Using Response File B-11
Postinstallation Configuration Using the ConfigToolAllCommands Script B-13
About the Postinstallation Configuration File B-13
Creating a Password Response File B-14
Running Postinstallation Configuration Using a Password Response File B-15
Index
x
List of Tables
1-1 Server Hardware Checklist for Oracle Database Installation 1-1
1-2 Operating System General Checklist for Oracle Database on Linux 1-2
1-3 Server Configuration Checklist for Oracle Database 1-3
1-4 User Environment Configuration for Oracle Database 1-6
1-5 Storage Checklist for Oracle Database 1-7
1-6 Oracle Universal Installer Planning Checklist for Oracle Database Installation 1-8
1-7 Deployment Checklist for Oracle Database (single-instance) 1-12
4-1 x86-64 Oracle Linux 7 Minimum Operating System Requirements 4-13
4-2 x86-64 Red Hat Enterprise Linux 7 Minimum Operating System Requirements 4-15
4-3 x86-64 SUSE Linux Enterprise Server 12 Minimum Operating System Requirements 4-17
4-4 x86-64 SUSE Linux Enterprise Server 15 Minimum Operating System Requirements 4-19
4-5 Red Hat Enterprise Linux 7 Minimum Operating System Requirements 4-22
4-6 SUSE Linux Enterprise Server 12 Minimum Operating System Requirements 4-24
4-7 Requirements for Programming Environments for Linux X86–64 4-28
4-8 Requirements for Programming Environments for IBM: Linux on System z 4-29
5-1 Installation Owner Resource Limit Recommended Ranges 5-16
7-1 Supported Storage Options for Oracle Database 7-2
7-2 Platforms That Support Oracle ACFS and Oracle ADVM 7-5
9-1 Oracle ASM Disk Number and Minimum Space Requirements for an Oracle database
(non-CDB) 9-5
9-2 Oracle ASM Disk Number and Minimum Space Requirements for a multitenant
container database (CDB) with one pluggable database (PDB) 9-6
10-1 Image-Creation Options for Setup Wizard 10-3
11-1 Image-Creation Options for Setup Wizard 11-9
11-2 RPM Packages Naming Convention Example 11-13
12-1 Partial List of Oracle Database System Privileges Accounts Locked After Installation 12-4
A-1 Minimum Operating System Resource Parameter Settings A-2
A-2 Commands to Display Kernel Parameter Values A-3
A-3 Device Name Formats Based on Disk Type A-10
A-4 Disk Management Tasks Using ORACLEASM A-11
B-1 Response Files for Oracle Database and Oracle Grid Infrastructure B-4
C-1 Examples of OFA-Compliant Oracle Base Directory Names C-4
C-2 Optimal Flexible Architecture Hierarchical File Path Examples C-6
D-1 read/write and Read-Only Oracle Home File Path Examples D-9
E-1 Protocols and Default Port Numbers for Oracle Database Components E-2
xi
Preface
Preface
This guide explains how to install and configure single-instance Oracle Database.
This guide also provides information about Optimal Flexible Architecture, cloning an
Oracle home, and how to remove the database software.
• Audience
This guide is intended for anyone responsible for installing Oracle Database 19c.
• Documentation Accessibility
• Set Up Java Access Bridge to Implement Java Accessibility
Install Java Access Bridge so that assistive technologies on Microsoft Windows
systems can use the Java Accessibility API.
• Command Syntax
Refer to these command syntax conventions to understand command examples in
this guide.
• Related Documentation
• Conventions
Audience
This guide is intended for anyone responsible for installing Oracle Database 19c.
Additional installation guides for Oracle Database, Oracle Real Application Clusters,
Oracle Clusterware, Oracle Database Examples, and Oracle Enterprise Manager
Cloud Control are available at the following URL:
http://docs.oracle.com
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at http://www.oracle.com/pls/topic/lookup?
ctx=acc&id=docacc.
xii
Preface
Command Syntax
Refer to these command syntax conventions to understand command examples in this
guide.
Convention Description
$ Bourne or BASH shell prompt in a command example. Do not enter the
prompt as part of the command.
% C Shell prompt in a command example. Do not enter the prompt as part of
the command.
# Superuser (root) prompt in a command example. Do not enter the prompt
as part of the command.
monospace UNIX command syntax
backslash \ A backslash is the UNIX and Linux command continuation character. It is
used in command examples that are too long to fit on a single line. Enter
the command as displayed (with a backslash) or enter it on a single line
without a backslash:
.DEFINE {macro1}
xiii
Preface
Convention Description
ellipses ... Ellipses indicate an arbitrary number of similar items:
italic Italic type indicates a variable. Substitute a value for the variable:
library_name
Related Documentation
The related documentation for Oracle Database products includes the following
manuals:
Related Topics
• Oracle Automatic Storage Management Administrator's Guide
• Oracle Application Express Installation Guide
• Oracle Clusterware Administration and Deployment Guide
• Oracle Database Concepts
• Oracle Database New Features Guide
• Oracle Database Licensing Information User Manual
• Oracle Database Release Notes
• Oracle Database Installation Guide
• Oracle Database Examples Installation Guide
• Oracle Database Administrator's Reference for Linux and UNIX-Based Operating
Systems
• Oracle Database Upgrade Guide
• Oracle Database 2 Day DBA
• Oracle Grid Infrastructure Installation and Upgrade Guide
• Oracle Real Application Clusters Administration and Deployment Guide
• Oracle Real Application Clusters Installation Guide for Linux and UNIX
Conventions
The following text conventions are used in this document:
xiv
Preface
Convention Meaning
boldface Boldface type indicates graphical user interface elements associated
with an action, or terms defined in text or the glossary.
italic Italic type indicates book titles, emphasis, or placeholder variables for
which you supply particular values.
monospace Monospace type indicates commands within a paragraph, URLs, code
in examples, text that appears on the screen, or text that you enter.
xv
Changes in this Release for Oracle Database
New Features
Review new features available with Oracle Database installation in Oracle Database
19c.
• Root Scripts Automation Support for Oracle Database Installation
• Simplified Image-Based Oracle Database Client Installation
xvi
Changes in this Release for Oracle Database
directory where you want your Oracle home to be located, and then run the
runInstaller script to start the Oracle Database client installation. Oracle Database
client installation binaries continue to be available in the traditional format as non-
image zip files.
As with Oracle Database and Oracle Grid Infrastructure image file installations, Oracle
Database client image installations simplify Oracle Database client installations and
ensure best practice deployments.
Related Topics
• Installing Oracle Database Client Using Image File
Deprecated Features
Review features that are deprecated starting with Oracle Database 19c.
The following feature is deprecated in this release, and may be desupported in another
release. For more information about deprecated and desupported features,
parameters and views, refer to Oracle Database Upgrade Guide.
• Deprecation of clone.pl
The clone.pl script is deprecated in Oracle Database 19c. The functionality of
performing a software-only installation, using the gold image, is available in the
installer wizard.
The clone.pl script can be removed in a future release. Instead of using the
clone.pl script, Oracle recommends that you install the extracted gold image as a
home, using the installer wizard.
• Deprecation of the SERVICE_NAMES parameter
The use of the SERVICE_NAMES parameter is no longer actively supported. It must
not be used for high availability (HA) deployments. It is not supported to use
service names parameter for any HA operations. This restriction includes FAN,
load balancing, FAILOVER_TYPE, FAILOVER_RESTORE, SESSION_STATE_CONSISTENCY,
and any other uses.
Related Topics
• Oracle Database Upgrade Guide
Other Changes
Review other changes for Oracle Database 19c.
• Rapid Home Provisioning Name Change
Starting with Oracle Database 19c and Oracle Grid Infrastructure 19c, Rapid
Home Provisioning is renamed to Fleet Patching and Provisioning (FPP).
• Operating System Package Names
To simplify the installation of operating system packages required for an Oracle
Database and Oracle Grid Infrastructure installation on Linux, starting with 19c,
only the operating system package names will be listed and not the exact package
version. Install or update to the latest version of these packages from the minimum
supported Linux distribution.Only packages that are officially released by Oracle or
your operating system vendor are supported.
xvii
1
Oracle Database Installation Checklist
Use checklists to review system requirements, and to plan and carry out Oracle
Database installation.
Oracle recommends that you use checklists as part of your installation planning
process. Using checklists can help you to confirm that your server hardware and
configuration meet minimum requirements for this release, and can help you to ensure
you carry out a successful installation.
• Server Hardware Checklist for Oracle Database Installation
Use this checklist to check hardware requirements for Oracle Database.
• Operating System Checklist for Oracle Database Installation on Linux
Use this checklist to check minimum operating system requirements for Oracle
Database.
• Server Configuration Checklist for Oracle Database Installation
Use this checklist to check minimum server configuration requirements for Oracle
Database installations.
• Oracle User Environment Configuration Checklist for Oracle Database Installation
Use this checklist to plan operating system users, groups, and environments for
Oracle Database management.
• Storage Checklist for Oracle Database Installation
Use this checklist to review storage minimum requirements and assist with
configuration planning.
• Installer Planning Checklist for Oracle Database
Use this checklist to assist you to be prepared before starting Oracle Universal
Installer.
• Deployment Checklist for Oracle Database
Use this checklist to decide the deployment method for a single-instance Oracle
Database.
Check Task
Server Make Confirm that server make, model, core architecture, and host bus adaptors
and (HBA) or network interface controllers (NICs) are supported to run with Oracle
Architecture Database and Oracle Grid Infrastructure. Ensure that the server has a DVD
drive, if you are installing from a DVD.
Runlevel 3 or 5
Server Display At least 1024 x 768 display resolution, which Oracle Universal Installer
Cards requires.
1-1
Chapter 1
Operating System Checklist for Oracle Database Installation on Linux
Table 1-1 (Cont.) Server Hardware Checklist for Oracle Database Installation
Check Task
Minimum Server is connected to a network
network
connectivity
Minimum RAM • At least 1 GB RAM for Oracle Database installations. 2 GB RAM
recommended.
• At least 8 GB RAM for Oracle Grid Infrastructure installations.
Table 1-2 Operating System General Checklist for Oracle Database on Linux
Item Task
Operating system OpenSSH installed manually, if you do not have it installed already as
general part of a default Linux installation.
requirements A Linux kernel in the list of supported kernels and releases listed in this
guide.
Linux x86-64 The following Linux x86-64 kernels are supported:
operating system
requirements Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 4:
4.1.12-124.19.2.el7uek.x86_64 or later
Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 5:
4.14.35-1818.1.6.el7uek.x86_64 or later
Oracle Linux 7.5 with the Red Hat Compatible kernel:
3.10.0-862.11.6.el7.x86_64 or later
1-2
Chapter 1
Server Configuration Checklist for Oracle Database Installation
Table 1-2 (Cont.) Operating System General Checklist for Oracle Database on
Linux
Item Task
Oracle RPM Oracle recommends that you use the Oracle RPM Checker utility to
Checker utility for verify that you have the required Red Hat Enterprise Linux or SUSE
IBM: Linux on packages installed on your IBM: Linux on System z operating system
System z before you start the Oracle Database or Oracle Grid Infrastructure
installation.
Disable Transparent Oracle recommends that you disable Transparent HugePages and use
HugePages standard HugePages for enhanced performance.
Related Topics
• Automatically Configuring Oracle Linux with Oracle Preinstallation RPM
Use Oracle Preinstallation RPM to simplify operating system configuration in
preparation for Oracle software installations.
• Operating System Requirements for x86-64 Linux Platforms
The Linux distributions and packages listed in this section are supported for this
release on x86-64.
• Disabling Transparent HugePages
Oracle recommends that you disable Transparent HugePages before you start
installation.
Check Task
Disk space allocated to At least 1 GB of space in the /tmp directory.
the /tmp directory
Swap space allocation
relative to RAM (Oracle Between 1 GB and 2 GB: 1.5 times the size of the RAM
Database) Between 2 GB and 16 GB: Equal to the size of the RAM
More than 16 GB: 16 GB
Note: If you enable HugePages for your Linux servers,
then you should deduct the memory allocated to
HugePages from the available RAM before calculating
swap space.
1-3
Chapter 1
Server Configuration Checklist for Oracle Database Installation
Check Task
Swap space allocation
relative to RAM (Oracle Between 8 GB and 16 GB: Equal to the size of the RAM
Restart) More than 16 GB: 16 GB
Note: If you enable HugePages for your Linux servers,
then you should deduct the memory allocated to
HugePages from the available RAM before calculating
swap space.
1-4
Chapter 1
Oracle User Environment Configuration Checklist for Oracle Database Installation
Check Task
Set locale (if needed) Specify the language and the territory, or locale, in which you
want to use Oracle components. A locale is a linguistic and
cultural environment in which a system or program is running.
NLS (National Language Support) parameters determine the
locale-specific behavior on both servers and clients. The locale
setting of a component determines the language of the user
interface of the component, and the globalization behavior, such
as date and number formatting.
Check Shared Memory File By default, your operating system includes an entry in /etc/
System Mount fstab to mount /dev/shm. However, if your Cluster
Verification Utility (CVU) or Oracle Universal Installer (OUI)
checks fail, ensure that the /dev/shm mount area is of type
tmpfs and is mounted with the following options:
• rw and exec permissions set on it
• Without noexec or nosuid set on it
Note:
These options may not be listed
as they are usually set as the
default permissions by your
operating system.
Related Topics
• Checking and Configuring Server Hardware for Oracle Database
Verify that servers where you install Oracle Database meet the minimum
requirements for installation.
• Configuring Users, Groups and Environments for Oracle Grid Infrastructure and
Oracle Database
Before installation, create operating system groups and users, and configure user
environments.
• Oracle Database Globalization Support Guide
1-5
Chapter 1
Oracle User Environment Configuration Checklist for Oracle Database Installation
Check Task
Review Oracle Inventory The physical group you designate as the Oracle Inventory
(oraInventory) and directory is the central inventory of Oracle software installed on
OINSTALL Group your system. It should be the primary group for all Oracle
Requirements software installation owners. Users who have the Oracle
Inventory group as their primary group are granted the
OINSTALL privilege to read and write to the central inventory.
• If you have an existing installation, then OUI detects the
existing oraInventory directory from the/etc/
oraInst.loc file, and uses this location.
• If you are installing Oracle software for the first time, then
you can specify the Oracle inventory directory and the
Oracle base directory during the Oracle software
installation, and Oracle Universal Installer will set up the
software directories for you. Ensure that the directory paths
that you specify are in compliance with the Oracle Optimal
Flexible Architecture recommendations.
Ensure that the group designated as the OINSTALL group is
available as the primary group for all planned Oracle software
installation owners.
Create operating system Create operating system groups and users depending on your
groups and users for security requirements, as described in this install guide.
standard or role-allocated Set resource limits settings and other requirements for Oracle
system privileges software installation owners.
Group and user names must use only ASCII characters.
Unset Oracle Software If you have had an existing installation on your system, and you
Environment Variables are using the same user account to install this installation, then
unset the ORACLE_HOME, ORACLE_BASE, ORACLE_SID,
TNS_ADMIN environment variables and any other environment
variable set for the Oracle installation user that is connected
with Oracle software homes.
Configure the Oracle Configure the environment of the oracle or grid user by
Software Owner Environment performing the following tasks:
• Set the default file mode creation mask (umask) to 022 in
the shell startup file.
• Set the DISPLAY environment variable.
Related Topics
• Optimal Flexible Architecture
Oracle Optimal Flexible Architecture (OFA) rules are a set of configuration
guidelines created to ensure well-organized Oracle installations, which simplifies
administration, support and maintenance.
Related Topics
• Configuring Users, Groups and Environments for Oracle Grid Infrastructure and
Oracle Database
Before installation, create operating system groups and users, and configure user
environments.
1-6
Chapter 1
Storage Checklist for Oracle Database Installation
Check Task
Minimum local disk
storage space for For Linux x86-64:
Oracle software At least 6.5 GB for an Oracle Grid Infrastructure for a standalone
server installation.
At least 7.2 GB for Oracle Database Enterprise Edition.
At least 7.2 GB for Oracle Database Standard Edition 2.
Note:
Oracle recommends that you allocate
approximately 100 GB to allow additional
space for applying any future patches on
top of the existing Oracle home. For
specific patch-related disk space
requirements, please refer to your patch
documentation.
Select Database Ensure that you have one of the following storage options available:
File Storage Option • File system mounted on the server. Oracle recommends that the file
system you select is separate from the file system used by the
operating system or the Oracle software. Options include the
following:
– A file system on a logical volume manager (LVM) volume or a
RAID device
– A network file system (NFS) mounted on a certified network-
attached storage (NAS) device
• Oracle Automatic Storage Management (Oracle ASM).
Oracle ASM is installed as part of an Oracle Grid Infrastructure
installation. If you plan to use Oracle ASM for storage, then you
should install Oracle Grid Infrastructure before you install and create
the database.
1-7
Chapter 1
Installer Planning Checklist for Oracle Database
Check Task
Determine your If you want to enable recovery during installation, then be prepared to
recovery plan select one of the following options:
• File system: Configure a fast recovery area on a file system during
installation
• Oracle Automatic Storage Management: Configure a fast recovery
area disk group using Oracle ASMCA.
Review the storage configuration sections of this document for more
information about configuring recovery.
Related Topics
• Configuring File System Storage for Oracle Database
Complete these procedures to use file system storage for Oracle Database.
Table 1-6 Oracle Universal Installer Planning Checklist for Oracle Database
Installation
Check Task
Read the Release Notes Review release notes for your platform, which are available for your
release at the following URL:
http://docs.oracle.com/en/database/database.html
Review Oracle Support New platforms and operating system software versions may be
Certification Matrix certified after this guide is published, review the certification matrix
on the My Oracle Support website for the most up-to-date list of
certified hardware platforms and operating system versions:
https://support.oracle.com/
You must register online before using My Oracle Support. After
logging in, from the menu options, select the Certifications tab. On
the Certifications page, use the Certification Search options to
search by Product, Release, and Platform. You can also search
using the Certification Quick Link options such as Product
Delivery, and Lifetime Support.
Review the Licensing You are permitted to use only those components in the Oracle
Information Database media pack for which you have purchased licenses. For
more information about licenses, refer to the following URL:
Oracle Database Licensing Information
1-8
Chapter 1
Installer Planning Checklist for Oracle Database
Table 1-6 (Cont.) Oracle Universal Installer Planning Checklist for Oracle
Database Installation
Check Task
Run OUI with CVU and Oracle Universal Installer is fully integrated with Cluster Verification
use fixup scripts Utility (CVU), automating many CVU prerequisite checks. Oracle
Universal Installer runs all prerequisite checks and creates fixup
scripts when you run the installer. You can run OUI up to the
Summary screen without starting the installation.
You can also run CVU commands manually to check system
readiness. For more information, see:
Oracle Clusterware Administration and Deployment Guide
Update and run Oracle Oracle recommends that you update to the latest version of Oracle
ORAchk for runtime and ORAchk.
upgrade checks, or The Oracle ORAchk utility provides system checks that can help to
runtime health checks prevent issues before and after installation. These checks include
kernel requirements, operating system resource allocations, and
other system requirements.
Use the Oracle ORAchk Upgrade Readiness Assessment to obtain
an automated upgrade-specific system health check for upgrades to
11.2.0.3, 11.2.0.4, 12.1.0.1, 12.1.0.2, 12.2, 18c, and 19c. For
example:
• Before you perform a fresh database installation:
./orachk -u -o pre
The Oracle ORAchk Upgrade Readiness Assessment automates
many of the manual pre- and post-upgrade checks described in
Oracle upgrade documentation. Check My Oracle Support Note
1268927.1 for more information about Oracle ORAchk support.
https://support.oracle.com/rs?type=doc&id=1268927.2
Verify if Oracle Grid If you want to use Oracle ASM or Oracle Restart, then install Oracle
Infrastructure is installed Grid Infrastructure for a standalone server before you install and
create the database. Otherwise, to use Oracle ASM, you must
complete an Oracle Grid Infrastructure installation, and then
manually register the database with Oracle Restart.
For Oracle Real Application Clusters (Oracle RAC) installations,
ensure that you have installed and configured Oracle Grid
Infrastructure for a cluster.
Check running Oracle • On a standalone database not using Oracle ASM: You do not
processes, and shut need to shut down the database while you install Oracle Grid
down if necessary Infrastructure.
• On a standalone database using Oracle ASM: The Oracle ASM
instances are restarted during installation.
• On an Oracle RAC Database node: This installation requires an
upgrade of Oracle Clusterware, as Oracle Clusterware is
required to run Oracle RAC. As part of the upgrade, you must
shut down the database one node at a time as the rolling
upgrade proceeds from node to node.
1-9
Chapter 1
Installer Planning Checklist for Oracle Database
Table 1-6 (Cont.) Oracle Universal Installer Planning Checklist for Oracle
Database Installation
Check Task
Ensure cron jobs do If the installer is running when daily cron jobs start, then you may
not run during encounter unexplained installation problems if your cron job is
installation performing cleanup, and temporary files are deleted before the
installation is finished. Oracle recommends that you complete
installation before daily cron jobs are run, or disable daily
cron
1-10
Chapter 1
Deployment Checklist for Oracle Database
Table 1-6 (Cont.) Oracle Universal Installer Planning Checklist for Oracle
Database Installation
Check Task
Determine superuser During a database or grid infrastructure installation, you are asked to
(root) privilege run configuration scripts as the root user.
delegation option for You can either run these scripts manually as root when prompted,
installation or you can provide configuration information and passwords using a
root privilege delegation option.
To run root scripts automatically, select Automatically run
configuration scripts during installation.
• Use root user credentials
Provide the superuser password for cluster member node
servers.
• Use Sudo
Sudo is a UNIX and Linux utility that allows members of the
sudoers list privileges to run individual commands as root.
Provide the username and password of an operating system
user that is a member of sudoers, and is authorized to run Sudo
on each cluster member node.
To enable Sudo, have a system administrator with the
appropriate privileges configure a user that is a member of the
sudoers list, and provide the username and password when
prompted during installation.
Oracle Database Client For information about interoperability between Oracle Database
and Oracle Database Client and Oracle Database releases, see My Oracle Support Note
interoperability 207303.1:
https://support.oracle.com/rs?type=doc&id=207303.1
Related Topics
• Installing Oracle Database
Oracle Database and Oracle Grid Infrastructure installation software is available
as image-based zip files in multiple media, and can be installed using several
options.
• Installing and Configuring Oracle Grid Infrastructure for a Standalone Server
Oracle Grid Infrastructure for a standalone server includes Oracle Restart and
Oracle Automatic Storage Management.
1-11
Chapter 1
Deployment Checklist for Oracle Database
Item Task
To deploy single- Use one of the following deployment methods:
instance Oracle • Install Oracle Database software using Oracle Universal Installer
Database software (OUI).
• Provision Oracle Database software using Oracle Fleet Patching
and Provisioning.
• Clone Oracle Database.
To deploy single- Use one of the following deployment methods:
instance Oracle • Install Oracle Database software using Oracle Universal Installer
Database software (OUI).
and create • Provision Oracle Database software using Oracle Fleet Patching
databases
and Provisioning.
• Clone Oracle Database.
To create single- • Use Oracle Database Configuration Assistant (Oracle DBCA).
instance Oracle • Use Oracle Fleet Patching and Provisioning
Database in an
already-installed
Oracle home
Related Topics
• Installing Oracle Database
Oracle Database and Oracle Grid Infrastructure installation software is available
as image-based zip files in multiple media, and can be installed using several
options.
• About Deploying Oracle Database Using Oracle Fleet Patching and Provisioning
You can use Oracle Fleet Patching and Provisioning (Oracle FPP) to provision
Oracle Database software.
• Oracle Database Administrator’s Guide
See Also:
Oracle Clusterware Administration and Deployment Guide for more
information about Oracle Fleet Patching and Provisioning
1-12
2
Checking and Configuring Server
Hardware for Oracle Database
Verify that servers where you install Oracle Database meet the minimum requirements
for installation.
This section provides minimum server requirements to complete installation of Oracle
Database. It does not provide system resource guidelines, or other tuning guidelines
for particular workloads.
• Logging In to a Remote System Using X Window System
Use this procedure to run Oracle Universal Installer (OUI) by logging on to a
remote system where the runtime setting prohibits logging in directly to a graphical
user interface (GUI).
• Checking Server Hardware and Memory Configuration
Use this procedure to gather information about your server configuration.
Note:
If you log in as another user (for example, oracle or grid), then repeat this
procedure for that user as well.
1. Start an X Window System session. If you are using an X Window System terminal
emulator from a PC or similar system, then you may need to configure security
settings to permit remote hosts to display X applications on your local system.
2. Enter a command using the following syntax to enable remote hosts to display X
applications on the local X server:
# xhost + RemoteHost
# xhost + somehost.example.com
somehost.example.com being added to the access control list
2-1
Chapter 2
Checking Server Hardware and Memory Configuration
3. If you are not installing the software on the local system, then use the ssh
command to connect to the system where you want to install the software:
# ssh -Y RemoteHost
RemoteHost is the fully qualified remote host name. The -Y flag ("yes") enables
remote X11 clients to have full access to the original X11 display. For example:
# ssh -Y somehost.example.com
4. If you are not logged in as the root user, and you are performing configuration
steps that require root user privileges, then switch the user to root.
Note:
For more information about remote login using X Window System, refer to
your X server documentation, or contact your X server vendor or system
administrator. Depending on the X server software that you are using, you
may have to complete the tasks in a different order.
If the size of the physical RAM installed in the system is less than the required
size, then you must install more memory before continuing.
2. Determine the size of the configured swap space:
If necessary, see your operating system documentation for information about how
to configure additional swap space.
3. Determine the amount of space available in the /tmp directory:
# df -h /tmp
If the free space available in the /tmp directory is less than what is required, then
complete one of the following steps:
• Delete unnecessary files from the /tmp directory to meet the disk space
requirement.
• When you set the Oracle user's environment, also set the TMP and TMPDIR
environment variables to the directory you want to use instead of /tmp.
2-2
Chapter 2
Checking Server Hardware and Memory Configuration
4. Determine the amount of free RAM and disk swap space on the system:
# free
# uname -m
Verify that the processor architecture matches the Oracle software release to
install. For example, you should see the following for a x86-64 bit system:
x86_64
If you do not see the expected output, then you cannot install the software on this
system.
6. Verify that shared memory (/dev/shm) is mounted properly with sufficient size:
df -h /dev/shm
The df-h command displays the filesystem on which /dev/shm is mounted, and
also displays in GB the total size and free size of shared memory.
Related Topics
• Server Hardware Checklist for Oracle Database Installation
Use this checklist to check hardware requirements for Oracle Database.
2-3
3
Automatically Configuring Oracle Linux
with Oracle Preinstallation RPM
Use Oracle Preinstallation RPM to simplify operating system configuration in
preparation for Oracle software installations.
Oracle recommends that you install Oracle Linux 7 and use Oracle Preinstallation
RPM to configure your operating systems for Oracle Database and Oracle Grid
Infrastructure installations.
• Overview of Oracle Linux Configuration with Oracle Preinstallation RPM
Use Oracle Preinstallation RPM to simplify operating system configuration, and to
ensure that you have required kernel packages.
• Installing the Oracle Preinstallation RPM with ULN Support
Use this procedure to subscribe to Unbreakable Linux Network (ULN) Oracle Linux
channels for your Oracle software.
• Installing the Oracle Preinstallation RPM From Unbreakable Linux Network
Use this procedure to subscribe to Oracle Linux channels, and to add the Oracle
Linux channel that distributes the Oracle Preinstallation RPM.
• Installing a New Oracle Linux Installation from DVDs or Images
Use this procedure to install a new Oracle Linux installation and to perform system
configuration with the Oracle Preinstallation RPM:
• Installing Oracle Linux with Oracle Linux Yum Server Support
Use this procedure to install Oracle Linux and configure your Linux installation for
security errata or bug fix updates using the Oracle Linux yum server.
• Configuring Oracle Ksplice to Perform Oracle Linux Updates
You can configure Oracle Ksplice to perform zero downtime updates for your
operating system if you have an Oracle Linux Premier Support subscription and an
access key, which is available on Unbreakable Linux Network (ULN).
• Configure Additional Operating System Features
Oracle recommends that you configure your operating system before starting
installation with additional features, such as IPMI or additional programming
environments.
3-1
Chapter 3
Installing the Oracle Preinstallation RPM with ULN Support
The Oracle Preinstallation RPM for your Oracle Linux distributions and database
release automatically installs any additional packages needed for installing Oracle Grid
Infrastructure and Oracle Database, and configures your server operating system
automatically, including setting kernel parameters and other basic operating system
requirements for installation. For more information about Oracle Linux and Oracle
Preinstallation RPM, refer to:
http://docs.oracle.com/en/operating-systems/linux.html
Configuring a server using Oracle Linux and the Oracle Preinstallation RPM consists
of the following steps:
1. Install Oracle Linux.
2. Register your Linux distribution with Oracle Unbreakable Linux Network (ULN) or
download and configure the yum repository for your system using the Oracle Linux
yum server for your Oracle Linux release.
3. Install the Oracle Preinstallation RPM with the RPM for your Oracle Grid
Infrastructure and Oracle Database releases, and update your Linux release.
4. Create role-allocated groups and users with identical names and ID numbers.
5. Complete network interface configuration for each cluster node candidate.
6. Complete system configuration for shared storage access as required for each
standard or core node cluster candidate.
After these steps are complete, you can proceed to install Oracle Grid Infrastructure
and Oracle Database.
https://linux.oracle.com
3. Start a terminal session and enter the following command as root, depending on
your platform. For example:
• Oracle Linux 7:
3-2
Chapter 3
Installing the Oracle Preinstallation RPM From Unbreakable Linux Network
Note:
Use the -y option if you want yum to skip the package confirmation
prompt.
You should see output indicating that you have subscribed to the Oracle Linux
channel, and that packages are being installed.
Oracle Linux automatically creates a standard (not role-allocated) Oracle
installation owner and groups, and sets up other kernel configuration settings as
required for Oracle installations.
4. Check the RPM log file to review the system configuration changes. For example,
on Oracle Linux 7:
/var/log/oracle-database-preinstall-19c/backup/timestamp/orakernel.log
3-3
Chapter 3
Installing a New Oracle Linux Installation from DVDs or Images
Note:
Use the -y option if you want yum to skip the package confirmation
prompt.
You should see output indicating that you have subscribed to the Oracle Linux
channel, and that packages are being installed.
Oracle Linux automatically creates standard (not role-allocated) Oracle installation
owner and groups, and sets up other kernel configuration settings as required for
Oracle installations.
9. Enter the following command as root to update the sysctl.conf settings:
# sysctl -p
Note:
The RPM packages set the Oracle software user to oracle by default.
Before installing Oracle Database, you can update the Oracle user name
in the /etc/security/limits.d/oracle-database-
preinstall-19c.conf file and other configuration files.
10. Check the RPM log file to review the system configuration changes. For example,
on Oracle Linux 7:
/var/log/oracle-database-preinstall-19c/backup/timestamp/orakernel.log
https://shop.oracle.com
https://edelivery.oracle.com/linux
2. Start the Oracle Linux installation and respond to installation screens with values
appropriate for your environment.
3-4
Chapter 3
Installing Oracle Linux with Oracle Linux Yum Server Support
3. Review the first software selection screen, which lists task-specific software
options. At the bottom of the screen, there is an option to customize now or
customize later. Select Customize now, and click Next.
4. On Oracle Linux, select Servers on the left of the screen and System
administration tools on the right of the screen (options may vary between
releases).
The Packages in System Tools window opens.
5. Select the Oracle Preinstallation RPM package box from the package list. For
example, for Oracle Linux 7, select a package similar to the following:
oracle-database-preinstall-19c-1.0-4.el7.x86_64.rpm
If you do not have an Oracle Preinstallation RPM package option that is current for
your Oracle Database release, because you are using an Oracle Linux installation
that is previous to your Oracle Database and Oracle Grid Infrastructure release,
then install the RPM for your release manually after completing the operating
system installation.
6. Close the optional package window and click Next.
7. Complete the other screens to finish the Oracle Linux installation.
Oracle Linux automatically creates a standard (not role-allocated) Oracle
installation owner and groups, and sets up other kernel configuration settings as
required for Oracle installations.
8. Repeat steps 2 through 6 on all other cluster member nodes.
3-5
Chapter 3
Configuring Oracle Ksplice to Perform Oracle Linux Updates
For example:
# cd /etc/yum.repos.d/
wget http://yum.oracle.com/public-yum-ol7.repo
Note:
Use the -y option if you want yum to skip the package confirmation
prompt.
You should see output indicating that you have subscribed to the Oracle Linux
channel, and that packages are being installed.
Oracle Linux automatically creates a standard (not role-allocated) Oracle
installation owner and groups and sets up other kernel configuration settings as
required for Oracle installations. If you plan to use job-role separation, then create
the extended set of database users and groups depending on your requirements.
After installation, run the command yum update as needed to obtain the most
current security errata and bug fixes for your Oracle Linux installation.
3-6
Chapter 3
Configure Additional Operating System Features
3. Ensure that you have access to the Internet on the server where you want to use
Ksplice. For example, if you are using a proxy server, then set the proxy server
and port values in the shell with commands similar to the following:
# export http_proxy=http://proxy.example.com:port
# export https_proxy=http://proxy.example.com:port
rpm -i ksplice-uptrack-release.noarch.rpm
yum -y install uptrack
3-7
4
Configuring Operating Systems for Oracle
Database on Linux
Complete operating system configuration requirements and checks for Linux operating
systems before you start installation.
You must meet the minimum requirements such as the operating system distribution,
packages, and other software requirements for this release before you start an Oracle
Database or Oracle Grid Infrastructure installation.
• Guidelines for Linux Operating System Installation
Operating system guidelines to be aware of before proceeding with an Oracle
installation.
• Reviewing Operating System and Software Upgrade Best Practices
These topics provide general planning guidelines and platform-specific information
about upgrades and migration.
• Reviewing Operating System Security Common Practices
Secure operating systems are an important basis for general system security.
• About Installation Fixup Scripts
Oracle Universal Installer detects when the minimum requirements for an
installation are not met, and creates shell scripts, called fixup scripts, to finish
incomplete system configuration steps.
• About Operating System Requirements
Depending on the products that you intend to install, verify that you have the
required operating system kernel and packages installed.
• Using Oracle RPM Checker on IBM: Linux on System z
Use the Oracle RPM Checker utility to verify that you have the required Red Hat
Enterprise Linux or SUSE packages installed on the operating system before you
start the Oracle Database or Oracle Grid Infrastructure installation.
• Operating System Requirements for x86-64 Linux Platforms
The Linux distributions and packages listed in this section are supported for this
release on x86-64.
• Operating System Requirements for IBM: Linux on System z
The Linux distributions and packages listed in this section are supported for this
release on IBM: Linux on System z.
• Additional Drivers and Software Packages for Linux
Information about optional drivers and software packages.
• Checking Kernel and Package Requirements for Linux
Verify your kernel and packages to see if they meet minimum requirements for
installation.
• Installing the cvuqdisk RPM for Linux
If you do not use an Oracle Preinstallation RPM, and you want to use the Cluster
Verification Utility, then you must install the cvuqdisk RPM.
4-1
Chapter 4
Guidelines for Linux Operating System Installation
4-2
Chapter 4
Guidelines for Linux Operating System Installation
Note:
The Oracle Preinstallation RPM installs the X11 client libraries, but it does
not install the X Window System server packages. To use graphical user
interfaces such as OUI, configuration assistants, and Oracle Enterprise
Manager, set the display to a system with X Window System server
packages.
Refer to the following URL for documentation regarding installation of a reduced set of
packages:
https://support.oracle.com/rs?type=doc&id=579101.1
If you are not a member of Unbreakable Linux Network or Red Hat Support network,
and you are a My Oracle Support customer, then you can download instructions to
configure a script that documents installation of a reduced set of packages from the
same My Oracle Support Note.
You can also search for "Linux reduced set of packages" to locate the instructions.
Unbreakable Linux Network (ULN) customers can obtain the Oracle Preinstallation
RPM by using yum.
4-3
Chapter 4
Guidelines for Linux Operating System Installation
http://yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64//
http://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64
If you do not see a list of SSH packages, then install those packages for your Linux
distribution.
4-4
Chapter 4
Guidelines for Linux Operating System Installation
http://www.oracle.com/us/technologies/linux
The Unbreakable Enterprise Kernel for Oracle Linux is the standard kernel used with
Oracle products. The build and QA systems for Oracle Database and other Oracle
products use the Unbreakable Enterprise Kernel for Oracle Linux exclusively. The
Unbreakable Enterprise Kernel for Oracle Linux is also the kernel used in Oracle
Exadata and Oracle Exalogic systems. Unbreakable Enterprise Kernel for Oracle
Linux is used in all benchmark tests on Linux in which Oracle participates, as well as in
the Oracle Preinstallation RPM program for x86-64.
Oracle Ksplice, which is part of Oracle Linux, updates the Linux operating system (OS)
kernel, while it is running, without requiring restarts or any interruption. Ksplice is
available only with Oracle Linux.
Note:
The Oracle Preinstallation RPM does not install OpenSSH, which is required
for Oracle Grid Infrastructure installation. If you perform a minimal Linux
installation and install the Oracle Preinstallation RPM for your release, then
you must also install the OpenSSH client manually. Using RSH is no longer
supported.
4-5
Chapter 4
Guidelines for Linux Operating System Installation
To register your server on the Unbreakable Linux Network, or to find out more
information, see the following URL:
https://linux.oracle.com
If you are using Oracle Linux 5.2 or a higher release, then the Oracle Preinstallation
RPM is included on the install media.
Note:
The Oracle Preinstallation RPM designated for each Oracle Database
release sets kernel parameters and resource limits only for the user account
oracle. To use multiple software account owners, you must perform system
configuration for other accounts manually.
Related Topics
• Automatically Configuring Oracle Linux with Oracle Preinstallation RPM
Use Oracle Preinstallation RPM to simplify operating system configuration in
preparation for Oracle software installations.
4-6
Chapter 4
Reviewing Operating System and Software Upgrade Best Practices
of all the databases you intend to install on the cluster, as well as the Grid
Infrastructure Management Repository.
Related Topics
• Oracle Database Administrator's Reference for Linux and UNIX-Based Operating
Systems
Caution:
Always create a backup of existing databases before starting any
configuration change.
Refer to Oracle Database Upgrade Guide for more information about required
software updates, pre-upgrade tasks, post-upgrade tasks, compatibility, and
interoperability between different releases.
Related Topics
• Oracle Database Upgrade Guide
4-7
Chapter 4
Reviewing Operating System and Software Upgrade Best Practices
Note:
Confirm that the server operating system is supported, and that kernel and
package requirements for the operating system meet or exceed the minimum
requirements for the Oracle Database release to which you want to migrate.
Manual, Command-Line Copy for Migrating Data and Upgrading Oracle Database
You can copy files to the new server and upgrade it manually. If you use this
procedure, then you cannot use Oracle Database Upgrade Assistant. However, you
can revert to your existing database if you encounter upgrade issues.
1. Copy the database files from the computer running the previous operating system
to the one running the new operating system.
2. Re-create the control files on the computer running the new operating system.
3. Manually upgrade the database using command-line scripts and utilities.
See Also:
Oracle Database Upgrade Guide to review the procedure for upgrading the
database manually, and to evaluate the risks and benefits of this option
See Also:
Oracle Database Upgrade Guide to review the Export/Import method for
migrating data and upgrading Oracle Database
4-8
Chapter 4
Reviewing Operating System Security Common Practices
• You can upgrade Oracle Automatic Storage Management (Oracle ASM) 11g
release 2 (11.2) and later without shutting down an Oracle RAC database by
performing a rolling upgrade either of individual nodes, or of a set of nodes in the
cluster. However, if you have a standalone database on a cluster that uses Oracle
ASM, then you must shut down the standalone database before upgrading.
• The location of the Oracle ASM home changed in Oracle Grid Infrastructure 11g
release 2 (11.2) so that Oracle ASM is installed with Oracle Clusterware in the
Oracle Grid Infrastructure home (Grid home).
• Two nodes of different releases cannot run in the cluster. When upgrading from
Oracle Grid Infrastructure 11g release 2 (11.2) or Oracle Grid Infrastructure 12c
release 1 (12.1) to a later release, if there is an outage during the rolling upgrade,
then when you restart the upgrade, ensure that you start the earlier release of
Oracle Grid Infrastructure and bring the Oracle ASM cluster back in the rolling
migration mode.
4-9
Chapter 4
About Operating System Requirements
Note:
Using fixup scripts does not ensure that all the prerequisites for installing
Oracle Database are met. You must still verify that all the preinstallation
requirements are met to ensure a successful installation.
Oracle Universal Installer is fully integrated with Cluster Verification Utility (CVU)
automating many prerequisite checks for your Oracle Grid Infrastructure or Oracle
Real Application Clusters (Oracle RAC) installation. You can also manually perform
various CVU verifications by running the cluvfy command.
Related Topics
• Completing Preinstallation Tasks Manually
You can complete the preinstallation configuration tasks manually.
• Minimum Parameter Settings for Installation
Use this table to set parameters manually if you cannot use the fixup scripts.
• Oracle Clusterware Administration and Deployment Guide
Note:
Oracle does not support running different operating system versions on
cluster members, unless an operating system is being upgraded. You cannot
run different operating system version binaries on members of the same
cluster, even if each operating system is supported.
4-10
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
https://support.oracle.com/rs?type=doc&id=2553465.1
Download the Oracle RPM Checker utility for your IBM: Linux on System z distribution,
unzip the RPM, and install the RPM as root. Then, run the utility as root to check
your operating system packages. For example:
On Red Hat Enterprise Linux 7:
On Red Hat Enterprise Linux, the utility checks and also installs all required RPMs. For
example:
On Red Hat Enterprise Linux 7:
# rpm -e ora-val-rpm-RH7-DB-19c.s390x
# rpm -e ora-val-rpm-S12-DB-19c.s390x
4-11
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
Note:
The platform-specific hardware and software requirements included in this guide were
current when this guide was published. However, because new platforms and
operating system software versions may be certified after this guide is published,
review the certification matrix on the My Oracle Support website for the most up-to-
date list of certified hardware platforms and operating system versions:
https://support.oracle.com/
• Supported Oracle Linux 7 Distributions for x86-64
Use the following information to check supported Oracle Linux 7 distributions:
• Supported Red Hat Enterprise Linux 7 Distributions for x86-64
Use the following information to check supported Red Hat Enterprise Linux 7
distributions:
• Supported SUSE Linux Enterprise Server 12 Distributions for x86-64
Use the following information to check supported SUSE Linux Enterprise Server
12 distributions:
• Supported SUSE Linux Enterprise Server 15 Distributions for x86-64
Use the following information to check supported SUSE Linux Enterprise Server
15 distributions:
• Installing Operating System Packages
Learn how to install the latest version of your Oracle Linux and SUSE Linux
Enterprise Server operating system packages listed earlier.
4-12
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
Item Requirements
SSH Requirement Ensure that OpenSSH is installed on your servers. OpenSSH is the
required SSH software.
Oracle Linux 7 Subscribe to the Oracle Linux 7 channel on the Unbreakable Linux
Network, or configure a yum repository from the Oracle Linux yum
server website, and then install the Oracle Preinstallation RPM. This
RPM installs all required kernel packages for Oracle Grid Infrastructure
and Oracle Database installations, and performs other system
configuration.
Supported distributions:
• Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 4:
4.1.12-124.19.2.el7uek.x86_64 or later
• Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 5:
4.14.35-1818.1.6.el7uek.x86_64 or later
• Oracle Linux 7.5 with the Red Hat Compatible kernel:
3.10.0-862.11.6.el7.x86_64 or later
4-13
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
Item Requirements
Packages for Oracle Install the latest released versions of the following packages:
Linux 7
bc
binutils
compat-libcap1
compat-libstdc++
elfutils-libelf
elfutils-libelf-devel
fontconfig-devel
glibc
glibc-devel
ksh
libaio
libaio-devel
libXrender
libXrender-devel
libX11
libXau
libXi
libXtst
libgcc
libstdc++
libstdc++-devel
libxcb
make
net-tools (for Oracle RAC and Oracle Clusterware)
nfs-utils (for Oracle ACFS)
python (for Oracle ACFS Remote)
python-configshell (for Oracle ACFS Remote)
python-rtslib (for Oracle ACFS Remote)
python-six (for Oracle ACFS Remote)
targetcli (for Oracle ACFS Remote)
smartmontools
sysstat
Note:
If you intend to use 32-bit client
applications to access 64-bit servers,
then you must also install (where
available) the latest 32-bit versions of the
packages listed in this table.
4-14
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
Item Requirements
KVM virtualization Kernel-based virtual machine (KVM), also known as KVM
virtualization, is certified on Oracle Database 19c for all supported
Oracle Linux 7 distributions. For more information on supported
virtualization technologies for Oracle Database, refer to the
virtualization matrix:
https://www.oracle.com/database/technologies/virtualization-
matrix.html
Related Topics
• Installing Operating System Packages
Learn how to install the latest version of your Oracle Linux and SUSE Linux
Enterprise Server operating system packages listed earlier.
Related Topics
• Installing Operating System Packages
Learn how to install the latest version of your Oracle Linux and SUSE Linux
Enterprise Server operating system packages listed earlier.
Table 4-2 x86-64 Red Hat Enterprise Linux 7 Minimum Operating System
Requirements
Item Requirements
SSH Requirement Ensure that OpenSSH is installed on your servers. OpenSSH is the
required SSH software.
Red Hat Enterprise Supported distributions:
Linux 7 • Red Hat Enterprise Linux 7.5: 3.10.0-862.11.6.el7.x86_64 or later
4-15
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
Table 4-2 (Cont.) x86-64 Red Hat Enterprise Linux 7 Minimum Operating
System Requirements
Item Requirements
Packages for Red Hat Install the latest released versions of the following packages:
Enterprise Linux 7
bc
binutils
compat-libcap1
compat-libstdc++
elfutils-libelf
elfutils-libelf-devel
fontconfig-devel
glibc
glibc-devel
ksh
libaio
libaio-devel
libX11
libXau
libXi
libXtst
libXrender
libXrender-devel
libgcc
libstdc++
libstdc++-devel
libxcb
make
net-tools (for Oracle RAC and Oracle Clusterware)
nfs-utils (for Oracle ACFS)
python (for Oracle ACFS Remote)
python-configshell (for Oracle ACFS Remote)
python-rtslib (for Oracle ACFS Remote)
python-six (for Oracle ACFS Remote)
targetcli (for Oracle ACFS Remote)
smartmontools
sysstat
Note:
If you intend to use 32-bit client
applications to access 64-bit servers,
then you must also install (where
available) the latest 32-bit versions of the
packages listed in this table.
4-16
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
Table 4-3 x86-64 SUSE Linux Enterprise Server 12 Minimum Operating System
Requirements
Item Requirements
SSH Requirement Ensure that OpenSSH is installed on your servers. OpenSSH is the
required SSH software.
SUSE Linux Supported distributions:
Enterprise Server SUSE Linux Enterprise Server 12 SP3: 4.4.162-94.72-default or later
or later
4-17
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
Table 4-3 (Cont.) x86-64 SUSE Linux Enterprise Server 12 Minimum Operating
System Requirements
Item Requirements
Package requirements Install the latest released versions of the following packages:
for SUSE Linux
Enterprise Server 12 bc
binutils
glibc
glibc-devel
libX11
libXau6
libXtst6
libcap-ng-utils
libcap-ng0
libcap-progs
libcap1
libcap2
libelf-devel
libgcc_s1
libjpeg-turbo
libjpeg62
libjpeg62-turbo
libpcap1
libpcre1
libpcre16-0
libpng16-16
libstdc++6
libtiff5
libaio-devel
libaio1
libXrender1
make
mksh
net-tools (for Oracle RAC and Oracle Clusterware)
nfs-kernel-server ( for Oracle ACFS)
pixz
rdma-core
rdma-core-devel
smartmontools
sysstat
xorg-x11-libs
xz
Note:
If you intend to use 32-bit client
applications to access 64-bit servers,
then you must also install (where
available) the latest 32-bit versions of the
packages listed in this table.
4-18
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
Related Topics
• Installing Operating System Packages
Learn how to install the latest version of your Oracle Linux and SUSE Linux
Enterprise Server operating system packages listed earlier.
Table 4-4 x86-64 SUSE Linux Enterprise Server 15 Minimum Operating System
Requirements
Item Requirements
SSH Requirement Ensure that OpenSSH is installed on your servers. OpenSSH is the
required SSH software.
SUSE Linux Supported distributions:
Enterprise Server SUSE Linux Enterprise Server 15: 4.12.14-23-default or later
4-19
Chapter 4
Operating System Requirements for x86-64 Linux Platforms
Table 4-4 (Cont.) x86-64 SUSE Linux Enterprise Server 15 Minimum Operating
System Requirements
Item Requirements
Package requirements Install the latest released versions of the following packages:
for SUSE Linux
Enterprise Server 15 bc
binutils
glibc
glibc-devel
libaio-devel
libaio1
libX11
libXau6
libXext-devel
libXext6
libXi-devel
libXi6
libXrender-devel
libXrender1
libXtst6
libcap-ng-utils
libcap-ng0
libcap-progs
libcap1
libcap2
libelf1
libgcc_s1
libjpeg-turbo
libjpeg62
libjpeg62-turbo
libjpeg8
libpcap1
libpcre1
libpcre16-0
libpng16-16
libstdc++6
libtiff5
libgfortran4
mksh
make
net-tools (for Oracle RAC and Oracle Clusterware)
nfs-kernel-server (for Oracle ACFS)
pixz
rdma-core
rdma-core-devel
smartmontools
sysstat
xorg-x11-libs
xz
4-20
Chapter 4
Operating System Requirements for IBM: Linux on System z
Table 4-4 (Cont.) x86-64 SUSE Linux Enterprise Server 15 Minimum Operating
System Requirements
Item Requirements
Note:
If you intend to use 32-bit client
applications to access 64-bit servers,
then you must also install (where
available) the latest 32-bit versions of the
packages listed in this table.
Patches and Known • For a list of latest Release Updates (RU) and Release Update
Issues Revisions (RUR) patches for SUSE Linux Enterprise Server 15,
visit My Oracle Support
• For a list of known issues and open bugs for SUSE Linux
Enterprise Server 15, read the Oracle Database Release Notes
$ yum install bc
On SUSE Linux Enterprise Server, to install the latest bc package using YaST, run the
following command:
$ yast --install bc
4-21
Chapter 4
Operating System Requirements for IBM: Linux on System z
Note:
32-bit packages in these requirements lists are needed only if you intend to
use 32-bit client applications to access 64-bit servers.
The platform-specific hardware and software requirements included in this guide were
current when this guide was published. However, because new platforms and
operating system software versions may be certified after this guide is published,
review the certification matrix on the My Oracle Support website for the most up-to-
date list of certified hardware platforms and operating system versions:
https://support.oracle.com/
• Supported Red Hat Enterprise Linux 7 Distributions for IBM: Linux on System z
Use the following information to check supported Red Hat Enterprise Linux 7
distributions:
• Supported SUSE Linux Enterprise Server 12 Distributions for IBM: Linux on
System z
Use the following information to check supported SUSE Linux Enterprise Server
12 distributions:
Item Requirements
SSH Requirement Ensure that OpenSSH is installed on your servers. OpenSSH is the
required SSH software.
Red Hat Enterprise Red Hat Enterprise Linux 7.4: 3.10.0-693.el7.s390x or later
Linux 7
4-22
Chapter 4
Operating System Requirements for IBM: Linux on System z
Table 4-5 (Cont.) Red Hat Enterprise Linux 7 Minimum Operating System
Requirements
Item Requirements
Packages for Red Hat The following packages (or later versions) must be installed:
Enterprise Linux 7
binutils-2.25.1-31.base.el7 (s390x)
compat-libcap1-1.10-7.el7 (s390x)
gcc-4.8.5-16.el7 (s390x)
gcc-c++-4.8.5-16.el7 (s390x)
glibc-2.17-196.el7 (s390)
glibc-2.17-196.el7 (s390x)
glibc-devel-2.17-196.el7 (s390)
glibc-devel-2.17-196.el7 (s390x)
ksh-20120801-34.el7 (s390x)
libX11-1.6.5-1.el7 (s390)
libX11-1.6.5-1.el7 (s390x)
libXaw-1.0.13-4.el7 (s390x)
libXft-2.3.2-2.el7 (s390)
libXi-1.7.9-1.el7 (s390)
libXi-1.7.9-1.el7 (s390x)
libXmu-1.1.2-2.el7 (s390)
libXp-1.0.2-2.1.el7 (s390)
libXtst-1.2.3-1.el7 (s390)
libXtst-1.2.3-1.el7 (s390x)
libaio-0.3.109-13.el7 (s390)
libaio-0.3.109-13.el7 (s390x)
libaio-devel-0.3.109-13.el7 (s390x)
libattr-devel-2.4.46-12.el7 (s390)
libattr-devel-2.4.46-12.el7 (s390x)
libgcc-4.8.5-16.el7 (s390)
libgcc-4.8.5-16.el7 (s390x)
libgfortran-4.8.5-16.el7 (s390x)
libstdc++-4.8.5-16.el7 (s390x)
libstdc++-devel-4.8.5-16.el7 (s390x)
make-3.82-23.el7 (s390x)
pam-1.1.8-18.el7 (s390x)
pam-devel-1.1.8-18.el7 (s390x)
sysstat-10.1.5-12.el7 (s390x)
4-23
Chapter 4
Additional Drivers and Software Packages for Linux
Item Requirements
SSH Requirement Ensure that OpenSSH is installed on your servers. OpenSSH is the
required SSH software.
SUSE Linux SUSE Linux Enterprise Server 12: 4.4.73-5-default s390x or later
Enterprise Server 12
Packages for SUSE The following packages (or later versions) must be installed:
Linux Enterprise
Server 12 binutils-2.26.1-9.12.1 (s390x)
gcc-4.8-6.189 (s390x)
gcc-c++-4.8-6.189 (s390x)
glibc-2.22-61.3 (s390x)
glibc-2.22-61.3 (s390)
glibc-devel-2.22-61.3 (s390x)
glibc-devel-2.22-61.3 (s390)
libaio-devel-0.3.109-17.15 (s390x)
libaio1-0.3.109-17.15 (s390x)
libaio1-0.3.109-17.15 (s390)
libX11-6-1.6.2-11.1 (s390x)
libXau6-1.0.8-4.58 (s390x)
libXau6-1.0.8-4.58 (s390x)
libXaw7-1.0.12-4.1 (s390x)
libXext6-1.3.2-3.61 (s390x)
libXext6-1.3.2-3.61 (s390)
libXft2-2.3.1-9.32 (s390x)
libXft2-2.3.1-9.32 (s390)
libXi6-1.7.4-17.1 (s390x)
libXi6-1.7.4-17.1 (s390)
libXmu6-1.1.2-3.60 (s390x)
libXp6-1.0.2-3.58 (s390x)
libXp6-1.0.2-3.58 (s390)
libXtst6-1.2.2-7.1 (s390x)
libXtst6-1.2.2-7.1 (s390)
libcap2-2.22-13.1 (s390x)
libstdc++48-devel-4.8.5-30.1 (s390)
libstdc++48-devel-4.8.5-30.1 (s390x)
libstdc++6-6.2.1+r239768-2.4 (s390)
libstdc++6-6.2.1+r239768-2.4 (s390x)
libxcb1-1.10-3.1 (s390x)
libxcb1-1.10-3.1 (s390)
libXmu6-1.1.2-3.60 (s390x)
mksh-50-2.13 (s390x)
make-4.0-4.1 (s390x)
4-24
Chapter 4
Additional Drivers and Software Packages for Linux
4-25
Chapter 4
Additional Drivers and Software Packages for Linux
Installing OCFS2
An OCFS2 installation consists of two parts, the kernel module and the tools module.
The supported version of the OCFS2 kernel module depends on the version of
Unbreakable Enterprise Kernel available with Oracle Linux 7. Run the following
command to install the latest version of the OCFS2 kernel module:
# yum install kernel-uek ocfs2
OCFS2 Release 1.8.6–9 is the supported version of OCFS2 tools module for this
release. After you install the OCFS2 kernel module, run the following command, to
install the OCFS2 tools module:
# yum install ocfs2–tools-1.8.6–9
Note:
Each cluster node should run the same version of OCFS2 modules and a
compatible version of Unbreakable Enterprise Kernel.
https://oss.oracle.com/projects/ocfs2/
Note:
Oracle Messaging Gateway does not support the integration of Advanced
Queuing with TIBCO Rendezvous on IBM: Linux on System z.
Related Topics
• Oracle Database Advanced Queuing User's Guide
4-26
Chapter 4
Additional Drivers and Software Packages for Linux
unixODBC-2.3.4 or later
4-27
Chapter 4
Additional Drivers and Software Packages for Linux
gcc
gcc-c++
gcc-info
gcc-locale
gcc48
gcc48-info
gcc48-locale
gcc48-c++
Note:
If you intend to use 32-bit
client applications to access
64-bit servers, then you must
also install the latest 32-bit
versions of the packages
listed in this table.
Oracle XML Developer's Kit Oracle XML Developer's Kit is supported with the same
(XDK) compilers as OCCI.
Pro*COBOL Micro Focus Visual COBOL for Eclipse 2.3 - Update 2
4-28
Chapter 4
Checking Kernel and Package Requirements for Linux
# cat /etc/oracle-release
# cat /etc/redhat-release
# cat /etc/SuSE-release
# lsb_release -id
# uname -r
4.1.12-112.16.7.el7uek.x86_64
4-29
Chapter 4
Installing the cvuqdisk RPM for Linux
Review the required errata level for your distribution. If the errata level is previous
to the required minimum errata update, then obtain and install the latest kernel
update from your Linux distributor.
3. To determine whether the required packages are installed, enter commands
similar to the following:
# rpm -q package_name
Alternatively, if you require specific system architecture information, then enter the
following command:
# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" |
grep package_name
You can also combine a query for multiple packages, and review the output for the
correct versions. For example:
If a package is not installed, then install it from your Linux distribution media or
download the required package version from your Linux distributor's website.
Without cvuqdisk, Cluster Verification Utility cannot discover shared disks, and you
receive the error message "Package cvuqdisk not installed" when you run Cluster
Verification Utility. Use the cvuqdisk RPM for your hardware (for example, x86_64).
1. Locate the cvuqdisk RPM package, which is located in the directory
Grid_home/cv/rpm. Where Grid_home is the Oracle Grid Infrastructure home
directory.
2. Copy the cvuqdisk package to each node on the cluster. You should ensure that
each node is running the same version of Linux.
3. Log in as root.
4. Use the following command to find if you have an existing version of the cvuqdisk
package:
If you have an existing version of cvuqdisk, then enter the following command to
deinstall the existing version:
# rpm -e cvuqdisk
5. Set the environment variable CVUQDISK_GRP to point to the group that owns
cvuqdisk, typically oinstall. For example:
4-30
Chapter 4
Confirming Host Name Resolution
6. In the directory where you have saved the cvuqdisk RPM, use the command rpm
-iv package to install the cvuqdisk package. For example:
ping myhostname
pinging myhostname.example.com [192.0.2.2] with 32 bytes of data:
Reply from 192.0.2.2: bytes=32 time=138ms TTL=56
Related Topics
• Configuring Networks for Oracle Database
If you install Oracle Databases on servers with multiple Oracle homes, multiple
aliases, or without a static IP address, then review these network configuration
topics.
Note:
Although Transparent HugePages is disabled on UEK2 and later UEK
kernels, Transparent HugePages may be enabled by default on your Linux
system.
Transparent HugePages memory is enabled by default with Oracle Linux 6 and later,
Red Hat Enterprise Linux 6 and later, SUSE 11 and later, kernels.
Transparent HugePages can cause memory allocation delays during runtime. To avoid
performance issues, Oracle recommends that you disable Transparent HugePages on
all Oracle Database servers. Oracle recommends that you instead use standard
HugePages for enhanced performance.
To check if Transparent HugePages is enabled, run one of the following commands as
the root user:
4-31
Chapter 4
Disabling Transparent HugePages
# cat /sys/kernel/mm/redhat_transparent_hugepage/enabled
Other kernels:
# cat /sys/kernel/mm/transparent_hugepage/enabled
The following is a sample output that shows Transparent HugePages are being used
as the [always] flag is enabled.
[always] never
Note:
If Transparent HugePages is removed from the kernel, then neither /sys/
kernel/mm/transparent_hugepage nor /sys/kernel/mm/
redhat_transparent_hugepage files exist.
transparent_hugepage=never
For example:
RUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet numa=off
transparent_hugepage=never"
GRUB_DISABLE_RECOVERY="true"
Note:
The file name may vary for your operating systems. Check your
operating system documentation for the exact file name and the steps to
disable Transparent HugePages.
# grub2-mkconfig -o /boot/grub2/grub.cfg
4-32
Chapter 4
Using Automatic SSH Configuration During Installation
Note:
Oracle configuration assistants use SSH for configuration operations from
local to remote nodes. Oracle Enterprise Manager also uses SSH. RSH is no
longer supported.
You can configure SSH from the OUI interface during installation for the user account
running the installation. The automatic configuration creates passwordless SSH
connectivity between all cluster member nodes. Oracle recommends that you use the
automatic procedure if possible.
To enable the script to run, you must remove stty commands from the profiles of any
existing Oracle software installation owners you want to use, and remove other
security measures that are triggered during a login, and that generate messages to the
terminal. These messages, mail checks, and other displays prevent Oracle software
installation owners from using the SSH configuration script that is built into OUI. If they
are not disabled, then SSH must be configured manually before an installation can be
run.
In rare cases, Oracle Clusterware installation can fail during the "AttachHome"
operation when the remote node closes the SSH connection. To avoid this problem,
set the timeout wait to unlimited by setting the following parameter in the SSH daemon
configuration file /etc/ssh/sshd_config on all cluster nodes:
LoginGraceTime 0
Related Topics
• Preventing Installation Errors Caused by Terminal Output Commands
During an Oracle Grid Infrastructure installation, OUI uses SSH to run commands
and copy files to the other nodes. During the installation, hidden files on the
system (for example, .bashrc or .cshrc) can cause makefile and other
installation errors if they contain terminal output commands.
4-33
Chapter 4
Verifying the Disk I/O Scheduler on Linux
On each cluster node, enter the following command to verify that the Deadline disk I/O
scheduler is configured for use:
# cat /sys/block/${ASM_DISK}/queue/scheduler
noop [deadline] cfq
In this example, the default disk I/O scheduler is Deadline and ASM_DISK is the Oracle
Automatic Storage Management (Oracle ASM) disk device.
On some virtual environments (VM) and special devices such as fast storage devices,
the output of the above command may be none. The operating system or VM
bypasses the kernel I/O scheduling and submits all I/O requests directly to the device.
Do not change the I/O Scheduler settings on such environments.
If the default disk I/O scheduler is not Deadline, then set it using a rules file:
1. Using a text editor, create a UDEV rules file for the Oracle ASM devices:
# vi /etc/udev/rules.d/60-oracle-schedulers.rules
2. Add the following line to the rules file and save it:
3. On clustered systems, copy the rules file to all other nodes on the cluster. For
example:
4. Load the rules file and restart the UDEV service. For example:
a. Oracle Linux and Red Hat Enterprise Linux
4-34
5
Configuring Users, Groups and
Environments for Oracle Grid Infrastructure
and Oracle Database
Before installation, create operating system groups and users, and configure user
environments.
• Required Operating System Groups and Users
Oracle software installations require an installation owner, an Oracle Inventory
group, which is the primary group of all Oracle installation owners, and at least one
group designated as a system privileges group.
• Oracle Installations with Standard and Job Role Separation Groups and Users
A job role separation configuration of Oracle Database and Oracle ASM is a
configuration with groups and users to provide separate groups for operating
system authentication.
• Creating Operating System Privileges Groups
The following sections describe how to create operating system groups for Oracle
Grid Infrastructure and Oracle Database:
• Creating Operating System Oracle Installation User Accounts
Before starting installation, create Oracle software owner user accounts, and
configure their environments.
• Creating Oracle Database Vault User Accounts
If you intend to use Oracle Database Vault by default, then you must create an
Oracle Database Vault user account, and configure that user.
• Unsetting Oracle Installation Owner Environment Variables
Unset Oracle installation owner environment variables before you start the
installation.
5-1
Chapter 5
Required Operating System Groups and Users
• Creating the Oracle Inventory Group If an Oracle Inventory Does Not Exist
Create an Oracle Inventory group manually as part of a planned installation,
particularly where more than one Oracle software product is installed on servers.
• About Oracle Installation Owner Accounts
Select or create an Oracle installation owner for your installation, depending on the
group and user management plan you want to use for your installations.
• Identifying an Oracle Software Owner User Account
You must create at least one software owner user account the first time you install
Oracle software on the system. Either use an existing Oracle software user
account, or create an Oracle software owner user account for your installation.
inventory_loc=central_inventory_location
inst_group=group
Use the more command to determine if you have an Oracle central inventory on your
system. For example:
# more /etc/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=oinstall
Use the command grep groupname /etc/group to confirm that the group
specified as the Oracle Inventory group still exists on the system. For example:
Note:
Do not put the oraInventory directory under the Oracle base directory for a
new installation, because that can result in user permission errors for other
installations.
5-2
Chapter 5
Required Operating System Groups and Users
5-3
Chapter 5
Oracle Installations with Standard and Job Role Separation Groups and Users
For example, if you know that the name of the Oracle Inventory group is oinstall,
then an Oracle software owner should be listed as a member of oinstall:
You can then use the ID command to verify that the Oracle installation owners you
intend to use have the Oracle Inventory group as their primary group. For example:
$ id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),
54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54327(asmdba),
54330(racdba)
$ id grid
uid=54331(grid) gid=54321(oinstall) groups=54321(oinstall),54322(dba),
54327(asmdba),54328(asmoper),54329(asmadmin),54330(racdba)
For Oracle Restart installations, to successfully install Oracle Database, ensure that
the grid user is a member of the racdba group.
After you create operating system groups, create or modify Oracle user accounts in
accordance with your operating system authentication planning.
Related Topics
• Creating an Oracle Software Owner User
If the Oracle software owner user (oracle or grid) does not exist, or if you require
a new Oracle software owner user, then create it as described in this section.
• Modifying Oracle Owner User Groups
If you have created an Oracle software installation owner account, but it is not a
member of the groups you want to designate as the OSDBA, OSOPER, OSDBA
for ASM, ASMADMIN, or other system privileges group, then modify the group
settings for that user before installation.
5-4
Chapter 5
Oracle Installations with Standard and Job Role Separation Groups and Users
5-5
Chapter 5
Oracle Installations with Standard and Job Role Separation Groups and Users
Note:
To configure users for installation that are on a network directory service
such as Network Information Services (NIS), refer to your directory service
documentation.
Related Topics
• Oracle Database Administrator’s Guide
• Oracle Automatic Storage Management Administrator's Guide
5-6
Chapter 5
Oracle Installations with Standard and Job Role Separation Groups and Users
Create this group if you want a separate group of operating system users to have
a limited set of database backup and recovery related administrative privileges
(the SYSBACKUP privilege).
• OSDGDBA group for Oracle Data Guard (typically, dgdba)
Create this group if you want a separate group of operating system users to have
a limited set of privileges to administer and monitor Oracle Data Guard (the
SYSDG privilege). To use this privilege, add the Oracle Database installation
owners as members of this group.
• The OSKMDBA group for encryption key management (typically, kmdba)
Create this group if you want a separate group of operating system users to have
a limited set of privileges for encryption key management such as Oracle Wallet
Manager management (the SYSKM privilege). To use this privilege, add the
Oracle Database installation owners as members of this group.
• The OSRACDBA group for Oracle Real Application Clusters Administration
(typically, racdba)
Create this group if you want a separate group of operating system users to have
a limited set of Oracle Real Application Clusters (RAC) administrative privileges
(the SYSRAC privilege). To use this privilege:
– Add the Oracle Database installation owners as members of this group.
– For Oracle Restart configurations, if you have a separate Oracle Grid
Infrastructure installation owner user (grid), then you must also add the grid
user as a member of the OSRACDBA group of the database to enable Oracle
Grid Infrastructure components to connect to the database.
Related Topics
• Oracle Database Administrator’s Guide
• Oracle Database Security Guide
5-7
Chapter 5
Creating Operating System Privileges Groups
5-8
Chapter 5
Creating Operating System Privileges Groups
5-9
Chapter 5
Creating Operating System Privileges Groups
Create the OSDBA group using the group name dba, unless a group with that name
already exists:
5-10
Chapter 5
Creating Operating System Oracle Installation User Accounts
5-11
Chapter 5
Creating Operating System Oracle Installation User Accounts
You must note the user ID number for installation users, because you need it during
preinstallation.
For Oracle Grid Infrastructure installations, user IDs and group IDs must be identical
on all candidate nodes.
Caution:
If you have existing Oracle installations that you installed with the user ID
that is your Oracle Grid Infrastructure software owner, then unset all Oracle
environment variable settings for that user.
5-12
Chapter 5
Creating Operating System Oracle Installation User Accounts
1. Start an X terminal session (xterm) on the server where you are running the
installation.
2. Enter the following command to ensure that X Window applications can display on
this system, where hostname is the fully qualified name of the local host from
which you are accessing the server:
$ xhost + hostname
3. If you are not logged in as the software owner user, then switch to the software
owner user you are configuring. For example, with the user grid:
$ su - grid
$ sudo -u grid -s
4. To determine the default shell for the user, enter the following command:
$ echo $SHELL
$ vi .bash_profile
$ vi .profile
% vi .login
6. Enter or edit the following line, specifying a value of 022 for the default file mode
creation mask:
umask 022
$ . ./.bash_profile
$ . ./.profile
5-13
Chapter 5
Creating Operating System Oracle Installation User Accounts
• C shell:
% source ./.login
10. Use the following command to check the PATH environment variable:
$ echo $PATH
$ export DISPLAY=local_host:0.0
• C shell:
In this example, local_host is the host name or IP address of the system (your
workstation, or another client) on which you want to display the installer.
12. If the /tmp directory has less than 1 GB of free space, then identify a file system
with at least 1 GB of free space and set the TMP and TMPDIR environment variables
to specify a temporary directory on this file system:
Note:
You cannot use a shared file system as the location of the temporary file
directory (typically /tmp) for Oracle RAC installations. If you place /tmp
on a shared file system, then the installation fails.
a. Use the df -h command to identify a suitable file system with sufficient free
space.
b. If necessary, enter commands similar to the following to create a temporary
directory on the file system that you identified, and set the appropriate
permissions on the directory:
$ sudo - s
# mkdir /mount_point/tmp
# chmod 775 /mount_point/tmp
# exit
c. Enter commands similar to the following to set the TMP and TMPDIR
environment variables:
5-14
Chapter 5
Creating Operating System Oracle Installation User Accounts
$ TMP=/mount_point/tmp
$ TMPDIR=/mount_point/tmp
$ export TMP TMPDIR
C shell:
13. To verify that the environment has been set correctly, enter the following
commands:
$ umask
$ env | more
Verify that the umask command displays a value of 22, 022, or 0022 and that the
environment variables you set in this section have the correct values.
Warning:
Each Oracle software owner must be a member of the same central
inventory group. Do not modify the primary group of an existing Oracle
software owner account, or designate different groups as the OINSTALL
group. If Oracle software owner accounts have different groups as their
primary group, then you can corrupt the central inventory.
During installation, the user that is installing the software should have the OINSTALL
group as its primary group, and it must be a member of the operating system groups
appropriate for your installation. For example:
# /usr/sbin/usermod -g oinstall -G
dba,asmdba,backupdba,dgdba,kmdba,racdba[,oper] oracle
5-15
Chapter 5
Creating Operating System Oracle Installation User Accounts
configures the limits.conf file for the oracle user. If you are implementing Oracle
Grid Infrastructure job role separation, then copy the values from the oracle user to
the grid user in the limits.conf file.
Use the following ranges as guidelines for resource allocation to Oracle installation
owners:
$ ulimit -Sn
1024
$ ulimit -Hn
65536
3. Check the soft and hard limits for the number of processes available to a user.
Ensure that the result is in the recommended range. For example:
$ ulimit -Su
2047
$ ulimit -Hu
16384
4. Check the soft limit for the stack setting. Ensure that the result is in the
recommended range. For example:
$ ulimit -Ss
10240
$ ulimit -Hs
32768
5-16
Chapter 5
Creating Operating System Oracle Installation User Accounts
Note:
If you make changes to an Oracle installation user account and that user
account is logged in, then changes to the limits.conf file do not take effect
until you log these users out and log them back in. You must do this before
you use these accounts for installation.
Remote Display
Bourne, Korn, and Bash shells
$ export DISPLAY=hostname:0
C shell
For example, if you are using the Bash shell and if your host name is local_host, then
enter the following command:
$ export DISPLAY=node1:0
X11 Forwarding
To ensure that X11 forwarding does not cause the installation to fail, use the following
procedure to create a user-level SSH client configuration file for Oracle installation
owner user accounts:
1. Using any text editor, edit or create the software installation owner's ~/.ssh/
config file.
2. Ensure that the ForwardX11 attribute in the ~/.ssh/config file is set to no. For
example:
Host *
ForwardX11 no
3. Ensure that the permissions on ~/.ssh are secured to the Oracle installation
owner user account. For example:
$ ls -al .ssh
total 28
5-17
Chapter 5
Creating Oracle Database Vault User Accounts
if [ -t 0 ]; then
stty intr ^C
fi
C shell:
test -t 0
if ($status == 0) then
stty intr ^C
endif
Note:
If the remote shell can load hidden files that contain stty commands, then
OUI indicates an error and stops the installation.
5-18
Chapter 5
Unsetting Oracle Installation Owner Environment Variables
Related Topics
• Oracle Database Vault Administrator’s Guide
5-19
6
Configuring Networks for Oracle Database
If you install Oracle Databases on servers with multiple Oracle homes, multiple
aliases, or without a static IP address, then review these network configuration topics.
If you are installing Oracle Database on a server with a static host name and IP
address and at least one network interface, then no special network configuration is
required.
• About Oracle Database Network Configuration Options
You can enable database clients to connect to servers associated with multiple IP
addresses, and you can install Oracle Database on servers with no network
connections, and set up database services after installation.
• About Assigning Global Database Names During Installation
The database name input field is used to set the DB_NAME, DB_UNIQUE_NAME,
and DB_DOMAIN Oracle initialization parameter values.
• Network Configuration for Computers Completed After Installation
You must confirm that a non-networked computer can connect to itself to ensure
that you can configure client network resolution after installation. A non-networked
computer is a computer that does not have a fixed network address, such as a
computer using DHCP.
• Network Configuration for Multihome Computers
You must set the ORACLE_HOSTNAME environment variable to install Oracle
Database on a multihomed computer. A multihomed computer is associated with
multiple IP addresses.
• Setting the ORACLE_HOSTNAME Environment Variable
Run the commands shown in this example as the Oracle user account to set the
ORACLE_HOSTNAME environment variable.
• Network Configuration for Computers with Multiple Aliases
You must set the ORACLE_HOSTNAME environment variable to install Oracle
Database on a multialias computer. A multialias computer is one to which multiple
aliases resolve.
6-1
Chapter 6
About Assigning Global Database Names During Installation
However, you can configure Oracle Database on servers with the following
nonstandard configurations:
• Multihomed Computers: Servers with multiple Oracle Database installations
• Multiple Alias Computers: Servers with multiple aliases, so that more than one
host name resolves to the computer
• Non-Networked computers: Servers that do not have network connectivity at the
time of installation
The Oracle Database software identifies a database by its global database name. A
global database name consists of the database name and database domain. Usually,
the database domain is the same as the network domain, but it need not be. The
global database name uniquely distinguishes a database from any other database in
the same network. You specify the global database name when you create a database
during the installation or using the Oracle Database Configuration Assistant.
sales.us.example.com
Here:
• sales.us is the name of the database. The database name, DB_UNIQUE_NAME,
portion is a string of no more than 30 characters that can contain alphanumeric
characters, underscore (_), dollar sign ($), and pound sign (#) but must begin with
an alphabetic character. No other special characters are permitted in a database
name.
• sales.us is also the DB_NAME. The DB_NAME initialization parameter specifies a
database identifier of up to eight characters.
• example.com is the database domain in which the database is located. In this
example, the database domain equals the network domain. Together, the
database name and the database domain make the global database name unique.
The domain portion is a string of no more than 128 characters that can contain
alphanumeric characters, underscore (_), and pound sign (#). The DB_DOMAIN
initialization parameter specifies the database domain name.
However, the DB_NAME parameter need not necessarily be the first eight characters of
DB_UNIQUE_NAME.
The system identifier (SID) identifies a specific database instance. The SID uniquely
distinguishes the instance from any other instance on the same computer. Each
database instance requires a unique SID and database name. In most cases, the SID
equals the database name portion of the global database name.
Related Topics
• Oracle Database Reference
• Oracle Database Administrator's Guide
6-2
Chapter 6
Network Configuration for Computers Completed After Installation
If you connect the computer to a network after installation, then the Oracle Database
instance on the computer can work with other instances on the network. The computer
can use a static IP or DHCP, depending on the network to which you are connected.
When you run the ping command on the computer itself, the ping command should
return the IP address of the computer. If the ping command fails, then contact your
network administrator.
6-3
Chapter 6
Setting the ORACLE_HOSTNAME Environment Variable
Note:
Clients must be able to obtain a response using the ping command both for
the host name and for the fully qualified domain name. If either test fails, then
contact your network administrator to resolve the issue.
The following example shows the commands to run on the Oracle user account to set
the ORACLE_HOSTNAME environment variable. In this example, the fully qualified
host name is somehost.example.com.
$ ORACLE_HOSTNAME=somehost.example.com
$ export ORACLE_HOSTNAME
C Shell
6-4
7
Supported Storage Options for Oracle
Database and Oracle Grid Infrastructure
Review supported storage options as part of your installation planning process.
• Supported Storage Options for Oracle Database
The following table shows the storage options supported for Oracle Database
binaries and files:
• About Oracle Grid Infrastructure for a Standalone Server
If you plan to use Oracle Automatic Storage Management (Oracle ASM), then you
must install Oracle Restart before installing your database.
• About Upgrading Existing Oracle Automatic Storage Management Instances
Oracle Automatic Storage Management (Oracle ASM) upgrades are carried out
during an Oracle Grid Infrastructure upgrade.
• About Managing Disk Groups for Older Database Versions
Use Oracle ASM Configuration Assistant (Oracle ASMCA) to create and modify
disk groups when you install earlier Oracle databases on Oracle Grid
Infrastructure installations.
• Oracle ACFS and Oracle ADVM
Oracle Automatic Storage Management Cluster File System (Oracle ACFS)
extends Oracle ASM technology to support of all of your application data in both
single instance and cluster configurations.
• File System Options for Oracle Database
If you install Oracle Database files on a file system, then Oracle Database
Configuration Assistant creates the database files in a directory on a file system
mounted on the computer.
• Guidelines for Placing Oracle Database Files On a File System or Logical Volume
If you choose to place the Oracle Database files on a file system, then use the
following guidelines when deciding where to place them:
• About NFS Storage for Data Files
Review this section for NFS storage configuration guidelines.
• About Direct NFS Client Mounts to NFS Storage Devices
Direct NFS Client integrates the NFS client functionality directly in the Oracle
software to optimize the I/O path between Oracle and the NFS server. This
integration can provide significant performance improvements.
7-1
Chapter 7
About Oracle Grid Infrastructure for a Standalone Server
7-2
Chapter 7
About Upgrading Existing Oracle Automatic Storage Management Instances
and Oracle ASM instances. Oracle Restart is currently restricted to manage single
instance Oracle Databases and Oracle ASM instances only.
Oracle Automatic Storage Management is a volume manager and a file system for
Oracle database files that supports single-instance Oracle Database and Oracle Real
Application Clusters (Oracle RAC) configurations. Oracle Automatic Storage
Management also supports a general purpose file system for your application needs,
including Oracle Database binaries. Oracle Automatic Storage Management is
Oracle's recommended storage management solution that provides an alternative to
conventional volume managers, and file systems.
Oracle Restart improves the availability of your Oracle database by providing the
following services:
• When there is a hardware or a software failure, Oracle Restart automatically starts
all Oracle components, including the Oracle database instance, Oracle Net
Listener, database services, and Oracle ASM.
• Oracle Restart starts components in the proper order when the database host is
restarted.
• Oracle Restart runs periodic checks to monitor the status of Oracle components. If
a check operation fails for a component, then the component is shut down and
restarted.
Note the following restrictions for using Oracle Restart:
• You can neither install Oracle Restart on an Oracle Grid Infrastructure cluster
member node, nor add an Oracle Restart server to an Oracle Grid Infrastructure
cluster member node. Oracle Restart supports single-instance databases on one
server, while Oracle Grid Infrastructure for a Cluster supports single-instance or
Oracle RAC databases on a cluster.
• If you want to use Oracle ASM or Oracle Restart, then you should install Oracle
Grid Infrastructure for a standalone server before you install and create the
database. Otherwise, you must install Oracle Restart, and then manually register
the database with Oracle Restart.
• You can use the Oracle Restart implementation of Oracle Grid Infrastructure only
in single-instance (nonclustered) environments. Use Oracle Grid Infrastructure
with Oracle Clusterware for clustered environments.
7-3
Chapter 7
About Managing Disk Groups for Older Database Versions
Upgrades of Oracle ASM from releases prior to 11g Release 2 (11.2) are not
supported.
Related Topics
• Oracle Automatic Storage Management Administrator's Guide
• Oracle Database Upgrade Guide
See Also:
Oracle Automatic Storage Management Administrator's Guide for details
about configuring disk group compatibility for databases using Oracle
Database 11g software with this release of Oracle Grid Infrastructure.
7-4
Chapter 7
Oracle ACFS and Oracle ADVM
Table 7-2 Platforms That Support Oracle ACFS and Oracle ADVM
Note:
If you use Security Enhanced Linux (SELinux) in enforcing mode with Oracle
ACFS, then ensure that you mount the Oracle ACFS file systems with an
SELinux default context. Refer to your Linux vendor documentation for
information about the context mount option.
Important:
You must apply patches to some of the Linux kernel versions for successful
Oracle Grid Infrastructure installation. Refer to the following notes for more
information:
• My Oracle Support Note 1369107.1 for more information and a complete
list of platforms and releases that support Oracle ACFS and Oracle
ADVM:
https://support.oracle.com/rs?type=doc&id=1369107.1
• Patch Set Updates for Oracle Products (My Oracle Support Note
854428.1) for current release and support information:
https://support.oracle.com/rs?type=doc&id=854428.1
7-5
Chapter 7
File System Options for Oracle Database
– Oracle ACFS does not support encryption or replication with Oracle Database
data files, tablespace files, control files, redo logs, archive logs, RMAN
backups, Data Pump dumpsets, and flashback files.
– You can place Oracle Database homes on Oracle ACFS only if the database
release is Oracle Database 11g Release 2, or more recent releases. You
cannot install earlier releases of Oracle Database on Oracle ACFS.
– For installations on Oracle Clusterware, you cannot place Oracle Clusterware
files on Oracle ACFS.
• Oracle Restart does not support root-based Oracle Clusterware resources. For
this reason, the following restrictions apply if you run Oracle ACFS on an Oracle
Restart Configuration:
– Starting with Oracle Database 18c, configuration assistants do not allow the
creation of Oracle Database homes on Oracle ACFS in an Oracle Restart
configuration.
– Oracle Restart does not support Oracle ACFS resources on all platforms.
– Starting with Oracle Database 12c, Oracle Restart configurations do not
support the Oracle ACFS registry.
– On Linux, Oracle ACFS provides an automated mechanism to load and unload
drivers and mount and unmount Oracle ACFS file systems on system restart
and shutdown. However, Oracle ACFS does not provide automated recovery
of mounted file systems when the system is running. Other than Linux, Oracle
ACFS does not provide this automated mechanism on other operating
systems.
– Creating Oracle data files on an Oracle ACFS file system is not supported in
Oracle Restart configurations. Creating Oracle data files on an Oracle ACFS
file system is supported on Oracle Grid Infrastructure for a cluster
configurations.
• Oracle ACFS and Oracle ADVM are not supported on IBM AIX Workload
Partitions (WPARs).
Related Topics
• Oracle Automatic Storage Management Administrator's Guide
7-6
Chapter 7
Guidelines for Placing Oracle Database Files On a File System or Logical Volume
7-7
Chapter 7
About NFS Storage for Data Files
• If you intend to create a preconfigured database during the installation, then the
file system (or file systems) that you choose must have at least 2 GB of free disk
space.
For production databases, you must estimate the disk space requirement
depending on the use of the database.
• For optimum performance, the file systems that you choose must be on physical
devices that are used only by the database.
• The Oracle user running the Oracle Database installation must have write
permissions to create the files in the path that you specify.
Note:
The performance of Oracle software and databases stored on NAS devices
depends on the performance of the network connection between the servers
and the network-attached storage devices.For better performance, Oracle
recommends that you connect servers to NAS devices using private
dedicated network connections. NFS network connections should use
Gigabit Ethernet or better.
7-8
Chapter 7
About Direct NFS Client Mounts to NFS Storage Devices
number of TCP connections that are created from a database instance to the NFS
server. In large database deployments, using Direct NFS dispatcher improves
scalability and network performance. Parallel NFS deployments also require a large
number of connections. Hence, the Direct NFS dispatcher is recommended with
Parallel NFS deployments too.
Direct NFS Client can obtain NFS mount points either from the operating system
mount entries, or from the oranfstab file.
Note:
You can have only one active Direct NFS Client implementation for each
instance. Using Direct NFS Client on an instance prevents another Direct
NFS Client implementation.
Related Topics
• Creating an oranfstab File for Direct NFS Client
Direct NFS uses a configuration file, oranfstab, to determine the available
mount points.
• Configuring NFS Buffer Size Parameters for Oracle Database
Set the values for the NFS buffer size parameters rsize and wsize to at least
32768.
7-9
Chapter 7
About Direct NFS Client Mounts to NFS Storage Devices
See Also:
7-10
8
Configuring File System Storage for Oracle
Database
Complete these procedures to use file system storage for Oracle Database.
For optimal database organization and performance, Oracle recommends that you
install data files and the Oracle Database software in different disks.
If you plan to place storage on Network File System (NFS) protocol devices, then
Oracle recommends that you use Oracle Direct NFS (dNFS) to take advantage of
performance optimizations built into the Oracle Direct NFS client.
• Configuring NFS Buffer Size Parameters for Oracle Database
Set the values for the NFS buffer size parameters rsize and wsize to at least
32768.
• Checking TCP Network Protocol Buffer for Direct NFS Client
Check your TCP network buffer size to ensure that it is adequate for the speed of
your servers.
• Creating an oranfstab File for Direct NFS Client
Direct NFS uses a configuration file, oranfstab, to determine the available
mount points.
• Enabling and Disabling Direct NFS Client Control of NFS
By default, Direct NFS Client is installed in a disabled state with single-instance
Oracle Database installations. Before enabling Direct NFS, you must configure an
oranfstab file.
• Enabling Hybrid Columnar Compression on Direct NFS Client
Perform these steps to enable Hybrid Columnar Compression (HCC) on Direct
NFS Client:
Related Topics
• My Oracle Support note 1496040.1
8-1
Chapter 8
Checking TCP Network Protocol Buffer for Direct NFS Client
Direct NFS Client issues writes at wtmax granularity to the NFS server.
Related Topics
• My Oracle Support note 359515.1
Oracle recommends that you set the value based on the link speed of your servers.
For example, perform the following steps:
1. As root, use a text editor to open /etc/sysctl.conf, and add or change the
following:
# sysctl -p
# /etc/rc.d/init.d/network restart
8-2
Chapter 8
Creating an oranfstab File for Direct NFS Client
8-3
Chapter 8
Creating an oranfstab File for Direct NFS Client
Specifies that outgoing messages should not be routed by the operating system,
but instead sent using the IP address to which they are bound.
Note:
The dontroute option is a POSIX option, which sometimes does not
work on Linux systems with multiple paths in the same subnet.
• management
Enables Direct NFS Client to use the management interface for SNMP queries.
You can use this parameter if SNMP is running on separate management
interfaces on the NFS server. The default value is the server parameter value.
• community
Specifies the community string for use in SNMP queries. Default value is public.
The following examples show three possible NFS server entries in oranfstab. A single
oranfstab can have multiple NFS server entries.
server: MyDataServer1
local: 192.0.2.0
path: 192.0.2.1
local: 192.0.100.0
path: 192.0.100.1
export: /vol/oradata1 mount: /mnt/oradata1
Example 8-2 Using Local and Path in the Same Subnet, with dontroute
Local and path in the same subnet, where dontroute is specified:
server: MyDataServer2
local: 192.0.2.0
path: 192.0.2.128
local: 192.0.2.1
path: 192.0.2.129
dontroute
export: /vol/oradata2 mount: /mnt/oradata2
server: MyDataServer3
local: LocalPath1
path: NfsPath1
local: LocalPath2
path: NfsPath2
local: LocalPath3
8-4
Chapter 8
Enabling and Disabling Direct NFS Client Control of NFS
path: NfsPath3
local: LocalPath4
path: NfsPath4
dontroute
export: /vol/oradata3 mount: /mnt/oradata3
export: /vol/oradata4 mount: /mnt/oradata4
export: /vol/oradata5 mount: /mnt/oradata5
export: /vol/oradata6 mount: /mnt/oradata6
management: MgmtPath1
community: private
server: nfsserver
local: 192.0.2.0
path: 192.0.2.2
local: 192.0.2.3
path: 192.0.2.4
export: /private/oracle1/logs mount: /logs security: krb5
export: /private/oracle1/data mount: /data security: krb5p
export: /private/oracle1/archive mount: /archive security: sys
export: /private/oracle1/data1 mount: /data1
security_default: krb5i
cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk dnfs_off
8-5
Chapter 8
Enabling Hybrid Columnar Compression on Direct NFS Client
Note:
If you remove an NFS path that an Oracle Database is using, then you must
restart the database for the change to take effect.
2. If SNMP is enabled on an interface other than the NFS server, then configure
oranfstab using the management parameter.
3. If SNMP is configured using a community string other than public, then configure
oranfstab file using the community parameter.
4. Ensure that libnetsnmp.so is installed by checking if snmpget is available.
8-6
9
Configuring Storage for Oracle Grid
Infrastructure for a Standalone Server
Complete these procedures to use Oracle Grid Infrastructure for a standalone server,
which includes Oracle Automatic Storage Management (Oracle ASM).
Oracle Grid Infrastructure for a standalone server, also known as Oracle Restart,
provides system support for a single-instance Oracle Database. Oracle ASM is a
volume manager and a file system for Oracle database files that supports single-
instance Oracle Database and Oracle Real Application Clusters (Oracle RAC)
configurations. Oracle Automatic Storage Management also supports a general
purpose file system for your application needs, including Oracle Database binaries.
Oracle Automatic Storage Management is Oracle's recommended storage
management solution. It provides an alternative to conventional volume managers and
file systems.
Note:
• If you want to use Oracle ASM or Oracle Restart, then you must install
Oracle Grid Infrastructure for a standalone server before you install and
create the database. Otherwise, you must manually register the
database with Oracle Restart.
• You can neither install Oracle Restart on an Oracle Grid Infrastructure
cluster member node, nor add an Oracle Restart server to an Oracle
Grid Infrastructure cluster member node. Oracle Restart supports single-
instance databases on one server, while Oracle Grid Infrastructure for a
Cluster supports single-instance or Oracle RAC databases on a cluster.
9-1
Chapter 9
Configuring Storage for Oracle Automatic Storage Management
• Creating Files on a NAS Device for Use with Oracle Automatic Storage
Management
If you have a certified NAS storage device, then you can create zero-padded files
in an NFS mounted directory and use those files as disk devices in an Oracle ASM
disk group.
Note:
You do not have to use the same storage mechanism for both Oracle
Database files and recovery files. You can use a file system for one file
type and Oracle ASM for the other.
9-2
Chapter 9
Configuring Storage for Oracle Automatic Storage Management
If you select Oracle ASM as your storage option for Oracle Database files, then
depending on your choice in the Specify Recovery Options screen, you have the
following recovery options:
• If you select the Oracle ASM option for your recovery files, then Oracle
Universal Installer provides you with only the option to use the same disk
group for both Oracle Database files and recovery files.
• If you decide not to enable recovery during the database installation, then,
after the database installation, you can modify the DB_RECOVERY_FILE_DEST
parameter to enable the fast recovery area.
2. Choose the Oracle ASM redundancy level to use for each Oracle ASM disk group
that you create.
The redundancy level that you choose for the Oracle ASM disk group determines
how Oracle ASM mirrors files in the disk group and determines the number of
disks and amount of disk space that you require, as follows:
• External redundancy
This option does not allow Oracle ASM to mirror the contents of the disk
group. Oracle recommends that you select this redundancy level either when
the disk group contains devices, such as RAID devices, that provide their own
data protection or when the database does not require uninterrupted access to
data.
• Normal redundancy
To optimize performance and reliability in a normal redundancy disk group,
Oracle ASM uses two-way mirroring for data files and three-way mirroring for
control files, by default. In addition, you can choose the mirroring
characteristics for individual files in a disk group.
A normal redundancy disk group requires a minimum of two failure groups (or
two disk devices) if you are using two-way mirroring. The effective disk space
in a normal redundancy disk group is half the sum of the disk space of all of its
devices.
For most installations, Oracle recommends that you use normal redundancy
disk groups. On Oracle Exadata, Oracle recommends that you use high
redundancy disk groups for added protection against failure.
• High redundancy
The contents of the disk group are three-way mirrored by default. To create a
disk group with high redundancy, you must specify at least three failure groups
(a minimum of three devices).
Although high-redundancy disk groups provide a high level of data protection,
you must consider the higher cost of additional storage devices before
deciding to use this redundancy level.
• Flex redundancy
A flex redundancy disk group is a new disk group type with features such as
flexible file redundancy, mirror splitting, and redundancy change. A flex disk
group can consolidate files with different redundancy requirements into a
single disk group. It also provides the capability for databases to change the
redundancy of its files.
9-3
Chapter 9
Configuring Storage for Oracle Automatic Storage Management
Note:
• The disk devices must be owned by the user performing the grid
installation.
Check with your system administrator to determine if the disks used
by Oracle ASM are mirrored at the storage level. If so, select
External for the redundancy. If the disks are not mirrored at the
storage level, then select Normal for the redundancy.
• Every Oracle ASM disk is divided into allocation units (AU). An
allocation unit is the fundamental unit of allocation within a disk
group. You can select the AU Size value from 1, 2, 4, 8, 16, 32 or 64
MB, depending on the specific disk group compatibility level. The
default value is 4 MB for flex disk group and 1 MB for all other disk
group types. On engineered systems, the default value is 4 MB.
4. Optionally, identify failure groups for the Oracle ASM disk group devices.
If you intend to use a normal, high or flex redundancy disk group, then you can
further protect your database against hardware failure by associating a set of disk
devices in a custom failure group. By default, each device comprises its own
failure group. However, if two disk devices in a normal redundancy disk group are
attached to the same Host Bus Adapter (HBA), then the disk group becomes
unavailable if the controller fails. The controller in this example is a single point of
failure.
To protect against failures of this type, use two HBAs, each with two disks, and
define a failure group for the disks attached to each controller. This configuration
enables the disk group to tolerate the failure of one HBA.
Consider the following guidelines while defining custom failure groups:
• Starting with release 12.2, you can specify custom failure groups in the Create
ASM Disk Group screen during an Oracle Grid Infrastructure installation.
• You can also define custom failure groups after installation, using the GUI tool
ASMCA, the command line tool asmcmd, or SQL commands.
• If you define custom failure groups, then for failure groups containing database
files only, you must specify a minimum of two failure groups for normal
redundancy disk groups and three failure groups for high redundancy disk
groups.
9-4
Chapter 9
Configuring Storage for Oracle Automatic Storage Management
5. If you are sure that a suitable disk group does not exist on the system, then install
or identify appropriate disk devices to add to a new disk group.
Use the following guidelines when identifying appropriate disk devices:
• The disk devices must be owned by the user performing the Oracle Grid
Infrastructure installation.
• All the devices in an Oracle ASM disk group must be the same size and have
the same performance characteristics.
• Do not specify multiple partitions on a single physical disk as a disk group
device. Oracle ASM expects each disk group device to be on a separate
physical disk.
• Although you can specify a logical volume as a device in an Oracle ASM disk
group, Oracle does not recommend their use because it adds a layer of
complexity that is unnecessary with Oracle ASM. Oracle recommends that if
you choose to use a logical volume manager, then use the logical volume
manager to represent a single logical unit number (LUN) without striping or
mirroring, so that you can minimize the effect on storage performance of the
additional storage layer.
Related Topics
• Oracle ASM Disk Space Requirements
Determine the total amount of Oracle Automatic Storage Management (Oracle
ASM) disk space that you require for the database files and recovery files.
• Oracle Automatic Storage Management Administrator's Guide
Table 9-1 Oracle ASM Disk Number and Minimum Space Requirements for an
Oracle database (non-CDB)
9-5
Chapter 9
Configuring Storage for Oracle Automatic Storage Management
Table 9-2 Oracle ASM Disk Number and Minimum Space Requirements for a
multitenant container database (CDB) with one pluggable database (PDB)
Note:
• If an Oracle ASM instance is running on the system, then you can use an
existing disk group to meet these storage requirements. If necessary,
you can add disks to an existing disk group during the database
installation.
• The disk devices must be owned by the user performing the grid
installation.
Check with your system administrator to determine if the disks used by
Oracle ASM are mirrored at the storage level. If so, select External for
the redundancy. If the disks are not mirrored at the storage level, then
select Normal for the redundancy.
• Every Oracle ASM disk is divided into allocation units (AU). An allocation
unit is the fundamental unit of allocation within a disk group. You can
select the AU Size value from 1, 2, 4, 8, 16, 32 or 64 MB, depending on
the specific disk group compatibility level. The default value is 4 MB for
flex disk group and 1 MB for all other disk group types. On engineered
systems, the default value is 4 MB.
9-6
Chapter 9
Configuring Storage Device Path Persistence Using Oracle ASMFD
$ $ORACLE_HOME/bin/asmcmd
ASMCMD> startup
2. Enter one of the following commands to view the existing disk groups, their
redundancy level, and the amount of free disk space in each one:
ASMCMD> lsdg
or
$ORACLE_HOME/bin/asmcmd -p lsdg
The lsdg command lists information about mounted disk groups only.
3. From the output, identify a disk group with the appropriate redundancy level and
note the free space that it contains.
4. If necessary, install or identify the additional disk devices required to meet the
storage requirements for your installation.
Note:
If you are adding devices to an existing disk group, then Oracle recommends
that you use devices that have the same size and performance
characteristics as the existing devices in that disk group.
9-7
Chapter 9
Creating DAS or SAN Disk Partitions for Oracle Automatic Storage Management
WARNING:
When you configure Oracle ASM, including Oracle ASMFD, do not modify or
erase the contents of the Oracle ASM disks, or modify any files, including the
configuration files.
Note:
Oracle ASMFD is supported on Linux x86–64 and Oracle Solaris operating
systems.
Related Topics
• Configuring Storage Device Path Persistence Using Oracle ASMLIB
To use Oracle ASMLIB to configure Oracle ASM devices, complete the following
tasks:
• Oracle Automatic Storage Management Administrator's Guide
9-8
Chapter 9
Creating Directories for Oracle Database Files
1. Use the following command to determine the free disk space on each mounted file
system:
# df -h
Option Description
Database Files Select one of the following:
• A single file system with at least 1.5 GB
of free disk space
• Two or more file systems with at least
3.5 GB of free disk space in total
Recovery Files Choose a file system with at least 2 GB of
free disk space
If you are using the same file system for multiple file types, then add the disk
space requirements for each type to determine the total disk space requirement.
3. Note the names of the mount point directories for the file systems that you
identified.
4. If the user performing installation has permissions to create directories on the
disks where you plan to install Oracle Database, then DBCA creates the Oracle
Database file directory, and the Recovery file directory. If the user performing
installation does not have write access, then you must create these directories
manually.
For example, given the user oracle and Oracle Inventory Group oinstall, and
using the paths /u03/oradata/wrk_area for Oracle Database files,
and /u01/oradata/rcv_area for the recovery area, these commands create
the recommended subdirectories in each of the mount point directories and set the
appropriate owner, group, and permissions on them:
• Database file directory:
# mkdir /u01/oradata/
# chown oracle:oinstall /u01/oradata/
# chmod 775 /mount_point/oradata
9-9
Chapter 9
Creating Files on a NAS Device for Use with Oracle Automatic Storage Management
# mkdir /u01/oradata/rcv_area
# chown oracle:oinstall /u01/app/oracle/fast_recovery_area
# chmod 775 /u01/oradata/rcv_area
# mkdir -p /mnt/oracleasm
4. To ensure that the NFS file system is mounted when the system restarts, add an
entry for the file system in the mount file /etc/fstab.
5. Enter a command similar to the following to mount the NFS on the local system:
# mount /mnt/oracleasm
6. Choose a name for the disk group to create, and create a directory for the files on
the NFS file system, using the disk group name as the directory name.
For example, if you want to set up a disk group for a sales database:
# mkdir /mnt/oracleasm/sales1
9-10
Chapter 9
Creating Files on a NAS Device for Use with Oracle Automatic Storage Management
7. Use commands similar to the following to create the required number of zero-
padded files in this directory:
# dd if=/dev/zero
of=/mnt/oracleasm/sales1/disk1 bs=1024k
count=1000
This example creates 1 GB files on the NFS file system. You must create one,
two, or three files respectively to create an external, normal, or high redundancy
disk group.
Note:
Creating multiple zero-padded files on the same NAS device does not
guard against NAS failure. Instead, create one file for each NAS device
and mirror them using the Oracle ASM technology.
8. Enter commands similar to the following to change the owner, group, and
permissions on the directory and files that you created:
In this example, the installation owner is grid and the OSASM group is asmadmin.
9. During Oracle Database installations, edit the Oracle ASM disk discovery string to
specify a regular expression that matches the file names you created.
For example:
/mnt/oracleasm/sales1/
Related Topics
• My Oracle Support Note 359515.1
9-11
10
Installing and Configuring Oracle Grid
Infrastructure for a Standalone Server
Oracle Grid Infrastructure for a standalone server includes Oracle Restart and Oracle
Automatic Storage Management.
If you install Oracle Grid Infrastructure for a standalone server and then create your
database, then the database is automatically added to the Oracle Restart
configuration. Oracle Restart automatically restarts the database when required.
If you install Oracle Grid Infrastructure for a standalone server on a host computer on
which a database already exists, then you must manually add the database, the
listener, the Oracle ASM instance, and other components to the Oracle Restart
configuration before you are able to configure automatic database restarts.
Note:
Oracle Grid Infrastructure for a standalone server can support multiple
single-instance databases on a single host computer.
10-1
Chapter 10
About Image-Based Oracle Grid Infrastructure Installation
Note:
You must extract the image software into the directory where you want your
Grid home to be located, and then run the %ORACLE_HOME%\gridSetup.sh
script to start the Oracle Grid Infrastructure Setup Wizard. Ensure that the
Grid home directory path you create is in compliance with the Oracle Optimal
Flexible Architecture recommendations.
10-2
Chapter 10
Setup Wizard Installation Options for Creating Images
Option Description
-createGoldImage Creates a gold image from the current Oracle home.
-destinationLocation Specify the complete path, or location, where the gold image will
be created.
-exclFiles Specify the complete paths to the files to be excluded from the
newly created gold image.
—help Displays help for all the available options.
For example:
Where:
/tmp/my_db_images is a temporary file location where the image zip file is created.
10-3
Chapter 10
Installing Oracle Grid Infrastructure for a Standalone Server with a New Database Installation
# mkdir -p /u01/app/oracle
# mkdir -p /u01/app/oraInventory
# chown -R oracle:oinstall /u01/app/oracle
# chown -R oracle:oinstall /u01/app/oraInventory
# chmod -R 775 /u01/app
3. Download the Oracle Grid Infrastructure for a standalone server installation image
files, create the grid home directory, and extract the image files in this grid home
directory.
For example:
$ mkdir -p /u01/app/oracle/product/19.0.0/grid
$ cd /u01/app/oracle/product/19.0.0/grid
$ unzip -q /tmp/grid_home.zip
Note:
Ensure that the Grid home directory path you create is in compliance
with the Oracle Optimal Flexible Architecture recommendations. Also,
unzip the installation image files only in this Grid home directory that you
created.
4. Configure and provision the shared disks for use with Oracle ASM Filter Driver
(Oracle ASMFD).
a. Log in as root and set $ORACLE_HOME to the grid home location
and $ORACLE_BASE to a temporary location.
su root
# set ORACLE_HOME=/u01/app/oracle/product/19.0.0/grid
# set ORACLE_BASE=/tmp
# cd /u01/app/oracle/product/19.0.0/grid/bin
# ./asmcmd afd_label DATA1 /dev/sdb --init
# ./asmcmd afd_label DATA2 /dev/sdc --init
# ./asmcmd afd_label DATA3 /dev/sdd --init
10-4
Chapter 10
Installing Oracle Grid Infrastructure for a Standalone Server with a New Database Installation
c. Use the ASMCMD afd_lslbl command to verify the device has been
marked for use with Oracle ASMFD. For example:
d. Unset $ORACLE_BASE.
# unset ORACLE_BASE
5. Log in as the Oracle Restart software owner user amd run gridSetup.sh to start
the Oracle Grid Infrastructure setup wizard:
$ Grid_home/gridSetup.sh
Note:
You can use the gridSetup.sh command with the -applyRU and -
applyOneOffs options to install Release Updates (RUs) and one-off
patches during an Oracle Grid Infrastructure installation or upgrade.
6. In the Select Configuration Option screen, select the Configure Oracle Grid
Infrastructure for a Standalone Server (Oracle Restart) option to install and
configure Oracle Restart and Oracle ASM. Click Next.
7. During installation, disk paths mounted on Oracle ASM and registered on Oracle
ASMFD with the string AFD:* are listed as default database storage candidate
disks.
8. Configure Oracle ASM as needed with additional disk groups.
• The default Disk Group Name is DATA. You can enter a new name for the
disk group, or use the default name.
• Any additional disk devices that you create must be owned by the user
performing the grid installation.
9. If you want to use Oracle ASM Filter Driver (Oracle ASMFD) to manage your
Oracle ASM disk devices, then select Configure Oracle ASM Filter Driver on the
Create ASM Disk Group screen.
On Linux, if you want to use Oracle ASM Filter Driver (Oracle ASMFD) to manage
your Oracle ASM disk devices, then you must deinstall Oracle ASM library driver
(Oracle ASMLIB) before you start the Oracle Grid Infrastructure installation.
10. Respond to the configuration prompts as needed to configure Oracle Grid
Infrastructure. Click Help for information.
11. Provide information to automate root scripts, or run scripts as root when prompted
by OUI.
If you configure automation for running root scripts, and a root script fails, then you
can fix the problem manually, and click Retry to run the root script again.
10-5
Chapter 10
Installing Oracle Grid Infrastructure for a Standalone Server for an Existing Database
12. Start the Oracle Database installation, and select Oracle ASM disk groups for
Oracle Database files storage. For assistance during installation, click Help on the
Oracle Universal Installer page where you need more information.
Related Topics
• Optimal Flexible Architecture
Oracle Optimal Flexible Architecture (OFA) rules are a set of configuration
guidelines created to ensure well-organized Oracle installations, which simplifies
administration, support and maintenance.
• Deinstalling Oracle ASMLIB On Oracle Database
If Oracle ASM library driver (Oracle ASMLIB) is installed but you do not use it for
device path persistence, then deinstall Oracle ASMLIB:
Related Topics
• Applying Patches During an Oracle Grid Infrastructure Installation or Upgrade
Starting with Oracle Grid Infrastructure 18c, you can download and apply Release
Updates (RUs) and one-off patches during an Oracle Grid Infrastructure
installation or upgrade.
• Oracle Automatic Storage Management Administrator's Guide
$ cd $ORACLE_HOME/bin
$ srvctl add database -db dbname -o oracle_home_path
10-6
Chapter 10
Installing Oracle Grid Infrastructure for a Standalone Server Using a Software-Only Installation
Related Topics
• Installing Oracle Grid Infrastructure for a Standalone Server with a New Database
Installation
Complete these steps to install Oracle Grid Infrastructure for a standalone server
and then create a database that is managed by Oracle Restart.
• Oracle Database Administrator’s Guide
10-7
Chapter 10
Installing Oracle Grid Infrastructure for a Standalone Server Using a Software-Only Installation
For example:
$ mkdir -p /u01/app/oracle/product/19.0.0/grid
$ chown oracle:oinstall /u01/app/oracle/product/19.0.0/grid
$ cd /u01/app/oracle/product/19.0.0/grid
$ unzip -q /tmp/grid_home.zip
Note:
Ensure that the Grid home directory path you create is in compliance
with the Oracle Optimal Flexible Architecture recommendations. Also,
unzip the installation image files only in this Grid home directory that you
created.
3. Ensure that you complete all the storage and server preinstallation requirements.
Verify that your server meets the installation requirements using the following
command:
$ cd /u01/app/oracle/product/19.0.0/grid
$ runcluvfy.sh stage -pre hacfg
$ Grid_home/gridSetup.sh
Note:
You must install Oracle Grid Infrastructure for a standalone server from
the Oracle Grid Infrastructure media.
5. In the Select Configuration Option screen, select the Set Up Software Only option
to perform a software-only installation of Oracle Grid Infrastructure for a
standalone server. Click Next.
6. Respond to the prompts as needed to set up Oracle Grid Infrastructure. Click Help
for information.
7. The Oracle Grid Infrastructure setup wizard prompts you to run the root.sh
script and, if required, the orainstRoot.sh script.
8. The root.sh script output provides information about how to proceed,
depending on the configuration you plan to complete in this installation. Note this
information.
10-8
Chapter 10
Installing Oracle Grid Infrastructure for a Standalone Server Using a Software-Only Installation
# cd Grid_home/crs/install
# ./roothas.sh
# cd /u01/app/oracle/product/19.0.0/grid/crs/install
# ./roothas.sh
For example:
4. Use the SRVCTL utility along with Oracle Network Configuration Assistant to add
the listener to the Oracle Restart configuration.
10-9
Chapter 10
Testing the Oracle Automatic Storage Management Installation
Note:
This procedure does not work for Oracle Restart upgrades from previous
releases.
Related Topics
• Installing Software Binaries for Oracle Grid Infrastructure for a Standalone Server
Use this procedure to do a software-only installation of Oracle Grid Infrastructure
for a standalone server.
• Installing Oracle Grid Infrastructure for a Standalone Server with a New Database
Installation
Complete these steps to install Oracle Grid Infrastructure for a standalone server
and then create a database that is managed by Oracle Restart.
$ ORACLE_SID=+ASM
$ export ORACLE_SID
$ ORACLE_HOME=/u01/app/oracle/product/19.0.0/grid
$ export ORACLE_HOME
C shell:
2. Use ASMCMD to list the disk groups for the Oracle ASM instance:
$ORACLE_HOME/bin/asmcmd lsdg
If the Oracle ASM instance is running, then ASMCMD connects by default as the
SYS user with SYSASM privileges, and is available.
10-10
Chapter 10
Modifying Oracle Grid Infrastructure for a Standalone Server Binaries After Installation
3. If the Oracle ASM instance is not running, then start the Oracle ASM instance
using the following command:
Related Topics
• Oracle Automatic Storage Management Administrator's Guide
You must relink the Oracle Restart and Oracle ASM binaries every time you apply an
operating system patch or after an operating system upgrade.
Caution:
Before relinking executables, you must shut down all executables that run in
the Oracle home directory that you are relinking. In addition, shut down
applications linked with Oracle shared libraries.
$ cd Grid_home/bin
2. Shut down the Oracle Restart stack using the following command:
# cd Grid_home/crs/install
# roothas.sh -unlock
10-11
Chapter 10
Modifying Oracle Grid Infrastructure for a Standalone Server Binaries After Installation
$ export ORACLE_HOME=Grid_home
$ Grid_home/bin/relink
# cd Grid_home/crs/install
# roothas.sh -lock
# cd Grid_home/crs/install
# roothas.sh -unlock
$ export ORACLE_HOME=Grid_home
$ Grid_home/bin/relink
# cd Grid_home/rdbms/install/
# ./rootadd_rdbms.sh
# cd Grid_home/crs/install
# roothas.sh -lock
Note:
Starting with Oracle Database 12c Release 1 (12.1.0.2), the
roothas.sh script replaces the roothas.pl script in the Oracle Grid
Infrastructure home.
Related Topics
• Oracle OPatch User's Guide for Windows and UNIX
10-12
Chapter 10
Configuring Oracle ASM Disk Groups Manually using Oracle ASMCA
$ cd Grid_home/bin
$ ./asmca
Related Topics
• Oracle Automatic Storage Management Administrator's Guide
# cd /u01/app/oracle/product/19.0.0/grid/crs/install
# roothas.sh -lockacfs
Note:
Starting with Oracle Database 12c Release 1 (12.1.0.2), the roothas.sh
script replaces the roothas.pl script in the Oracle Grid Infrastructure
home.
10-13
Chapter 10
Applying Patches During an Oracle Grid Infrastructure Installation or Upgrade
$ cd /u01/app/oracle/product/19.0.0/grid
5. Apply Release Updates (RUs) and any one-off patches during the installation or
upgrade process:
Note:
You can apply RUs and one-off patches separately or together in the
same command.
10-14
11
Installing Oracle Database
Oracle Database and Oracle Grid Infrastructure installation software is available as
image-based zip files in multiple media, and can be installed using several options.
The Oracle Database software is available on installation media, or you can download
it from the Oracle Technology Network website, or the Oracle Software Delivery Cloud
portal. In most cases, you use the graphical user interface (GUI) provided by Oracle
Universal Installer to install the software. However, you can also use Oracle Universal
Installer to complete silent mode installations, without using the GUI. You can also use
Oracle Fleet Patching and Provisioning for Oracle Database and Oracle Grid
Infrastructure (clusterware) deployments.
Note:
To install Oracle Database files on Oracle Automatic Storage Management
(Oracle ASM), you must first complete an Oracle Grid Infrastructure for a
standalone server installation. Oracle Grid Infrastructure for a standalone
server includes Oracle Restart and Oracle ASM.
To upgrade an existing Oracle ASM installation, upgrade Oracle ASM by
running an Oracle Grid Infrastructure upgrade. If you do not have Oracle
ASM installed and you want to use Oracle ASM as your storage option, then
you must complete an Oracle Grid Infrastructure for a standalone server
installation before you start your Oracle Database installation.
You cannot use Oracle Universal Installer from an earlier Oracle release to
install components from this release.
11-1
Chapter 11
About Image-Based Oracle Database Installation
Note:
You must extract the image software (db_home.zip) into the directory
where you want your Oracle Database home to be located, and then run the
Oracle Database Setup Wizard to start the Oracle Database installation and
configuration. Oracle recommends that the Oracle home directory path you
create is in compliance with the Oracle Optimal Flexible Architecture
recommendations.
11-2
Chapter 11
Accessing the Installation Software
You can use Oracle Fleet Patching and Provisioning to provision, patch, and upgrade
single-instance databases running on Oracle Restart, on clusters, or on single,
standalone nodes. These may be on nodes with or without Oracle Grid Infrastructure
installed.
Note:
Oracle Fleet Patching and Provisioning is not supported on Microsoft
Windows and HP-UX Itanium systems.
Related Topics
• Oracle Clusterware Administration and Deployment Guide
• Oracle Real Application Clusters Installation Guide for Linux and UNIX
11-3
Chapter 11
Accessing the Installation Software
Note:
For Oracle Database Client installations, there are two installation
archive files available for download. The first file is the client installation
binary and the second file is a client gold image file. Download the
appropriate zip file based on the type of installation you want to perform.
7. Verify that the files you downloaded are the same size as the corresponding files
on Oracle Technology Network. Also verify the checksums are the same as noted
on Oracle Technology Network using a command similar to the following, where
filename is the name of the file you downloaded:
cksum filename.zip
11-4
Chapter 11
Accessing the Installation Software
follow the Download Notes instructions in this page. After you download and
extract the contents of the zip files, you can install the software.
Note:
Print the page with the list of downloadable files. It contains a list of part
numbers and their corresponding descriptions that you may refer during
the installation process.
7. After you download the files, click View Digest to verify that the MD5 or SHA-1
checksum matches the value listed on the media download page.
# eject /mnt/dvd
# eject /media/dvd
In these examples, /mnt/dvd and /media/dvd are the mount point directories
for the installation media.
2. Insert the appropriate installation media into the disk drive.
3. To verify if the disk is mounted automatically, enter one of the following commands
depending on the platform:
• Oracle Linux and Red Hat Enterprise Linux:
# ls /mnt/dvd
11-5
Chapter 11
About Character Set Selection During Installation
# ls /media/dvd
If this command fails to display the contents of the installation media, then enter a
command similar to the following to mount it, depending on the platform:
• Oracle Linux and Red Hat Enterprise Linux:
In these examples, /mnt/dvd and /media/dvd are the mount point directories
for the installation media.
Note:
Ensure that the /mnt/dvd directory exists on Red Hat Enterprise Linux. If
it does not, then create the /mnt/dvd mount point to mount the
installation media.
Unicode is the universal character set that supports most of the currently spoken
languages of the world. It also supports many historical scripts (alphabets). Unicode is
the native encoding of many technologies, including Java, XML, XHTML, ECMAScript,
and LDAP. Unicode is ideally suited for databases supporting the Internet and the
global economy.
Because AL32UTF8 is a multibyte character set, database operations on character data
may be slightly slower when compared to single-byte database character sets, such as
WE8ISO8859P1 or WE8MSWIN1252. Storage space requirements for text in most
11-6
Chapter 11
About Automatic Memory Management Installation Options
languages that use characters outside of the ASCII repertoire are higher in AL32UTF8
compared to legacy character sets supporting the language. English data may require
more space only if stored in CLOB (character large object) columns. Storage for non-
character data types, such as NUMBER or DATE, does not depend on a character set.
The universality and flexibility of Unicode usually outweighs these additional costs.
Consider legacy character sets only when the database needs to support a single
group of languages and the use of a legacy character set is critical for fulfilling
compatibility, storage, or performance requirements. The database character set to be
selected in this case is the character set of most clients connecting to this database.
The database character set of a multitenant container database (CDB) determines
which databases can be plugged in later. Ensure that the character set you choose for
the CDB is compatible with the database character sets of the databases to be
plugged into this CDB. If you use Unicode AL32UTF8 as your CDB character set, then
you can plug in a pluggable database (PDB) in any database character set supported
by Oracle Database (with the exception of EBCDIC-based character sets).
See Also:
Oracle Database Globalization Support Guide for more information about
choosing a database character set for a multitenant container database
(CDB)
11-7
Chapter 11
Running the Installer in a Different Language
Note:
By default, automatic memory management is disabled when you perform
typical installation on a node that has more than 4 GB of RAM.
Related Topics
• Oracle Database Administrator’s Guide
11-8
Chapter 11
Installing the Oracle Database Software
Note:
• If you plan to use Oracle Restart or Oracle ASM, then you must install
Oracle Grid Infrastructure for a standalone server before you install and
create the database. Otherwise, you must manually register the
database with Oracle Restart.
• You may have to shut down existing Oracle processes before you start
the database installation.
• You can install Oracle Database by using the silent or response file
installation method, without the GUI. This method is useful to perform
multiple installations of Oracle Database.
Option Description
-createGoldImage Creates a gold image from the current Oracle home.
-destinationLocation Specify the complete path, or location, where the gold image will
be created.
-exclFiles Specify the complete paths to the files to be excluded from the
newly created gold image.
—help Displays help for all the available options.
For example:
11-9
Chapter 11
Installing the Oracle Database Software
Where:
/tmp/my_db_images is a temporary file location where the image zip file is created.
$ cd $ORACLE_HOME
# mkdir -p /u01/app/oracle
# mkdir -p /u01/app/oraInventory
# chown -R oracle:oinstall /u01/app/oracle
11-10
Chapter 11
Installing the Oracle Database Software
$ mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1
$ cd /u01/app/oracle/product/19.0.0/dbhome_1
$ unzip -q /tmp/db_home.zip
Note:
Ensure that the Oracle home directory path you create is in compliance
with the Oracle Optimal Flexible Architecture recommendations. Unzip
the installation image files only to the Oracle home directory that you
created.
5. From the Oracle home directory, run the runInstaller command to start the
Oracle Database Setup Wizard.
$ cd /u01/app/oracle/product/19.0.0/dbhome_1
$ ./runInstaller
Note:
6. In the Select Configuration Option screen, select Create and configure a single
instance database.
11-11
Chapter 11
Installing Oracle Database Using RPM Packages
If you configure automation for running root scripts, and a root script fails, then you
can fix the problem manually, and click Retry to run the root script again.
Note:
Click Help if you have any questions about the information you are
asked to submit during installation.
Related Topics
• Downloading Oracle Software
Select the method you want to use to download the software.
11-12
Chapter 11
Installing Oracle Database Using RPM Packages
The following table describes the variables used in the RPM oracle-database-
ee-19c-1.0-1.x86_64.rpm
Related Topics
• RPM Packaging Guide
• Format of the RPM File
11-13
Chapter 11
Installing Oracle Database Using RPM Packages
2. If you are using Oracle Linux and have subscribed to Unbreakable Linux Network
(ULN), you can install Oracle Database via a single yum command.
# yum -y install oracle-database-ee-19c
This command downloads and installs the Oracle Preinstallation RPM and the
Oracle Database RPM packages.
The installation of Oracle Database software is now complete, continue to the
"Creating and Configuring an Oracle Database" section.
# curl -o oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/
getPackage/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
# yum -y localinstall oracle-database-
preinstall-19c-1.0-1.el7.x86_64.rpm
After successful installation, you can delete the downloaded RPM file:
# rm oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
3. Access the software download page for Oracle Database RPM-based installation
from Oracle Technology Network:
http://www.oracle.com/technetwork/indexes/downloads/index.html
4. Download the .rpm file required for performing an RPM-based installation to a
directory of your choice. For example, download the oracle-database-
ee-19c-1.0-1.x86_64.rpm file to the /tmp directory.
5. Install the database software using the yum localinstall command.
# cd /tmp
# yum -y localinstall oracle-database-ee-19c-1.0-1.x86_64.rpm
11-14
Chapter 11
Installing Oracle Database Using RPM Packages
# /etc/init.d/oracledb_ORCLCDB-19c configure
Note:
You can modify the configuration parameters by editing the /etc/
sysconfig/oracledb_ORCLCDB-19c.conf file.
This script creates a container database (ORCLCDB) with one pluggable database
(ORCLPDB1) and configures the listener at the default port (1521).
Review the status information that is displayed on your screen.
Related Topics
• Automatically Configuring Oracle Linux with Oracle Preinstallation RPM
Use Oracle Preinstallation RPM to simplify operating system configuration in
preparation for Oracle software installations.
• Accessing the Installation Software
You can download Oracle Database software from the Oracle Technology
Network website or the Oracle Software Delivery Cloud portal. In some cases,
Oracle Database software may be available on installation media also.
• Removing an RPM-based Oracle Database Installation
Use this procedure to remove and deinstall a database installed using the yum
command.
11-15
12
Oracle Database Postinstallation Tasks
Complete configuration tasks after you install Oracle Database.
You are required to complete some configuration tasks after Oracle Database is
installed. In addition, Oracle recommends that you complete additional tasks
immediately after installation. You must also complete product-specific configuration
tasks before you use those products.
Note:
This chapter describes basic configuration only. Refer to product-specific
administration and tuning guides for more detailed configuration and tuning
information.
12-1
Chapter 12
Required Postinstallation Tasks
Note:
If you are not a My Oracle Support registered user, then click Register
for My Oracle Support and register.
12-2
Chapter 12
Required Postinstallation Tasks
12-3
Chapter 12
Required Postinstallation Tasks
Starting with Oracle Database 12c Release 2 (12.2), only the HR sample schema is
automatically installed after a database installation. All sample schemas, including HR,
are distributed on GitHub:
https://github.com/oracle/db-sample-schemas
Note:
This list contains some of the important system privileges user accounts, but
it is not complete. Use Oracle Enterprise Manager Database Express 12c to
view the complete list of database accounts.
Table 12-1 Partial List of Oracle Database System Privileges Accounts Locked
After Installation
12-4
Chapter 12
Required Postinstallation Tasks
Table 12-1 (Cont.) Partial List of Oracle Database System Privileges Accounts
Locked After Installation
12-5
Chapter 12
Required Postinstallation Tasks
Table 12-1 (Cont.) Partial List of Oracle Database System Privileges Accounts
Locked After Installation
Except for the accounts provided with the Oracle Sample Schemas, most of these
database accounts are locked by default and created without passwords as schema
only. This prevents malicious users from logging into these accounts using the default
password set during catalog creation. To find the status of an account, query the
AUTHENTICATION_TYPE column of the DBA_USERS data dictionary view. If
AUTHENTICATION_TYPE is schema only, then the status is NONE.
Many of these accounts are automatically created when you run standard scripts such
as the various cat*.sql scripts. To find user accounts that are created and
maintained by Oracle, query the USERNAME and ORACLE_MAINTAINED columns of the
12-6
Chapter 12
Required Postinstallation Tasks
ALL_USERS data dictionary view. If the output for ORACLE_MAINTAINED is Y, then you
must not modify the user account except by running the script that was used to create
it.
Related Topics
• Oracle Database Security Guide
• Oracle Database Sample Schemas
12-7
Chapter 12
Recommended Postinstallation Tasks
$ $ORACLE_HOME/bin/sqlplus
SQL> CONNECT SYS as SYSDBA
Enter password: sys_password
Note:
If you unlock an account but do not reset the password, then the
password remains expired. The first time someone connects as that
user, they must change the user's password.
Related Topics
• Oracle Database Administrator’s Guide
12-8
Chapter 12
Recommended Postinstallation Tasks
Caution:
Failure to set the client character set correctly can cause data loss.
Java applications that connect to Oracle Databases by using Oracle JDBC do not use
NLS_LANG. Instead, Oracle JDBC maps the default locale of the Java VM in which
the application runs to the Oracle Database language and territory settings. Oracle
JDBC then configures the connected database session using these settings. Because
Java works internally in Unicode, the client character set is always set to Unicode.
Unless an application explicitly changes it, the default locale of the Java VM is set
based on the locale of the user operating system on which the Java VM runs. Check
your Java VM documentation for information about configuring the Java VM default
locale.
12-9
Chapter 12
Recommended Postinstallation Tasks
Note:
In 3-tier architecture deployments, application servers that are database
clients can have settings in their configuration files that specify the
NLS_LANG value or the Java VM locale. Check the documentation
accompanying these servers.
See Also:
Oracle Database Globalization Support Guide for more information about
configuring user locale preferences
Oracle recommends that you use the catcon.pl utility to run utlrp.sql on all
containers in your container database (CDB). The utlrp.sql script recompiles all
invalid objects. Run the script immediately after installation, to ensure that users do not
encounter invalid objects.
1. Change directory to Oracle_home/rdbms/admin. For example
$ cd $ORACLE_HOME/rdbms/admin
2. Use the catcon.pl script in the Oracle home to run utlrp.sql. For example:
12-10
Chapter 12
About Changes in Default SGA Permissions for Oracle Database
For more information about catcon utility syntax and options, refer to Oracle Database
Administrator's Guide.
Related Topics
• Oracle Database Administrator’s Guide
12-11
Chapter 12
Checking Installed Oracle Database Contents and Directory Location
In previous releases, both the Oracle installation owner account and members of the
OSDBA group had access to shared memory. The change in Oracle Database 12c
Release 2 (12.2) and later releases to restrict access by default to the Oracle
installation owner account provides greater security than previous configurations.
However, this change may prevent DBAs who do not have access to the Oracle
installation owner account from administering the database.
The Oracle Database initialization parameter ALLOW_GROUP_ACCESS_TO_SGA
determines if the Oracle Database installation owner account (oracle in Oracle
documentation examples) is the only user that can read and write to the database
System Global Area (SGA), or if members of the OSDBA group can read the SGA. In
Oracle Database 12c Release 2 (12.2) and later releases, the default value for this
parameter is FALSE, so that only the Oracle Database installation owner has read and
write permissions to the SGA. Group access to the SGA is removed by default. This
change affects all Linux and UNIX platforms.
If members of the OSDBA group require read access to the SGA, then you can
change the initialization parameter ALLOW_GROUP_ACCESS_TO_SGA setting from
FALSE to TRUE. Oracle strongly recommends that you accept the default permissions
that limit access to the SGA to the oracle user account.
Related Topics
• Oracle Database Reference
$ ./runInstaller
3. Click Installed Products to display the Inventory dialog box on the Welcome
screen.
4. Select an Oracle Database product from the list to check the installed contents.
5. Click Details to find additional information about an installed product.
6. Click Close to close the Inventory dialog box.
7. Click Cancel to close Oracle Universal Installer, and then click Yes to confirm.
When you install Oracle Database, some options are enabled and others are disabled.
To enable or disable a particular database feature for an Oracle home, shut down the
database and use the chopt tool.
12-12
Chapter 12
Enabling and Disabling Oracle Database Options After Installation
• Chopt Tool
Use the chopt tool after installation to add or remove Oracle Database options.
Chopt Tool
Use the chopt tool after installation to add or remove Oracle Database options.
Purpose
The chopt tool is a command-line utility that enables and disables database options.
Prerequisites
You must complete installation before you can use the chopt tool.
File Path
The tool is located in the ORACLE_HOME/bin directory
Syntax
chopt [enable | disable] db_option
Options
Examples
To use the chopt tool to modify your Oracle Database, you must shut down the
database before you run the chopt tool, and then start up the database after you add
or remove database options.
Example 12-1 Enabling Oracle Data Mining Using Chopt
The following example shows how to use the chopt tool to enable the Oracle Data
Mining option in an Oracle Database called Sales:
cd $ORACLE_HOME/bin
srvctl stop database -d Sales
chopt enable oaa
srvctl start database -d Sales
12-13
Chapter 12
Starting Oracle Enterprise Manager Database Express
About the Fast Recovery Area and the Fast Recovery Area Disk
Group
The fast recovery area is a unified storage location for all Oracle Database files related
to recovery. Enabling rapid backups for recent data can reduce requests to system
administrators to retrieve backup tapes for recovery operations.
Database administrators can define the DB_RECOVERY_FILE_DEST parameter to the
path for the fast recovery area to enable on disk backups and rapid recovery of data.
When you enable fast recovery in the init.ora file, Oracle Database writes all RMAN
backups, archive logs, control file automatic backups, and database copies to the fast
recovery area. RMAN automatically manages files in the fast recovery area by deleting
obsolete backups and archiving files no longer required for recovery.
Oracle recommends that you create a fast recovery area disk group. Oracle
Clusterware files and Oracle Database files can be placed on the same disk group,
and you can also place fast recovery files in the same disk group. However, Oracle
recommends that you create a separate fast recovery disk group to reduce storage
device contention.
12-14
Chapter 12
Creating a Fast Recovery Area
$ cd /u01/app/oracle/product/19.0.0/grid/bin
$ ./asmca
12-15
Chapter 12
Cloning an Oracle Database Home
Note:
During cloning, Oracle Universal Installer (OUI) prompts you to run scripts
that require root privileges.
1. Verify that the installation of Oracle Database that you want clone is successful.
You can do this by reviewing the installActionsdate_time.log file for the
installation session, which is typically located in the /u01/app/oracle/
oraInventory/logs directory.
If you install patches, then check their status using the following:
$ cd $ORACLE_HOME/OPatch
$ opatch lsinventory
Do not include the admin, fast_recovery_area, and oradata directories that are
under the Oracle base directory. These directories are created in the target
installation later, when you create a new database there.
4. Copy the ZIP or TAR file to the root directory of the target computer. If you use File
Transfer Protocol (FTP), then transfer the ZIP or TAR file in binary mode only.
12-16
Chapter 12
Cloning an Oracle Database Home
5. Extract the ZIP or TAR file content using the following command:
# unzip -d / dbhome_1.zip
# tar -xvf dbhome_1.tar
6. If necessary, change the ownership of the Oracle Database home to the Oracle
Database installation owner user (oracle) belonging to the Oracle Inventory group
(oinstall).
7. On the target computer, change the directory to the unzipped Oracle home
directory, and remove all the .ora (*.ora) files present in the
unzipped $ORACLE_HOME/network/admin directory.
8. Delete unnecessary files from the unzipped Oracle home directory.
The unzipped Oracle home directory contains files that are relevant only to the
source Oracle home. The following example shows how to remove these
unnecessary files from the unzipped Oracle home directory:
Remove the .ora files from the network/admin directory, and remove the old
database entries from the dbs directory.
# cd $ORACLE_HOME
# rm -rf network/admin/*.ora
# rm dbs/old_database_entries
9. From the $ORACLE_HOME/clone/bin directory, run the clone.pl file for the
unzipped Oracle home.
Use the following syntax (you can also include one or more of the extended Oracle
Database groups in the syntax):
$ORACLE_HOME/perl/bin/perl $ORACLE_HOME/clone/bin/clone.pl
ORACLE_BASE="target_oracle_base"
ORACLE_HOME="target_oracle_home"
OSDBA_GROUP=OSDBA_privileged_group
OSOPER_GROUP=OSOPER_privileged_group
OSBACKUPDBA_GROUP=OSBACKUPDBA_privileged_group
OSDGDBA_GROUP=OSDGDBA_privileged_group
OSKMDBA_GROUP=OSKMDBA_privileged_group
OSRACDBA_GROUP=OSRACDBA_privileged_group -defaultHomeName
For example:
$ORACLE_HOME/perl/bin/perl $ORACLE_HOME/clone/bin/clone.pl
ORACLE_BASE="/u01/app/oracle" ORACLE_HOME="/u01/app/oracle/product/
20.0.0/dbhome_1"
OSDBA_GROUP=dba OSOPER_GROUP=oper OSBACKUPDBA_GROUP=backupdba
OSDGDBA_GROUP=dgdba OSKMDBA_GROUP=kmdba OSRACDBA_GROUP=racdba -
defaultHomeName
12-17
Chapter 12
Cloning an Oracle Database Home
Note:
$ cd $ORACLE_HOME/bin
$ ./netca
11. Use the following commands to run Database Configuration Assistant to create a
new Oracle Database for the newly-cloned oracle home:
$ cd $ORACLE_HOME/bin
$ ./dbca
Related Topics
• Oracle Clusterware Administration and Deployment Guide
• Oracle Database Administrator’s Guide
12-18
13
Removing Oracle Database Software
These topics describe how to remove Oracle software and configuration files.
Use the deinstall command that is included in Oracle homes to remove Oracle
software. Oracle does not support the removal of individual products or components.
Caution:
If you have a standalone database on a node in a cluster, and if you have
multiple databases with the same global database name (GDN), then you
cannot use the deinstall command to remove one database only.
• Oracle Database
• Oracle Grid Infrastructure, which includes Oracle Clusterware and Oracle
Automatic Storage Management (Oracle ASM)
• Oracle Real Application Clusters (Oracle RAC)
• Oracle Database Client
13-1
Chapter 13
About Oracle Deinstallation Options
deinstall creates a response file by using information in the Oracle home and using
the information you provide. You can use a response file that you generated previously
by running the deinstall command using the -checkonly option. You can also
edit the response file template.
If you run deinstall to remove an Oracle Grid Infrastructure installation, then the
deinstaller prompts you to run the deinstall command as the root user. For Oracle
Grid Infrastructure for a cluster, the script is rootcrs.sh, and for Oracle Grid
Infrastructure for a standalone server (Oracle Restart), the script is roothas.sh.
Note:
• You must run the deinstall command from the same release to
remove Oracle software. Do not run the deinstall command from a
later release to remove Oracle software from an earlier release. For
example, do not run the deinstall command from the 19c Oracle
home to remove Oracle software from an existing 11.2.0.4 Oracle home.
• Starting with Oracle Database 12c Release 1 (12.1.0.2), the
roothas.sh script replaces the roothas.pl script in the Oracle Grid
Infrastructure home for Oracle Restart, and the rootcrs.sh script
replaces the rootcrs.pl script in the Grid home for Oracle Grid
Infrastructure for a cluster.
If the software in the Oracle home is not running (for example, after an unsuccessful
installation), then deinstall cannot determine the configuration, and you must
provide all the configuration details either interactively or in a response file.
In addition, before you run deinstall for Oracle Grid Infrastructure installations:
13-2
Chapter 13
Oracle Deinstallation (Deinstall)
• fast_recovery_area
Oracle strongly recommends that you configure your installations using an Optimal
Flexible Architecture (OFA) configuration, and that you reserve Oracle base and
Oracle home paths for exclusive use of Oracle software. If you have any user data in
these locations in the Oracle base that is owned by the user account that owns the
Oracle software, then deinstall deletes this data.
Caution:
deinstall deletes Oracle Database configuration files, user data, and fast
recovery area (FRA) files even if they are located outside of the Oracle base
directory path.
Purpose
deinstall stops Oracle software, and removes Oracle software and configuration
files on the operating system for a specific Oracle home.
Syntax
The deinstall command uses the following syntax:
13-3
Chapter 13
Oracle Deinstallation (Deinstall)
Parameters
Parameter Description
-silent Use this flag to run deinstall in
noninteractive mode. This option requires one
of the following:
• A working system that it can access to
determine the installation and
configuration information. The -silent
flag does not work with failed installations.
• A response file that contains the
configuration values for the Oracle home
that is being deinstalled or deconfigured.
You can generate a response file to use or
modify by running deinstall with the -
checkonly flag. deinstall then discovers
information from the Oracle home to deinstall
and deconfigure. It generates the response file
that you can then use with the -silent
option.
You can also modify the template file
deinstall.rsp.tmpl, located in
the $ORACLE_HOME/deinstall/
response directory.
-checkonly Use this flag to check the status of the Oracle
software home configuration. Running
deinstall with the -checkonly flag does
not remove the Oracle configuration. The -
checkonly flag generates a response file that
you can then use with the deinstall
command and -silent option.
-paramfile complete path of input Use this flag to run deinstall with a
response file response file in a location other than the
default. When you use this flag, provide the
complete path where the response file is
located.
The default location of the response file
is $ORACLE_HOME/deinstall/
response.
-params [name1=value name2=value Use this flag with a response file to override
name3=value . . .] one or more values to change in a response
file you have created.
-o complete path of directory for saving Use this flag to provide a path other than the
response files default location where the response file
(deinstall.rsp.tmpl) is saved.
The default location of the response file
is $ORACLE_HOME/deinstall/
response .
-tmpdir complete path of temporary Use this flag to specify a non-default location
directory to use where deinstall writes the temporary files
for the deinstallation.
13-4
Chapter 13
Deinstallation Examples for Oracle Database
Parameter Description
-logdir complete path of log directory to Use this flag to specify a non-default location
use where deinstall writes the log files for the
deinstallation.
-local Use this flag on a multinode environment to
deinstall Oracle software in a cluster.
When you run deinstall with this flag, it
deconfigures and deinstalls the Oracle
software on the local node (the node where
deinstall is run). On remote nodes, it
deconfigures Oracle software, but does not
deinstall the Oracle software.
-skipLocalHomeDeletion Use this flag in Oracle Grid Infrastructure
installations on a multinode environment to
deconfigure a local Grid home without deleting
the Grid home.
-skipRemoteHomeDeletion Use this flag in Oracle Grid Infrastructure
installations on a multinode environment to
deconfigure a remote Grid home without
deleting the Grid home.
-help Use this option to obtain additional information
about the command option flags.
$ ./deinstall
You can generate a deinstallation response file by running deinstall with the -
checkonly flag. Alternatively, you can use the response file template located
at $ORACLE_HOME/deinstall/response/deinstall.rsp.tmpl. If you have a
response file, then use the optional flag -paramfile to provide a path to the
response file.
In the following example, the deinstall command is in the path/u01/app/oracle/
product/19.0.0/dbhome_1/deinstall. It uses a response file called
my_db_paramfile.tmpl in the software owner location /home/usr/oracle:
$ cd /u01/app/oracle/product/19.0.0/dbhome_1/deinstall
$ ./deinstall -paramfile /home/usr/oracle/my_db_paramfile.tmpl
To remove the Oracle Grid Infrastructure home, use the deinstall command in the
Oracle Grid Infrastructure home.
13-5
Chapter 13
Downgrading Oracle Restart
$ cd /u01/app/oracle/product/19.0.0/grid/deinstall
$ ./deinstall -paramfile /home/usr/oracle/my_grid_paramfile.tmpl
Note:
Stop all databases, services, and listeners that are running before you
deconfigure or downgrade Oracle Restart.
CREATE PFILE='/u01/app/oracle/product/19.0.0/dbhome_1/dbs/test_init.ora'
FROM SPFILE='/u01/oracle/dbs/test_spfile.ora';
# cd /u01/app/oracle/product/19.0.0/grid/crs/install
13-6
Chapter 13
Removing an RPM-based Oracle Database Installation
7. Deinstall Oracle Restart using the deinstall command as the grid user:
$ cd /u01/app/19.0.0/grid/deinstall/
$ ./deinstall
The deinstall tool detaches the Oracle Grid Infrastructure home, updates the
OraInventory, and cleans up the directories.
8. Run root.sh manually, as the root user, in the earlier release Oracle Restart
home to configure Oracle Restart.
If you do not have an earlier release Oracle Restart on your system, then perform
an Oracle Grid Infrastructure for a standalone server installation for the respective
release to install Oracle Restart.
9. Add the components back to Oracle Restart as the grid user.
a. Add Oracle Database to the Oracle Restart configuration:
c. Add each service to the database, using the srvctl add service command.
For example:
Related Topics
• Oracle Database Upgrade Guide
The yum command detects the default configured components in the Oracle home
such as the database (ORCLCDB) and the listener (LISTENER) and removes these
components for you.
Apart from the default database (ORCLCDB) and the listener (LISTENER), if the yum
command detects other configured components in the Oracle home such as additional
13-7
Chapter 13
Deinstalling Previous Release Grid Home
$ cd $ORACLE_HOME/bin
$ ./dbca
3. To remove any listeners associated with your installation, run Oracle Net
Configuration Assistant (Oracle NETCA).
$ cd $ORACLE_HOME/bin
$ ./netca
4. Log in as root and run the yum command again to remove the rpm-based
database installation.
Related Topics
• Deleting a Database Using Oracle DBCA
• Using Oracle Net Configuration Assistant
In this example:
• /u01/app/oracle/product/18.0.0/grid is the previous release Oracle
Grid Infrastructure for a standalone server home
• oracle is the Oracle Grid Infrastructure installation owner user
• oinstall is the name of the Oracle Inventory group (OINSTALL group)
• /u01/app/oracle/product/18.0.0 is the parent directory of the previous
Grid home.
13-8
Chapter 13
Deinstalling Previous Release Grid Home
3. Log in as the Oracle Grid Infrastructure software owner user (oracle) and run the
deinstall command.
13-9
A
Completing Preinstallation Tasks Manually
You can complete the preinstallation configuration tasks manually.
Oracle recommends that you use Oracle Universal Installer and Cluster Verification
Utility fixup scripts to complete minimal configuration settings. If you cannot use fixup
scripts, then complete minimum system settings manually.
• Configuring Kernel Parameters for Linux
These topics explain how to configure kernel parameters manually for Linux if you
cannot complete them using the fixup scripts.
• Configuring Storage Device Path Persistence Using Oracle ASMLIB
To use Oracle ASMLIB to configure Oracle ASM devices, complete the following
tasks:
• Configuring Storage Device Path Persistence Manually
You can maintain storage file path persistence by creating a rules file.
A-1
Appendix A
Configuring Kernel Parameters for Linux
Note:
• Unless otherwise specified, the kernel parameter and shell limit values
shown in the following table are minimum values only. For production
database systems, Oracle recommends that you tune these values to
optimize the performance of the system. See the operating system
documentation for more information about tuning kernel parameters.
• If the current value for any parameter is greater than the value listed in
this table, then the Fixup scripts do not change the value of that
parameter.
A-2
Appendix A
Configuring Kernel Parameters for Linux
Related Topics
• Setting UDP and TCP Kernel Parameters Manually
If you do not use a Fixup script or CVU to set ephemeral ports, then set TCP/IP
ephemeral port range parameters to provide enough ephemeral ports for the
anticipated server workload.
Parameter Command
semmsl, semmns, semopm, and semmni # /sbin/sysctl -a | grep sem
This command displays the value of the
semaphore parameters in the order listed.
shmall, shmmax, and shmmni # /sbin/sysctl -a | grep shm
This command displays the details of the
shared memory segment sizes.
file-max # /sbin/sysctl -a | grep file-max
This command displays the maximum number
of file handles.
ip_local_port_range # /sbin/sysctl -a | grep
ip_local_port_range
This command displays a range of port
numbers.
rmem_default # /sbin/sysctl -a | grep
rmem_default
rmem_max # /sbin/sysctl -a | grep rmem_max
wmem_default # /sbin/sysctl -a | grep
wmem_default
wmem_max # /sbin/sysctl -a | grep wmem_max
aio-max-nr # /sbin/sysctl -a | grep aio-max-nr
A-3
Appendix A
Configuring Kernel Parameters for Linux
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
# /sbin/sysctl --system
Review the output. If the values are incorrect, edit the /etc/sysctl.d/97-
oracle-database-sysctl.conf file, then enter this command again.
3. Confirm that the values are set correctly:
# /sbin/sysctl -a
See Also:
sysctl.conf(5) and sysctl.d(5) man pages for more information
A-4
Appendix A
Configuring Kernel Parameters for Linux
# /sbin/chkconfig boot.sysctl on
2. Enter the GID of the oinstall group as the value for the parameter /
proc/sys/vm/hugetlb_shm_group.
For example, where the oinstall group GID is 501:
vm.hugetlb_shm_group=501
Note:
Only one group can be defined as the vm.hugetlb_shm_group.
$ cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000
In the preceding example, the lowest port (32768) and the highest port (61000) are set
to the default range.
A-5
Appendix A
Configuring Storage Device Path Persistence Using Oracle ASMLIB
If necessary, update the UDP and TCP ephemeral port range to a range high enough
for anticipated system workloads, and to ensure that the ephemeral port range starts
at 9000 and above. For example:
Oracle recommends that you make these settings permanent. For example, as root,
use a text editor to open /etc/sysctl.conf, and add or change to the following:
net.ipv4.ip_local_port_range = 9000 65500, and then restart the network:
# /etc/rc.d/init.d/network restart
Note:
To create a database during the installation using the Oracle ASM library
driver, you must choose an installation method that runs ASMCA in
interactive mode. You must also change the disk discovery string to ORCL:*.
A-6
Appendix A
Configuring Storage Device Path Persistence Using Oracle ASMLIB
Note:
If you configure disks using Oracle ASMLIB, then you must change the disk
discovery string to ORCL:*. If the diskstring is set to ORCL:*, or is left empty
(""), then the installer discovers these disks.
A-7
Appendix A
Configuring Storage Device Path Persistence Using Oracle ASMLIB
See Also:
My Oracle Support note 1089399.1 for information about Oracle ASMLIB
support with Red Hat distributions:
https://support.oracle.com/rs?type=doc&id=1089399.1
For example, if you are using the Red Hat Enterprise Linux 5 AS kernel on an
AMD64 system, then enter a command similar to the following:
# rpm -ivh oracleasm-support-2.1.3-1.el5.x86_64.rpm \
oracleasm-2.6.18-194.26.1.el5xen-2.0.5-1.el5.x86_64.rpm \
oracleasmlib-2.0.4-1.el5.x86_64.rpm
5. Enter the following command to run the oracleasm initialization script with the
configure option:
# /usr/sbin/oracleasm configure -i
Note:
The oracleasm command in /usr/sbin is the command you should use.
The /etc/init.d path is not deprecated, but the oracleasm binary in
that path is now used typically for internal commands.
A-8
Appendix A
Configuring Storage Device Path Persistence Using Oracle ASMLIB
6. Enter the following information in response to the prompts that the script displays:
Note:
The Oracle ASMLIB file system is not a regular file system. It is used
only by the Oracle ASM library to communicate with the Oracle
ASMLIB.
A-9
Appendix A
Configuring Storage Device Path Persistence Using Oracle ASMLIB
a. Install or configure the disk devices that you intend to use for the disk group
and restart the system.
b. Enter the following command to identify the device name for the disks to use:
# /sbin/fdisk -l
To include devices in a disk group, you can specify either whole-drive device
names or partition device names.
Note:
Oracle recommends that you create a single whole-disk partition on
each disk to use.
c. Use either fdisk or parted to create a single whole-disk partition on the disk
devices.
2. Enter a command similar to the following to mark a disk as an Oracle Automatic
Storage Management disk:
A-10
Appendix A
Configuring Storage Device Path Persistence Using Oracle ASMLIB
Note:
• The disk names you specify can contain uppercase letters, numbers,
and the underscore character. They must start with an uppercase
letter.
• To create a database during the installation using the Oracle
Automatic Storage Management library driver, you must change the
disk discovery string to ORCL:*.
• If you are using a multi-pathing disk driver with Oracle ASM, then
make sure that you specify the correct logical device name for the
disk.
3. To make the disk available on the other nodes in the cluster, enter the following
command as root on each node:
# /usr/sbin/oracleasm scandisks
This command identifies shared disks attached to the node that are marked as
Oracle ASM disks.
A-11
Appendix A
Configuring Storage Device Path Persistence Using Oracle ASMLIB
A-12
Appendix A
Configuring Storage Device Path Persistence Using Oracle ASMLIB
2. Log in as root.
3. Stop the Oracle Restart stack:
# cd Grid_home/bin
# /etc/init.d/oracleasm disable
A-13
Appendix A
Configuring Storage Device Path Persistence Manually
# rpm -e oracleasm-support
# rpm -e oracleasmlib
Start the Oracle Restart stack. Optionally, you can install and configure Oracle ASM
Filter Driver (Oracle ASMFD) before starting the Oracle Restart stack.
If you use Oracle ASMFD, then you do not have to ensure permissions and device
path persistence in udev.
If you do not use Oracle ASMFD, then you must create a custom rules file. Linux
vendors customize their udev configurations and use different orders for reading rules
files. For example, on some Linux distributions when udev is started, it sequentially
carries out rules (configuration directives) defined in rules files. These files are in the
path /etc/udev/rules.d/. Rules files are read in lexical order. For example, rules
in the file 10-wacom.rules are parsed and carried out before rules in the rules file 90-
ib.rules.
When specifying the device information in the udev rules file, ensure that the OWNER,
GROUP, and MODE are specified before all other characteristics in the order shown.
For example, to include the characteristic ACTION on the UDEV line, specify ACTION
after OWNER, GROUP, and MODE.
Where rules files describe the same devices, on the supported Linux kernel versions,
the last file read is the one that is applied.
• Configuring Device Persistence Manually for Oracle ASM
Complete these tasks to create device path persistence manually for Oracle ASM.
A-14
Appendix A
Configuring Storage Device Path Persistence Manually
# /sbin/scsi_id -g -s /block/sdb/sdb1
360a98000686f6959684a453333524174
# /sbin/scsi_id -g -s /block/sde/sde1
360a98000686f6959684a453333524179
Record the unique SCSI identifiers, so you can provide them when required.
Note:
The command scsi_id should return the same device identifier value
for a given device, regardless of which node the command is run from.
2. Configure SCSI devices as trusted devices (white listed), by editing the /etc/
scsi_id.config file and adding options=-g to the file. For example:
3. Using a text editor, create a UDEV rules file for the Oracle ASM devices, setting
permissions to 0660 for the installation owner and the operating system group you
have designated the OSASM group, whose members are administrators of the
Oracle Grid Infrastructure software. For example, on Oracle Linux, to create a role-
based configuration rules.d file where the installation owner is grid and the
OSASM group asmadmin, enter commands similar to the following:
# vi /etc/udev/rules.d/99-oracle-asmdevices.rules
A-15
Appendix A
Configuring Storage Device Path Persistence Manually
4. On clustered systems, copy the rules.d file to all other nodes on the cluster. For
example:
# /sbin/partprobe /dev/sdc1
# /sbin/partprobe /dev/sdd1
# /sbin/partprobe /dev/sde1
# /sbin/partprobe /dev/sdf1
# udevtest /block/sdd/sdd1
main: looking at device '/block/sdd/sdd1' from subsystem 'block'
udev_rules_get_name: add symlink
'disk/by-id/scsi-360a98000686f6959684a453333524174-part1'
udev_rules_get_name: add symlink
'disk/by-path/ip-192.168.1.1:3260-iscsi-iqn.1992-08.com.netapp:sn.
887085-part1'
udev_node_mknod: preserve file '/dev/.tmp-8-17', because it has correct
dev_t
run_program: '/lib/udev/vol_id --export /dev/.tmp-8-17'
run_program: '/lib/udev/vol_id' returned with status 4
run_program: '/sbin/scsi_id'
run_program: '/sbin/scsi_id' (stdout)
'360a98000686f6959684a453333524174'
run_program: '/sbin/scsi_id' returned with status 0
udev_rules_get_name: rule applied, 'sdd1' becomes 'data1'
udev_device_event: device '/block/sdd/sdd1' validate currently present
symlinks
udev_node_add: creating device node '/dev/data1', major = '8', minor =
'17',
mode = '0640', uid = '0', gid = '500'
udev_node_add: creating symlink
'/dev/disk/by-id/scsi-360a98000686f6959684a453333524174-part1' to
'../../data1'
udev_node_add: creating symlink
'/dev/disk/by-path/ip-192.168.1.1:3260-iscsi-iqn.1992-08.com.netapp:sn.
84187085
-part1' to '../../data1'
main: run: 'socket:/org/kernel/udev/monitor'
main: run: '/lib/udev/udev_run_devd'
main: run: 'socket:/org/freedesktop/hal/udev_event'
main: run: '/sbin/pam_console_apply /dev/data1
/dev/disk/by-id/scsi-360a98000686f6959684a453333524174-part1
/dev/disk/by-path/ip-192.168.1.1:3260-iscsi-iqn.1992-08.com.netapp:sn.
A-16
Appendix A
Configuring Storage Device Path Persistence Manually
84187085-
part1'
In the example output, note that applying the rules renames OCR device /dev/
sdd1 to /dev/data1.
7. Load the rules and restart the UDEV service. For example:
• Oracle Linux and Red Hat Enterprise Linux
Verify that the device permissions and ownerships are set correctly.
A-17
B
Installing and Configuring Oracle Database
Using Response Files
Review the following topics to install and configure Oracle products using response
files.
• How Response Files Work
Response files can assist you with installing an Oracle product multiple times on
multiple computers.
• Reasons for Using Silent Mode or Response File Mode
Review this section for use cases for running the installer in silent mode or
response file mode.
• Using Response Files
Review this information to use response files.
• Preparing Response Files
Review this information to prepare response files for use during silent mode or
response file mode installations.
• Running Oracle Universal Installer Using a Response File
After creating the response file, run Oracle Universal Installer at the command line,
specifying the response file you created, to perform the installation.
• Running Configuration Assistants Using Response Files
You can run configuration assistants in response file or silent mode to configure
and start Oracle software after it is installed on the system. To run configuration
assistants in response file or silent mode, you must copy and edit a response file
template.
• Postinstallation Configuration Using Response File Created During Installation
Use response files to configure Oracle software after installation. You can use the
same response file created during installation to also complete postinstallation
configuration.
• Postinstallation Configuration Using the ConfigToolAllCommands Script
You can create and run a response file configuration after installing Oracle
software. The configToolAllCommands script requires users to create a
second response file, of a different format than the one used for installing the
product.
B-1
Appendix B
Reasons for Using Silent Mode or Response File Mode
Typically, the installer runs in interactive mode, which means that it prompts you to
provide information in graphical user interface (GUI) screens. When you use response
files to provide this information, you run the installer from a command prompt using
either of the following modes:
• Silent mode
If you include responses for all of the prompts in the response file and specify the
-silent option when starting the installer, then it 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 you used to start it.
• Response file mode
If you include responses for some or all of the prompts in the response file and
omit the -silent option, then the installer runs in response file mode. During a
response file mode installation, the installer displays all the screens, screens for
which you specify information in the response file, and also screens for which you
did not specify the required information in the response file.
You define the settings for a silent or response file installation by entering values for
the variables listed in the response file. For example, to specify the Oracle home
name, provide the Oracle home path for the ORACLE_HOME environment variable:
ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1
Mode Uses
Silent Use silent mode for the following installations:
• Complete an unattended installation, which you schedule using
operating system utilities such as at.
• Complete several similar installations on multiple systems without user
interaction.
• Install the software on a system that does not have X Window System
software installed on it.
The installer displays progress information on the terminal that you used to
start it, but it does not display any of the installer screens.
Response file Use response file mode to complete similar Oracle software installations on
more than one system, providing default answers to some, but not all of the
installer prompts.
B-2
Appendix B
Preparing Response Files
Note:
You must complete all required preinstallation tasks on a system before
running the installer in silent or response file mode.
Note:
If you copied the software to a hard disk, then the response files are located
in the /response directory.
All response file templates contain comment entries, sample formats, examples, and
other useful instructions. Read the response file instructions to understand how to
specify values for the response file variables, so that you can customize your
installation.
The following table lists the response files provided with this software:
B-3
Appendix B
Preparing Response Files
Table B-1 Response Files for Oracle Database and Oracle Grid Infrastructure
Caution:
When you modify a response file template and save a file for use, the
response file may contain plain text passwords. Ownership of the response
file should be given to the Oracle software installation owner only, and
permissions on the response file should be changed to 600. Oracle strongly
recommends that database administrators or other administrators delete or
secure response files when they are not in use.
$ cp $ORACLE_HOME/install/response/db_install.rsp local_directory
Note:
The installer or configuration assistant fails if you do not correctly
configure the response file. Also, ensure that your response file name
has the .rsp suffix.
4. Secure the response file by changing the permissions on the file to 600:
$ chmod 600 /local_dir/db_install.rsp
Ensure that only the Oracle software owner user can view or modify response files
or consider deleting them after the installation succeeds.
B-4
Appendix B
Preparing Response Files
Note:
A fully-specified response file for an Oracle Database installation
contains the passwords for database administrative accounts and for a
user who is a member of the OSDBA group (required for automated
backups).
Note:
OUI does not save passwords while recording the response file.
B-5
Appendix B
Running Oracle Universal Installer Using a Response File
Note:
Ensure that your response file name has the .rsp suffix.
5. Before you use the saved response file on another system, edit the file and make
any required changes. Use the instructions in the file as a guide when editing it.
$ $ORACLE_HOME/runInstaller -help
$ /u01/app/oracle/product/19.0.0/grid/gridSetup.sh -help
Note:
You do not have to set the DISPLAY environment variable if you are
completing a silent mode installation.
4. To start the installer in silent or response file mode, enter a command similar to
the following:
• For Oracle Database:
$ $ORACLE_HOME/runInstaller [-silent] \
-responseFile responsefilename
B-6
Appendix B
Running Configuration Assistants Using Response Files
$ /u01/app/oracle/product/19.0.0/grid/gridSetup.sh [-silent] \
-responseFile responsefilename
Note:
Do not specify a relative path to the response file. If you specify a
relative path, then the installer fails.
In this example:
• -silent runs the installer in silent mode.
• responsefilename is the full path and file name of the installation response file
that you configured.
5. If this is the first time you are installing Oracle software on your system, then
Oracle Universal Installer prompts you to run the orainstRoot.sh script.
Log in as the root user and run the orainstRoot.sh script:
$ su root
password:
# /u01/app/oraInventory/orainstRoot.sh
Note:
You do not have to manually create the oraInst.loc file. Running the
orainstRoot.sh script is sufficient as it specifies the location of the
Oracle Inventory directory.
6. When the installation completes, log in as the root user and run the root.sh
script. For example:
$ su root
password:
# $ORACLE_HOME/root.sh
Note:
If you copied the software to a hard disk, then the response file template is
located in the /response directory.
B-7
Appendix B
Running Configuration Assistants Using Response Files
$ cp /directory_path/assistants/netca/netca.rsp local_directory
In this example, directory_path is the path of the directory where you have copied
the installation binaries.
2. Open the response file in a text editor:
$ vi /local_dir/netca.rsp
Note:
Net Configuration Assistant fails if you do not correctly configure the
response file.
4. Log in as the Oracle software owner user, and set the ORACLE_HOME environment
variable to specify the correct Oracle home directory.
5. Enter a command similar to the following to run Net Configuration Assistant in
silent mode:
In this command:
• The /silent option indicates to run Net Configuration Assistant in silent mode.
• local_dir is the full path of the directory where you copied the netca.rsp
response file template.
B-8
Appendix B
Running Configuration Assistants Using Response Files
$ cp /directory_path/assistants/dbca/dbca.rsp local_directory
In this example, directory_path is the path of the directory where you have
copied the installation binaries.
As an alternative to editing the response file template, you can also create a
database by specifying all required information as command line options when you
run Oracle DBCA. For information about the list of options supported, enter the
following command:
$ $ORACLE_HOME/bin/dbca -help
$ vi /local_dir/dbca.rsp
Note:
Oracle DBCA fails if you do not correctly configure the response file.
4. Log in as the Oracle software owner user, and set the ORACLE_HOME environment
variable to specify the correct Oracle home directory.
5. To run Oracle DBCA in response file mode, set the DISPLAY environment variable.
6. Use the following command syntax to run Oracle DBCA in silent or response file
mode using a response file:
In this example:
• -silent option indicates that Oracle DBCA runs in silent mode.
B-9
Appendix B
Postinstallation Configuration Using Response File Created During Installation
• local_dir is the full path of the directory where you copied the dbca.rsp
response file template.
During configuration, Oracle DBCA displays a window that contains the status
messages and a progress bar.
Oracle strongly recommends that you maintain security with a password response file:
• Permissions on the response file should be set to 600.
• The owner of the response file should be the installation owner user, with the
group set to the central inventory (oraInventory) group.
Example B-1 Response File Passwords for Oracle Grid Infrastructure (grid
user)
grid.install.crs.config.ipmi.bmcPassword=password
grid.install.asm.SYSASMPassword=password
grid.install.asm.monitorPassword=password
grid.install.config.emAdminPassword=password
If you do not have a BMC card, or you do not want to enable IPMI, then leave the
ipmi.bmcPassword input field blank.
If you do not want to enable Oracle Enterprise Manager for management, then leave
the emAdminPassword password field blank.
B-10
Appendix B
Postinstallation Configuration Using Response File Created During Installation
Example B-2 Response File Passwords for Oracle Grid Infrastructure for a
Standalone Server (oracle user)
oracle.install.asm.SYSASMPassword=password
oracle.install.asm.monitorPassword=password
oracle.install.config.emAdminPassword=password
If you do not want to enable Oracle Enterprise Manager for management, then leave
the emAdminPassword password field blank.
Example B-3 Response File Passwords for Oracle Database (oracle user)
This example illustrates the passwords to specify for use with the database
configuration assistants.
oracle.install.db.config.starterdb.password.SYS=password
oracle.install.db.config.starterdb.password.SYSTEM=password
oracle.install.db.config.starterdb.password.DBSNMP=password
oracle.install.db.config.starterdb.password.PDBADMIN=password
oracle.install.db.config.starterdb.emAdminPassword=password
oracle.install.db.config.asm.ASMSNMPPassword=password
1. Edit the response file and specify the required passwords for your configuration.
You can use the response file created during installation, located
at $ORACLE_HOME/install/response/product_timestamp.rsp. For example:
B-11
Appendix B
Postinstallation Configuration Using Response File Created During Installation
oracle.install.asm.SYSASMPassword=password
oracle.install.config.emAdminPassword=password
grid.install.asm.SYSASMPassword=password
grid.install.config.emAdminPassword=password
2. Change directory to the Oracle home containing the installation software. For
example:
For Oracle Grid Infrastructure:
cd Grid_home
cd $ORACLE_HOME
For Oracle Database, you can also run the response file located in the
directory $ORACLE_HOME/inventory/response/:
The postinstallation configuration tool runs the installer in the graphical user
interface mode, displaying the progress of the postinstallation configuration.
Specify the [-silent] option to run the postinstallation configuration in the
silent mode.
For example, for Oracle Grid Infrastructure:
B-12
Appendix B
Postinstallation Configuration Using the ConfigToolAllCommands Script
The configToolAllCommands password response file has the following syntax options:
B-13
Appendix B
Postinstallation Configuration Using the ConfigToolAllCommands Script
For example:
oracle.crs|S_ASMPASSWORD=PassWord
The database configuration assistants require the SYS, SYSTEM, and DBSNMP
passwords for use with Oracle DBCA. You may need to specify the following additional
passwords, depending on your system configuration:
• If the database is using Oracle Automatic Storage Management (Oracle ASM) for
storage, then you must specify a password for the S_ASMSNMPPASSWORD variable. If
you are not using Oracle ASM, then leave the value for this password variable
blank.
• If you create a multitenant container database (CDB) with one or more pluggable
databases (PDBs), then you must specify a password for the S_PDBADMINPASSWORD
variable. If you are not using Oracle ASM, then leave the value for this password
variable blank.
Oracle strongly recommends that you maintain security with a password response file:
• Permissions on the response file should be set to 600.
• The owner of the response file should be the installation owner user, with the
group set to the central inventory (oraInventory) group.
$ touch pwdrsp.properties
2. Open the file with a text editor, and cut and paste the sample password file
contents, as shown in the examples, modifying as needed.
3. Change permissions to secure the password response file. For example:
$ ls -al pwdrsp.properties
-rw------- 1 oracle oinstall 0 Apr 30 17:30 pwdrsp.properties
Example B-4 Password response file for Oracle Grid Infrastructure (grid user)
grid.crs|S_ASMPASSWORD=password
grid.crs|S_OMSPASSWORD=password
grid.crs|S_BMCPASSWORD=password
grid.crs|S_ASMMONITORPASSWORD=password
B-14
Appendix B
Postinstallation Configuration Using the ConfigToolAllCommands Script
If you do not have a BMC card, or you do not want to enable IPMI, then leave the
S_BMCPASSWORD input field blank.
Example B-5 Password response file for Oracle Grid Infrastructure for a
Standalone Server (oracle user)
oracle.crs|S_ASMPASSWORD=password
oracle.crs|S_OMSPASSWORD=password
oracle.crs|S_ASMMONITORPASSWORD=password
Example B-6 Password response file for Oracle Database (oracle user)
This example provides a template for a password response file to use with the
database configuration assistants.
oracle.server|S_SYSPASSWORD=password
oracle.server|S_SYSTEMPASSWORD=password
oracle.server|S_EMADMINPASSWORD=password
oracle.server|S_DBSNMPPASSWORD=password
oracle.server|S_ASMSNMPPASSWORD=password
oracle.server|S_PDBADMINPASSWORD=password
If you do not want to enable Oracle Enterprise Manager for management, then leave
those password fields blank.
configToolAllCommands RESPONSE_FILE=/path/name.properties
For example:
$ ./configToolAllCommands RESPONSE_FILE=/home/oracle/pwdrsp.properties
Related Topics
• Creating a Password Response File
You can create a password response file and use it with configuration assistants to
perform silent installation.
B-15
C
Optimal Flexible Architecture
Oracle Optimal Flexible Architecture (OFA) rules are a set of configuration guidelines
created to ensure well-organized Oracle installations, which simplifies administration,
support and maintenance.
• About the Optimal Flexible Architecture Standard
Oracle Optimal Flexible Architecture (OFA) rules help you to organize database
software and configure databases to allow multiple databases, of different
versions, owned by different users to coexist.
• About Multiple Oracle Homes Support
Oracle Database supports multiple Oracle homes. You can install this release or
earlier releases of the software more than once on the same system, in different
Oracle home directories.
• About the Oracle Inventory Directory and Installation
The directory that you designate as the Oracle Inventory directory (oraInventory)
stores an inventory of all software installed on the system.
• Oracle Base Directory Naming Convention
The Oracle Base directory is the database home directory for Oracle Database
installation owners, and the log file location for Oracle Grid Infrastructure owners.
• Oracle Home Directory Naming Convention
By default, Oracle Universal Installer configures Oracle home directories using
these Oracle Optimal Flexible Architecture conventions.
• Optimal Flexible Architecture File Path Examples
Review examples of hierarchical file mappings of an Optimal Flexible Architecture-
compliant installation.
C-1
Appendix C
About Multiple Oracle Homes Support
Note:
OFA assists in identification of an ORACLE_BASE with its Automatic
Diagnostic Repository (ADR) diagnostic data to properly collect incidents.
C-2
Appendix C
About the Oracle Inventory Directory and Installation
C-3
Appendix C
Oracle Base Directory Naming Convention
If you have neither set ORACLE_BASE, nor created an OFA-compliant path, then the
Oracle Inventory directory is placed in the home directory of the user that is performing
the installation, and the Oracle software is installed in the path /app/owner, where
owner is the Oracle software installation owner. For example:
/home/oracle/oraInventory
/home/oracle/app/oracle/product/19.0.0/dbhome_1
Example Description
Oracle Database Oracle base, where the Oracle Database software
/u01/app/ installation owner name is oracle. The Oracle Database binary home is
oracle located underneath the Oracle base path.
Oracle Grid Infrastructure Oracle base, where the Oracle Grid Infrastructure
/u01/app/grid software installation owner name is grid.
Caution:
The Oracle Grid Infrastructure Oracle base
should not contain the Oracle Grid
Infrastructure binaries for an Oracle Grid
Infrastructure for a cluster installation.
Permissions for the file path to the Oracle Grid
Infrastructure binary home is changed to root
during installation.
C-4
Appendix C
Oracle Home Directory Naming Convention
Variable Description
pm A mount point name.
s A standard directory name.
u The name of the owner of the directory.
v The version of the software.
type The type of installation. For example: Database (dbhome), Client (client),
or Oracle Grid Infrastructure (grid)
n An optional counter, which enables you to install the same product more
than once in the same Oracle base directory. For example: Database 1 and
Database 2 (dbhome_1, dbhome_2)
For example, the following path is typical for the first installation of Oracle Database on
this system:
/u01/app/oracle/product/19.0.0/dbhome_1
Note:
• The Grid homes are examples of Grid homes used for an Oracle Grid
Infrastructure for a standalone server deployment (Oracle Restart), or a
Grid home used for an Oracle Grid Infrastructure for a cluster
deployment (Oracle Clusterware). You can have either an Oracle Restart
deployment, or an Oracle Clusterware deployment. You cannot have
both options deployed at the same time.
• Oracle Automatic Storage Management (Oracle ASM) is included as part
of an Oracle Grid Infrastructure installation. Oracle recommends that you
use Oracle ASM to provide greater redundancy and throughput.
C-5
Appendix C
Optimal Flexible Architecture File Path Examples
Directory Description
Root directory
/
Oracle base directory for user oracle. There can be many Oracle
/u01/app/oracle/ Database installations on a server, and many Oracle Database
software installation owners.
Oracle software homes that an Oracle installation owner owns should
be located in the Oracle base directory for the Oracle software
installation owner, unless that Oracle software is Oracle Grid
Infrastructure deployed for a cluster.
Oracle base directory for user grid. The Oracle home (Grid home) for
/u01/app/grid Oracle Grid Infrastructure for a cluster installation is located outside of
the Grid user. There can be only one Grid home on a server, and only
one Grid software installation owner.
The Grid home contains log files and other administrative files.
Subtree for database administration files
/u01/app/oracle/
admin/
C-6
Appendix C
Optimal Flexible Architecture File Path Examples
Table C-2 (Cont.) Optimal Flexible Architecture Hierarchical File Path Examples
Directory Description
Subtree for recovery files
/u01/app/oracle/
fast_recovery_are
a/
Common path for Oracle software products other than Oracle Grid
/u01/app/oracle/ Infrastructure for a cluster
product/
C-7
Appendix C
Optimal Flexible Architecture File Path Examples
Table C-2 (Cont.) Optimal Flexible Architecture Hierarchical File Path Examples
Directory Description
Oracle home directory for Oracle Grid Infrastructure for a standalone
/u01/app/oracle/ server, owned by Oracle Database and Oracle Grid Infrastructure
product/19.0.0/ installation owner oracle.
grid
Oracle home directory for Oracle Grid Infrastructure for a cluster (Grid
/u01/app/19.0.0/ home), owned by user grid before installation, and owned by root
grid after installation.
C-8
D
Configuring Read-Only Oracle Homes
Understand how read-only Oracle homes work and how you can configure read-only
Oracle homes.
• Understanding Read-Only Oracle Homes
Learn about read-only Oracle home concepts like Oracle base home, Oracle base
config, and orabasetab.
• Enabling a Read-Only Oracle Home
Configure your Oracle home as a read-only Oracle home after you have
performed a software-only Oracle Database installation.
• Copying demo Directories to Oracle Base Home
In a read-only mode ORACLE_HOME, you must copy the demo directories listed
in this topic from ORACLE_HOME to ORACLE_BASE_HOME.
• Determining if an Oracle Home is Read-Only
Run the orabasehome command to determine if your Oracle home is a read/write
or read-only Oracle home.
• File Path and Directory Changes in Read-Only Oracle Homes
Examples of hierarchical file mappings in a read-only Oracle home as compared to
a read/write Oracle home.
D-1
Appendix D
Understanding Read-Only Oracle Homes
In a read-only Oracle home, all the configuration data and log files reside outside of
the read-only Oracle home. This feature allows you to use the read-only Oracle home
as a software image that can be distributed across multiple servers.
Apart from the traditional ORACLE_BASE and ORACLE_HOME directories, the
following directories contain files that used to be in ORACLE_HOME:
• ORACLE_BASE_HOME
• ORACLE_BASE_CONFIG
Note:
This feature does not affect how database administrators monitor, diagnose,
and tune their system performance.
D-2
Appendix D
Understanding Read-Only Oracle Homes
For example:
$ ./orabasehome
$ /u01/app/oracle/homes/OraDB19Home1
For example:
$ ./orabaseconfig
$ /u01/app/oracle
About orabasetab
The orabasetab file is used to define fundamental directories based
on $ORACLE_HOME, ORACLE_BASE, ORACLE_BASE_HOME and
ORACLE_BASE_CONFIG.
The orabasetab file resides in ORACLE_HOME/install/orabasetab. To
determine if an ORACLE_HOME is read-only or read/write, you can check for the
presence of the orabasetab file. The orabasetab file also defines the
ORACLE_BASE and the HOME_NAME of the Oracle home. HOME_NAME is the
internal name for ORACLE_HOME.
The last line in the orabasetab file, which starts with $ORACLE_HOME, defines the
directories for $ORACLE_HOME. The last line consists of four fields, each separate by
a colon delimiter(:).
D-3
Appendix D
Enabling a Read-Only Oracle Home
3. The third field defines the HOME_NAME which is used in constructing the
ORACLE_BASE_HOME path in a read-only ORACLE_HOME.
4. The fourth field displays N in a read/write ORACLE_HOME and Y in a read-only
ORACLE_HOME.
In a read-only ORACLE_HOME, the ORACLE_BASE_HOME path is ORACLE_BASE/
homes/HOME_NAME and ORACLE_BASE_CONFIG is the same as ORACLE_BASE.
$ cd /u01/app/oracle/product/19.0.0/dbhome_1/install
$ cat orabasetab
$ /u01/app/oracle/product/19.0.0/dbhome_1:/u01/app/
oracle:OraDB19Home1:Y:
In this example, a Y in the fourth field at the end of the line indicates you have a
read-only Oracle home.
$ mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1
$ chown oracle:oinstall /u01/app/oracle/product/19.0.0/dbhome_1
D-4
Appendix D
Enabling a Read-Only Oracle Home
$ cd /u01/app/oracle/product/19.0.0/dbhome_1
$ unzip -q /tmp/db_home.zip
Note:
Ensure that the Oracle home directory path you create is in compliance
with the Oracle Optimal Flexible Architecture recommendations. Also,
unzip the installation image files only in this Oracle home directory that
you created.
4. From the Oracle home directory, run the runInstaller command to start the
Oracle Database installer.
5. In the Select Configuration Option screen, select Set Up Software Only.
6. Select your installation type. Installation screens vary depending on the installation
option you select. Respond to the configuration prompts as needed.
Note:
Click Help if you have any questions about the information you are asked to
submit during installation.
$ cd /u01/app/oracle/product/19.0.0/dbhome_1/bin
$ ./roohctl -enable
3. On Oracle Real Application Clusters (Oracle RAC) installations, run the preceding
roohctl script on every node of the cluster. Alternatively, run the roohctl script
with the nodelist option and provide the list of cluster nodes:
$ ./dbca
D-5
Appendix D
Copying demo Directories to Oracle Base Home
Note:
Click Help if you have any questions about the information you are asked to
submit during database creation.
Related Topics
• Running Oracle Database Setup Wizard to Install Oracle Database
Extract the database image files and use the runInstaller command to start
the installation.
• Oracle Database 2 Day DBA
Many of the demo directories are not available by default. You must install Oracle
Database Examples to view and use the examples and product demonstrations.
Copy the respective demo directory to the corresponding location in
ORACLE_BASE_HOME. Now, you can use this copy of the demo directory.
D-6
Appendix D
Copying demo Directories to Oracle Base Home
$ ls -l -d $(orabasehome)/rdbms/demo
3. If the rdbms/demo directory has not been copied, then create it and copy it.
$ mkdir -p $(orabasehome)/rdbms
$ cp -r $ORACLE_HOME/rdbms/demo $(orabasehome)/rdbms/demo
Similarly, copy all the demo directories listed earlier from ORACLE_HOME to
ORACLE_BASE_HOME.
$ ls -l -d $ORACLE_HOME/rdbms/demo
$ cd $ORACLE_HOME/rdbms
$ mv demo demo.installed
$ ln -s $(orabasehome)/rdbms/demo $ORACLE_HOME/rdbms/demo
$ ls -l -d $ORACLE_HOME/odbc/demo
$ cd $ORACLE_HOME/odbc
$ mv demo demo.installed
$ ln -s $(orabasehome)/odbc/demo $ORACLE_HOME/odbc/demo
$ ls -l -d $ORACLE_HOME/precomp/demo
D-7
Appendix D
Determining if an Oracle Home is Read-Only
$ cd $ORACLE_HOME/precomp
$ mv demo demo.installed
$ ln -s $(orabasehome)/precomp/demo $ORACLE_HOME/precomp/demo
$ ls -l -d $ORACLE_HOME/xdk/include
2. If the symbolic link does not exist, then, run the following command:
$ ln -s $ORACLE_HOME/xdk/include $(orabasehome)/xdk/include
Note:
In the plsql/demo directory, ncmpdemo.sql is unusable in read-only
mode.
$ ls $(orabasehome)/init.ora
cp $ORACLE_HOME/init.ora $(orabasehome)/init.ora
Related Topics
• Oracle Database Examples Installation Guide
D-8
Appendix D
File Path and Directory Changes in Read-Only Oracle Homes
$ ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1
$ export ORACLE_HOME
C shell:
$ cd $ORACLE_HOME/bin
$ ./orabasehome
/u01/app/oracle/homes/OraDB19Home1
This example also shows the changes in the Oracle Database software defined paths
of configuration files, log files, and other directories in a read-only Oracle home when
compared to a read/write Oracle home.
Table D-1 read/write and Read-Only Oracle Home File Path Examples
/u01/app/oracle/ (or)
product/19.0.0/ /u01/app/oracle/
dbhome_1 homes/OraDB19Home1
D-9
Appendix D
File Path and Directory Changes in Read-Only Oracle Homes
Table D-1 (Cont.) read/write and Read-Only Oracle Home File Path Examples
/u01/app/oracle/ (or)
product/19.0.0/ /u01/app/oracle/
dbhome_1/network homes/OraDB19Home1/
network
dbs ORACLE_HOME/dbs ORACLE_BASE/dbs
(or) (or)
/u01/app/oracle/ /u01/app/oracle/dbs
product/19.0.0/
dbhome_1/dbs
D-10
E
Managing Oracle Database Port Numbers
Review default port numbers. If needed, use these steps to change assigned ports
after installation.
• About Managing Ports
During installation, Oracle Universal Installer assigns port numbers to components
from a set of default port numbers.
• Oracle Database Component Port Numbers and Protocols
This table lists the port numbers and protocols configured for Oracle Database
components during a single-instance installation. By default, the first port in the
range is assigned to the component, if it is available.
$/bin/netstat -a
Most port numbers are assigned during installation. Every component and service has
an allotted port range, which is the set of port numbers Oracle Database attempts to
use when assigning a port. Oracle Database starts with the lowest number in the
range and performs the following checks:
• Is the port used by another Oracle Database installation on the host?
The installation may be up or down at the time. Oracle Database can still detect if
the port is used.
• Is the port used by a process that is currently running?
This can be any process on the host, even a non-Oracle Database process.
• Is the port listed in the /etc/services file?
If the answer to any of the preceding questions is yes, then Oracle Database moves to
the next highest port in the allotted port range, and continues checking until it finds a
free port.
E-1
Appendix E
Oracle Database Component Port Numbers and Protocols
Table E-1 Protocols and Default Port Numbers for Oracle Database
Components
Related Topics
• Using HTTP(S) on a Standard Port
• Using FTP on the Standard Port
• Oracle Real Application Clusters Installation Guide for Linux and UNIX
E-2
Index
Numerics commands
asmcmd, 9-7
19c deprecated features, xvii df -h, 2-2
free, 2-2
grep MemTotal, 2-2
A grep SwapTotal, 2-2
aliases, multiple on computers, 6-4 root.sh, 12-8
apply patches during install runcluvfy.sh, 10-7
apply patches during upgrade, 10-13, 11-10 setup.exe, 10-7
asmdba groups sysctl, 8-2
creating, 5-9 umask, 5-12
asmoper group uname —m, 2-2
creating, 5-9 useradd, 5-12
Automatic Diagnostic Repository (ADR), C-1 computers with multiple aliases, 6-4
Automatic Memory Management, 11-7 computers, non-networked, 6-3
about, 1-8 copying demo directory, D-6
cron jobs, 1-8
custom database
B failure groups for Oracle Automatic Storage
backupdba group Management, 9-2
creating, 5-10 requirements when using Oracle Automatic
Bash shell Storage Management, 9-2
default user startup file, 5-12
bash_profile file, 5-12 D
binary files
supported storage options for, 7-1 DAS (direct attached storage) disks, 9-8
Bourne shell data files
default user startup file, 5-12 minimum disk space for, 7-7
recommendations for file system, 7-7
supported storage options for, 7-1
C data loss
C shell minimizing with Oracle ASM, 9-2
default user startup file, 5-12 database cloning, 12-16
CDBs Database Configuration Assistant
character sets, 11-6 running in silent mode, B-7
central inventory, 1-5, C-5 databases
See also Oracle inventory directory Oracle Automatic Storage Management
See also OINSTALL directory requirements, 9-2
changing kernel parameter values, A-3 DB_RECOVERY_FILE_DEST, 12-14
character sets, 11-6 DB_RECOVERY_FILE_DEST_SIZE, 12-14
checklists dba group
and installation planning, 1-1 creating, 5-9
client-server configurations, C-2 description, 5-6
cloning, 12-16 SYSDBA privilege, 5-6
command syntax conventions, xiii
Index-1
Index
Index-2
Index
3
Index
Index-4
Index
5
Index
OSKMDBA group R
creating, 5-11
OSKMDBA group (kmdba), 5-6 racdba group
OSOPER group creating, 5-11
creating, 5-10 RAID, 7-7
OSOPER groups device names, A-9
description for database, 5-6 using for Oracle data files, 7-7
SYSOPER privilege, 5-6 rapid home provisioning
OSRACDBA group name change, xvii
creating, 5-11 read only Oracle home, D-4
other changes, xvii read-only oracle home, D-1, D-2, D-9
OTN website read-only Oracle home, D-1, D-3, D-6, D-8
downloading installation software from, 11-3 read/write oracle home, D-9
recommendations
on performing software-only installations,
P 10-7
packages recompiling invalid objects, 12-10
oracle-database-server preinstallation redundancy level
package, 3-2 and space requirements for preconfigured
parameter file database, 9-2
and permissions to read and write the SGA, for Oracle Automatic Storage Management,
12-11 9-2
partition redundant array of independent disks
using with Oracle Automatic Storage See RAID
Management, 9-2 release update revisions, 12-2
partitions release updates, 12-2
creation for Oracle Automatic Storage releases
Management disks, 9-8 multiple, C-2
passwords, 12-3, 12-7 removing Oracle software, 13-1
change after install, 12-3 examples, 13-5
resetting requirements, 9-2
with SQL*Plus, 12-7 resource parameters, A-1
unlocking response file, B-9
with SQL*Plus, 12-7 response file installation
patch updates, 12-2 preparing, B-3
PGA, 11-7 response files
and memory management, 1-8 templates, B-3
ports silent mode, B-6
Oracle Connection Manager, E-1 response file mode, B-1
Oracle Net Services Listener, E-1 about, B-1
Oracle XML DB, E-1 reasons for using, B-2
postinstallation See also response files, silent mode
recommended tasks response files, B-1, B-9
root.sh script, backing up, 12-8 about, B-1
postinstallation -executeConfigTools option, B-10 creating with template, B-3
postinstallation configToolAllCommands script, dbca.rsp, B-3
B-13 enterprise.rsp, B-3
preconfigured database general procedure, B-2
Oracle Automatic Storage Management disk Net Configuration Assistant, B-8
space requirements, 9-2 netca.rsp, B-3
requirements when using Oracle Automatic passing values at command line, B-1
Storage Management, 9-2 specifying with Oracle Universal Installer, B-6
See also silent mode.
profile file, 5-12
roohctl -enable, D-4
proxy realm, 1-8
Index-6
Index
7
Index
Index-8