Setting up Red Hat Enterprise Linux 6.3 for Oracle
Attention: Linux commands that are running as root are prefixed with # in this appendix.
This appendix describes the steps to install a Red Hat Enterprise Linux 6.3 (RHEL 6.3) guest to support an 11gR2 Database and other Oracle products. We assume that you are performing a new installation, not updating a Red Hat Enterprise Linux 5 and an existing Oracle database because a new installation is recommended.
 
Note: Oracle certified Oracle Database 11.2.0.3 on Red Hat Enterprise Linux 6.2 and above in 1Q 2013. This chapter is based on installing RHEL 6.3.
Oracle 11gR2(11.2.0.3) is certified on RHEL 6.2 and above. For RHEL 6.3, errata 1156 should be installed. For more information, see this website:
The following methods are available to use to install Red Hat Enterprise Linux 6:
A GUI installation of RHEL 6.3 Base code and then oravalidate rpm is run, which brings in all the missing rpms that are required to install Oracle Database.
An installation with a kickstart file that runs a silent installation of RHEL 6.
This appendix included the following topics:
A.1 Introduction
Before you begin this process, ensure that z/VM guest Directory entries were prepared and the user can log in to z/VM and use CMS. The Red Hat installation process includes the following two major steps, and there is a third step to add the rpms that is needed for Oracle:
1. Starting the Red Hat bootstrap loader
2. Installing Red Hat Enterprise Linux
3. Running oravalidate rpm to bring in all the other rpms
These steps are described next.
A.2 Step 1: Starting the Red Hat bootstrap loader
This process starts the Red Hat bootstrap loader system and includes the following tasks:
Defining the Linux guest
Defining the PARM and CONF files
Defining the EXEC file
Run the EXEC file:
 – Punching and loading the Red Hat reader images
 – Connecting to the installation images (this installation uses NFS)
 – Making the Virtual Network Computing (VNC) connection to perform the next Red Hat Enterprise Linux 6.3 stage of the installation
These steps are described next.
A.2.1 Defining the Linux guest
The installation requires that the guest has a defined network interface. The network interface is defined by using the DEFINE NIC and COUPLE statements, as shown in Example A-1.
Example A-1 Dirmaint entry for Linux guest
USER PAZXXT10 IBMPASS 4G 4G BEG 64
ACCOUNT C0000620 LINUX
CPU 00 BASE
CPU 01
IPL CMS PARM AUTOCR
IUCV *IDENT GATEANY GATEWAY REVOKE
IUCV ALLOW
OPTION TODENABLE LNKNOPAS
POSIXINFO UID 996
CONSOLE 001F 3215 A
SPOOL 000C 2540 READER *
SPOOL 000D 2540 PUNCH A
SPOOL 000E 1403
/*Setup network devices*/
‘CP DEFINE NIC 420 QDIO’
‘CP COUPLE 480 SYSTEM’ vsw
 
