25
1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. WebLogic & Oracle RAC Active GridLink for RAC Roger Freixa Senior Principal Product Manager WebLogic Server, Coherence and Java Infrastructure ORACLE PRODUCT LOGO

WebLogic & Oracle RAC Active GridLink for RAC

  • Upload
    others

  • View
    28

  • Download
    0

Embed Size (px)

Citation preview

Page 1: WebLogic & Oracle RAC Active GridLink for RAC

1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

WebLogic & Oracle RACActive GridLink for RAC

Roger Freixa

Senior Principal Product ManagerWebLogic Server, Coherence and Java Infrastructure

ORACLE

PRODUCTLOGO

Page 2: WebLogic & Oracle RAC Active GridLink for RAC

2 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Fusion MiddlewareBuilt on Cloud Application Foundation with WebLogic

Complete, Best in Class, Integrated, OpenIndustry #1 Application Server with

#1 In Memory Data Grid

Page 3: WebLogic & Oracle RAC Active GridLink for RAC

3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Leadership in Enterprise Application Server Magic

Quadrant – September 2011

• Continued year after year Enterprise Application

Server leadership

• Leadership in ability to

execute and vision

http://www.gartner.com/technology/reprints.do?id=1-17GUO5Z&ct=110928&st=sb

Page 4: WebLogic & Oracle RAC Active GridLink for RAC

4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

WebLogic SPECjEnterprise 2010 Performance

• Multi-Node Overall EjOPS

– 2.4X more workload than IBM

– Running on Oracle Database

RAC

• Overall EjOPs per Processor

– 56% more workload than IBM

• Overall EjOPS per Core

– 50% more workload than IBM

on identical hardware!

World Record Results in Multiple Categories on Conventional Hardware

See: http://www.spec.org/jAppServer2010/results/

40.104

16.646

-

15.000

30.000

45.000

3.265

2.081

-

1.500

3.000

452

307

0

200

400

WebLogic 50% better than IBM

on identical hardware!!!

WebLogic 50% better than IBM

on identical hardware!!!

World Record

August, 2011

World Record

Sept, 2011

World Record

Sept, 2011

Page 5: WebLogic & Oracle RAC Active GridLink for RAC

5

Exalogic Java EE with Database OLTP PerformanceEven More Compelling Performance on Oracle Exalogic Elastic Cloud

2-3X improvementin Database OLTP

60% moreJava Operations/sec.

– Run-time connection load balancing

– SQLNet for InfiniBand (JDBC over SDP)

– Buffer Copy Elimination

– Exalogic-aware Self-

tuning

– Balanced hardware

– Parallel Muxer

– Scatter-gather IO

– IPC for InfiniBand

0

50

100

150

200

250

Update Insert Delete

Tx

/Se

c

(Higher is better)

Standard WebLogic Server GridLink for Exadata

0

50

100

150

200

250

300

350

400

450

CreateWS Purchase Manage Browse

(Lower latency is Better)

Standard Platform Exalogic

Up to 10X fasterresponse time

Page 6: WebLogic & Oracle RAC Active GridLink for RAC

6

• Start small, grow incrementally

• Scalable AND highly available

• Add capacity on demand with zero downtime

Oracle RACSeamless Scalability

Page 7: WebLogic & Oracle RAC Active GridLink for RAC

7

Oracle RACFlexibility, High Availability

DW data

Web data

CRM data

ERP dataData A-Z

ERP ERP

DW

TestCRMWeb

• Complete availability…unlimited scalability

• Server hardware shared between applications

Page 8: WebLogic & Oracle RAC Active GridLink for RAC

8

Secret Sauce for Middleware RAC Integration?

We don’t seem to be realizing our middleware performance, reliability and

availability when used with RAC. I purchased Oracle RAC to fix

this but it seems like my middleware needs help

Did you know if your application runs on WebLogic Serverthere is a reliability, availability and

performance enhancingRAC integration capability called

Active GridLink for RAC?

Page 9: WebLogic & Oracle RAC Active GridLink for RAC

9 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

• Developer Productivity

• Active GridLink for RAC

• Coherence

• Messaging

• Java Cloud

• Manageability

• Exalogic Elastic Cloud

New Sep 2011

New Apr 2011

