SlideShare a Scribd company logo
1 of 28
Download to read offline
ASTCORPORATION
RECOGNIZED.SPECIALIZED. PREFERRED.
RAC
Thinking Outside The Virtual Box
Mohamed Sadek AST Corporation
March 12, 2015
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
 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
 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
 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
 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
 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
8
Introduction – Few Things to Consider
9
 Database 11gR2 11.2.0.3 Software
www.oracle.com/technetwork/database/enterprise-
edition/downloads / Database
 Grid Infrastructure 11gR2
www.oracle.com/technetwork/database/database-
technologies/clusterware/downloads / Grid Infrastructure
 Virtual Box
www.oracle.com/technetwork/server-
storage/virtualbox/downloads linux 64-bit
 Linux 6.3 86x-64x bit
edelivery.oracle.com/EPD
Software Download
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
11
Virtual Box Installation & Setup
12
Virtual Box Installation & Setup
13
Operating System Installation
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
 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
 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
 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
 Now ready for installing Grid:
First Installing Grid Infrastructure
19
First Installing Grid Infrastructure
20
 Done
First Installing Grid Infrastructure
21
 Invoking the command CRSCTL :
 ./crsctl check cluster –all
**************************************************************
ol6-112-rac1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
ol6-112-rac2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
Testing Grid Environment
22
 Now ready for installing RAC database
Finally Installing Database
23
Finally Installing Database
24
 Done
Finally Installing Database
25
Testing Grid Environment
 Invoking Command SRVCTL :
 - srvctl config database -d database
Database unique name: RAC
Database name: RAC
Oracle home: /u01/app/oracle/product/11.2.0.3/db_1
Oracle user: oracle
Spfile: +DATA/RAC/spfileRAC.ora
Domain: localdomain
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: RAC
Database instances: RAC2,RAC1
Disk Groups: DATA
Type: RAC
Database is administrator managed
26
 Upgrading DB 11gR2 11.2.0.3 to
11.2.0.4
 Patching 11.2.0.4 with the latest PSU
patches January 2015.
Patching & Upgrading Database
27
Question & Answer
28
CONTACTUS.WHERE WE ARE & HOW TO CONTACT US
WWW.ASTCORPORATION.COM
OUR WEBSITE
E-MAIL ADDRESS
MSADEK@ASTCORPORATION.COM
(888) 278-0002
TELEPHONE #

More Related Content

What's hot

RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBANikhil Kumar
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptSantosh Kangane
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Ludovico Caldara
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard Fuad Arshad
 
Cloud Consolidation with Oracle (RAC) - How much is too much?
Cloud Consolidation with Oracle (RAC) - How much is too much?Cloud Consolidation with Oracle (RAC) - How much is too much?
Cloud Consolidation with Oracle (RAC) - How much is too much?Markus Michalewicz
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewMarkus Michalewicz
 
Oracle flex asm & flex cluster
Oracle flex asm & flex clusterOracle flex asm & flex cluster
Oracle flex asm & flex clusterGhanshyam Khetan
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionOracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionMarkus Michalewicz
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cTrivadis
 
Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewMarkus Michalewicz
 
Exadata 12c New Features RMOUG
Exadata 12c New Features RMOUGExadata 12c New Features RMOUG
Exadata 12c New Features RMOUGFuad Arshad
 
Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13Markus Michalewicz
 
Unleash oracle 12c performance with cisco ucs
Unleash oracle 12c performance with cisco ucsUnleash oracle 12c performance with cisco ucs
Unleash oracle 12c performance with cisco ucssolarisyougood
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsMarkus Michalewicz
 
Oracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client ConnectionsOracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client ConnectionsMarkus Michalewicz
 
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsMarkus Michalewicz
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slidesMohamed Farouk
 
Flex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterFlex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterMaaz Anjum
 
Oracle Database Appliance - RAC in a box Some strings attached
Oracle Database Appliance - RAC in a box Some strings attached Oracle Database Appliance - RAC in a box Some strings attached
Oracle Database Appliance - RAC in a box Some strings attached Fuad Arshad
 

What's hot (20)

RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBA
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard
 
Cloud Consolidation with Oracle (RAC) - How much is too much?
Cloud Consolidation with Oracle (RAC) - How much is too much?Cloud Consolidation with Oracle (RAC) - How much is too much?
Cloud Consolidation with Oracle (RAC) - How much is too much?
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
 
Oracle flex asm & flex cluster
Oracle flex asm & flex clusterOracle flex asm & flex cluster
Oracle flex asm & flex cluster
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionOracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12c
 
Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - Overview
 