*
LINK MAINT 019E 019E RR
LINK MAINT 019D 019D RR
LINK MAINT 0190 0190 RR
LINK VMLINUX 0104 0191 RR
MDISK 0200 3390 1 10016 LXD20D MR ROOT
* swap disks
MDISK 0207 FB-512 V-DISK 4194296 MR
* local disks
A.2.2 Defining the PARM and CONF files
The installation needs kernel parameters and network definitions to complete successfully. The following methods are available:
Defining the parameters dynamically as you perform the installation, as described in A.4, “Step 3: Running oravalidate rpm to import all other rpms” on page 326.
Create a PARM file that containing kernel parameters and a CONF file, which contains network and disk parameters. Though not required, this is recommended. For more information, see Example A-2 and Example A-3.
Example A-2 Generic PARM file
/*Sample RHEL 6.3 PARM file*/
ROOT=/DEV/RAM0 RO IP=OFF RAMDISK_SIZE=40000 RO IP=OFF CMSDASD=191
CMSDASD=191 CMSCONFFILE=RHU3.CONF
Example A-3 RHU3 CONF file
/*Sample RHEL63 CONF file:*/
DASD=200,207
HOSTNAME=PAZXXT10.US.ORACLE.COM
NETTYPE=qeth
IPADDR=130.35.52.18
SUBCHANNELS=0.0.0480,0.0.0481,0.0.0482
NETMASK=255.255.252.0
SEARCHDNS=US.ORACLE.COM
GATEWAY=130.35.52.1
DNS=130.35.249.41
MTU=8192
PORTNAME=UNASSIGNED
LAYER2=0
Some values should be changed to work in your environment; however, the overall format of the CONF file should not change. The SUBCHANNELS parameter defines the subchannel addresses for the NIC. LAYER2=0 is used because the VSWITCH is operating in Layer 3 (IP) mode. If the VSWITCH is operating in Layer 2 (ETH) mode, you should set LAYER2=1 and VSWITCH=1. If you are unsure, you should check with the network administrator. For more information about this parameter, see this website:
A.2.3 Defining the EXEC File
In this section, we assume that the Red Hat Enterprise Linux 6.3 installation tree is available via FTP. From z/VM, log in as the user and transfer the kernel and initial RAMdisk image (initrd) that is necessary to begin the installation. Be sure to set the logical record length to 80 before transferring the kernel and initrd (QUOTE LOCSITE FIX 80 if transferring via FTP from z/VM, or SITE FIX 80 if transferring via FTP to z/VM).
Next, create the EXEC that is shown in Example A-4, then run it to begin the installation.
Example A-4 Example Punch file: Redhat exec
/*EXEC TO PUNCH RHEL6.3 TO THE RDR */
'CL RDR'
'PURGE RDR ALL'
'SPOOL PUNCH * RDR'
'PUNCH KERNEL IMG A (NOH'
'PUNCH GENERIC PRM A (NOH'
'PUNCH INITRD IMG A (NOH'
'CH RDR ALL KEEP NOHOLD'
'I 00C'
The commands associated punch (loads into the reader) the necessary images in the correct order and prepares them to be loaded. The last command initially loads the reader, which loads the files that were punched.
When the initial program load (IPL) is run, the reader is loaded (as shown in Example A-5) and the Linux guest is ready to load.
Example A-5 RDRLIST
PAZXXT11 RDRLIST S0 V 164 Trunc+164 Size=3 Line=1 Col=1 Alt=0
Cmd Filename Filetype Class User at   Node   Hold Records Date  Time
     KERNEL  IMG      PUN A PAXZXXT11 HQCMS2 NONE 113488 11/09 13:02.28
     GENERIC PRM      PUN A PAXZXXT11 HQCMS2 NONE      2 11/09 13:02.33
     INITRD  IMG      PUN A PAXZXXT11 HQCMS2 NONE 223040 11/09 13:02.33
Because the CONF file contains the networking and DASD information, the installation proceeds in silent mode, which brings up Figure A-6 on page 317.
A.2.4 Completing the first step of the installation process
You are now logged on to the CMS guest to run the redhat exec file. It punches the files to the reader and loads the Linux installation. You see many messages as it checks and configures the disks. At the end of the process, you are instructed to log on by using root ID. We found it best to use an SSH client like PuTTY to connect to the Linux and use the installation ID.
The 191 disk should have the five files that are shown in Example A-6.
Example A-6 Output of 191 disk
GENERIC PRM A1 V 53 2 1 11/30/12 8:19
INITRD IMG A1 F 80 226772 4430 11/12/12 9:45
KERNEL IMG A1 F 80 113591 1723 11/12/12 9:44
REDHAT EXEC A1 V 38 9 1 11/26/12 17:26
RHU3 CONF A1 F 80 12 1 11/26/12 17:26
The installation process takes you through several windows, as shown in Figure A-1, Figure A-2 on page 315, Figure A-3 on page 316, Figure A-4 on page 316, and Figure A-5 on page 317.
Figure A-1 Choose the language to use during Red Hat Installation
Figure A-2 Identify the media that contains Red Hat 6.3 code
Figure A-3 NFS setup location
 