New Jan 2011

Innovation Across WebLogic ServerKey Focus Area: Oracle RAC Integration

PartitionedDistributed Topics

Enterprise Manager

New WebLogicRAC Integration

Hardware/Software

Optimized

Built DistributedCaching/Data Grid

New Jan 2011

Java EE 6/SE 7Maven, CAT

New Jan 2011

New Sep 2011

New Jan 20113 2 1

Assembly Builder,Virtualized Cloud

Page 10: WebLogic & Oracle RAC Active GridLink for RAC

10Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

GridLink

WebLogic

GridLink

WebLogic

Performance and Workload with Oracle RACActive GridLink for RAC – Up to 3X Better OLTP Throughput

• Integrated WebLogic and Database RAC clusters

• Standard support for SCAN

• Runtime load balancing of requests to RAC nodes

• RAC node transaction and session affinity for data locality

• Continuous connection availability regardless of RAC changes

80% 20%

RAC Node Load Aware Connection Requests

GridLink

WebLogic

GridLink

WebLogic

RAC Node AffinityFor Sessions and

Transactions

XA

GridLink

WebLogic

GridLink

WebLogic

Continuous ConnectionsRegardless of RAC Changes

Page 11: WebLogic & Oracle RAC Active GridLink for RAC

11Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Conventional Application Server Usage of Oracle RAC

Oracle RAC DatabaseRAC Node 2RAC Node 1

Conventional Application Server

Server 1

Basic JDBCConnection

Server 2

Basic JDBCConnection

Datasource

RAC Node 4RAC Node 3

What don’t conventional Application

Servers have?• No engineered RAC integration for data sources

• No Fast Connection Failover for rapid failure detection

• No support for runtime continuous connection load-

balancing/re-balancing

• No Transaction Affinity to enable XA and RAC to work together

with optimal performance

Datasource

Page 12: WebLogic & Oracle RAC Active GridLink for RAC

12Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Result: Lack of Resiliency with Conventional Application Servers’ Usage of Oracle RAC

Oracle RAC DatabaseRAC Node 2RAC Node 1

Conventional Application Server

Server 1

Basic JDBCConnection

Server 2

Basic JDBCConnection

Datasource

RAC Node 4RAC Node 3

Datasource

What will happen with conventional

Application Servers when a RAC node is taken offline?• From seconds to potentially minutes service interruption

• Minimum several minute wait for server connection pool to

recover and be cleaned

• Connection pool not automatically rebalanced

• Possible for transaction to be left in in doubt state

• Possible for application requests get blocked relying on TCP/IP

timeout

RAC Node Taken Offline!

??????????

Potentially Minutes Service Interruption!

Page 13: WebLogic & Oracle RAC Active GridLink for RAC

13Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Complete Resiliency with WebLogic Server Active GridLink for RAC

WebLogic Cluster

WebLogic Domain

ManagedServer1

Active GridLinkData Source

Managed Server 2

ConnectionPool

Datasource

What does WebLogic have with RAC?• Simple, declarative integration with RAC

• Fast Connection Failover for rapid failure

detection/ abort and invalid connection removal

• Support planned/unplanned downtime

• Automatic new/re-join instance integration

• Runtime Connection Load Balancing to manage pooled

connections for performance/scalability

• Transaction Affinity for XA and RAC performance

• Session Affinity for high performance for hot data (repeated

access of client records)

Oracle RAC DatabaseRAC Node 2RAC Node 1

RAC Node 4RAC Node 3

Page 14: WebLogic & Oracle RAC Active GridLink for RAC

14Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Complete Resiliency with WebLogic Server Active GridLink for RAC

WebLogic Cluster

WebLogic Domain

ManagedServer1

Active GridLinkData Source

Managed Server 2

ConnectionPool

Datasource

Oracle RAC DatabaseRAC Node 2RAC Node 1

RAC Node 4RAC Node 3

RAC Node Taken Offline!

�No Service Interruption!

What will happen with WebLogic

applications when a RAC Node is taken offline?

• No user downtime

• Zero wait time for WebLogic connection recovery

• Connect pool automatically and rapidly rebalances

• No application changes required

Page 15: WebLogic & Oracle RAC Active GridLink for RAC

15 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Active GridLink For RAC - Configurability

