11gR2 Grid install – clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file

You are installing 11gR2 11.2.0.1 Grid Infrastructure on Red Hat 6, CentOS 6 or similar Linux operating system, and right at the very end of the process, the root.sh script blows up with a really odd error:

[root@localhost oraInventory]# cd /u01/app/oracle/product/11.2.0/db_1
[root@localhost db_1]# ./root.sh
Running Oracle 11g root.sh script...

Continue reading

Oracle 11gR2 2-node RAC on VMware Workstation 9

Last week I was in Dallas, Texas meeting with some customers and reminding myself what sunny weather looks like.

I took the opportunity to hook up with my friend and colleague Lester Wells, an awesome EMC guy based out of Dallas, and who is also an expert in all things Oracle.

Sitting in the Champps bar near to DFW, we decided, as geeks are often want to do, to see if the 11gR2 RAC on VMware Workstation 8, the process for which is shown in this blog, would also work under Lester’s VMware Workstation 9.

Two guys, two laptops, a table close to wall sockets and more than just a few beers later, happily it turns out that everything worked exactly the same under Workstation 9, as it did under Workstation 8.

If you’re running under Workstation 8 you can go ahead and upgrade, it won’t break anything.

If you are wishing to create a RAC under your Workstation 9, the ten part process will work just the same.

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

Time Required: 60 minutes

Class Materials:

  • Oracle 11gR2 Database software

Next we are going to install the Oracle Database 11gR2 software.

This is the last part of our ten-part process of installing a two node RAC on VMware Workstation 8.

To begin, download the zip file from the Oracle software download website and unzip on Orpheus. Make sure you are logged into Orpheus as the oracle user so that oracle owns the unzipped files.

Continue reading

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

Time Required: 60 minutes

Class Materials:

  • Oracle 11gR2 Grid Infrastructure software

Next we are going to install the Oracle Grid Infrastructure software.

The Grid Infrastructure will provide the Cluster software that allows the RAC nodes to communicate, as well as the ASM software to manage the shared disks.

To begin, download the zip file from the Oracle software download website and unzip on Orpheus. Make sure you are logged into Orpheus as the oracle user so that oracle owns the unzipped files.

Continue reading

Setting up a DNS Server on Red Hat Enterprise Linux 5.5

Time Required: 20 minutes

Class Materials:

  • Red Hat Enterprise Linux 5.5 64-bit install media

The following steps show how to install your own DNS server into Red Hat Enterprise Linux 5.5

These steps were developed as part of my ten part blog series on installing your own Oracle 11gR2 RAC cluster on VMWare Workstation 8.

I am re-blogging this as a separate post for the sake of clarity to those not interested in the RAC components.

First, locate and mount your RHEL 5.5 install media.

Continue reading

Oracle 11gR2 RAC – sshUserSetup.sh script to swap ssh keys between hosts

Oracle 11gR2 RAC Grid install includes a useful script to establish and exchange ssh keys between hosts of the cluster.

The process to set up and exchange ssh keys between hosts to facilitate unchallenged logins between trusted users has been well documented already. Oracle simply provides a handy wrapper script over the whole process.

Although the main Grid install process will set up ssh keys, this is a useful verification step to ensure all nodes are reachable, as well as a prerequisite to having the cluvfy script succeed.

Continue reading

Oracle 11gR2 – clean up after failed database install

So your Oracle database install crashes and burns and you are left with a mess to clean up.

Oracle now provides some canned de-install scripts to try to do this for you, but in my experience they are about as useful as a chocolate teapot.

First, let’s verify where Oracle did the install.  Check the oraInst.loc file in the /etc directory:

Continue reading

Oracle 11gR2 RAC install – installer hangs at 65%

During the install of Oracle 11gR2 RAC Grid, the installer hangs at 65%, with no errors on screen or in the log file.

The problem is the Linux firewall interfering with the install.

Before running the runInstaller script, make sure the firewall is disabled on ALL nodes. Connect as root and disable it as follows:

[root@tbird1 ~]# service iptables stop
Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading iptables modules: [  OK  ]

 

To make sure it stays permanently disabled use the following:

[root@tbird1 init.d]# chkconfig iptables off

Oracle 11gR2 RAC Install – cleaning up a failed install on Linux

Despite all the updates to the Oracle RAC installer, it is still an extremely brittle install process that frequently goes pear shaped.

A common problem is pilot-error, and a regular mistake is running the root.sh script on secondary nodes before it has fully completed on the primary node.

Oracle now provides the rootcrs.pl script in the Grid home crs/install directory.

To execute the script, connect to your first node and execute as follows:

Continue reading