Figure A-4 Request to start VNC for a GUI interface
Figure A-5 Set the password for VNC
The GUI installation process is now started.
A.3 Step 2: Installing Red Hat Enterprise Linux
The Red Hat Enterprise Linux 6.3 installation system is started from the bootstrap process and displays the image that is shown in Figure A-6.
Figure A-6 Initial Red Hat window
We selected the Specialized Storage Devices option as shown in Figure A-7.
Figure A-7 Storage
We selected the two available DASD disks to use for storage, as shown in Figure A-8.
Figure A-8 Storage for RHEL
These disks were used before, so we confirmed that we wanted to write over the existing data, as shown in Figure A-9 on page 319.
Figure A-9 Storage message
Enter the host name to be used by the Linux guest, as shown in Figure A-10 on page 320.
Figure A-10 Host name
In our case, it detected a previous installation. We chose Fresh Installation, as shown in Figure A-11.
Figure A-11 Fresh installation or upgrade
We then chose Pacific Time Zone, as shown in Figure A-12.
Figure A-12 Time zone choice
We choose the Fresh Installation, as shown in Figure A-13.
Figure A-13 Fresh Installation of RHEL
Choose your password and make sure that it is noted, as shown in Figure A-14.
Figure A-14 Root account password
Figure A-15 shows the chosen type of installation.
Figure A-15 Type of Installation
We choose the target DASDs for the installation, as shown in Figure A-16.
Figure A-16 Data Storage
The disks are now formatted and an LVM is created, as shown in Figure A-17.
Figure A-17 Choosing Base Install Only
We choose Basic Server installation and added the other rpms for Oracle later by using the oravalidate process, as shown in Figure A-18.
Figure A-18 Installation in Process
This stage takes 10 - 20 minutes to complete. You see the packages as they are installed, as shown in Figure A-19.
Figure A-19 Base installation is complete
After you rebooted Linux guest, you should install errata that are recommended for Red Hat 6.3 on Linux on System z, which is available at this website:
An example of the errata is shown in Example A-7.
Example A-7 Example of the installation of the errata
Packages:
kernel-2.6.32-279.9.1.el6.s390x.rpm
kernel-firmware-2.6.32-279.9.1.el6.noarch.rpm
kernel-devel-2.6.32-279.9.1.el6.s390x.rpm
kernel-headers-2.6.32-279.9.1.el6.s390x.rpm
 
Install:
 
[root@pazxxt10 RHEL6.3]# rpm -ivh kernel-devel-2.6.32-279.9.1.el6.s390x.rpm
warning: kernel-devel-2.6.32-279.9.1.el6.s390x.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:kernel-devel ########################################### [100%]
[root@pazxxt10 RHEL6.3]# rpm -ivh kernel-headers-2.6.32-279.9.1.el6.s390x.rpm
warning: kernel-headers-2.6.32-279.9.1.el6.s390x.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:kernel-headers ########################################### [100%]
[root@pazxxt10 RHEL6.3]# rpm -ivh kernel-firmware-2.6.32-279.9.1.el6.noarch.rpm
warning: kernel-firmware-2.6.32-279.9.1.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:kernel-firmware ########################################### [100%]
[root@pazxxt10 RHEL6.3]# rpm -ivh kernel-2.6.32-279.9.1.el6.s390x.rpm
warning: kernel-2.6.32-279.9.1.el6.s390x.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
[root@pazxxt10 RHEL6.3]#
 
