Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6.4 on VMware Workstation 9 – Part II

Time Required: 20 minutes

Class Materials:

  • CentOS 6.4 64-bit install media

Before we can install Oracle 12cR1 on our new VM, we need to load additional RPM packages that are required by the Oracle database and grid.

Almost all of the RPMs we need are located on the CentOS install media, so we can complete this step without YUM or a network connection if we need to.

Using the VMware interface, re-attach the CentOS Disc 1 install ISO and mount it under Linux.

Use the VM -> Removable Devices -> CD/DVD (ISO) menu option in VMware Workstation to re-mount the ISO of the install media.

Once mounted, Linux should open the media on the root desktop.

Since we used the VMware Easy Install to install CentOS, we should already have a large number of packages installed.

The command needed to load the remaining RPMs that we need is as follows:

rpm -ivh --replacepkgs \
 bind-9.*.el6.x86_64.rpm \
 binutils-2.*.el6.x86_64.rpm \
 cloog-ppl-0.*.el6.x86_64.rpm \
 compat-libcap1-1.*.x86_64.rpm \
 compat-libstdc++-33-3.*.el6.x86_64.rpm \
 cpp-4.*.el6.x86_64.rpm \
 gcc-4.*.el6.x86_64.rpm \
 gcc-c++-4.*.el6.x86_64.rpm \
 glibc-2.*.el6.x86_64.rpm \
 glibc-devel-2.*.el6.x86_64.rpm \
 glibc-headers-2.*.el6.x86_64.rpm \
 keyutils-1.*.el6.x86_64.rpm \
 libaio-0.*.el6.x86_64.rpm \
 libaio-devel-0.*.el6.x86_64.rpm \
 libgcc-4.*.el6.x86_64.rpm \
 libevent-1.*.el6.x86_64.rpm \
 libgssglue-0.*.el6.x86_64.rpm \
 libstdc++-4.*.el6.x86_64.rpm \
 libstdc++-devel-4.*.el6.x86_64.rpm \
 libtirpc-0.*.el6.x86_64.rpm \
 libX11-1.*.el6.x86_64.rpm \
 libXau-1.*.el6.x86_64.rpm \
 libxcb-1.*.el6.x86_64.rpm \
 libXext-1.*.el6.x86_64.rpm \
 libXtst-1.*.el6.x86_64.rpm \
 libXi-1.*.el6.x86_64.rpm \
 kernel-headers-2.*.el6.x86_64.rpm \
 ksh-20100621*.el6.x86_64.rpm \
 make-3.*.el6.x86_64.rpm \
 mpfr-2.*.el6.x86_64.rpm \
 nfs-utils-1.*.el6.x86_64.rpm \
 nfs-utils-lib-1.*.el6.x86_64.rpm \
 portreserve-0.*.el6.x86_64.rpm \
 ppl-0.*.el6.x86_64.rpm \
 rpcbind-0.*.el6.x86_64.rpm \
 sysstat-9.*.el6.x86_64.rpm \
 tigervnc-server-1.*.el6.x86_64.rpm \
 xorg-x11-fonts-misc-7.*.el6.noarch.rpm

You may notice that this list includes many RPMs not listed in the official Oracle 12c documentation. This list has been distilled from installing the Grid and Database software several times using different options.

Open a terminal session to navigate to the directory on the install media where we will find the RPMs we need.

[root@localhost ~]# cd /media/CentOS_6.4_Final/Packages
[root@localhost Packages]# pwd
 /media/CentOS_6.4_Final/Packages

Now use the above command to load every missing RPM in a single step. If successful, Linux will respond as follows:

