provisioning of crs / asm / rac with oracle enterprise …€¢oracle dba (release 3 .. 11g) ......

108
OEM Provisioning An Introduction Rob Zoeteweij 09-07-2009 1

Upload: haphuc

Post on 27-May-2018

257 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

OEM ProvisioningAn Introduction

Rob Zoeteweij09-07-2009 1

Page 2: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 2

Agenda

• Introduction

• Concepts

• Framework

• Break

• Out of the Box

• Q & A

Page 3: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 3

Agenda

• Introduction

• Concepts

• Framework

• Break

• Out of the Box

• Q & A

Page 4: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Introduction

• Rob Zoeteweij

• Working with Oracle since 1985

• Oracle DBA (Release 3 .. 11g)

• Development Designer, Forms, Reports,

PL/SQL, Portal…

09-07-2009 4

Page 5: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Introduction

• Last 5 years

– Oracle Consulting – Expert Services

• RAC/ASM – OEM GRID Control

– FreeIT

• Rabobank - Shell

– OEM GRID Control

– 5 Hart

• Trainer OEM GRID Control

09-07-2009 5

Page 6: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Introduction - OEM

• Successor of OEM 9i

– Java Client

• EM Database Control – Local

• EM Application Server Control - Local

• OEM GRID Control 10g

– Current Release 10.2.0.5

– GUI synchronize

• EM DB Control

• EM AS Control

09-07-2009 6

Page 7: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Introduction - OEM

09-07-2009 7

Page 8: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

OEM – Key Features

• System Monitoring

• Groups

• Job System

• Information Publishing

• Compliance Management

09-07-2009 8

Page 9: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

OEM – Targets

• Databases

• Middleware

• Hosts & Third Party

• Oracle Beehive

• Virtualization

• Many non Oracle

09-07-2009 9

Page 10: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

System Monitoring

09-07-2009 10

Page 11: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Database Management

09-07-2009 11

Page 12: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Performance Monitoring

09-07-2009 12

Page 13: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Service Management

09-07-2009 13

Page 14: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Service Management

09-07-2009 14

Page 15: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Change Management

09-07-2009 15

Page 16: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Change Management

09-07-2009 16

Page 17: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Middleware Management

09-07-2009 17

Page 18: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Host Management

09-07-2009 18

Page 19: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Host Management

09-07-2009 19

Page 20: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

System Management

09-07-2009 20

Page 21: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Virtualization Management

09-07-2009 21

Page 22: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

and…

Provisioning

09-07-2009 22

Page 23: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 23

Introduction - Provisioning

• In general, provisioning means "providing"

or making something available. The term

is used in a variety of contexts in IT. For

example, in grid computing, to provision is

to activate a grid component, such as a

server, array, or switch, so that it is

available for use...

Internet – What is?

Page 24: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 24

Introduction - Provisioning

• Management perspective:

– Reduction of complexity

• Task automation

• Every time exact same sequence of actions…

• Standardization

– Reduction of costs

• DBO

• Less training

– Time to market

Page 25: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 25

Introduction - Provisioning

– Time to market

• Less time needed to have infrastructure available

• Have a fully configured database cluster

– In hours instead of days / weeks

• Managers just love it … ;-)

– Increase of quality

• Availability

Page 26: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 26

Introduction - Provisioning

• Another one for Management...

– Oracle Enterprise Manager Delivers 124%

ROI

– An independent multi-customer study

conducted by Forrester Consulting reveals

customers gain significant benefits and cost

savings from OEM Configuration

Management Pack and OEM Provisioning

and Patch Automation Pack…

Page 27: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 27

Introduction - Provisioning

• The sample organization in Forrester

Consulting's study shows (over 3 years):

– Positive 124% ($4,916,781) return on

investment (ROI)

– 20% ($862,500) reduction in capital spending

on servers

– Business productivity savings of $2,555,556

from a reduction in system downtime

avoidance and a corresponding increase in

availability.

Page 29: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 29

Agenda

• Introduction

• Concepts

• Framework

• Break

• Out of the Box

• Q & A

Page 30: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Concepts

09-07-2009 30

Page 31: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Concepts

09-07-2009 31

Page 32: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Concepts – Golden Image

09-07-2009 32

• Baselines

– Standards

– Pre-cooked

– Reusability

– Examples

• CRS 11.1.0.7 – Baseline Clusterware

• ASM 11.1.0.7 – Baseline ASM

• DB 10.2.0.4 – Baseline Database

Page 33: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Concepts – Software Library

09-07-2009 33

Page 34: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 34

Concepts – Software Library

