Oracle 11gR2 11.2.0.3 2-node RAC on Windows 2008 on VMware Workstation 9 – Part I

Time Required: 30 minutes

Class Materials:

  • 50GB of free disk
  • An operational VMware Workstation 9 or later install
  • Windows Server 2008R2 64-bit install media

To create our Oracle RAC database on Windows on VMware Workstation 9, we first need to create a Windows VM.

I am using an ISO image of Windows Server 2008R2 that I downloaded from MSDN. An MSDN subscription offers developers the opportunity to test out different technologies from Micorosft for development purposes.

Continue reading →

Silent Install of Oracle 11.2.0.3 on Solaris 11 x86

In this blog post, we are going to install Oracle 11.2.0.3 64-bit on Solaris 11 x86 using VMWare Workstation 9.

Solaris represents a popular alternative to Linux for many Oracle shops, especially since it offers some familiarity for System Admins and DBAs who were previously running Oracle on SPARC.

Continue reading →

Adding VNC Server to Red Hat Enterprise Linux 6.3

Time Required: 10 minutes

Class Materials:

  • Red Hat Enterprise Linux 6.3 64-bit install media

The following steps show how to install a VNC server on Red Hat Enterprise Linux 6.3.

VNC provides a remote desktop solution, allowing users to connect to the Linux system remotely and being able to use the native Linux desktop.

In many Linux distributions, a VNC server is installed by default, but with Red Hat Enterprise Linux 6.x the package must be manually added.

Note: Although the test system for this blog was a RHEL 6.3 system, these steps should work with any RHEL 6.0 or CentOS 6.0 and above Linux system.

First, locate and mount your RHEL 6.3 install media.

Continue reading →

“grid infrastructure or clusterware home not found” when using DBCA on Oracle 11gR2 64-bit on Windows 2008

When using the DBCA tool under Oracle 11gR2 64-bit on Windows 2008, and trying to specify ASM as the file storage, the following error is encountered:

“grid infrastructure or clusterware home not found”

The DBCA tool must be run as Administrator, even if the account you are using is already an Administrator privileged account.

If you launch DBCA from the command line, the CMD executable must be launched with the Run As Administrator option.

 

Installing Oracle Enterprise Manager 12c 12.1.0.2 on CentOS 6.3 on VMware Workstation 8

In this blog post, we are going to install Oracle Enterprise Manager 12c (12.1.0.2) on CentOS 6.3 64-bit using VMware Workstation 8.

Oracle Enterprise Manager (OEM) has been around since the 8.0 days. What started out as a fairly light-weight client-server GUI tool for managing database functions has morphed into a complex and brittle mess of poor interface design and sloppy coding.

Although 12c is a step up from the god-awful OEM 11g, the hapless Oracle DBA is still left with a muddled mess of an interface and a tool that is likely to cause more headaches than it solves.

Continue reading →

Renaming a Linux Host running Oracle 11gR2

In this blog post, we are going to rename the Linux host name of an existing Oracle 11gR2 system. We can also use this technique to change the IP address of our host.

Host renames are a useful technique in virtualized environments, where vCenter may be used to clone entire hosts including the Oracle databases installed on them. This technique will also work with physical hosts should you wish to simply rename an existing Oracle host.

Continue reading →

Silent Install of Oracle 11.2.0.3 on RedHat 6.0.

In this blog post, we are going to silently install Oracle 11.2.0.3 64-bit on RedHat 6.0 using VMWare Workstation 8.

This install demonstration is going to use the silent install mode for all components. At least within the guest VM, at no point will we use a GUI for the install. We will need to use the VMWare GUI to create the VM, install the OS and add disks.

With the increasing use of VMWare, many organizations are looking to automate the deployment of Oracle database environments for development, test or validation. And increasingly DBAs are being tasked with automating the provisioning process.

Continue reading →

Error while detecting Oracle Grid Infrastructure. ASMCA needs Oracle Grid Infrastructure to configure ASM

You installed the Grid Infrastructure using the silent software-only option:

./runInstaller -silent -force -responseFile $HOME/grid.rsp

 
When you try to create the ASM instance and a diskgroup, the asmca command fails with:

Error while detecting Oracle Grid Infrastructure. 
ASMCA needs Oracle Grid Infrastructure to configure ASM.

 
This is because the CRS components still need to be configured, you can do this as the root user as follows:

[root@localhost ~]# $ORACLE_HOME/perl/bin/perl -I \
  $ORACLE_HOME/perl/lib -I \
  $ORACLE_HOME/crs/install $ORACLE_HOME/crs/install/roothas.pl
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE 
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE 
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node localhost successfully pinned.
Adding Clusterware entries to upstart

localhost     2013/01/10 15:06:48     /u01/app/11.2.0/grid/cdata/localhost/backup_20130110_150648.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server

 
Once this is done, the asmca command can be run successfully.

PRVF-5507 during Oracle 11.2.0.3 install

During the install of Oracle 11.2.0.3, the installer pre-requisite check fails on the NTP daemon configuration.

Network Time Protocol (NTP) – This task verifies cluster time synchronization on clusters that use Network Time Protocol (NTP). 
Error: – PRVF-5507 : NTP daemon or service is not running on any node but NTP configuration file exists on the following node(s): localhost  –
Cause:  The configuration file was found on at least one node though no NTP daemon or service was running.  –
Action:  If you plan to use CTSS for time synchronization then NTP configuration must be uninstalled on all nodes of the cluster.

To address this, remove the /etc/ntp.conf file.  This will allow the use of CTSS for time synchronization.

[root@localhost ~]# cd /etc
[root@localhost etc]# mv ntp.conf ntp.conf.bak

Java HotSpot Error – [ld-linux-x86-64.so.2+0x14d70] on Oracle Install – RedHat 6.0 on VMWare

While trying to install Oracle on a Red Hat 6.0 system, running on VMWare, you might encounter the following error:

# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00007fd0b80d0d70, pid=2951, tid=140533187077904
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_30-b03 mixed mode)
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0x14d70]
#
# An error report file with more information is saved as hs_err_pid2951.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

To resolve this problem, execute the following before launching runInstaller

$ export LD_BIND_NOW=1

 
The installer will run normally.

This problem has been reported with Oracle 11.2.0.1 and Oracle 11.2.0.3