warning: bind-9.8.2-0.17.rc1.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:libgcc                 ########################################### [  3%]
   2:glibc                  ########################################### [  5%]
   3:libgssglue             ########################################### [  8%]
   4:libstdc++              ########################################### [ 11%]
   5:libtirpc               ########################################### [ 13%]
   6:libXau                 ########################################### [ 16%]
   7:mpfr                   ########################################### [ 18%]
   8:cpp                    ########################################### [ 21%]
   9:libxcb                 ########################################### [ 24%]
  10:libX11                 ########################################### [ 26%]
  11:libXext                ########################################### [ 29%]
  12:libXi                  ########################################### [ 32%]
  13:libXtst                ########################################### [ 34%]
  14:rpcbind                ########################################### [ 37%]
  15:libstdc++-devel        ########################################### [ 39%]
  16:ppl                    ########################################### [ 42%]
  17:cloog-ppl              ########################################### [ 45%]
  18:binutils               ########################################### [ 47%]
  19:keyutils               ########################################### [ 50%]
  20:libaio                 ########################################### [ 53%]
  21:libevent               ########################################### [ 55%]
  22:nfs-utils-lib          ########################################### [ 58%]
  23:nfs-utils              ########################################### [ 61%]
  24:portreserve            ########################################### [ 63%]
  25:xorg-x11-fonts-misc    ########################################### [ 66%]
  26:kernel-headers         ########################################### [ 68%]
  27:glibc-headers          ########################################### [ 71%]
  28:glibc-devel            ########################################### [ 74%]
  29:gcc                    ########################################### [ 76%]
  30:gcc-c++                ########################################### [ 79%]
  31:tigervnc-server        ########################################### [ 82%]
  32:bind                   ########################################### [ 84%]
  33:libaio-devel           ########################################### [ 87%]
  34:compat-libcap1         ########################################### [ 89%]
  35:compat-libstdc++-33    ########################################### [ 92%]
  36:ksh                    ########################################### [ 95%]
  37:make                   ########################################### [ 97%]
  38:sysstat                ########################################### [100%]

I have also included the RPMs needed to create a DNS server under CentOS. This will be used later on to support the SCAN address.

SCAN is an acronym for Single Cluster Address Name. It provides an extremely crude round-robin method of trying cluster addresses in turn. Furthermore, the new OUI installers demand SCAN be enabled and configured otherwise they complain loudly.

In older releases you could work around not having a functional SCAN address, but this is no longer possible. So we will use DNS to create a valid SCAN address.

I also loaded the VNC server RPM since this allows remote access to the Linux desktop. You might not need it but it useful to have it.

Once we are done with this step we can eject the install media.

You might consider taking a fresh clone of your VM now since you have all RPMs loaded for any future Oracle 12c installations you might want to do.

Article Quick Navigation
Previous Step Main Index Next Step
Advertisements

One thought on “Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6.4 on VMware Workstation 9 – Part II

  1. I have installed the minimal CentOS System and don’t have the rpm. Therefore I installed the packages through the network via yum install or yum reinstall:

    yum install bind.x86_64 \
    binutils.x86_64 \
    cloog-ppl.x86_64 \
    compat-libcap1.x86_64 \
    compat-libstdc++-33.x86_64 \
    cpp.x86_64 \
    gcc.x86_64 \
    gcc-c++.x86_64 \
    glibc.x86_64 \
    glibc-devel.x86_64 \
    glibc-headers.x86_64 \
    keyutils.x86_64 \
    libaio.x86_64 \
    libaio-devel.x86_64 \
    libgcc.x86_64 \
    libevent.x86_64 \
    libgssglue.x86_64 \
    libstdc++.x86_64 \
    libstdc++-devel.x86_64 \
    libtirpc.x86_64 \
    libX11.x86_64 \
    libXau.x86_64 \
    libxcb.x86_64 \
    libXext.x86_64 \
    libXtst.x86_64 \
    libXi.x86_64 \
    kernel-headers.x86_64 \
    ksh.x86_64 \
    make.x86_64 \
    mpfr.x86_64 \
    nfs-utils.x86_64 \
    nfs-utils-lib.x86_64 \
    portreserve.x86_64 \
    ppl.x86_64 \
    rpcbind.x86_64 \
    sysstat.x86_64 \
    tigervnc-server.x86_64 \
    xorg-x11-fonts-misc.noarch

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s