• Components– Files

– Golden Images

• Oracle Clones, CRS, ASM, DB....

– Baselines

– (Ingredients)

• Directives– Logic

• Scripts: Perl - shell

– What to do with … (Component)

– (Recipes)

Page 35: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 35

Concepts – Software Library

• Networks– Network definitions - BMP

• Images– Bundle of Components, Directives

– Used for BMP

• Suites– Collection of heterogeneous components,

grouped together

– Example: Oracle Collaboration Suite (database, application server, Web server, and an Identity server )

Page 36: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 36

Concepts – Software Library

• Suite Instances– Group of Hardware Servers that will run

each of these components (Suites)

• Assignments

– Provisioning of an Image or a Suite of Images on a Server

• Hardware

– Hardware specification

Page 37: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 37

Concepts – Software Library

• Cluster

– Specification of Hardware Servers in a Cluster

– BMP

• Administration

– Configuration of Software Library

Page 38: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 38

Concepts – Software Library

• Software Library

– Partially in Repository

• MGMT_PAF…

• MGMT_SWLIB…

Page 39: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 39

Concepts – Software Library

• Software Library

– Partially on OMS file system

• At configuration time

• If multiple OMS’s, shared file system

Page 40: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 40

Concepts – Software Library

Page 41: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 41

Agenda

• Introduction

• Concepts

• Framework

• Break

• Out of the Box

• Q & A

Page 42: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Framework

09-07-2009 42

Page 43: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Framework

09-07-2009 43

Page 44: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 44

Framework

• Deployment Procedures– Constructed out of

• Components

• Directives

– Procedure Steps

– Error logic

• What to do in case of error…– Stop on Error

– Continue on Error

– Skip Target

Page 45: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 45

Framework

Page 46: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 46

Framework

• Deployment Procedures

– Type 1

• RAC Provisioning Procedures

• Static GUI

– Type 2

• Database Patching Procedure

• Customizable GUI

Page 47: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 47

Procedure - Status

Page 48: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 48

Agenda

• Introduction

• Concepts

• Framework

• Break

• Out of the Box

• Q & A

Page 49: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 49

Agenda

• Introduction

• Concepts

• Framework

• Break

• Out of the Box

• Q & A

Page 50: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 50

Out of the Box

• Several Oracle delivered Procedures

– Database provisioning

– Application Server provisioning

– RAC Provisioning

– Patching

Page 51: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 51

Out of the Box

Page 52: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 52

Out of the Box

Page 53: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 53

Out of the Box

• All together

– AS Provisioning – 4

– RAC Provisioning – 4

– Patching Solaris Hosts – 1

– Patching Windows Hosts – 1

– Patching Linux Hosts -1

– Patch Pre-Requisites – 4

– BPEL Process Provisioning – 1

– Linux Staging Server – Setup – 1

– Database Provisioning – 2

Page 54: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 54

Out of the Box

– Forms and Reports Provisioning – 1

– Coherence Node Provisioning – 1

– Patch Oracle Software – 6

– Virtualization Provisioning – 11

– Oracle Service Bus Resource Provisioning – 1

Page 55: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 55

Provisioning - CRS / ASM / DB

• After Server is provisioned with OS and

Agent

– Bare Metal Provisioning (Linux)

• Provisioning of

– Clusterware software + configuration

– ASM software + ASM Instance creation

– DB software (Creation of starter database

provided)

Page 56: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 56

Page 57: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 57

Provisioning - CRS / ASM / DB

• Using Clones / Golden Images from SW

Library:

– To standardize

– To work with Baselines

– As part of Release Management

Page 58: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 58

Provisioning - CRS / ASM / DB

• Baseline Examples:

– Baseline 1

• CRS 11.1.0.7

• ASM 11.1.0.7

• DB 10.2.0.4

– Baseline 2

• CRS 11.1.0.7

• ASM 11.1.0.7

• DB 11.1.0.7

Page 59: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

5909-07-2009

Page 60: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

6009-07-2009

Page 61: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

6109-07-2009

Page 62: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Out of Box – DP Procedure

• We don’t use Create Starter Database

(See next slide)

• We use a separate DP Procedure for this

– Create RAC Database on configured Stack

6209-07-2009

Page 63: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

6309-07-2009

Page 64: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

• ASM Disk String

– No use of wildcards (OEM 10.2.0.4)

• Fixed in OEM 10.2.0.5

6409-07-2009

Page 65: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

6509-07-2009

Page 66: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

6609-07-2009

Page 67: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

6709-07-2009

Page 68: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

6809-07-2009

Page 69: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

