Requirements for installing Oracle Database 12c on RHEL7 or OL7

Source: Internet
Author: User

This article comes from:

Requirements for installing Oracle Database 12.1on RHEL7 or OL7 64-bit (x86-64) (document ID 1961997.1)

This article does not do translation, only for the original reproduced:

Applies To:

Oracle database-enterprise edition-version 12.1.0.2 and later
Linux x86-64

Purpose

This note explains the requirements, need to is met for a successful installation of Oracle Database 12.1 release on R Ed Hat Enterprise Linux 7.0 or Oracle Linux 7 (or higher 7.x version) 64-bit (x86-64)

It isn't the purpose of this NOTE to repeat every "how-to" step, is presented in the Oracle Database 12.1 installatio N Guide. For example this NOTE does does include how to create the Linux OS account named "Oracle", nor does it cover how to set env Ironment variables. Both is adequately covered in "Oracle? Database Installation Guide 12c Release 1 (12.1) for Linux "

Scope

This procedure was meant for those planning/installing Oracle Database 12.1.0.2 on RHEL 7.0 on the 64-bit (x86-64) PLATFO   Rm. Since It is the expressed goal to keep Oracle Linux (OL) functionally identical to RHEL, this NOTE is also completely appl Icable to 64-bit (x86-64) OL 7.0

This procedure was not a meant for those planning/installing Grid Infrastructure (GI) or any other Oracle products.

Details

Note that only Oracle DB 12.1.0.2 are certified on RHEL 7 and Oracle Linux 7 (OL 7)

Requirements for installing Oracle Database 12.1 release 64-bit on RHEL 7 or OL 7 64-bit (x86_64)

Before proceed with installation, please take time to review every below requirement carefully to avoid any obvious are Sues during installation of binaries.

1. Download the Oracle Database 12.1 software

-Download The Oracle Database 12.1 software from My Oracle support
Note 1194734.1 Where do I find this on My Oracle support (MOS) [Video]

-After you download the software, Verify the integrity of the downloaded software
Note 549617.1 How to Verify the Integrity of A patch/software Download? [Video]

-If you had downloaded the software on other machine, please transfer the zip file on the Server being installed using B Inary Mode and unzip with the Oracle software user.

I. Hardware:

1. Minimum Hardware Requirements

A.) Ensure that your system meets the following physical Memory requirements:
Minimum:1 GB of RAM
Recommended:2 GB of RAM or more

B.) Swap disk space proportional to the system ' s physical memory as follows:

Ram

Swap Space

Between 1 GB and 2 GB

1.5 times the size of RAM

Between 2 GB and GB

Equal to the size of RAM

More than GB

+ GB

Note: The above recommendations (from the Oracle? Database Installation Guide 12c Release 1 (12.1) for Linux) is MINIMUM recommendations for installations. Further RAM and swap space is required to tune/improve RDBMS performance.

C.) 1.0 GB (1024MB) of disk space (and less than 2TB of disk space) in The/tmp directory.

If The free space available in the/tmp directory are less than what are required, then complete one of the following steps:
-Delete unnecessary files from the/tmp directory to meet the disk space requirement.
-Set the TMP and TMPDIR environment variables when setting the Oracle user ' s environment.

D.) Approximately 6.5 GB of local disk space for the Database software Files.

E.) If you intend to create a preconfigured database during the installation and then the file system (or file systems) that You choose must has at least 2 GB of free disk space.
For production databases, your must estimate the disk space requirement depending on the use of the database.

2. Oracle Database is supported in Ext2, ext3 and Ext4 file systems (see note:236826.1 for further information)

II. Software:

1. Certified Linux Operationg Systems

Oracle Linux 6, Oracle Linux 7
Red Hat Enterprise Linux 7

2. Oracle recommends, the install the Linux operating system with the default software packages (RPMs) (ReferFigu Re 1) and do not customize the RPMs during installation. For additional information in "Default-rpms", please seenote 376183.1, "Defining a" default RPMs "installation of the RHE L os "or Note 401167.1," Defining a "default RPMs" installation of the Oracle Enterprise Linux (OEL) OS ".

