Monday, December 1, 2014

Installing Oracle Database 12.1.0.2 on RHEL 7

Oracle has certified 12.1.0.2 on RHEL 7 kernels 3.10.0-54.0.1.el7 or later (1304727.1). The current RHEL 7 available from RedHat site is
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
and comes with following kernel
uname -r
3.10.0-123.el7.x86_64
which is valid for installing 12.1.0.2. It must be noted only 12.1.0.2 is certified on RHEL 7.

RHEL 7 comes with XFS as the default file system. Although Oracle has its own material praising the XFS this is still not listed as supported file system on 236826.1 - Supported and Recommended File Systems on Linux. It's not yet known if XFS is supported and recommended for Oracle RDBMS data files. In any explicit support statement is with regard to Oracle linux support but not Oracle RDBMS support. On 1529864.1 (which is relevant for RHEL 6) it is explicitly stated database is supported on ext2, ext3 and ext4 file systems, however there's no similar document (Requirements for Installing Oracle Database 12.1 on RHEL7 or OL7 64-bit (x86-64)) available yet (refer 1961997.1). On the other hand going by documents published for RHEL 6 (1601759.1) which states oracle does not certify local file systems and support and certification is up to the OS vendor. Nevertheless it was possible to install a 12.1.0.2 database on XFS local file system without any problem.



On the updated document which list RHEL 7 as an option for 12.1, the compat-libstdc++-33 is missing from the required RPM list. However the installer checks for this package and raise a warning.
compat-libstdc++-33 is not available on RHEL 7 install media. However it could be downloaded as a separate package from the redhat site.

RHEL 7 uses grub version 2. Editing entries in grub is different to that of RHEL6. This will come into play when setting elevator and transparent_hugepages.

In RHEL 7 the concept of runlevels has been replaced with systemd targets. The runlevel command exists but only for compatibility reasons and it is recommended if possible to avoid using the runlevel command. In minimal installation the runlevel command was returning "unknown" instead of expected "N 3" (RHEL 7 installed with Server and GUI didn't have this problem). As a result the runlevel pre-req check could fail on grid infrastructure and database installs.
It was possible to ignore this pre-req failure and continue the installation.

All other preinstallation task setup is similar to earlier versions of RHEL.

Useful metalink notes
Certification Information for Oracle Database on Linux x86-64 [ID 1304727.1]
Supported and Recommended File Systems on Linux [ID 236826.1]
Requirements for Installing Oracle Database 12.1on RHEL7 or OL7 64-bit (x86-64) [ID 1961997.1]
Requirements for Installing Oracle 11.2.0.4 RDBMS on RHEL7 or OL7 64-bit (x86-64) [ID 1962100.1]

Related Posts
Installing 11.2.0.3 on RHEL 6
Installing 11gR2 (11.2.0.3) GI with Role Separation on RHEL 6
Installing 11gR2 (11.2.0.3) GI with Role Separation on OEL 6
Installing 11gR2 Standalone Server with ASM and Role Separation on RHEL 6
Installing 12c (12.1.0.1) RAC on RHEL 6 with Role Separation - Clusterware