A.3.1 Next step
The base installation is now complete, but there are other rpms that are needed to prepare this system for the Oracle Database installation.
The next section describes how to use the ora-validate rpm to do this. After the reboot, you log on as the root user.
A.4 Step 3: Running oravalidate rpm to import all other rpms
In this step, you prepare the Linux guest with all the RHEL 6.3 rpms that are needed by Oracle. For information about how to use and obtain the latest copy of ora-validate, see the My Oracle Support note.
The following commands are used:
Create a directory:
# mkdir /redhat
# chmod 755 /redhat
Make the following changes to point to the Redhat source directory:
# vi /etc/yum.repos.d/rhel-source.repo
[root@pazxxt10 yum.repos.d]# vi rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=file:///redhat/zlinux/RHEL6/U2/Server/
enabled=1
gpgcheck=0
gpgkey=file:///redhat/zlinux/RHEL6/U2/Server/RPM-GPG-KEY-redhat-release
Mount RHEL 6.3 media:
# mount.nfs lhotse:/software/redhat /redhat
Update the repository file:
# rpm --import RPM-GPG-KEY-redhat-release
A.4.1 Command to run ora-validate and the output
You must download the oravalidate rpm from My Oracle Support. After you extract the file, run it by using the yum install command, as shown in Example A-8.
Lines of output are produced as the other needed rpms are installed.
Example A-8 Running oravalidate
# yum install /root/ora-val-rpm-EL6-DB-11.2.0.3-1.s390x.rpm
====================================================
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
rhel-source | 4.0 kB 00:00 ...
rhel-source/primary_db | 2.5 MB 00:01 ...
Setting up Install Process
Examining /root/ora-val-rpm-EL6-DB-11.2.0.3-1.s390x.rpm: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
Marking /root/ora-val-rpm-EL6-DB-11.2.0.3-1.s390x.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ora-val-rpm-EL6-DB.s390x 0:11.2.0.3-1 will be installed
--> Processing Dependency: compat-libcap1 >= 1.10-1 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: compat-libstdc++-33 >= 3.2.3-69 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: compat-libstdc++-33(s390-64) >= 3.2.3-69 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: compat-libstdc++-33(s390-32) >= 3.2.3-69 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: elfutils-libelf-devel >= 0.152-1 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: gcc >= 4.4.5-6 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: gcc-c++ >= 4.4.5-6 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: glibc(s390-32) >= 2.12-1.25 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: ksh >= 20100621-6 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libaio(s390-32) >= 0.3.107-10 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libgcc(s390-32) >= 4.4.5-6 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libstdc++(s390-32) >= 4.4.5-6 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: glibc-headers >= 2.12-1.25 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: glibc-devel(s390-64) >= 2.12-1.25 for package: ora-
ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: glibc-devel(s390-32) >= 2.12-1.25 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libstdc++-devel >= 4.4.5-6 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libstdc++-devel(s390-64) >= 4.4.5-6 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libstdc++-devel(s390-32) >= 4.4.5-6 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libaio-devel(s390-64) >= 0.3.107-10 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libaio-devel(s390-32) >= 0.3.107-10 for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: compat-libstdc++-33(s390-64) for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: glibc-devel(s390-64) for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libstdc++-devel(s390-64) for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Processing Dependency: libaio-devel(s390-64) for package: ora-val-rpm-EL6-DB-11.2.0.3-1.s390x
--> Running transaction check
---> Package compat-libcap1.s390x 0:1.10-1 will be installed
---> Package compat-libstdc++-33.s390 0:3.2.3-69.el6 will be installed
---> Package compat-libstdc++-33.s390x 0:3.2.3-69.el6 will be installed
---> Package elfutils-libelf-devel.s390x 0:0.152-1.el6 will be installed
---> Package gcc.s390x 0:4.4.6-3.el6 will be installed
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.s390x
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.s390x
---> Package gcc-c++.s390x 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.s390x
---> Package glibc.s390 0:2.12-1.47.el6 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6.s390
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6.s390
---> Package glibc-devel.s390 0:2.12-1.47.el6 will be installed
---> Package glibc-devel.s390x 0:2.12-1.47.el6 will be installed
---> Package glibc-headers.s390x 0:2.12-1.47.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6.s390x
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6.s390x
---> Package ksh.s390x 0:20100621-12.el6 will be installed
---> Package libaio.s390 0:0.3.107-10.el6 will be installed
---> Package libaio-devel.s390 0:0.3.107-10.el6 will be installed
---> Package libaio-devel.s390x 0:0.3.107-10.el6 will be installed
---> Package libgcc.s390 0:4.4.6-3.el6 will be installed
---> Package libstdc++.s390 0:4.4.6-3.el6 will be installed
---> Package libstdc++-devel.s390 0:4.4.6-3.el6 will be installed
---> Package libstdc++-devel.s390x 0:4.4.6-3.el6 will be installed
--> Running transaction check
---> Package cloog-ppl.s390x 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.s390x
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.s390x
---> Package cpp.s390x 0:4.4.6-3.el6 will be installed
---> Package kernel-headers.s390x 0:2.6.32-220.el6 will be installed
---> Package mpfr.s390x 0:2.4.1-6.el6 will be installed
---> Package nss-softokn-freebl.s390 0:3.12.9-11.el6 will be installed
--> Running transaction check
---> Package ppl.s390x 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
==============================================================================
Package Arch Version Repository Size
==============================================================================
Installing:
ora-val-rpm-EL6-DB s390x 11.2.0.3-1 /ora-val-rpm-EL6-DB-11.2.0.3-1.s390x 0.0
Installing for dependencies:
cloog-ppl s390x 0.15.7-1.2.el6 rhel-source 89 k
compat-libcap1 s390x 1.10-1 rhel-source 18 k
compat-libstdc++-33 s390 3.2.3-69.el6 rhel-source 182 k
compat-libstdc++-33 s390x 3.2.3-69.el6 rhel-source 186 k
cpp s390x 4.4.6-3.el6 rhel-source 3.2 M
elfutils-libelf-devel s390x 0.152-1.el6 rhel-source 31 k
gcc s390x 4.4.6-3.el6 rhel-source 6.5 M
gcc-c++ s390x 4.4.6-3.el6 rhel-source 4.2 M
glibc s390 2.12-1.47.el6 rhel-source 3.8 M
glibc-devel s390 2.12-1.47.el6 rhel-source 973 k
glibc-devel s390x 2.12-1.47.el6 rhel-source 974 k
glibc-headers s390x 2.12-1.47.el6 rhel-source 593 k
kernel-headers s390x 2.6.32-220.el6 rhel-source 1.6 M
ksh s390x 20100621-12.el6 rhel-source 709 k
libaio s390 0.3.107-10.el6 rhel-source 21 k
libaio-devel s390 0.3.107-10.el6 rhel-source 13 k
libaio-devel s390x 0.3.107-10.el6 rhel-source 13 k
libgcc s390 4.4.6-3.el6 rhel-source 85 k
libstdc++ s390 4.4.6-3.el6 rhel-source 306 k
libstdc++-devel s390 4.4.6-3.el6 rhel-source 1.6 M
libstdc++-devel s390x 4.4.6-3.el6 rhel-source 1.6 M
mpfr s390x 2.4.1-6.el6 rhel-source 162 k
nss-softokn-freebl s390 3.12.9-11.el6 rhel-source 156 k
ppl s390x 0.10.2-11.el6 rhel-source 1.2 M
 
