final presentation ovm oracle r12 upgrade assessment€¦ · oracle r12 upgrade assessment date:...

28
1 Client Name Final Presentation Oracle R12 Upgrade Assessment Date: 00/00/2011 Power of Oracle RAC OVM Templates

Upload: votram

Post on 10-Apr-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

1

Client Name Final Presentation

Oracle R12 Upgrade Assessment

Date: 00/00/2011

Power of

Oracle RAC OVM

Templates

2

Sai Janakiram Penumuru o Around nine years in Oracle DBA / Oracle Apps DBA /Solution Architect o Senior Offering Lead – Oracle in Hewlett-Packard (hp) o Director of Finance - AIOUG. o Oracle Database 12c Beta Tester o Blog: http://oadba.wordpress.com/

3

Agenda What is Oracle RAC?

What is Virtualization? What is Oracle VM?

OVM Architecture Why run Oracle RAC on OVM? OVM Templates Rapid Application Deployment RAC OVM Templates - Availability RAC OVM Templates - Delivery Mechanism RAC OVM Templates - Features Step for Using The Template RAC on OVM – Deployment Configuration Oracle RAC on OVM Production Deployment Oracle RAC on OVM Non-Production deployment

Useful Links

Next Steps

Q&A

4

Running today’s non-critical business applications in virtualized environments has shown to be efficient and cost saving. Oracle VM is the only software based virtualization solution that is fully supported and certified for Oracle Real Application Clusters.

Background

Support Position for Oracle Products Running on VMware Virtualized Environments [ID 249212.1] Oracle has not certified any of its products on VMware virtualized environments. Oracle Support will assist customers running Oracle products on VMware in the following manner: Oracle will only provide support for issues that either are known to occur on the native OS, or can be demonstrated not to be as a result of running on VMware.

5

What is Oracle RAC

6

Oracle RAC Architecture

• Allows a Shared Database to run on 2 or more nodes • Requires – Shared Disk for Database Files – Public and Private Networks – Common OS version across nodes

7

What is Virtualization

8

9

Virtualization is the creation of a virtual (rather than actual) version of something, such as a hardware platform, operating system (OS), storage device, or network resources

10

11

What is Oracle VM

12

Installed with Oracle VM Server. It communicates with Oracle VM Manager for management of

virtual machines. dom0 - domain 0

A self-contained virtualization environment

designed to provide a lightweight,

secure, server-based platform for running

virtual machines.

Manages virtual machine lifecycle, including creating virtual machines from installation media or from a virtual machine template, deleting, powering off, uploading, deployment and live migration of virtual machines. Manages resources, including ISO files,

virtual machine templates and sharable hard disks.

deploy operating systems and application

software within a supported

virtualization environment.

Oracle VM Architecture

Bare-Metal Server

Is a component that translates the

virtual machine into the underlying hardware. Two Types : Type1 &

Type2

13

Oracle VM Server Features :

High Availability: You can configure resources to restart the guests on another host if the underlying host fails.

Live Migration: You can relocate the guests from one host to another with no loss of service.

Load Balancing: If configured, Oracle VM automatically load balances upon guests startup

Performance: Xen hypervisor is among the fastest forms of virtualization.

Rapid Provisioning: Through the use of cloning and virtual machine templates, Oracle VM can quickly and efficiently create new guest operating system.

VM Templates: Oracle provides wide-range of preconfigured virtual machine templates.

14

Why run Oracle RAC

on Oracle VM?

15

Server Consolidation

Oracle RAC databases with underutilized CPU resources or variable CPU utilization can often benefit from consolidation with other workloads using server virtualization.

Sub-capacity licensing Oracle licensing model requires the Oracle RAC database to be licensed for all CPUs on each server in the cluster. Oracle VM can be configured in such way that it is recognized as a hard partition. Hard partitions allow customers to only license those CPUs used by the partition instead of licensing all CPUs on the physical server.

16

Create a virtual cluster

Oracle VM enables the creation of a virtual cluster on a single physical server. This use case is particularly interesting for product demos, educational settings, and test environments.

Rapid Provisioning

Oracle VM can help reduce the deployment time. Oracle VM supports the ability to create deployment templates. These templates can then be used to rapidly provision new (Oracle RAC) systems.

17

Oracle VM Templates Rapid Application Deployment

18

Name Version Release Date

Oracle Real Application Clusters (RAC) 11g Release 2 (x86 32-bit and 64-bit) on Oracle Linux 6.2

(w/OVMAPI Support)

11.2.0.3.2 JUN2012

Oracle Real Application Clusters (RAC) 11g Release 2 (x86 32-bit and 64-bit) on Oracle Linux 5.8

(w/OVMAPI Support)

11.2.0.2.6 MAY2012

Oracle Real Application Clusters (RAC) 11g Release 2 (x86 32-bit and 64-bit) on Oracle Linux 5.7 11.2.0.3.0 SEP2011

Oracle Real Application Clusters (RAC) 11g Release 2 (x86 32-bit and 64-bit) on Oracle Linux 5.6 11.2.0.2.2 JUL2011

Oracle Real Application Clusters (RAC) 11g Release 2 (x86 32-bit and 64-bit) on Oracle Linux 5.5 11.2.0.1.4 APR2011

Oracle Real Application Clusters (RAC) 11g Release 1 (x86 32-bit and 64-bit) on Oracle Linux 5.5 11.1.0.7.6 MAR2011

Oracle Real Application Clusters (RAC) 11g Release 2 (x86 32-bit and 64-bit) on Oracle Linux 5.4 11.2.0.2.0 SEP2010