Exadata 12c New Features RMOUG
Exadata 12c New Features RMOUGExadata 12c New Features RMOUG
Exadata 12c New Features RMOUG
 
Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13
 
Unleash oracle 12c performance with cisco ucs
Unleash oracle 12c performance with cisco ucsUnleash oracle 12c performance with cisco ucs
Unleash oracle 12c performance with cisco ucs
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 Internals
 
Oracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client ConnectionsOracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client Connections
 
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
Flex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterFlex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex Cluster
 
Oracle Database Appliance - RAC in a box Some strings attached
Oracle Database Appliance - RAC in a box Some strings attached Oracle Database Appliance - RAC in a box Some strings attached
Oracle Database Appliance - RAC in a box Some strings attached
 

Similar to Presentation Template - NCOAUG Conference Presentation - 16 9

Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Markus Michalewicz
 
Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )varasteh65
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesLudovico Caldara
 
Sfrac on oracle_vm_with_npiv_whitepaper_sol
Sfrac on oracle_vm_with_npiv_whitepaper_solSfrac on oracle_vm_with_npiv_whitepaper_sol
Sfrac on oracle_vm_with_npiv_whitepaper_solNovonil Choudhuri
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationMarkus Michalewicz
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响maclean liu
 
Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...
Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...
Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...Mirza Asim
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACSandesh Rao
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ssAnil Nair
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalAjith Narayanan
 
OTN Tour 2014: Rac 11g vs 12c
OTN Tour 2014: Rac 11g vs 12cOTN Tour 2014: Rac 11g vs 12c
OTN Tour 2014: Rac 11g vs 12cDeiby Gómez
 
Dell linux cluster sap
Dell linux cluster sapDell linux cluster sap
Dell linux cluster sapPrakash Kolli
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoMarkus Michalewicz
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633Arush Jain
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Lindsey Aitchison
 

Similar to Presentation Template - NCOAUG Conference Presentation - 16 9 (20)

Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013
 
Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
Sfrac on oracle_vm_with_npiv_whitepaper_sol
Sfrac on oracle_vm_with_npiv_whitepaper_solSfrac on oracle_vm_with_npiv_whitepaper_sol
Sfrac on oracle_vm_with_npiv_whitepaper_sol
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
 
Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...
Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...
Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 final
 
OTN Tour 2014: Rac 11g vs 12c
OTN Tour 2014: Rac 11g vs 12cOTN Tour 2014: Rac 11g vs 12c
OTN Tour 2014: Rac 11g vs 12c
 
Dell linux cluster sap
Dell linux cluster sapDell linux cluster sap
Dell linux cluster sap
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
 
Oracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 UpdateOracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 Update
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
 

Presentation Template - NCOAUG Conference Presentation - 16 9

  • 1. ASTCORPORATION RECOGNIZED.SPECIALIZED. PREFERRED. RAC Thinking Outside The Virtual Box Mohamed Sadek AST Corporation March 12, 2015
  • 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
  • 8. 8 Introduction – Few Things to Consider
  • 9. 9  Database 11gR2 11.2.0.3 Software www.oracle.com/technetwork/database/enterprise- edition/downloads / Database  Grid Infrastructure 11gR2 www.oracle.com/technetwork/database/database- technologies/clusterware/downloads / Grid Infrastructure  Virtual Box www.oracle.com/technetwork/server- storage/virtualbox/downloads linux 64-bit  Linux 6.3 86x-64x bit edelivery.oracle.com/EPD Software Download
  • 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
  • 19. 19 First Installing Grid Infrastructure
  • 20. 20  Done First Installing Grid Infrastructure
  • 21. 21  Invoking the command CRSCTL :  ./crsctl check cluster –all ************************************************************** ol6-112-rac1: CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online ************************************************************** ol6-112-rac2: CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online Testing Grid Environment
  • 22. 22  Now ready for installing RAC database Finally Installing Database
  • 25. 25 Testing Grid Environment  Invoking Command SRVCTL :  - srvctl config database -d database Database unique name: RAC Database name: RAC Oracle home: /u01/app/oracle/product/11.2.0.3/db_1 Oracle user: oracle Spfile: +DATA/RAC/spfileRAC.ora Domain: localdomain Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Server pools: RAC Database instances: RAC2,RAC1 Disk Groups: DATA Type: RAC Database is administrator managed
  • 26. 26  Upgrading DB 11gR2 11.2.0.3 to 11.2.0.4  Patching 11.2.0.4 with the latest PSU patches January 2015. Patching & Upgrading Database
  • 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 #