• Old: Multi Data Source• Enables load balancing with XA

on old RAC versions but….

• Data source (DS) per RAC node

• Map DS to RAC nodes

• Grouped DS into MDS

• Configuration scaling issues

• New: GridLink Data Source• Leverages RAC technology

• Single data source per cluster

• SCAN address

• Simpler

• More scalable

Machine 1

RAC

Node 1

RAC Cluster

Oracle Database Service

GridLink Data Source

Local

Listener

ONS

Machine 2

RAC

Node 2

Local

Listener

ONS

WebLogic Cluster

Machine 2

Managed

Server 2

RAC SCAN

Machine 1

Managed

Server 1

Machine 1

RAC

Node 1

RAC Cluster

Oracle Database Service

Multi Data Source

Local

Listener

ONS

Machine 2

RAC

Node 2

Local

Listener

ONS

WebLogic Cluster

Machine 2

Managed

Server 2

Machine 1

Managed

Server 1

Data

Source 1

Data

Source 2

Single

Data Source

Multiple

Data Sources

Page 16: WebLogic & Oracle RAC Active GridLink for RAC

16 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Active GridLink For RAC - Manageability

• GridLink isolates WebLogic

from RAC changes

• Consider adding RAC node

1. Multi Data Source (MDS)• Undeploy MDS

• Add data source 3 on all servers

• Update MDS list

• Redeploy MDS

• Coordinate across servers

2. GridLink• Automatic detection of RAC node

• No WebLogic config changes

• Simpler

• More reliable, no downtime RAC Cluster

Oracle Database Service

GridLink Data Source

WebLogic Cluster

Machine 2

Managed

Server 2

RAC SCAN

Machine 1

Managed

Server 1

Machine 1

RACNode 1

RAC Cluster

Oracle Database Service

Multi Data Source

Listener

ONS

WebLogic Cluster

Machine 2

Managed

Server 2

Machine 1

Managed

Server 1

Data

Source 1

Data

Source 2

Machine 3

RACNode 3

Listener

ONS

Machine 2

RACNode 2

Listener

ONS

Data

Source 3

Machine 1

RACNode 1

Listener

ONS

Machine 3

RACNode 3

Listener

ONS

Machine 2

RACNode 2

Listener

ONS

Configuration

changes

No

changes

Page 17: WebLogic & Oracle RAC Active GridLink for RAC

17 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Active GridLink For RAC - Performance

• Runtime Connection Load

Balancing (RCLB)• RAC workload aware• Avoid busy RAC nodes

• Multiple apps, backups

• Multi Data Source (MDS)• Round-robin load balancing

• New connections to busy node

• Bottlenecks, performance impact

• GridLink• RCLB distributes runtime

connections to least busy nodes

• Up to 2-3x performance

• More predictable performance RAC Cluster

GridLink Data Source

WebLogic Cluster

Machine 2

Managed

Server 2

Machine 1

Managed

Server 1

Machine 1

RACNode 1

RAC Cluster

Multi Data Source

Listener

ONS

WebLogic Cluster

Machine 2

Managed

Server 2

Machine 1

Managed

Server 1

Data

Source 1

Data

Source 2

Machine 3BUSY

RACNode 3

Listener

ONS

Machine 2

RACNode 2

Listener

ONS

Data

Source 3

Machine 1

RACNode 1

Listener

ONS

Machine 3 BUSY

RACNode 3

Listener

ONS

Machine 2

RACNode 2

Listener

ONS

Uneven

workload

Balanced

workload

Page 18: WebLogic & Oracle RAC Active GridLink for RAC

18 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Active GridLink For RAC - Availability

• Fast Connection Failover• Faster failure detection and

failover

• Multi Data Source (MDS)• Periodic polling for node failure

• Latency in failure detection

• No awareness of planned

shutdown

• GridLink• Failure notification via ONS

• New connections to surviving

nodes (no WebLogic polling)

• Recovery notifications

• Graceful RAC node shutdownRAC Cluster

GridLink Data Source

WebLogic Cluster

Machine 2

Managed

Server 2

Machine 1

Managed

Server 1

Machine 1

RACNode 1

RAC Cluster

Multi Data Source

Listener

ONS

WebLogic Cluster

