Database Client Installation Guide Ibm Aix Power Systems 64 Bit
Database Client Installation Guide Ibm Aix Power Systems 64 Bit
Database Client Installation Guide Ibm Aix Power Systems 64 Bit
E96438-06
Contributors: Neha Avasthy, Prasad Bagal, Subhranshu Banerjee, Jean-Francois VERRIER, Tammy Bednar,
Gavin Bowe, Robert Chang, Darcy Christensen, Kiran Chamala, Jonathan Creighton, Benoit Dageville, Sudip
Datta, Jim Erickson, Marcus Fallen, Joseph Francis, Allan Graves, Sharad Raju, Barbara Glover, Asad
Hasan, Thirumaleshwara Hasandka, Subhash C Chandra, Annie Chen, Sreekanth Reddy, Aneesh
Khandelwal, Eugene Karichkin, Jai Krishnani, Sangeeth Kumar, Ranjith Kundapur, Kevin Jernigan,
Christopher Jones, Simon Law, Bryn Llewellyn, Saar Maoz, Sreejith Minnanghat, Gopal Mulagund, Sue Lee,
Rich Long, Barb Lundhild, Rajendra Sahoo, Rudregowda Mallegowda, Padmanabhan Manavazhi, Mughees
Minhas, Krishna Mohan, Matthew McKerley, John McHugh, Gurudas Pai, Satish Panchumarthy , Rajesh
Prasad, Rajendra Pingte, Srinivas Poovala, Michael Coulter, Hanlin Qian, Gurumurthy Ramamurthy, Hema
Ramamurthy, Sunil Ravindrachar, Mark Richwine, Dipak Saggi, Trivikrama Samudrala, Shachi Sanklecha,
David Schreiner, Ara Shakian, Mohit Singhal, Dharma Sirnapalli, Akshay Shah, James Spiller, Roy Swonger,
Binoy Sukumaran, Kamal Tbeileh, Ravi Thammaiah, Shekhar Vaggu, Ajesh Viswambharan, Peter Wahl, Terri
Winters, Sergiusz Wolicki, Sivakumar Yarlagadda
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 embedded, installed or activated on delivered hardware, and modifications of such programs)
and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end
users are "commercial computer software" or "commercial computer software documentation" pursuant to the
applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use,
reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or
adaptation of i) Oracle programs (including any operating system, integrated software, any programs
embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle
computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the
license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud
services are defined by the applicable contract for such services. 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, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be
trademarks of their respective owners.
Intel and Intel Inside 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, Epyc,
and the AMD 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 vii
Documentation Accessibility vii
Set Up Java Access Bridge to Implement Java Accessibility viii
Command Syntax viii
Related Documentation ix
Conventions ix
iii
Installing Oracle Messaging Gateway 3-6
Installation Requirements for ODBC and LDAP 3-6
About ODBC Drivers and Oracle Database 3-7
Installing ODBC Drivers for IBM AIX 3-7
About LDAP and Oracle Plug-ins 3-7
Installing the LDAP Package 3-7
Installation Requirements for Programming Environments 3-7
Installation Requirements for Programming Environments for IBM AIX 3-8
Installation Requirements for Web Browsers 3-9
Checking the Software Requirements 3-9
Enabling I/O Completion Ports 3-10
iv
Relinking Oracle Database Client Binaries After Installation 5-8
Index
v
List of Tables
1-1 Server Hardware Checklist for Oracle Database Client Installations 1-1
1-2 Operating System General Checklist for Oracle Database on IBM AIX on POWER
Systems (64-Bit) 1-2
1-3 Server Configuration Checklist for Oracle Database Client 1-2
1-4 User Environment Configuration for Oracle Database 1-4
1-5 Storage Checklist for Oracle Database Client 1-5
1-6 Oracle Universal Installer Planning Checklist for Oracle Database Client Installation 1-5
3-1 IBM AIX 7.1 on POWER Systems (64-Bit) Minimum Operating System Requirements 3-3
3-2 IBM AIX 7.2 on POWER Systems (64-Bit) Minimum Operating System Requirements 3-3
3-3 IBM AIX 7.3 on POWER Systems (64-Bit) Minimum Operating System Requirements 3-5
3-4 Requirements for Programming Environments for IBM AIX on POWER Systems (64-Bit) 3-8
A-1 Response Files for Oracle Database Client A-3
vi
Preface
This guide explains how to install and configure Oracle Database Client.
This guide also provides information about postinstallation tasks and how to remove the
database client software.
• Audience
This guide is intended for anyone responsible for installing Oracle Database Client 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
The related documentation for Oracle Database products includes the following manuals:
• Conventions
Audience
This guide is intended for anyone responsible for installing Oracle Database Client 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.
vii
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}
viii
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 Database Concepts
• Oracle Database New Features Guide
• Oracle Database Licensing Information User Manual
• Oracle Database Release Notes
• Oracle Grid Infrastructure Installation and Upgrade Guide
• Oracle Database Client Installation Guide for IBM AIX on POWER Systems (64-Bit)
• Oracle Database Examples Installation Guide
• Oracle Real Application Clusters Installation Guide for Linux and UNIX
• Oracle Database Administrator's Reference for Linux and UNIX-Based Operating
Systems
• Oracle Automatic Storage Management Administrator's Guide
• Oracle Database Upgrade Guide
• Oracle Database 2 Day DBA
• Oracle Application Express Installation Guide
Conventions
The following text conventions are used in this document:
Convention Meaning
boldface Boldface type indicates graphical user interface elements associated with an
action, or terms defined in text or the glossary.
ix
Preface
Convention Meaning
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.
x
1
Oracle Database Client Installation Checklist
Use checklists to review system requirements, and to plan and carry out Oracle Database
Client 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 carry out a successful installation.
• Server Hardware Checklist for Oracle Database Client Installation
Use this checklist to check hardware requirements for Oracle Database Client
installations.
• Operating System Checklist for Oracle Database on IBM AIX on POWER Systems (64-
Bit)
Use this checklist to check minimum operating system requirements for Oracle Database.
• Server Configuration Checklist for Oracle Database Client
Use this checklist to check minimum server configuration requirements for Oracle
Database Client 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 Client
Use this checklist to review storage minimum requirements and assist with configuration
planning.
• Installer Planning Checklist for Oracle Database Client
Use this checklist to assist you to be prepared before starting Oracle Universal Installer.
Table 1-1 Server Hardware Checklist for Oracle Database Client Installations
Check Task
Server Make and Architecture Confirm that server make, model, core architecture, and host bus
adaptors (HBA) or network interface controllers (NICs) are supported
to run with Oracle Database and Oracle Grid Infrastructure. Ensure
the server has a DVD drive, if you are installing from a DVD.
Runlevel 2
Server Display Cards At least 1024 x 768 display resolution, which Oracle Universal
Installer requires.
Minimum network connectivity Client is connected to a network.
Minimum RAM At least 256 MB of RAM.
1-1
Chapter 1
Operating System Checklist for Oracle Database on IBM AIX on POWER Systems (64-Bit)
Table 1-2 Operating System General Checklist for Oracle Database on IBM AIX
on POWER Systems (64-Bit)
Item Task
Operating system The following IBM AIX on POWER Systems (64-bit) versions are
general supported:
requirements
AIX 7.1 Technology Level 5 Service Pack 1 (7100-05-01-1731) or
later, 64-bit kernel
AIX 7.2 Technology Level 2 Service Pack 1 (7200-02-01-1731) or
later, 64-bit kernel
AIX 7.3 Technology Level 0 Service Pack 1 (7300-00-01-2148) or
later, 64-bit kernel
Review the system requirements section for a list of operating system
filesets and APARs.
Check Task
Disk space allocated to At least 400 MB of space in the temporary disk space (/tmp)
the /tmp directory directory.
Swap space allocation
relative to RAM 256 MB: 3 times the size of RAM
Between 256 MB and 512 MB: 2 times the size of RAM
Between 512 MB and 2 GB: 1.5 times the size of RAM
Between 2 GB and 16 GB: Equal to the size of RAM
More than 16 GB: 16 GB
Note: Contact your operating system vendor for swap
space allocation guidance for your server. The vendor
guidelines supersede the swap space requirements listed
in this guide.
1-2
Chapter 1
Server Configuration Checklist for Oracle Database Client
Table 1-3 (Cont.) Server Configuration Checklist for Oracle Database Client
Check Task
Oracle Inventory • For new installs, if you have not configured an oraInventory
(oraInventory) and directory, then the installer creates an Oracle inventory that
OINSTALL Group is one directory level up from the Oracle base for the Oracle
Requirements Grid Infrastructure install, and designates the installation
owner's primary group as the Oracle Inventory group.
• For upgrades, Oracle Universal Installer (OUI) detects an
existing oraInventory directory from the /etc/
oraInst.loc file, and uses the existing oraInventory.
The Oracle Inventory directory is the central inventory of Oracle
software installed on your system. Users who have the Oracle
Inventory group as their primary group are granted the
OINSTALL privilege to write to the central inventory.
The OINSTALL group must be the primary group of all Oracle
software installation owners on the server. It should be writable
by any Oracle installation owner.
Groups and users Oracle recommends that you create groups and user accounts
required for your security plans before starting installation.
Installation owners have resource limits settings and other
requirements. Group and user names must use only ASCII
characters.
Mount point paths for the Oracle recommends that you create an Optimal Flexible
software binaries Architecture configuration as described in the appendix "Optimal
Flexible Architecture" in Oracle Database Installation Guide for
your platform.
Ensure that the Oracle home The ASCII character restriction includes installation owner user
(the Oracle home path you names, which are used as a default for some home paths, as
select for Oracle Database) well as other directory names you may select for paths.
uses only ASCII characters
Determine root privilege During installation, you are asked to run configuration scripts as
delegation option for the root user. You can either run these scripts manually as
installation root when prompted, or you can provide configuration
information and passwords using a root privilege delegation
option such as Sudo.
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.
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.
symlinks Oracle home or Oracle base cannot be symlinks, nor can any
of their parent directories, all the way to up to the root
directory.
Related Topics
• Oracle Database Globalization Support Guide
1-3
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 for 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.
1-4
Chapter 1
Installer Planning Checklist for Oracle Database Client
Check Task
Minimum local disk
storage space for At least 1.2 GB for an Instant Client installation
Oracle Database At least 5.2 GB for Administrator installation
Client software At least 3.3 GB for Runtime installation
At least 5.7 GB for Custom installation
Table 1-6 Oracle Universal Installer Planning Checklist for Oracle Database Client
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 the Licensing You are permitted to use only those components in the Oracle Database
Information media pack for which you have purchased licenses. For more information
about licenses, refer to the following URL:
Oracle Database Licensing Information
Review Oracle Support New platforms and operating system software versions might be certified
Certification Matrix 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.
Run OUI with CVU and Oracle Universal Installer is fully integrated with Cluster Verification Utility
use fixup scripts (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
Ensure cron jobs do not If the installer is running when daily cron jobs start, then you may
run during installation encounter unexplained installation problems if your cron job is 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 jobs that perform cleanup until after the
installation is completed.
1-5
Chapter 1
Installer Planning Checklist for Oracle Database Client
Table 1-6 (Cont.) Oracle Universal Installer Planning Checklist for Oracle Database
Client Installation
Check Task
Decide the client You can choose one of the following installation types when installing
installation type Oracle Database Client:
• Instant Client: Enables you to install only the shared libraries
required by Oracle Call Interface (OCI), Oracle C++ Call Interface
(OCCI), Pro*C, or Java database connectivity (JDBC) OCI
applications. This installation type requires much less disk space than
the other Oracle Database Client installation types. For more
information about Oracle Database Instant Client see the following
URL:
http://www.oracle.com/technetwork/database/features/instant-client/
index.html
• Administrator:Enables applications to connect to an Oracle
Database instance on the local system or on a remote system. It also
provides tools that enable you to administer Oracle Database.
• Runtime:Enables applications to connect to an Oracle Database
instance on the local system or on a remote system.
• Custom:Enables you to select individual components from the list of
Administrator and Runtime components.
Obtain your My Oracle During installation, you require a My Oracle Support user name and
Support account password to configure security updates, download software updates, and
information. other installation tasks. You can register for My Oracle Support at the
following URL:
https://support.oracle.com/
Decide if you need 32-bit The 64-bit Oracle Database Client software does not contain any 32-bit
client software client binaries. If you require 32-bit client binaries on 64-bit platforms, then
install the 32-bit binaries from the respective 32-bit client software into a
separate Oracle home.
The 64-bit Oracle Database Client preinstallation requirements apply to
32-bit Oracle Database Client also.
For more information, refer to My Oracle Support note 883702.1:
https://support.oracle.com/rs?type=doc&id=883702.1
Oracle Database Client For information about interoperability between Oracle Database Client and
and Oracle Database Oracle Database releases, see My Oracle Support Note 207303.1:
interoperability https://support.oracle.com/rs?type=doc&id=207303.1
1-6
2
Checking and Configuring Server Hardware
for Oracle Database Client
Verify that servers where you install Oracle Database Client meet the minimum requirements
for installation.
This section provides minimum server requirements to complete installation of Oracle
Database Client. 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.
# /usr/sbin/lsps -s
Oracle recommends that you take multiple values for the available RAM and swap
space before finalizing a value. This is because the available RAM and swap
space keep changing depending on the user interactions with the computer.
3. To determine the size of the configured swap space:
# /usr/sbin/lsps -a
If necessary, see your operating system documentation for information about how
to configure additional swap space.
4. Determine the amount of space available in the /tmp directory:
# df -m /tmp
If the free space available in the /tmp directory is less than what is required, then
complete one of the following steps:
2-2
Chapter 2
Checking Server Hardware and Memory Configuration
• 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.
• Extend the file system that contains the /tmp directory.
5. Determine the amount of free disk space on the system:
# df -g
# df -m
# /usr/bin/getconf HARDWARE_BITMODE
The expected output of this command is 64. If you do not see the expected output, then
you cannot install the software on this system.
To determine if the system is started in 64-bit mode:
# /usr/sbin/bootinfo -K
The result of this command must be 64, indicating that the 64-bit kernel is enabled.
Verify that the processor architecture matches the Oracle software release to install. If
you do not see the expected output, then you cannot install the software on this system.
Note:
For AIX Based Systems, Oracle Database supports 64-bit kernel and does not
provide support for 32-bit kernel applications.
/usr/bin/who -r
2-3
3
Configuring Operating Systems for Oracle
Database Client on IBM AIX on POWER
Systems (64-Bit)
Complete operating system configuration requirements and checks for IBM AIX on POWER
Systems (64-Bit) before you start installation.
• Guidelines for IBM AIX on POWER Systems (64-Bit) Operating System Installation
Operating system guidelines to be aware of before proceeding with an Oracle installation.
• Reviewing Operating System Security Common Practices
Secure operating systems are an important basis for general system security.
• 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.
• Operating System Requirements for IBM AIX on POWER Systems (64-Bit)
The versions, filesets, and Authorized Problem Analysis Reports (APARs) listed in this
section are supported for this release on IBM AIX on POWER Systems (64-Bit).
• Additional Drivers and Software Packages for IBM AIX on POWER Systems (64-Bit)
Information about optional drivers and software packages.
• Checking the Software Requirements
Check your software to see if they meet the minimum version, filesets, and Authorized
Problem Analysis Reports (APARs) requirements for installation:
• Enabling I/O Completion Ports
To ensure successful database, client, and grid infrastructure installation, set IOCP to
Available using this procedure.
3-1
Chapter 3
About Operating System Requirements
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.
3-2
Chapter 3
Operating System Requirements for IBM AIX on POWER Systems (64-Bit)
Table 3-1 IBM AIX 7.1 on POWER Systems (64-Bit) Minimum Operating System
Requirements
Table 3-2 IBM AIX 7.2 on POWER Systems (64-Bit) Minimum Operating System
Requirements
3-3
Chapter 3
Operating System Requirements for IBM AIX on POWER Systems (64-Bit)
Table 3-2 (Cont.) IBM AIX 7.2 on POWER Systems (64-Bit) Minimum Operating
System Requirements
Note:
• If you are using a later TL level than the
minimum level listed for this release, then
contact IBM to determine if the required
APARs listed in this section are included in
the TL level that you have on your system.
If they are included, then you do not have
to install them. If they are not included,
then you must install the equivalent APAR
for the appropriate TL level.
• AIX APAR numbers are tied to AIX
versions and technology levels. Download
and install the APAR that matches your
AIX versions and Technology Levels from
the IBM fix central website at the following
URL:
https://www.ibm.com/
3-4
Chapter 3
Operating System Requirements for IBM AIX on POWER Systems (64-Bit)
Table 3-3 IBM AIX 7.3 on POWER Systems (64-Bit) Minimum Operating System
Requirements
Note:
• If you are using a later TL level than the
minimum level listed for this release, then
contact IBM to determine if the required
APARs listed in this section are included in
the TL level that you have on your system.
If they are included, then you do not have
to install them. If they are not included,
then you must install the equivalent APAR
for the appropriate TL level.
• AIX APAR numbers are tied to AIX
versions and technology levels. Download
and install the APAR that matches your
AIX versions and Technology Levels from
the IBM fix central website at the following
URL:
https://www.ibm.com/
3-5
Chapter 3
Additional Drivers and Software Packages for IBM AIX on POWER Systems (64-Bit)
3-6
Chapter 3
Additional Drivers and Software Packages for IBM AIX on POWER Systems (64-Bit)
3-7
Chapter 3
Additional Drivers and Software Packages for IBM AIX on POWER Systems (64-Bit)
Note:
These are not mandatory
requirements for database
installation.
Oracle C++ IBM XL C/C++ Runtime for AIX, v13.1.3.3 Fix Pack (June
Oracle C++ Call Interface 2017)
Pro*C/C++ IBM XL C/C++ for AIX Fix Pack 11 (November 2018 PTF)
for 13.1
Oracle XML Developer's Kit (XDK)
Download this software from the following URLs:
http://www-01.ibm.com/support/docview.wss?
uid=swg24043829
Pro*COBOL IBM COBOL for AIX version 4.1.1, Fix Pack 12, (October
2014 PTF)
Micro Focus Server Express 5.1
Micro Focus Visual COBOL for Eclipse 2.3 - Update 2
Micro Focus Visual COBOL v6.0
Pro*FORTRAN IBM XL Fortran Runtime for AIX, Version 15.1, September
2014 PTF
IBM XL Fortran for AIX, Version 15.1, September 2014 PTF
ADA OC Systems PowerAda 5.5
For more information about OC Systems and PowerAda,
go to:
http://www.ocsystems.com/w/index.php/OCS:PowerAda
Network Communications Server for AIX V6.4.0.2 PTF
VIO Server 2.2.1.1 FP25 (28 Nov 2011)
Oracle Clusterware HACMP 7.1
RSCT 3.1.0.3 or higher
GPFS 4.1
cluster.license-7.1
Unzip utility Unzip 6.0 or later.
Unzip is required to extract the image files for Oracle
Database and Oracle Grid Infrastructure installations.
3-8
Chapter 3
Checking the Software Requirements
# oslevel -s
If the operating system version is lower than what is required, then upgrade your
operating system accordingly to the currently supported or later version and level.
IBM AIX maintenance packages are available from the following website:
https://www.ibm.com
2. To determine if the required filesets are installed and committed enter a command similar
to the following:
# getconf KERNEL_BITMODE
• The expected output of this command is 64. If you do not see the expected output,
then you cannot install the software on this system.
• Oracle Database supports 64-bit kernel and does not provide support for 32-bit
kernel applications.
4. To determine if an APAR is installed:
If an APAR is not installed, then download it from the following website and install it:
https://www.ibm.com
5. If you require a CSD for WebSphere MQ, then refer to the following website for download
and installation information:
https://www.ibm.com
3-9
Chapter 3
Enabling I/O Completion Ports
On IBM AIX on POWER Systems (64-Bit), enable I/O completion ports (IOCP) to
ensure successful database and grid infrastructure installation.
To check if the IOCP module is enabled, run the lsdev command:
The following sample output shows the IOCP status is set to Defined and hence not
enabled:
By default, IOCP is set to Defined. To enable IOCP, set IOCP to Available using the
following procedure:
1. Log in as root and run the following command:
# smitty iocp
3-10
4
Configuring Users, Groups and Environments
for Oracle Database Client
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.
• Creating Operating System Oracle Installation User Accounts
Before starting installation, create Oracle software owner user accounts, and configure
their environments.
• Unsetting Oracle Installation Owner Environment Variables
Unset Oracle installation owner environment variables before you start the installation.
4-1
Chapter 4
Required Operating System Groups and Users
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.
4-2
Chapter 4
Required Operating System Groups and Users
planned Oracle software installation owners. If the oraInst.loc file does not exist, then
create the Oracle Inventory group using the following procedure:
1. Enter the following command:
# smit security
2. Choose the appropriate menu items to create the Oracle Inventory (oinstall) group.
3. Press F10 to exit.
4-3
Chapter 4
Creating Operating System Oracle Installation User Accounts
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
After you create operating system groups, create or modify Oracle user accounts in
accordance with your operating system authentication planning.
# smit security
2. Choose the appropriate menu items to create the oracle user, specifying the
following information:
• In the Primary GROUP field, specify the Oracle Inventory group, for example
oinstall.
4-4
Chapter 4
Creating Operating System Oracle Installation User Accounts
• In the Group SET field, specify the OSDBA group and if required, the OSOPER
group. For example dba, asmdba, or oper.
Note:
The UID for the oracle user must be less than 65536.
# passwd oracle
You must note the user ID number for installation users, because you need it during
preinstallation.
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.
$ xhost + hostname
4-5
Chapter 4
Creating Operating System Oracle Installation User Accounts
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
• C shell:
% source ./.login
10. Use the following command to check the PATH environment variable:
$ echo $PATH
4-6
Chapter 4
Creating Operating System Oracle Installation User Accounts
If you have an existing Oracle software installation, and you are using the same user to
install this installation, then unset the $ORACLE_HOME, $ORA_NLS10,
and $TNS_ADMIN environment variables.
If you have set $ORA_CRS_HOME as an environment variable, then unset it before
starting an installation or upgrade. Do not use $ORA_CRS_HOME as a user environment
variable, except as directed by Oracle Support.
12. If you are not installing the software on the local system, then enter a command similar to
the following to direct X applications to display on the local system:
• Bourne, Bash, or Korn shell:
$ 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.
13. 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:
Bourne, Bash, or Korn shell:
$ TMP=/mount_point/tmp
$ TMPDIR=/mount_point/tmp
$ export TMP TMPDIR
4-7
Chapter 4
Creating Operating System Oracle Installation User Accounts
C shell:
14. 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:
1. Enter the following command:
# smit security
2. Choose the appropriate menu items to modify the Oracle installation owner user
group.
3. In the Primary GROUP field, specify the Oracle Inventory group. For example:
oinstall.
4. In the Group SET field, specify the required secondary groups. For example: dba.
5. Press F10 to exit.
4-8
Chapter 4
Creating Operating System Oracle Installation User Accounts
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
drwx------ 2 grid oinstall 4096 Jun 21 2020
drwx------ 19 grid oinstall 4096 Jun 21 2020
-rw-r--r-- 1 grid oinstall 1202 Jun 21 2020 authorized_keys
-rwx------ 1 grid oinstall 668 Jun 21 2020 id_dsa
-rwx------ 1 grid oinstall 601 Jun 21 2020 id_dsa.pub
-rwx------ 1 grid oinstall 1610 Jun 21 2020 known_hosts
4-9
Chapter 4
Unsetting Oracle Installation Owner Environment Variables
4-10
5
Installing Oracle Database Client
Oracle Database Client installation software is available in multiple media, and can be
installed using several options.
The Oracle Database Client 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 (OUI) to install the software. However, you can also use Oracle Universal Installer to
complete silent mode installations, without using the GUI.
Note:
You cannot use Oracle Universal Installer from an earlier Oracle release to install
components from this release.
5-1
Chapter 5
Downloading Oracle Software
home directory path you create is in compliance with the Oracle Optimal Flexible
Architecture recommendations.
Using image-based installation, you can install Oracle Database Client 32-bit and 64-
bit configurations of the Administrator installation type.
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. Oracle Database Client installation binaries
continue to be available in the traditional format as non-image zip files.
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.
5-2
Chapter 5
About Character Set Selection During Installation
7. Verify that the files you downloaded are the same size as the corresponding files on the
Oracle website. Also verify the checksums are the same as noted on the Oracle website
using a command similar to the following, where filename is the name of the file you
downloaded:
cksum filename.zip
5-3
Chapter 5
Running the Installer in a Different Language
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
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)
5-4
Chapter 5
Installing the Oracle Database Client Software
To run the database installer in a supported language, change the locale in which your
operating system session is running before you start the installer.
If the selected language is not one of the supported languages, then the installer runs in
English.
Have all the information you need to provide regarding users groups, and storage paths
before you start the installation.
During installation, you are asked to run configuration scripts as the root user. You can either
run these scripts manually as root when prompted, or you can provide configuration
information and passwords using a root privilege delegation option such as sudo.
1. Log in as the Oracle installation owner user account (oracle).
2. From where you have downloaded the installation binaries, run the runInstaller
command to start the Oracle setup wizard.
For example:
$ cd /home/oracle_sw/
$ ./runInstaller
5-5
Chapter 5
Installing the Oracle Database Client Software
Note:
Note:
At any time during installation, if you have a question about what you are
being asked to do, click Help.
$ mkdir -p /u01/app/oracle/product/19.0.0/client_1
$ chgrp oinstall /u01/app/oracle/product/19.0.0/client_1
$ cd /u01/app/oracle/product/19.0.0/client_1
$ unzip -q /tmp/client_home.zip
5-6
Chapter 5
Installing the Oracle Database Client Software
Note:
• Oracle recommends 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.
• Oracle home or Oracle base cannot be symlinks, nor can any of their
parent directories, all the way to up to the root directory.
4. From the Oracle home directory, run the runInstaller command to start the Oracle
Database Client Setup Wizard.
$ cd /u01/app/oracle/product/19.0.0/client_1
$ ./runInstaller
Note:
Run the runInstaller command from the Oracle home directory only. Do not
use the runInstaller command that resides at $ORACLE_HOME/oui/bin/,
or any other location, to install Oracle Database, Oracle Database Client, or
Oracle Grid Infrastructure.
5. The setup wizard starts an Administrator type installation of Oracle Database Client.
Installation screens vary depending on the installation option you select. Respond to the
configuration prompts as needed.
Note:
At any time during installation, if you have a question about what you are being
asked to do, click Help.
5-7
Chapter 5
Relinking Oracle Database Client Binaries After Installation
Related Topics
• Oracle Database Net Services Administrator's Guide
For example, you might want to relink the Oracle Database Client 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.
$ ORACLE_HOME=/u01/app/oracle/product/19.0.0/client_1
$ cd $ORACLE_HOME/bin
4. Run the relink script with the as_installed option to relink the binaries.
$ ./relink as_installed
The relinking is complete and the log files are generated under
the $ORACLE_HOME/install directory.
5-8
6
Oracle Database Client Postinstallation Tasks
Complete configuration tasks after you install Oracle Database.
You are required to complete some configuration tasks after Oracle Database Client 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.
6-1
Chapter 6
Recommended Postinstallation Tasks
Note:
If you are not a My Oracle Support registered user, then click Register
for My Oracle Support and register.
6-2
Chapter 6
Recommended Postinstallation Tasks
have their own specific methods to configure locale preferences, then the method you use to
configure an Oracle database client connection depends on the access API you use to
connect to the database. Check your application documentation, before you configure locale
preferences for your applications.
For applications that connect to Oracle Databases using Oracle Call Interface (OCI) use
NLS_LANG and other client settings with names that start with NLS_ to set the locale
conventions and client character set for Oracle Database sessions. It is important that you set
the character set part of the NLS_LANG value properly. The character set you set must
correspond to the character set used by your I/O devices, which in case of Microsoft
Windows is either the ANSI Code Page (for GUI applications), such as WE8MSWIN1252, or
the OEM Code Page (for Console mode applications), such as US8PC437. By doing this, the
OCI API is notified about the character set of data that it receives from the application. OCI
can then convert this data correctly to and from the database character set.
NLS_LANG and the other NLS settings can be specified either as environment variables or
as Windows Registry settings. Environment variable values take precedence over Registry
values.
Oracle Universal Installer sets a default value for the NLS_LANG setting in Registry when it
creates a new Oracle home on Microsoft Windows. The NLS_LANG value is based on the
language of the Windows user interface, which is the language of Windows menu items and
dialog box labels.
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.
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
6-3
7
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
The deinstall command is available in Oracle home directories after installation. It is
located in the $ORACLE_HOME/deinstall directory.
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
7-1
Chapter 7
About Oracle Deinstallation Options
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:
7-2
Chapter 7
Oracle Deinstallation (Deinstall)
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:
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 the deinstall command 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.
7-3
Chapter 7
Deinstallation Examples for Oracle Database Client
Parameter Description
-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 use with the deinstall command and
-silent option.
-paramfile complete path of input response Use this flag to run deinstall with a response
file 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 one or
name3=value . . .] more values to change in a response file you have
created.
-o complete path of directory for saving response Use this flag to provide a path other than the
files default location where the response file
(deinstall.rsp.tmpl) is saved.
The default location of the response file
is $ORACLE_HOME/deinstall/response .
-tmpdircomplete path of temporary directory to Use this flag to specify a non-default location
use where deinstall writes the temporary files for
the deinstallation.
-logdircomplete path of log directory to use Use this flag to specify a non-default location
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.
-help Use this option to obtain additional information
about the command option flags.
$ ./deinstall
If you have a response file, then use the optional flag -paramfile to provide a path
to the response file.
7-4
Chapter 7
Deinstallation Examples for Oracle Database Client
You can generate a deinstallation response file by running the deinstall command with the
-checkonly flag. Alternatively, you can use the response file template located
at $ORACLE_HOME/deinstall/response/deinstall.rsp.tmpl.
$ cd /u01/app/oracle/product/19.0.0/client_1/deinstall
$ ./deinstall -paramfile /home/usr/oracle/my_db_paramfile.tmpl
7-5
A
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 Univeral Installer at the command line,
specifying the response file you created, to perform the installation.
A-1
Appendix A
Reasons for Using Silent Mode or Response File Mode
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.
Note:
You must complete all required preinstallation tasks on a system before
running the installer in silent or response file mode.
A-2
Appendix A
Preparing Response Files
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.
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:
A-3
Appendix A
Preparing Response Files
$ vi /local_dir/response_file.rsp
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/response_file.rsp
Ensure that only the Oracle software owner user can view or modify response files
or consider deleting them after the installation succeeds.
Note:
A fully-specified response file for an Oracle Database Client 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.
A-4
Appendix A
Running Oracle Universal Installer Using a Response File
When you run the installer to record a response file, it checks the system to verify that it
meets the requirements to install the software. For this reason, Oracle recommends that
you complete all of the required preinstallation tasks and record the response file while
completing an installation.
2. Ensure that the Oracle software owner user (typically oracle) has permissions to create
or write to the Oracle home path that you will specify when you run the installer.
3. On each installation screen, specify the required information.
4. When OUI displays the Summary screen, perform the following steps:
a. Click Save Response File. In the window, specify a file name and location for the
new response file. Click Save to write the responses you entered to the response file.
b. Click Finish to continue with the installation.
Click Cancel if you do not want to continue with the installation. The installation
stops, but the recorded response file is retained.
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.
Note:
You do not have to set the DISPLAY environment variable if you are completing
a silent mode installation.
A-5
Appendix A
Running Oracle Universal Installer Using a Response File
4. To start the installer in silent or response file mode, enter a command similar to the
following:
$ /directory_path/runInstaller [-silent] [-noconfig] \
-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:
• directory_pathis the path of the directory where you have copied the
installation binaries.
• -silent runs the installer in silent mode.
• -noconfig suppresses running the configuration assistants during installation,
and a software-only installation is performed instead.
• 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_path/root.sh
A-6
Index
Symbols
/tmp directory, 2-2
E
editing shell startup file, 4-5
Numerics enabling IOCP, 3-10
enterprise.rsp file, A-3
32–bit client software, 1-5 errors
X11 forwarding, 4-9
B
F
Bash shell
default user startup file, 4-5 file mode creation mask
Bourne shell setting, 4-5
default user startup file, 4-5 files
bash_profile, 4-5
dbca.rsp, A-3
C enterprise.rsp, A-3
C shell login, 4-5
default user startup file, 4-5 profile, 4-5
CDBs response files, A-3
character sets, 5-3 filesets, 3-2
central inventory free disk space, 2-2
See Oracle inventory directory
character sets, 5-3
checklists
G
and installation planning, 1-1 globalization, 1-5
command syntax conventions, viii localization for client connections, 6-2
commands NLS_LANG
root.sh, 6-2 and client connections, 6-2
umask, 4-5 groups
useradd, 4-4 creating an Oracle Inventory Group, 4-2
cron jobs, 1-5 OINSTALL group, 1-2
D H
dbca.rsp file, A-3 hardware requirements, 1-1
default file mode creation mask display, 1-1
setting, 4-5
deinstall, 7-1
See also removing Oracle software I
deinstall command, 7-1 I/O Completion Ports, 3-10
deinstallation, 7-1 image
examples, 7-4 install, 5-1
df command, 4-5
display variable, 1-4
Index-1
Index
Index-2
Index
Index-3