Requirements for installing oracle database 12c on RHEL7 or OL7, rhel7ol7

Source: Internet
Author: User
Tags oracle database installation

Requirements for installing oracle database 12c on RHEL7 or OL7, rhel7ol7

This article comes from:

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

 

This article is not translated and is only reproduced in the original text:

Applies:

Oracle Database-Enterprise Edition-Version 12.1.0.2 and later
Linux x86-64

Purpose

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

It is NOT the purpose of this NOTE to repeat every "how-to" step that is presented in the Oracle Database 12.1 Installation Guide. for example this NOTE does not include how to create the Linux OS account named "oracle", nor does it cover how to set environment variables. both are adequately covered in "Oracle Database Installation Guide 12c Release 1 (12.1) for Linux"

 

Scope

This procedure is meant for those Planning/Installing Oracle Database 12.1.0.2 on RHEL 7.0 on the 64-bit (x86-64) platform. since it is the expressed goal to keep Oracle Linux (OL) functionally IDENTICAL to RHEL, this NOTE is also completely applicable to 64-bit (x86-64) OL 7.0

This procedure is not meant for those Planning/Installing Grid Infrastructure (GI) or any other Oracle products.

Details

Note that only Oracle db 12.1.0.2 is 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 you proceed with Installation, please take time to review every below requirement carefully to avoid any obvious issues 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 that 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 have downloaded the Software on other Machine, please transfer the zip file on the Server being Installed using Binary 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

The size of RAM 1.5 times

Between 2 GB and 16 GB

Equal to the size of RAM

More than 16 GB

16 GB

 

NOTE: The above recommendations (from the Oracle Database Installation Guide 12c Release 1 (12.1) for Linux) are MINIMUM recommendations for installations. further RAM and swap space may be required to tune/improve RDBMS performance.

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

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.
-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, 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.

2. Oracle Database is supported on ext2, ext3 and ext4 file systems (see Note: 236826.1 for further information)

II. Software:

1. Certified Linux Operationg Systems

Oracle Linux 6 and Oracle Linux 7
Red Hat Enterprise Linux 7

2. Oracle recommends that you install the Linux operating system with the default software packages (RPMs )(Refer Figure 1) And do not customize the RPMs during installation. for additional information on "default-RPMs", please seeNote 376183.1, "Defining a" default RPMs "installation of the rhel 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 are based upon 64-bit (x86_64) RHEL 7.0. when a higher "update" level is used, the RPM release numbers (such as 4.4.4-13) may be slightly different. since updates of RHEL 7 are 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 will already be present from the "default-RPMs" foundation of Linux that you started:

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 two group and also addKshAndLibaio-devel (x86_64)Packages

Figure 1 Default RPMs selection

5. Oracle Global Customer Support has noticed a recent trend with install problems that originates from installing too into RPMs. For example:

A .) installing your own JDK version (prior to execute the Oracle Software runInstaller) is not needed on Linux, and is not recommended on Linux. A pre-existing JDK often interferes with the correct JDK that the Linux Oracle Software runInstaller will place and use.

B .) installing more than the required version of the gcc/g ++ RPMs often leads to accidentally using (aka enabling or activating) the incorrect one. if you have multiple RDBMS versions installed on the same Linux machine, then you will likely have to manage multiple versions 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. are on the Oracle Linux 7/Red Hat Enterprise Linux 7 64-bit (x86_64) distribution media.

III. Environment:

1. Below are 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 is higher than the value listed, do not change the value of that parameter.

Semmsl 250
Semmns 32000
Semopm 100
Semmni 128
Shmall 40 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 is equal to the total amount of shared memory, in 4 K pages, that 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 shocould be 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 are not set as recommended by Oracle, then during installation OUI will generate fixup script which does the following tasks:

  • If necessary sets kernel parameters to 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 Inventory directory and the operating system privileges groups.
  • Sets shell limits if necessary to required values.

In case if you wowould like to do these manually, using any text editor, create or edit/etc/sysctl.confFile, add above kernel parameter and its value. To activate these new settings into the running kernel space, run"Sysctl-p"Command as root.

Set Shell Limits for the oracle User. Assuming that the "oracle" Unix user will 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
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
Oracle soft stack 10240
Oracle hard stack 10240

NOTE:When the limits. conf file is changed, these changes take effect immediately. however, if the oracle users are logged in, then these changes 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.

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 not already exist:

Session required pam_limits.so

C.) Verify the current ulimits, and raise if needed. This can be done gateways... 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 shoshould 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 not to use any form of "su" to start the runInstaller, in order to avoid potential display-related problems.
B.) When the Oracle Database 12.1 installation, make sure to use the "runInstaller" version that comes with Oracle Database 12.1 software.
C.) When should Ming any subsequent 12.1.0.x patchset, make sure to use the "runInstaller" version that comes with the patchset.

ADDITIONAL NOTES

1. Starting from Oracle Database 12.1 32-bit Oracle Database Software is not available.

2. supported distributions of the 32-bit (x86) Oracle Database Client Linux OS can run on AMD64/EM64T and Intel Processor Chips that adhere to the x86_64 architecture. oracle 32-bit Database Client running on AMD64/EM64T with 64-bit OS is expected to be supported, but is NOT covered by this NOTE.

3. Asynchronous I/O on ext2 and ext3 file systems is supported if your scsi/fc driver supports that functionality.

Note:Asynchronous I/O on Ext4 file system is supported with Oracle 10g onwards on OEL5.6 and later.
Reference: Oracle Linux, Filesystem & I/O Type Supportability (Note 279069.1)

4. No extra patch is required for the DIRECTIO support for x86_64.

5. No LD_ASSUME_KERNEL value shocould be 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)

 

 

 

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.