+ All Categories
Home > Documents > Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle...

Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle...

Date post: 18-Jul-2020
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
39
Transcript
Page 1: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •
Page 2: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Managing Oracle Grid Computing: Oracle Real Application Clusters, Oracle Automatic Storage Management, Oracle Data Guard

Venkat Maddali, Sr. Director of Development

Page 3: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Oracle Highly Available Grid strategy

• Scale-Out architecture• Commodity hardware building blocks• Inherently highly scalable & redundant

• Scalability & Availability responsibility moves out of hardware/OS to scale-out savvy software• First Web & Application server tiers

• Application servers• Then DB tier

• Real Application Clusters

• Data Guard for disaster recovery• Then storage tier

• Scale-out storage software

Application

Database

Storage

Page 4: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Agenda

• Managing Oracle’s Highly Available Grid• Setup• Manage

Page 5: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Enterprise Manager

Administration

Manage as One

Setup HA Grid

Monitoring

Managing Oracle’s Highly Available Grid

Page 6: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Agenda

• Managing Oracle’s Highly Available Grid• Enterprise Manager Grid Control 10g Release 4 recap• Setup• Manage

Page 7: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Getting on to Oracle’s HA Grid – 10g Release 4 recap

Single instance database

Convert file system to ASM

Convert SI to RAC database

Create Standby database

Page 8: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Convert Single Instance to RAC

• Wizard-driven interface to convert single instance into multi-instance RAC database

• Various pre-req checks prior to submitting the operation

• Automates all necessary steps• Move database files/recovery area

files to shared storage (if necessary)

• Create additional undo TS, redo logs, password files, oratab/registry entries etc.

• Configure listeners• Register with cluster-ware

• Pre-requisites:• All nodes must be running Oracle

Clusterware (CRS)

Single Instance RAC

Page 9: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Migrate from file system to ASM

• Simplify management of Oracle database files

• Avoid single point of storage device failure.

• Migrate database, and recovery files to ASMdiskgroups and switch

• Migration with minimum downtime

Page 10: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

RAC Management• Manage “many as one”• RAC/Cluster Topology views• Cluster-aware monitoring

• Cluster and RAC db metrics to avoid duplicate monitoring

• Load average across the cluster• Interconnect monitoring• Global Cache Coherency• Identify top node(s)/ instance(s)

involved in block transfers• Identify top segments with

extreme concurrency profile across some nodes

• Monitor Clusterware• Cluster-aware jobs• Configure and Manage HA

Services.

Page 11: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Agenda

• Managing Oracle’s Highly Available Grid• Enterprise Manager Grid Control 10g Release 4 recap• Setup• Manage

Page 12: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Oracle’s Highly Available Grid - Setup

• Setup RAC, ASM and Data Guard configurations to implement Highly Available Grid

• Automate Oracle recommended best practices• Eliminate time consuming and sometimes error prone

manual procedures

Page 13: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Getting on to Oracle’s HA Grid – 10g Release 5

Single instance database

Migrate to ASM

ProvisionClusterwareand Oracle software

Convert SI ASM to

Clustered ASM

Convert SI db to RAC database

Page 14: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Getting on to Oracle’s HA Grid – 10g Release 5

Create Standby database

Convert Standby DB to RAC

standby

Page 15: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Migrate to ASM

• Helps migrate to Storage Grid• Builds on 10g Release 4 support• Supports migration from Raw

storage to ASM• Migrate database area, recovery

area.• Migrate selected tablespaces• Migration with planned

downtime• Automated as an EM job

Page 16: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Migrate to ASM• Configuration

• Configure ASM instance and create diskgroups

• Supports SI and Clustered ASM• Performs pre-requisite checks prior to initiating the operation

• Minimum (planned) downtime• Migrate database files and recovery files while database is online• Option to suspend the job and notify user prior to taking database offline

for switching to ASM storage. • If opted to be notified prior to downtime, user can resume at planned

downtime window

• Migrate to alternative host• From existing backup or making new backup• Necessary files will be transferred to new host if not already available on

the alternative host

Page 17: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Convert SI ASM to Clustered ASM

