oracle 11g r2 live part 2

Post on 21-Jun-2015

936 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

This was presented at Oracle's 11g R2 Live seminars in June. It allowed customers and partners to view the benefits of implementing or upgrading to Oracle's latest version of it's database and Advanced Technology products such as Real Application Clusters, Real Application Testing and Enteprise Manager.

TRANSCRIPT

Morning Break

11g Live Infrastructure

LIVESNAP

LIVE

LIVESTBY

OEM 11g GC

Real Application Testing - Replay

Database Replay

Select Database (live)

Select “Software and Support”

Select “Database Replay”

Select “Replay Workload”

Select “Use an existing

workload”

Click “Next”

Pull down the “Directory

Object”

Select “Rat_Replay”

Click “Next”

Select “Use the default

options”

Click “Next”

Click “Next”

Select “Add Replay Client

Hosts”

Select “onode3.au.oracle.com”

Click “Select”

Select “No” in the Configured

column

Database User Name :- system

Database password :- oracle

Client Oracle Home :- /u01/app/oracle/product/11.2.0/db

Client Replay Directory :- /home/oracle/rat_replay

Column Configured is “Yes”

Click “Next”

Wait until “Actual Number of Client

Connections” = 1

Click “Next”

Click “Submit”

Select “Targets”

Select “Databases”

Click on “livesnap” database

Click on “Workload Replay On”

Workload Replaying – Click on

“Refresh”

Covert Snapshot Standby Back to

Physical

Select Database (live)

Select Availability

Select “Setup and Manage”

Select

“livesnap”

Click “Convert”

Click

“Yes”

Converting from Snapshot

Standby to Physical StandbyStandby to Physical Standby

Converted back to Physical

Standby

Active Data Guard Report

OffloadOffload

Select Database (live)

Select Availability

Select “Setup and Manage”

Select Real-time Query

“Disabled”

Select “Enable Real-time

Query”

Then “Apply”

Property changes have been

applied

Click on the “Data Guard” link

Active Data Guard enabled

Two Management Styles

for Oracle RAC

• Administrator Managed

– Specifically define where the database should run with a list

of servers

– Define where services should run within the database

• Policy Managed

– Define resource requirements of workload

– Enough instances are started to support workload

requirements

– Goal: To remove hard coding of a service to a specific

instance or node

Server Pool

• Logical division of the cluster into pools of servers

• Applications (including databases) run in one or more

server pools

• Managed by crsctl (applications), srvctl (Oracle)

• Defined by 3 attributes (min, max, importance) or a

defined list of nodesdefined list of nodes

– Min- minimum number of servers (default 0)

– Max – maximum number of servers (default 0 or -1)

– Importance – 0 (least important) to 1000

Server Pool Example – Instance Viewpublic network

cluster

interconnect

VIP1

Scan_LSNR

Oracle Clusterware

ASM

Listener

instance 1

Oracle Clusterware

instance 1

ASM

Listener

Scan_LSNR

Oracle Clusterware

instance 2

ASM

Listener

VIP4VIP3

Scan_LSNR

Redo / Archive logs all instances

shared storage

Database / Control files

OCR and Voting Disks

Managed by ASM

Operating System Operating System

Oracle Clusterware

Operating System

backoffice frontoffice

Min 1 Max 2 Imp 3 Min 1 Max 2 Imp 4

Cluster Managed Services with Server

Pools

• One to one mapping

– (ie. a service can only run in one server pool )

• Services are • Services are

– uniform (run on all instances in the pool)

– singleton (runs on only one instance in the pool)

Front_Office

Min 1 Max EC Imp 5

Back_Office

Min 1

Max EC

Imp 2

1 2 3OLTP OLTP REPORTS

Back_Office

Min 1 Max EC Imp 5

Generic

1 2 3REPORTS REPORTS

LIVE LIVESTBY

Pre Relocation

Front_Office

Min 1 Max EC Imp 5

1 2 3OLTP OLTP

Back_Office

Min 1 Max EC Imp 5

Generic

1 2 3REPORTS REPORTS

LIVE LIVESTBY

OLTP

Post Relocation

2

Sever Pools Dynamic

