2. 2
Specialized. Recognized. Preferred.
3 Time Oracle Excellence
Award Winner
2014 Chicago Tribune
Top 100 Workplaces
2012, 2013, 2014 Inc. 5000
Fastest Growing Companies
2012 Best & Brightest
Companies to Work For
2011 Inc. Top Small
Company Workplaces
OUR SERVICES ORACLE PARTNERSHIP ORACLE SPECIALIZED
Enterprise Resource Planning
Business Intelligence
EPM-Hyperion
Middleware
CRM
Managed Services
Education / Oracle University
Project Advisory Services
Oracle Platinum Partner
Pillar Partner
• SOA
• Business Intelligence
• Hyperion
Oracle University Approved Education Center
Oracle University Reseller
Oracle Accelerator Implementer
Oracle Managed Cloud Services Implementer
Oracle Cloud Marketplace
Small Business Strategy Council
EBS Financial Management
EBS Human Capital Management
EBS Supply Chain Management
BI Applications
BI Foundation
Service Oriented Architecture
Public Sector
Utilities
Education & Research
Application Development
Framework 11g
WebCenter Content 11g
Access Management Suite Plus 11g
Hyperion Planning 11
Database 11g
Hyperion Financial Management 11
3. 3
Introduction
• Few Things to Consider
Download Software
Virtual Box Installation & Setup
Operating System Installation
• Preparing Environment
o Oracle Prerequisites
Network Setup
Create Shared Disks
Cloning Process Second Node
First Installing Grid Infrastructure on Both Nodes
Testing Grid Infrastructure – CRSCRTL command
Finally Installing Database on Both Nodes
Testing Grid Infrastructure – SRVCTL command
Patching & Upgrading Database
Check the status of RAC system
Question’s and Answer’s
Introduction / Agenda
4. 4
One of the biggest obstacles preventing people from setting up RAC
environments is the requirement for shared storage. In a production
environment, shared storage is often provided by a SAN or high-end
NAS device, but both of these options are very expensive.
Running today’s non-critical business applications in virtualized
environments has shown to be efficient and cost saving. More
sophisticated or highly available applications on the other hand
were most likely incompatible with commonly used software based
virtualization solutions.
Installing RAC system always was time consuming and hectic for a
DBA, In a production environment average time for completion is 12
– 18 hours of continuous work and observation of the process.
Estimated time in out example in a Non-Production environment is 4
hours.
Introduction
5. 5
The combination of Oracle VBox and Oracle RAC
enables a better server consolidation (RAC databases
with underutilized CPU resources or peaky CPU utilization
can often benefit from consolidation with other
workloads using server virtualization) sub-capacity
licensing, and rapid provisioning.
RAC on Ovbox also supports the creation of non-
production virtual clusters on a single physical server for
product demos, educational settings and test
environments. This deployment combination permits
dynamic changes to pre-configured database
resources for agile responses to changing service level
requirements common in consolidated environments.
Introduction
6. 6
The finished system includes the host operating system, two guest
operating systems, two sets of Oracle Grid Infrastructure (Cluster ware
+ ASM) and two Database instances all on a single server. As you can
imagine, this requires a significant amount of disk space, CPU and
memory.
Following on from the last point, the VMs will each need at least 3G
of RAM, preferably 4G if you don't want the VMs to swap like crazy.
As you can see, 11gR2 RAC requires much more memory than 11gR1
RAC.
This procedure provides a bare bones installation to get the RAC
working. There is no redundancy in the Grid Infrastructure installation
or the ASM installation. To add this, simply create double the amount
of shared disks and select the "Normal" redundancy option when it is
offered. Of course, this will take more disk space.
Introduction – Few Things to Consider
7. 7
The Single Client Access Name (SCAN) should be
defined in the DNS or GNS and round-robin between
one of 3 addresses, which are on the same subnet as the
public and virtual IPs. Prior to 11.2.0.2 it could be defined
as a single IP address in the "/etc/hosts" file, which is
wrong and will cause the cluster verification to fail.
The virtual machines can be limited to of swap, which
causes a prerequisite check failure, but doesn't prevent
the installation working. If you want to avoid this add 4+
Giga.
This article uses the 64-bit versions of Oracle Linux, Oracle
11g Release 2, Grid Infrastructure 11gR2.
Introduction – Few Things to Consider
10. 10
Now we must define the two virtual RAC nodes. We can save
time by defining one VM, then cloning it when it is installed.
Virtual Box Installation & Setup
14. 14
Preparing Environment
• Oracle Prerequisites
-Oracle recommend using oracle-rdbms-server-11gR2-preinstall
RPM, it will install all the prerequisites required for oracle database
and grid infrastructure.
-Oracle recommend updating YUM for additional packages and
security patches.
-Patching & Upgrading DB 11.2.0.3 to 11.2.0.4, latest security patch
also recommend after installation is complete.
-We need to define Oracle user and Grid user in the same group.
-We need create SAN storage , using Open filler(open source) but
you can use Virtual Box media to create them depending on your
need and requirement.
Operating System Installation
15. 15
If you are not using DNS, the "/etc/hosts" file
must contain all the information necessary for
both nodes and the san storage plus the
public and private addresses.
Even with the SCAN address defined in the
hosts file, it still needs to be defined on the
DNS to round-robin between 3 addresses on
the same subnet as the public IPS.
Network Setup
16. 16
Shutdown Node 1 for Preparing the shared disks.
On the host server, create 4 sharable virtual disks and
associate them as virtual media using the following
commands. You can pick a different location, but make
sure they are outside the existing VM directory.
-VBoxManage createhd --filename asm1.vdi --size 5120 --
format VDI --variant Fixed.
-VBoxManage storage attach rac1 --storagectl "SATA" --
port 1 --device 0 --type hdd
--medium asm1.vdi --mtype shareable.
-VBoxManage modifyhd asm1.vdi --type shareable.
Creating Shared Disk
17. 17
Cloning Node 1
-Shutdown Node 1
Using command line
-VBoxManage clonehd /u01/VirtualBox/rac1/rac1.vdi
/u03/VirtualBox/rac2/rac2.vdi.
Attach the shared disks
-VBoxManage storage attach rac2 --storagectl "SATA" --port 1 --
device 0 --type hdd
--medium asm1.vdi --mtype shareable
Changing the IP address for Node 2 and Host Name
Ping Node 1 and Node 2 to check connectivity.
Configure SSH connectivity between nodes using SSH utility that
comes with oracle Grid Infrastructure software.
Run runcluvfy.sh utility for RAC verification recommended by Oracle.
Cloning Process Second Node
18. 18
Now ready for installing Grid:
First Installing Grid Infrastructure
28. 28
CONTACTUS.WHERE WE ARE & HOW TO CONTACT US
WWW.ASTCORPORATION.COM
OUR WEBSITE
E-MAIL ADDRESS
MSADEK@ASTCORPORATION.COM
(888) 278-0002
TELEPHONE #