• Simple wizard to convert single instance ASM to Clustered ASM

• Automated as an EM job• Pre-requisite to migrating the

Single Instance Database to RAC Database on ASM storage

Page 18: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Convert SI ASM to Clustered ASM

• Pre-reqs prior to performing cluster-wide operations• Cluster verification

• Node accessibility• Oracle Database Software on all selected nodes

• Ensure that ASM is not in use by any database that is up

• Automates• Setup of parameter files across cluster hosts

• Listener configuration across all cluster hosts

• Mount shared diskgroups on all nodes• Register CRS resources for ASM

• Update oratab/registry

• Enable monitoring by enterprise manager

• Restore SI ASM back if something were to fail, so retry can be attempted after fixing the root cause (Similar to SI-RAC DB conversion)

Page 19: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Setup Standby Database Grid

Challenge• Deliver same High Availability

and Scalability as Primary Production Database

Solution• Create Standby RAC

database from Primary RAC database

• Create standby on ASM storage for primary databases on FS/Raw storage

• Create standby from existing RMAN backups

PrimaryDatabase

StandbyDatabase

Standby SitePrimary Site

Broker

Page 20: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Setup Standby Database Grid

Page 21: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Agenda

• Managing Oracle’s Highly Available Grid• Enterprise Manager Grid Control 10g Release 4 recap• Setup• Manage

Page 22: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Oracle’s Highly Available Grid –Manage

• Manages as one• HA Console –

Dashboard to Manage Highly Available Grid

• ADDM for RAC• Service centric

Management• Diagnose as many• Manage Standby Grid

Page 23: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

HA Console

• Configuration wide view for RAC/HA setup instead of individual databases

• Show MAA configuration advise

• Summary and Chart views for Backup/Recovery, Data Guard and HA Services

• Show Availability related events across the configuration

• Launch HA Operations• Customizable views

Page 24: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

HA Console – Configuration Advise

• Provide advice on possible configuration enhancements to achieve better Availability

• Based on Oracle Suggested Best practice recommendations

• Explains potential benefits of each of the recommendation

• Provide automation workflow to implement recommendation

Page 25: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

ADDM for RAC

• A Performance Expert, now a RAC Specialist too!

• Identifies the most “Globally Significant” performance issues

• Automatically runs every hour

• Cluster-wide analysis of:• Global cache interconnect issues

• Lock manager congestion issues

• Global resource contention, e.g. IO bandwidth, hot blocks

• Globally high-load SQL

• Skew in instance response times

Self-Diagnostic Engine

Database-Level ADDM

Instance-Level ADDMs

Node 1 Node 2 Node 3

Page 26: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Service Centric Management

• Create Cluster Managed Databases Services (a.k.a. HA services) for Work load management

• Monitor Services for Status, Performance and Configuration issues via HA console

• View Top services based on Avg. Response time across the cluster• View Top services based on %CPU utilization across the cluster• Drilldowns to analyze the session waits, identify SQL or root cause

Page 27: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Service Centric Management

• Setup HA Services with Preferred/Available configurations and carry-out required operations

• Test connectivity to service• Create TNS alias files for services as well as ability to export this to

client machines.• Manage Services for start/stop/relocate, enable/disable operations• Drilldown to individual services

Page 28: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Service Centric Management

• Workflows to show Service Activity by Waits and Instances drilldowns to identify SQL/Session

Page 29: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Service Centric Management

• Drilldowns to identify SQL/Session

Page 30: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Manage as one, Diagnose as many

• Manage as one works but one would need to diagnose problems at one or many nodes/instances

• Monitor any metric across the Database instances or cluster nodes in a single tile based view

• Customizable views for selective monitoring

• Workflows to identify and resolve root cause

Page 31: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Manage as one, Diagnose as many

Page 32: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Manage as one, diagnose as many

Page 33: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Manage as one, Diagnose as many

• Customizable tile charts• Number of charts per row• Order by Metric

• Average value over 1 hr• Maximum over 1 hr• Instance ID• User defined

Page 34: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Manage Standby Database• Snapshot Standby support