3. Linux Kernel Requirements

Oracle Linux 7

    • Oracle Linux 7 with the unbreakable Enterprise kernel:3.8.13-33.el7uek.x86_64 or later
    • Oracle Linux 7 with the Red Hat Compatible kernel:3.10.0-54.0.1.el7.x86_64 or later

Red Hat Enterprise Linux 7-3.10.0-54.0.1.el7.x86_64 or later

Note 1508516.1 is It Mandatory to Install UEK Kernel under RHEL?

4. Required OS components (per Release Notes, and Install Guide)

A.) The exact version number details of this list is based upon 64-bit (x86_64) RHEL 7.0. When a higher ' update ' is used, the RPM release numbers (such as 4.4.4-13) could be slightly different. Since updates of Rhel 7 is certified, this is fine so long as you are still using 64-bit Linux (x86_64) Rhel 7 RPMs.

B.) Some of the Install guide requirements would already be present from the "Default-rpms" Foundation of Linux Arted with:

Binutils-2.23.52.0.1-12.el7.x86_64
Compat-libcap1-1.10-3.el7.x86_64
Gcc-4.8.2-3.el7.x86_64
Gcc-c++-4.8.2-3.el7.x86_64
glibc-2.17-36.el7.i686
Glibc-2.17-36.el7.x86_64
glibc-devel-2.17-36.el7.i686
Glibc-devel-2.17-36.el7.x86_64
Ksh
libaio-0.3.109-9.el7.i686
Libaio-0.3.109-9.el7.x86_64
libaio-devel-0.3.109-9.el7.i686
Libaio-devel-0.3.109-9.el7.x86_64
libgcc-4.8.2-3.el7.i686
Libgcc-4.8.2-3.el7.x86_64
libstdc++-4.8.2-3.el7.i686
Libstdc++-4.8.2-3.el7.x86_64
libstdc++-devel-4.8.2-3.el7.i686
Libstdc++-devel-4.8.2-3.el7.x86_64
libxi-1.7.2-1.el7.i686
Libxi-1.7.2-1.el7.x86_64
libxtst-1.2.2-1.el7.i686
Libxtst-1.2.2-1.el7.x86_64
Make-3.82-19.el7.x86_64
Sysstat-10.1.5-1.el7.x86_64

OR

During OS Installation Select following both group and also addksh and libaio-devel (x86_64) Packages

Figure 1 Default RPMs Selection

5. Oracle Global Customer Support have noticed a recent trend with install problems this originates from installing too man Y RPMs. For example:

A.) Installing your own JDK version (prior to execute the Oracle software Runinstaller) are not needed on Linux, and are not Recommended on Linux. A pre-existing JDK often interferes with the correct JDK, that the Linux Oracle software Runinstaller would place and use.

B.) Installing more than the required version of the gcc/g++ RPMs often leads to accidentally using (aka Enabling or act ivating) the incorrect one. If you have a multiple RDBMS versions installed on the same Linux machine and then you'll likely has to manage multiple vers Ions of gcc/g++. For more information, please see Note 444084.1, "multiple gcc/g++ Versions in Linux"

6. All of the RPMs in section Ii. Is on the Oracle Linux 7/red Hat Enterprise linux 7 64-bit (x86_64) Distribution media.

III. Environment:

1. Below is the minmum Recommended Kernel Parameter settings required for Database software installation. Modify your kernel settings in/etc/sysctl.conf as follows.

Note: If the current value for any parameter are higher than the value listed, do not change the value of that parameter.

SEMMSL 250
Semmns 32000
SEMOPM 100
Semmni 128
Shmall percent of the size of physical memory in pages
Note:If the server supports multiple databases, or uses a large SGA, then set this parameter to a value that's equal to Tal amount of shared memory, in 4K pages, which the system can use at one time.

Shmmax half the size of physical memory in bytes
See My Oracle support Note 567506.1