Transaction Summary
==============================================================================
Install 25 Package(s)
 
Total download size: 28 M
Installed size: 79 M
Is this ok [y/N]:
Downloading Packages:
-------------------------------------------------------------------------------
Total 27 MB/s | 28 MB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libstdc++-devel-4.4.6-3.el6.s390x 1/25
Installing : elfutils-libelf-devel-0.152-1.el6.s390x 2/25
Installing : kernel-headers-2.6.32-220.el6.s390x 3/25
Installing : libgcc-4.4.6-3.el6.s390 4/25
Installing : nss-softokn-freebl-3.12.9-11.el6.s390 5/25
Installing : glibc-2.12-1.47.el6.s390 6/25
Installing : glibc-headers-2.12-1.47.el6.s390x 7/25
Installing : glibc-devel-2.12-1.47.el6.s390 8/25
Installing : mpfr-2.4.1-6.el6.s390x 9/25
Installing : libaio-0.3.107-10.el6.s390 10/25
Installing : libstdc++-4.4.6-3.el6.s390 11/25
Installing : libstdc++-devel-4.4.6-3.el6.s390 12/25
Installing : libaio-devel-0.3.107-10.el6.s390 13/25
Installing : libaio-devel-0.3.107-10.el6.s390x 14/25
Installing : cpp-4.4.6-3.el6.s390x 15/25
Installing : glibc-devel-2.12-1.47.el6.s390x 16/25
Installing : compat-libstdc++-33-3.2.3-69.el6.s390x 17/25
Installing : compat-libcap1-1.10-1.s390x 18/25
Installing : ksh-20100621-12.el6.s390x 19/25
Installing : ppl-0.10.2-11.el6.s390x 20/25
Installing : cloog-ppl-0.15.7-1.2.el6.s390x 21/25
Installing : gcc-4.4.6-3.el6.s390x 22/25
Installing : gcc-c++-4.4.6-3.el6.s390x 23/25
Installing : compat-libstdc++-33-3.2.3-69.el6.s390 24/25
Installing : ora-val-rpm-EL6-DB-11.2.0.3-1.s390x 25/25
****************************************************************************
* Validation complete - please install any missing rpms *
* The following output should display both (s390) - 31-bit and *
* (s390x) 64-bit rpms - Please provide the output to Oracle *
* Support If you are still encountering problems. *
****************************************************************************
Found glibc-dev (s390)
Found glibc-dev (s390x)
Found libaio (s390)
Found libaio (s390x)
Found libaio-devel (s390)
Found libaio-devel (s390x)
Found compat-libstdc++-33 (s390)
Found compat-libstdc++-33 (s390x)
Found glibc (s390)
Found glibc (s390x)
Found libgcc (s390)
Found libgcc (s390x)
Found libstdc++ (s390)
Found libstdc++ (s390x)
Found libstdc++-devel (s390)
Found libstdc++-devel (s390x)
Found libaio-dev (s390)
Found libaio-dev (s390x)
rhel-source/productid | 1.7 kB 00:00 ...
Installed products updated.
Installed:
ora-val-rpm-EL6-DB.s390x 0:11.2.0.3-1
Dependency Installed:
cloog-ppl.s390x 0:0.15.7-1.2.el6 compat-libcap1.s390x 0:1.10-1
compat-libstdc++-33.s390 0:3.2.3-69.el6 compat-libstdc++-33.s390x 0:3.2.3-69.el6
cpp.s390x 0:4.4.6-3.el6 elfutils-libelf-devel.s390x 0:0.152-1.el6
gcc.s390x 0:4.4.6-3.el6 gcc-c++.s390x 0:4.4.6-3.el6
glibc.s390 0:2.12-1.47.el6 glibc-devel.s390 0:2.12-1.47.el6
glibc-devel.s390x 0:2.12-1.47.el6 glibc-headers.s390x 0:2.12-1.47.el6
kernel-headers.s390x 0:2.6.32-220.el6 ksh.s390x 0:20100621-12.el6
libaio.s390 0:0.3.107-10.el6 libaio-devel.s390 0:0.3.107-10.el6
libaio-devel.s390x 0:0.3.107-10.el6 libgcc.s390 0:4.4.6-3.el6
libstdc++.s390 0:4.4.6-3.el6 libstdc++-devel.s390 0:4.4.6-3.el6
libstdc++-devel.s390x 0:4.4.6-3.el6 mpfr.s390x 0:2.4.1-6.el6
nss-softokn-freebl.s390 0:3.12.9-11.el6 ppl.s390x 0:0.10.2-11.el6
 