• Read-write copy of primary database • Preserves zero data loss with continuous redo transport while the standby is

open for read-write• Can be used in Real Application Testing use-case

• Enterprise Manager helps convert Physical standby to Snapshot Standby and vice-versa

• Data Guard Management extended to manage Snapshot standbys

• Active Data Guard• Enable Read-only access to Physical standby databases for optimal resource

utilization

• Changes from primary database are continually applied on the standby

• Disaster Recovery protection while standby is used to offload queries, reports, backups, etc.

• Monitored as any physical standby database

Page 35: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Manage Standby Database• Automatic Migration of EM Jobs and monitoring settings upon role

changes• User created jobs such as backups can be setup to be migrated between

primary/standby databases as part of the switchover• Customized thresholds for metrics are swapped between the databases upon

switchover

• Fast-start Failover enhancements• Enterprise Manager monitors to ensure observer is Highly Available• Helps setup alternative observer hosts to ensure Fast-start Failover is not

disabled in the event of failure of an observer host• Configure Fast-start Failover in Maximum protection and Maximum Availability

modes (11g DB)• Setup user configurable Fast-start Failover conditions (11g DB)

• Archiver stuck, named ORA- errors, corrupted control file, in accessible log files, etc.

Page 36: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Other key HA enhancements

• Log Miner and Flashback Transaction integration workflows to • Search/Browse transactions by user/time range/SCN range • View transaction details along with dependent transactions• To recover from human errors, Undo using Flashback Transaction

• Wizard driven Data Recovery Advisor workflows• Setup and use Virtual Private Catalogs for Database Backups• Oracle Secure Backup

• Monitor Oracle Secure Backup Administrative Server as a new EM target• Support File system Backup/Restore jobs from Enterprise Manager

• Improved Streams management to setup and monitor• Simplified workflows to setup Streams based replication• Streams Performance advisor workflow for 11g databases• Monitor Streams status, latency and throughput metrics and notification support• Streams Home page to show performance and bottleneck information at streams Path

and Component levels

• And many more..

Page 37: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •
Page 38: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

HA Sessions / Demos From Oracle Development

Mon, Sep 22

• 2:30 pm - Database 11g: Next-Gen HA, Moscone South 103

Tue, Sep 23

• 9:00 am - Active-Active Data Centers, Moscone South 103

• 11:30 am - Sharding with Oracle, Moscone South 305

• 11:30 am - HA with Oracle VM, Moscone West 3024

• 1:00 pm - Active Data Guard, Moscone South 104

Wed, Sep 24

• 9:00 am - Fusion Middleware Grid HA, Marriott Nob Hill AB

• 11:30 am - RMAN Best Practices, Moscone South 103

• 5:00 pm - Data Guard with Real Application Testing, Moscone South 102

• 5:00 pm - EM in Secure MAA, Moscone West 2001

Wed, Sep 24 (contd.)

• 5:00 pm - E-Business Suite HA, Moscone West 2002/04

Thu, Sep 25

• 9:00 am - Oracle Secure Backup, Moscone South 102

• 10:30 am - Streams Replication, Moscone South 102

• 12:00 pm - Rolling Database Upgrades, Moscone South 103

• 1:30 pm - Streams Performance, Moscone South 102

• 3:00 pm - Oracle Grid Computing, Moscone South 303

• 3:00 pm - E-Business Suite Release 12 MAA, Moscone West 2007

• 3:00 pm - Siebel MAA, Moscone South 308

• 3:00 pm - Fusion Middleware SOA - HA and Scalability, Marriott Salon 14/15

Hands On Labs - Thu, Sep 25

• 10:30 - 11:30 am, 12:00 - 1:00 pm - Active Data Guard, Marriott Golden Gate A3

DEMOgrounds, Mon-Thu

• Active Data Guard, Streams, Oracle Secure Backup, RMAN/Flashback, MAA

Page 39: Managing Oracle Grid Computing: Oracle Real · Venkat Maddali, Sr. Director of Development. Oracle Highly Available Grid strategy ... user can resume at planned downtime window •

Recommended