Oracle 11gR2 2-node RAC on VMware Workstation 8 – Part II

Time Required: 20 minutes

Class Materials:

  • Red Hat Enterprise Linux 5.5 64-bit install media

Next we need to add additional RPMs to support the Oracle database and grid installs.

Before we can install Oracle 11gR2 on our new VM, we need to load additional RPM packages that are required by the Oracle database and grid. Oracle publishes a list of the required VMs broken down by the supported Linux distributions at the following URL:

RPMs Required for Oracle 11gR2 on RHEL 5

As we can see from this list, the required RPMs for Red Hat Enterprise Linux 5 are as follows:

binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-2.5-24 (32 bit)
glibc-common-2.5
glibc-devel-2.5
glibc-devel-2.5 (32 bit)
glibc-headers-2.5
ksh-20060214
libaio-0.3.106
libaio-0.3.106 (32 bit)
libaio-devel-0.3.106
libaio-devel-0.3.106 (32 bit)
libgcc-4.1.2
libgcc-4.1.2 (32 bit)
libstdc++-4.1.2
libstdc++-4.1.2 (32 bit)
libstdc++-devel 4.1.2
make-3.81
sysstat-7.0.2

As it turns out, most of these are already loaded by the standard install we just completed in Part I. We only actually need to load the following RPMs:

compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)
elfutils-libelf-devel-0.125
glibc-devel-2.5
libaio-devel-0.3.106
libaio-devel-0.3.106 (32 bit)
sysstat-7.0.2
unixODBC-2.2.11
unixODBC-2.2.11 (32 bit)
unixODBC-devel-2.2.11
unixODBC-devel-2.2.11 (32 bit)

Eagle eyed Super Scouts may notice something odd about our distilled list. There are several RPMs that we need here that are NOT listed on the official list from Oracle. Well like the tag line of this blog states – “when you just want this crap to work”. This second and distilled list is the real list of additional RPMs you need to install Oracle on the RHEL 5.5 VM.

To install the required RPMs we need to re-insert the Red Hat Enterprise Linux 5.5 install media. In my example I am using an ISO of the DVD which makes matters very simple. If you have CD based media you may to go hunting through the discs for the RPMs.

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

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

[root@localhost Server]# cd "/media/RHEL_5.5 x86_64 DVD/Server"
[root@localhost Server]# pwd
 /media/RHEL_5.5 x86_64 DVD/Server

 
Now the following single-line command can be used to load every missing RPM in a single step:

rpm -ivh compat-libstdc++-33-3.2.3-61.*.rpm glibc-devel-2.5-49.i386.rpm libaio-devel-0.3.106-5.*.rpm sysstat-7.0.2-3.el5.x86_64.rpm unixODBC-2.2.11-7.1.*.rpm unixODBC-devel-2.2.11-7.1.*.rpm elfutils-libelf-devel*.x86_64.rpm
 
If successful, Linux will respond as follows:

[root@localhost Server]# rpm -ivh compat-libstdc++-33-3.2.3-61.*.rpm glibc-devel-2.5-49.i386.rpm libaio-devel-0.3.106-5.*.rpm sysstat-7.0.2-3.el5.x86_64.rpm unixODBC-2.2.11-7.1.*.rpm unixODBC-devel-2.2.11-7.1.*.rpm elfutils-libelf-devel*.x86_64.rpm
 warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
 Preparing... ########################################### [100%]
 1:unixODBC ########################################### [ 8%]
 2:sysstat ########################################### [ 17%]
 3:compat-libstdc++-33 ########################################### [ 25%]
 4:unixODBC ########################################### [ 33%]
 5:compat-libstdc++-33 ########################################### [ 42%]
 6:unixODBC-devel ########################################### [ 50%]
 7:unixODBC-devel ########################################### [ 58%]
 8:libaio-devel ########################################### [ 67%]
 9:libaio-devel ########################################### [ 75%]
 10:glibc-devel ########################################### [ 83%]
 11:elfutils-libelf-devel-s########################################### [ 92%]
 12:elfutils-libelf-devel ########################################### [100%]

 
I am going to advocate you install one more very important RPM now. This is not listed as an Oracle requirement, but it will enable you to stand up your own private DNS server on your RAC nodes.

With 11gR2 Oracle has introduced a SCAN address for RAC clusters. 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.

Whereas you can work-around not having a DNS server, the more elegant solution is to stand up one, and luckily Red Hat makes this pretty simple. So let’s grab the RPM we need now and we will configure it later.

[root@localhost Server]# rpm -ivh bind-9.3.6-4.P1.el5_4.2.x86_64.rpm
warning: bind-9.3.6-4.P1.el5_4.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:bind

 
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 11gR2 installations you might want to do.

Article Quick Navigation
Previous Step Main Index Next Step
Advertisements

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