Machine 2

Managed

Server 2

Machine 1

Managed

Server 1

Data

Source 1

Data

Source 2

Machine 3DOWN

RACNode 3

Listener

ONS

Machine 2

RACNode 2

Listener

ONS

Data

Source 3

Machine 1

RACNode 1

Listener

ONS

Machine 3 Down

RACNode 3

Listener

ONS

Machine 2

RACNode 2

Listener

ONS

Polling and

delayed

detection

Rapid

notification

via ONS

Available? Available? Available?

Node 3

Down

Page 19: WebLogic & Oracle RAC Active GridLink for RAC

19 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Machine 2

Disaster Recovery and WebLogic 10.3.6New Features Three-Tier Topology

• Transaction Logs in Database– Option to use DB instead of file store

– Enables common storage, replication with application and JMS data

– Configuration benefits

– Supported with RAC, Exalogic, Exadata

– Maximum performance with GridLink

• JMS Database Store Performance

– Optimizations for DB Store use cases

– Enabler for new DR architectures

– Supported with RAC, ExaLogic, Exadata

– Maximum performance with GridLinkRAC Cluster

WebLogic Cluster

Machine 2Machines

Managed

Servers

Machine 1

RACNode 1

Machine 3

RACNode 3

Machine 2

RACNode 2

Web Server Tier

Web

Server 2

Local LB

Web Tier

Binaries

Configuration

New

Faster

Application Data

Transaction Logs

JMS Messages

Binaries

Configuration

Page 20: WebLogic & Oracle RAC Active GridLink for RAC

20

Oracle RAC

Web Tier

Disaster Recovery ArchitectureAll State Can be Persisted in Oracle for Simplified Disaster Recovery

File replicationfor more static files

Active Site Standby Site

Active Dataguard or GoldenGate for

transactional dataApplication Data

Transaction Logs

JMS Messages

Local LB

Web TierLocal LB

Web TierLocal LB

Web Tier

Binaries

Configuration

Middleware Tier

WebLogicWebLogic

WebLogic

Binaries

Configuration

Oracle RAC

Web Tier

Application Data

Transaction Logs

JMS Messages

Local LB

Web TierLocal LB

Web TierLocal LB

Web Tier

Binaries

Configuration

Middleware Tier

WebLogicWebLogic

WebLogic

Binaries

Configuration

Global Load Balancer

Page 21: WebLogic & Oracle RAC Active GridLink for RAC

Active GridLink for RAC for Fusion Middleware

Active GridLink for RAC Configurationfor Fusion Middleware

Page 22: WebLogic & Oracle RAC Active GridLink for RAC

Oracle Exalogic and Exadata Designed for Unmatched Performance with Oracle RAC

Exalogic Exadata

Active GridLink for RAC

• Resource-aware load balancing• Instantaneous connection failover

• Transaction affinity to RAC nodes• SQLnet optimized for InfiniBand SDP

Up to 3XOLTP Performance

Up to 3XOLTP Performance

Copyright © 2011 Oracle Corporation - Proprietary and Confidential

960 Gigabits/second

(Maximum: 24x InfiniBand QDR)

• Exclusive: direct InfiniBand integration!• Extreme performance, reliability, security

• Simple to deploy and manage

Page 23: WebLogic & Oracle RAC Active GridLink for RAC

Supercharge Your RAC Environment with WebLogic Server 11g Today!

23 Oracle Restricted and Confidential

Clearly we need to getWebLogic Server 11g installed

now – Active GridLink is going tohelp us realize our investment

in Oracle RAC that no other middleware product can!

Page 24: WebLogic & Oracle RAC Active GridLink for RAC

24 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Join the WebLogic Community

Oracle.com/Middleware

YouTubeyoutube.com/OracleWebLogic

Twittertwitter.com/OracleWebLogic

Facebookfacebook.com/OracleWebLogic

Oracle’s WebLogic blogblogs.oracle.com/WebLogicServer

Page 25: WebLogic & Oracle RAC Active GridLink for RAC

25 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

WebLogic & Oracle RACActive GridLink for RAC

Roger Freixa

Senior Principal Product ManagerWebLogic Server, Coherence and Java Infrastructure

ORACLE

PRODUCTLOGO