Shmmni 4096
Panic_on_oops 1
File-max 6815744
Aio-max-nr 1048576
Note:This value limits concurrent outstanding requests and should is set to avoid I/O subsystem failures.
Ip_local_port_range minimum:9000
maximum:65500
Rmem_default 262144
Rmem_max 4194304
Wmem_default 262144
Wmem_max 1048576

2. If the shell limits and kernel parameters is not set as recommended by Oracle, then during installation OUI would gene Rate fixup script which does the following tasks:

    • If necessary sets kernel parameters to the values required for successful installation, including:
      • Shared memory parameters.
      • Open file descriptor and UDP send/receive parameters.
    • Creates and sets permissions on the Oracle Inventory (central Inventory) directory.
    • Creates or reconfigures primary and secondary group memberships for the installation owner, if necessary, for the Oracle I Nventory directory and the operating system privileges groups.
    • Sets shell limits if necessary to required values.

If you would like to do these manually, using any text editor, create or edit the /etc/sysctl.conf file, add above kernel para Meter and its value. To activate these new settings into the running kernel space, run the "sysctl-p" command as root.

Set Shell Limits for the Oracle User. Assuming that the "Oracle" Unix user would perform the installation, do the following:

A.) Add the following settings to/etc/security/limits.conf configuration file for the installation owner.

oracle              soft    nproc    2047
oracle               hard   nproc   16384
oracle               soft    nofile    1024x768
oracle               hard   nofile    65536
Oracle               soft    Stack     10240
oracle               hard   stack    10240

Note: When the limits.conf file was changed, these changes take effect immediately. However, if the Oracle users is logged in, then these changes don't take effect until you log these users out and log th Em back in. You must does this before your use of these accounts for installation.

B.) Verify the latest version of PAM is loaded, then add or edit the following line in The/etc/pam.d/login file, if it does Es not already exist:

Session Required Pam_limits.so

C.) Verify the current ulimits, and raise if needed. This can do many ways...adding the following lines To/etc/profile is the recommended method:

if [$USER = "Oracle"]; Then
if [$SHELL = "/bin/ksh"]; Then
Ulimit-u 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi

The hostname command should return the fully qualified hostname as shown below:

% hostname
Hostname.domainname

Log in as Oracle user and start the installation as follows:

./runinstaller

A.) It is best practice does not have a form of "Su" to start the Runinstaller, in order to avoid potential display-related Problems.
B.) When performing the Oracle Database 12.1 installation, make sure to use the ' Runinstaller ' version that comes with Ora CLE Database 12.1 software.
C.) When performing any subsequent 12.1.0.x patchset, make sure to use the ' Runinstaller ' version that comes with the PATC Hset.

ADDITIONAL NOTES

1. Starting from Oracle Database 12.1 32-bit Oracle database software are not available.

2. Supported distributions of the 32-bit (x86) Oracle Database Client Linux OS can run on amd64/em64t and Intel Process or Chips that adhere to the x86_64 architecture. Oracle 32-bit Database Client running on amd64/em64t with 64-bit OS are expected to being supported, but isn't covered by thi S NOTE.

3. Asynchronous I/O on ext2 and ext3 file systems are supported if your SCSI/FC driver supports that functionality.

Note: asynchronous I/O on EXT4 The file system is supported with the Oracle 10g onwards on OEL5.6 and later.
Reference:oracle Linux, Filesystem & I/O Type supportability (Note 279069.1)

4. No extra patch is a required for the Directio support for x86_64.

5. No Ld_assume_kernel value should is used with the Oracle Database 12.1 product.

6. The following RPM command can be used to distinguish between a 32-bit or 64-bit package.

# Rpm-qa--queryformat "%{name}-%{version}-%{release} (%{arch}) \ n" | grep glibc-devel
Glibc-devel-2.12-1.7.el6 (x86_64)
Glibc-devel-2.12-1.7.el6 (i686)

Requirements for installing Oracle Database 12c on RHEL7 or OL7

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.