6909-07-2009

Page 70: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

7009-07-2009

Page 71: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

• Out of Box

– Single Instance Database creation

– No RAC Database creation

• OK, included in Oracle Clusterware / RAC

Provisioning

• Not a usable scenario

• Need to create your own

09-07-2009 71

Page 72: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

• Create a custom Deployment Procedure

– Based on Patching Oracle Database

• Type 2

09-07-2009 72

Page 73: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

• Possible Use Case

– Create RAC Database

• 1..n Instances on 1..n nodes in Cluster

– Create entries in OMS

– Include in monitoring Groups

– Include in Role

– Create RAC Services

– Register entries in OID

• Database, Instances, RAC Services

09-07-2009 73

Page 74: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

• Possible Use Case (Continue)

– Application of Monitoring Templates

• No need to in 10.2.0.5 (Default Templates)

– Configure Tape Backup

– Perform 1st Backup

– Etc.

09-07-2009 74

Page 75: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 75

Page 76: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

09-07-2009 76

Page 77: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

09-07-2009 77

Page 78: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

09-07-2009 78

Page 79: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

09-07-2009 79

Page 80: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

09-07-2009 80

Page 81: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

09-07-2009 81

Page 82: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

09-07-2009 82

Page 83: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

09-07-2009 83

Page 84: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Create RAC Database

09-07-2009 84

Page 85: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 85

Page 86: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 86

Page 87: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

• No Out of Box procedure available

• So, need to create your own

• Based on Patching Oracle Database

procedure

– Type 2

09-07-2009 87

Page 88: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

• Remove entries from OMS

– EMCLI

• Remove the database

– DBCA

• Remove files

– $ORACLE_HOME/dbs

• Remove entry from /etc/oratab

09-07-2009 88

Page 89: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

• Remove files from ASM (DBCA won’t

delete all)

• Etc.

09-07-2009 89

Page 90: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

09-07-2009 90

Page 91: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

09-07-2009 91

Page 92: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

09-07-2009 92

Page 93: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

09-07-2009 93

Page 94: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

09-07-2009 94

Page 95: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

09-07-2009 95

Page 96: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

09-07-2009 96

Page 97: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Remove RAC Database

09-07-2009 97

Page 98: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Other useable procedures

09-07-2009 98

• One Click Extend Cluster Database

– Rather have Extend Cluster

– Need to use dummy Database for this

– Include 1..n servers in cluster

– Installs

• CRS + Re-configuration

• ASM + Instance creation

• DB + Instance creation (dummy)

Page 99: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Other useable procedures

09-07-2009 99

• Delete/Scale down Oracle RAC

– Removes instance

– Removes server from cluster

Page 100: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Wrap up

• Out of Box Procedures

– Can do the job in some Use Cases

– A good base to start customizing

• Customize Procedures

– Based on Patching Oracle Database

• Most flexible but still limitations

– Anything can be done

09-07-2009 100

Page 101: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Wrap up

• Perl

– Multi Platform

– Need to train your staff

• Standardization

– Baselines

• Task automation

09-07-2009 101

Page 102: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Wrap up

• Reduction of

– Costs

– Complexity

– Time to Market

09-07-2009 102

Page 103: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Wrap up

• Start thinking about:

– Training

– Organization

– Lifecycle

– Change of DBA Job description…?

09-07-2009 103

Page 104: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Wrap up

• Easy to start working with?

– Working with 10.2.0.4?

• Start upgrading to 10.2.0.5

– 10.2.0.5

• Major improvements

– Documentation

• Still a problem

• But improving!

09-07-2009 104

Page 105: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Wrap up

• Easy to start working with? (Continued)

– Start getting Out of Box procedures to work

• Should not be a problem

– Next, start doing customization

– Take a good training

• 5-Hart

• Oracle University

• Zoeteweij Consulting ;-)

– …

09-07-2009 105

Page 106: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Provisioning – Wrap up

• OTN

– http://www.oracle.com/technology/products/oe

m/mgmt_solutions/provisioning.html

• Linkedin.com

– Group OEM GRID Control

• http://www.linkedin.com/groups?gid=1776007&trk=

hb_side_g

[email protected]

• OOW 200909-07-2009 106

Page 107: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

09-07-2009 107

Agenda

• Introduction

• Concepts

• Framework

• Out of the Box

• Q & A

Page 108: Provisioning of CRS / ASM / RAC with Oracle Enterprise …€¢Oracle DBA (Release 3 .. 11g) ... •Less time needed to have infrastructure available ... –Based on Patching Oracle

Q & A

09-07-2009 108