Oracle Real Application Clusters (RAC) 11g Release 2 (x86 32-bit and 64-bit) on Oracle Linux 5.4 11.2.0.1.2 AUG2010

Oracle Real Application Clusters (RAC) 11g Release 1 (x86 32-bit and 64-bit) on Oracle Linux 5.4 11.1.0.7.2 MAR2010

RAC OVM Templates - Availability

Download from e-delivery or My Oracle Support Note:1185244.1 Templates are distributed as archive files containing two disk images

Oracle Enterprise Linux 5 U4/U5/U6/U7/U8/ OEL 6.2 system disk image Oracle RAC install disk image (Clusterware, Database, ASM)

All homes updated to latest Bundle / CPU Patch level Entire install is automated, with the user only providing minimal input parameters.

19

RAC OVM Templates - Delivery Mechanism

• 32 bit and 64bit versions • Image files are built with ‘sparse file’ support • Inside each zip are tgz archives with the following files:

– VM Config file (text file) – Opatch lsinventory sample output – README / PDFs for installing – Disk 1 image file: Operating System – Disk 2 image file: Oracle Software ( Includes Clusterware, ASM & RAC)

• Follow the instructions in provided PDF files

20

Oracle Database 11g Rel. 2 + Patch Set two Update#2 (11.2.0.3.2) & Oracle Linux 6 Update 2

For Test For Production

Oracle Database 11g Rel. 2 + Patch Set one Update#6 (11.2.0.2.6) & Oracle Linux 5 Update 8

For Test For Production

Oracle Database 11g Rel. 2 + Patch Set two (11.2.0.3.0) & Oracle Linux 5 Update 7

For Test For Production

Oracle Database 11g Rel. 2 + Patch Set one Update#2 (11.2.0.2.2) & Oracle Linux 5 Update 6

For Test For Production

Oracle Database 11g Rel. 2 + Patch Updates (11.2.0.1.4) & Oracle Linux 5 Update 5

For Test For Production

Oracle Database 11g Rel. 2 + Patch Set one (11.2.0.2.0) & Oracle Linux 5 Update 4

For Test For Production

Oracle Database 11g Rel. 2 + Patch Updates (11.2.0.1.2) & Oracle Linux 5 Update 4

For Test For Production

Template Documentation

21

RAC OVM Templates - Features

• Builds production ready Oracle RAC (Cluster) in about 30 minutes – 11.1: 2-node, then manual add node – 11.2: N-node initial build, automated add/remove nodes • 11.2 Templates allow

– Standard 2-node build (Interview based) – Automatic network setup directly from Dom0 – N-node build, also directly from Dom0 – Run as root, oracle/grid users – Automatic add/remove any number of nodes or instances – Options to modify environment after a build (Create DB, add DBConsole) – Works well & tested with Oracle Linux 6 (official RAC/OL6 certification pending)

22

Using The Template

• Step 1 Download Template 32/64 11.1/11.2.0.1/11.2.0.2/11.2.0.3 • Step 2 Register Template with Oracle VM Manager • Step 3 Create 2+ VMs • For Non Production

– Step 4 Create Shared Disk using OVM Manager • Assigned Shared disk to all Guest VMs using OVM Manager

• For Production Deployment

– Step 4 Identify Physical Shared Disk • Update all Guest VM’s vm.cfg files with location of shared disk • OVM3 can help automate this part via Manager

• Step 5 Boot all VMs • Step 6 Run One Command to Configure and Build RAC database

23

RAC on OVM – Deployment Configuration

• Two types of deployments

– Production Oracle RAC OVM Configurations [Supported] • Each RAC node must be deployed on a separate physical server for production environments • Shared database disks must be on physical disks

– Test Oracle RAC OVM Configurations

• Above requirements are relaxed –Templates support both configurations, each has its own PDF to help with steps

24

Oracle RAC on Oracle VM

Production Deployment

Bare-Metal Server: A bare metal environment is a computer system in which a virtual machine is installed directly on hardware rather than within the host operating system (OS).

Dom0 : The first domain started on boot is called the Dom0 or Domain zero. Dom0 is used to start new domains and also to access the hardware directly.

A virtual machine (VM) is a "completely isolated guest operating system installation within a normal host operating system".

Hypervisor is virtual machine manager (VMM), is one of many hardware virtualization techniques allowing multiple operating systems, termed guests, to run concurrently on a host computer.

25

Oracle RAC on Oracle VM

Non-Production deployment

26

Useful Links

• Oracle RAC OVM Templates download locations – From e-delivery: 11.1.0.7.* & 11.2.0.1.*

• 11.1: http://www.oracle.com/technetwork/database/clustering/overview/rac-092962.html • 11.2: http://www.oracle.com/technetwork/database/clustering/overview/rac-template-11grel2-166623.html – From My Support http://support.oracle.com/ (requires support subscription):

• 11.2.0.2.0 Patch# 10113572 • 11.2.0.2.2 Patch# 11836831 • 11.2.0.3.0 Patch# 12694014

– All described in Note:1185244.1: https://support.oracle.com/oip/faces/secure/km/DocumentDisplay.jspx?id=1185244.1 • Training Video RAC SIG (9-Dec-2010) – http://www.oracleracsig.org/pls/apex/f?p=105:206:::NO Oracle Real Application Clusters (RAC) homepage: http://otn.oracle.com/rac For more information on Oracle Clusterware, visit http://otn.oracle.com/clusterware For more information on Oracle Automatic Storage Management (ASM), visit http://otn.oracle.com/asm Oracle VM home page: http://www.oracle.com/virtualization

27

Next Steps

Download OVM templates from Oracle site and try to

install Test Oracle RAC OVM

28