Complete!
 
The Oracle required rpms are installed and you can now prepare for the Oracle installation.
A.5 Installing and setting up vncserver
You need vncserver installed so you have a GUI interface for the Oracle Universal Installer.
We installed tigervnc that is included with RHEL 6.3 by using the following command:
# yum -y install tigervnc-server openmotif xterm xsetroot xorg-x11-xauth
You then must update the vncserver system configuration file by running the following commands:
# cd /etc/sysconfig/
# vi vncservers
# VNCSERVERS="1:root"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
You uncomment by removing the # sign and then adding other user IDs, as shown in the following example:
VNCSERVERS=”2:oracle”
Save the file.
If you enabled the firewall, then must update the IP tables by editing the iptables file, as shown in the following example:
# vi iptables
Add the following lines
A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5801 -j ACCEPT
A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5802 -j ACCEPT
Then, you must recycle iptables by running the following commands:
# service iptables stop
# service iptables start
# service vncserver start
You need a password to access vncserver from your desktop. If you are logged in as root, enter vncpasswd to create the password, as shown in the following example:
Command vncpasswd
Password:
Verify:
xauth: creating new authority file /root/.Xauthority
 
New 'pazxxt10.us.oracle.com:1 (root)' desktop is pazxxt10.us.oracle.com:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/pazxxt10.us.oracle.com:1.log
A.6 Step 4: Customizing the Linux setup for Oracle
You should now make the recommended changes to the kernel parameters and the security and limits files. For more information, see Chapter 4, “Setting up SUSE Linux Enterprise Server 11 SP2 and Red Hat Enterprise Linux 6.2” on page 55. They are part of the Oracle customization of Linux.
A.6.1 Kernel updates
Make the following updates to the kernel:
# echo "kernel.shmmni=4096" >>/etc/sysctl.conf
# echo "kernel.sem=250 32000 100 128" >>/etc/sysctl.conf
# echo "fs.file-max=65536" >>/etc/sysctl.conf
# echo "net.ipv4.ip_local_port_range=1024 65000" >>/etc/sysctl.conf
# echo "net.core.rmem_default=1048576" >>/etc/sysctl.conf
# echo "net.core.rmem_max=1048576" >>/etc/sysctl.conf
# echo "net.core.wmem_default=262144" >>/etc/sysctl.conf
# echo "net.core.wmem_max=262144" >>/etc/sysctl.conf
To affect these changes, run the following command:
# sysclt -p
A.6.2 Changes for pam.d/login
Make the following changes to pam.d/login:
# echo "session optional pam_keyinit.so force revoke" >>/etc/pam.d/login
# echo "session required /lib/security/pam_limits.so" >>/etc/pam.d/login
# echo "session required pam_limits.so" >>/etc/pam.d/login
A.6.3 Changes for limits.conf
Make the following changes to limits.conf:
# echo "oracle soft nproc 2047" >>/etc/security/limits.conf
# echo "oracle hard nproc 16384" >>/etc/security/limits.conf
# echo "oracle soft nofile 1024" >>/etc/security/limits.conf
# echo "oracle hard nofile 65536" >>/etc/security/limits.conf
A.6.4 Setting up Oracle UserID and directories
The Oracle UserID, group, directories, and their ownership must be set up as shown in the following example:
# groupadd -g 502 oinstall
# groupadd -g 501 dba
# useradd -u 501 -g oinstall -G dba oracle -m
# passwd oracle
# mkdir /oracle
# chown oracle:dba /oracle
# chmod 755 /oracle
# mkdir /oracle/oracledb
# chown oracle:oinstall /oracle/oracledb
# chmod 755 /oracle/oracledb
# mkdir /oradata
# chown oracle:dba /oradata
# chmod 755 /oradata
A.6.5 Disabling SE Linux
The last step in preparation for the installation of the Oracle Database is to disable SELinux. To disable this, update /etc/selinux/config to reflect SELINUX=disabled.
A.7 Summary
You now have a Red Hat Enterprise Linux 6.3 guest ready for the installation of an Oracle Database 11gR2 (11.2.0.3).
You should review Chapter 4, “Setting up SUSE Linux Enterprise Server 11 SP2 and Red Hat Enterprise Linux 6.2” on page 55 for customization information. Then, review Appendix B, “Installing Oracle and creating a database 11.2.0.3 on Red Hat Enterprise Linux 6” on page 335 as a guide to install an Oracle Database with the My Oracle Support notes and the Oracle installation manuals.
 
..................Content has been hidden....................

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