Re-Allocation and

Active Data GuardActive Data Guard

Driver Type : OCI JDBC Driver

“reports” is the connect string

Only select “Read Only”

transactions

Driver Type : OCI JDBC Thin

“oltp” is the service

Only select all transactions

Select Targets

Select Databases

Select Database (live)

Select “Server Pool(s)”

Login

Username – oracle

Password - oracle

Relocate Servers

Select ora.front_office

Note : Current Size 2

Click “onode6

(ora.back_office)

Click

“Move”

Onode6 now in “Selected

Servers”

Click “Submit”Click “Submit”

Click on “Force

Click on “Continue”

Click on “Force

Relocate”

Note : Current Size of

ora.front_office now 3

<Insert Picture Here>

Database Upgrade to 11g – Wrap Up

todayLifetime Support Policy

R2July 2010 July 2013

August 2012 August 2015

R2 January 2015

t2008

2003

2004

2005

2006

2007

2002

2009

2010

2011

2012

2013

2014

Sustaining SupportPremier Support

R2 July 2007

Extended SupportJuly 2010

January 2009 January 2012

R2

http://www.oracle.com/support/lifetime-support-policy.html

2015

2016

July 2008

Upgrade to 11g

R2R2≥≥≥≥

7.3.47.3.47.3.47.3.4≥≥≥≥

7.3.47.3.47.3.47.3.4 ≥≥≥≥

9.2.0.49.2.0.49.2.0.49.2.0.4≥≥≥≥

9.2.0.49.2.0.49.2.0.49.2.0.4

≥≥≥≥

8.0.68.0.68.0.68.0.6≥≥≥≥

8.0.68.0.68.0.68.0.68.0.68.0.68.0.68.0.68.0.68.0.68.0.68.0.6

≥≥≥≥

8.1.7.48.1.7.48.1.7.48.1.7.4≥≥≥≥

8.1.7.48.1.7.48.1.7.48.1.7.4

≥≥≥≥

9.1.0.49.1.0.49.1.0.49.1.0.4≥≥≥≥

9.1.0.49.1.0.49.1.0.49.1.0.4

R2R2

Upgrade is easier!• The upgrade to Oracle Database 11g is much easier

than any upgrades to earlier Oracle releases

• Size of Upgrade guides:– 8.1.7 - 512 pages

– 9.0.1 - 484 pages – 111 steps for an RDBMS with 9 components

– 9.2.0 - 344 pages

– 10.1.0 - 170 pages - only 6 stepsl!!!

– 10.2.0 - 140 pages

– 11.1.0 - 186 pages - now detailed explanations and

information about new options included

Upgrade Length• How long will the upgrade taketo complete?– Independent of:

– Size of the database

– Used datatypes

– Dependent on:

– The number of objects needing upgrading and recompilation

– Thus: the number of installed options/components– Thus: the number of installed options/components

– The number of synonyms – they‘ll get recompiled

– Valid and non-stale data dictionary statistics

– At a very low rate:

– Number of datafiles

– Size of redo logs

Documentation• Documents to study before you start?

– Note 785351.1 – Oracle 11G R2 Upgrade Companion

– Note:837570.1 - Complete Checklist for Manual Upgrades to – Note:837570.1 - Complete Checklist for Manual Upgrades to

11gR2

– Note: 421191.1 - Complete checklist for manual upgrades from X to Y

Further information

• 11g References:

�Customer adoption of 11g is steadily growing!

�Commonwealth Bank of Australia

�NRMA Motor Services

�Virgin Mobile

�CarSales.Com And more......

Guidelines

• Never ever change to many system components at once!

• Document all changes detailed and clearly into a change log!

• Always (!!!) use real word data for testing!

• Don't underestimate the test efforts. Reserve enough time and

resources for testing.

• ALWAYS collect as much performance data BEFORE the

upgrade will be started!!upgrade will be started!!

• Create a fallback strategy!

• PLEASE test your fallback strategy - does it really work??

• Please remember:

Upgrade never has been easier - but you still have to test!!!

For More Information

http://search.oracle.com

oracle database 11g

or

www.oracle.com/database

top related