Oracle Database 11gR2 on Red Hat Enterprise Linux Servers 7
In this appendix, we describe the steps for installing Oracle 11g Release 2 (11gR2) with Red Hat 7 and Oracle workloads on IBM z Systems.
This appendix includes the following sections:
A.1 Pre-installation requirements documentation
For more information about the pre-installation phase, see Oracle Database (RDBMS) on UNIX, IBM AIX, HP-UX, Linux, Mac OS X, Solaris, Tru64 UNIX Operating Systems Installation and Configuration guide. For more information about Oracle Database 11.2.0.4 on Red Hat 7 requirements, see Doc ID 1967531.1
A.2 Obtaining the code for Oracle 11gR2 on IBM z Systems
Complete the following steps:
1. Obtain the most recent Oracle Database code.
2. Download Oracle 11.2.0.4 for My Oracle Support Patch: 13390677.
A.3 Java version for 11gR2 installations on Red Hat 7
The Oracle distribution code (11.2 and 12c) includes the IBM Java Runtime Environment (JRE) as part of the distribution. Oracle Database 11gR2 Version 11.2.0.4 is included with JRE 1.5, which does not run on Red Hat 7 systems.
The Oracle Universal Installer (OUI) fails for 11.2.0.4 installations (bug 20370383) on Red Hat 7 installations with the base JRE (1.5) installed with Oracle. The JRE that is supplied with Oracle 12c installations is 1.6 and requires no update.
Download and install the IBM Java 1.6 (IBM JDK 1.6 is recommended for Oracle 11.2.0.4 installations only) from the IBM Java SDK Downloads website.
You might need to login with your IBM ID or create an ID if you do not yet have an ID. Complete the following steps:
1. Select the Java 6 tab.
2. Scroll down to the Linux on z Systems 64-bit download area. Download the SDK or the JRE, depending on your needs (see Figure A-1 on page 104). The SDK and JRE are indicated in the file name.
Figure A-1 IBM z Systems 64-bit download
3. Copy the .bin file to each node in your cluster.
4. Install the IBM JDK (the specific bundle to develop software in the Java language) by running the .bin file as the root user, as shown in the following example:
# chmod u+x ibm-java-s390x-jre-6.0-16.35.bin
# ./ibm-java-s390x-jre-6.0-16.35.bin
5. Follow the prompts to install the JDK to the wanted location (selecting the appropriate language and installation directories).
A.4 Oracle RAC installation issue when version 11.2.0.4 is used with Red Hat Enterprise Linux server 7
Acquire Oracle patch 18370031 before starting an Oracle RAC/Grid Infrastructure installation for Oracle 11.2.0.4 installations on Red Hat 7 systems. Starting in Red Hat 7, the new systemd services require an Oracle patch for the root.sh script to successfully complete in each Oracle RAC node.
Complete the following steps:
2. Start an interactive Oracle Grid Infrastructure installation by using the Oracle Universal Installer (OUI), as described in “Interactive installation” on page 21. However, do not run root.sh on any node until after Patch 18370031 is applied.
3. When the OUI prompts the user to run the root.sh scripts, Patch 18370031 should be applied by following the instructions in the README file that is supplied with the patch.
If a software-only grid installation is run, the patch should be applied after the installation concludes but before any configuration is attempted.
A.5 Security-Enhanced Linux
In this section, we describe some information important to note before the installation process is started.
Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides a mechanism for supporting access control security policies for security of Red Hat operating systems.
By default, Red Hat Enterprise Linux server versions 6 and 7 are installed with SELinux in enforcing mode (meaning that the SELinux policy is in effect and it enforces access denials and audits them). This configuration is acceptable for the 11gR2 installation process for RedHat Enterprise Linux server version 6 and 7.
Previously on Red Hat Enterprise Linux server version 5, to run sqlplus, operators switched SELinux to the Permissive mode or sqlplus failed to start and produced the error that is shown in Example 7-3.
Example 7-3 The sqlplus error message
./sqlplus: error on libnnz11.so: cannnot restore segment prot after reoloc
A.6 Pre-installation checking
This section describes more pre-installation checking that you must perform after ensuring a GUI is established.
A.6.1 Operating system requirements for IBM z Systems
When IBM z Systems are used, RHEL 7 servers must be running Red Hat kernel 3.10.0-229.el7 (s390x) or higher (Red Hat 7.2+ is recommended).
A.6.2 Oracle RPM Checker utility with Red Hat Enterprise Linux Server
In this section, we describe how to use the Oracle RPM Checker utility to verify that the required Linux packages are installed on the operating system before starting the Oracle Database or Oracle Grid Infrastructure installation.
Download the Oracle 11.2.0.4 for Red Hat 7 rpm checker from the following My Oracle Support website.
After you download the appropriate RPM checker to IBM z Systems, decompress the rpm and install it as root to assess the missing rpms by using the following command (depending on your distribution level):
yum install ora-val-rpm-RH7-DB-11.2.0.4-1.s390x.rpm
By using this command, the required RPMs are automatically pulled in if your yum repository is set up. If your yum repository is not set up, you can install the RPM dependency checker as shown in the following example:
rpm -ivh ora-val-rpm-RH7-DB-11.2.0.4-1.s390x.rpm
A.7 Oracle Universal Installer
By using Oracle Universal Installer (OUI), you can install software only, or install and create a database. Other installers are available, such as netca, to create the Oracle listener services, or dbca, to create databases. The Oracle Installers can be run interactively or in silent mode.
 
Note: If an Oracle 11.2.0.4 Installation on Red Hat 7 is running, you must start the OUI as shown in the following example:
./runInstaller -ignorePrereq -ignoreSysPrereqs -jreloc <IBM jre_1.6_home>
An example of the output from this command is shown in Figure A-2.
Figure A-2 OUI Installation command for Red Hat 7 and Oracle 11.2.0.4
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset