Introducing the GAR

Embed Size (px)

Citation preview

  • 8/9/2019 Introducing the GAR

    1/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 121

  • 8/9/2019 Introducing the GAR

    2/22

    Introducing the GAR

    Harvey RajaPrincipal Member Technical StaffOracle Coherence

  • 8/9/2019 Introducing the GAR

    3/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 123 3 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

    The following is intended to outline our genera

    product direction. It is intended for informationpurposes only, and may not be incorporated in

    any contract. It is not a commitment to deliver

    material, code, or functionality, and should no

    relied upon in making purchasing decisions.

    The development, release, and timing of anyfeatures or functionality described for Oracles

    products remain at the sole discretion of Orac

  • 8/9/2019 Introducing the GAR

    4/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 124

    Agenda

    !

    Why?

    ! What?

    ! How?

    !

    When?! Thoughts / Ideas?

  • 8/9/2019 Introducing the GAR

    5/22Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 125

    Current State

    !

    How many people specify the following?

    java

    -Dtangosol.coherence.cacheconfig=/path/to/cache-con

    -Dtangosol.pof.config=/path/to/pof-config.xml

    com.tangosol.net.DefaultCacheServer

    !

    How many people have custom shell scripts? How many people have custom shell scripts for application

  • 8/9/2019 Introducing the GAR

    6/22Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 126

    Current State

    !

    How many people have a similar build structure to below

    ! How many people build a cache tar file to distribute to m

    machines?

    Common Application Module(Java Beans, Helpers)

    Web Module(Servlets)

    EJB Module(EJBs, MDBs)

    P

    O

    M

    PO

    M

    PO

    M

    P

    O

    M

    Cache Module(Serializers, EPs, Aggregators, Filters)

    P

    O

    M

  • 8/9/2019 Introducing the GAR

    7/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 127

    Current State

    !

    Generally two deployment models exist:

    ! Client tier may produce an EAR, WAR and many JAR fil

    ! Data Grid tier may produce many JAR files and a tar for

    Client Tier Data Grid Tie

    Common Application Module(Java Beans, Helpers)

    Web Module

    (Servlets)

    EJB Module

    (EJBs, MDBs)

    P

    O

    M

    P

    O

    M

    P

    O

    M

    P

    O

    M

    Cache Module(Serializers, EPs, Aggregators, Filters)

    P

    O

    M

    Ownership Disable Ownership Enab

  • 8/9/2019 Introducing the GAR

    8/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 128

    Current State - Summary

    ! Everyone writes their own scripts

    ! Certain command line arguments are always specified

    !

    Remote deployment requires primitive means (scp)

    !

    No mechanism to group / contain all components require

    Coherence

  • 8/9/2019 Introducing the GAR

    9/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 129

  • 8/9/2019 Introducing the GAR

    10/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1210

    What?

    !

    A Grid ARchive is a new archive type similar to Web ARc

    !

    Provides containment of all artifacts regardless of the co

    invoked under (Client or Data Grid)

    !

    Supported by Weblogic Server

    !

    Coherence can now take advantage of WLS infrastructu

    (deployment, management, etc)

    No more custom scripts!

  • 8/9/2019 Introducing the GAR

    11/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1211

    What?

    !

    It contains a descriptor which allows specifying the follow

    Cache configuration file

    POF Configuration file

    CCF implementation

    Lifecycle listener

    !

    Allows for libraries to be bundled in the archive

    ! Cache configuration file can be overridden

  • 8/9/2019 Introducing the GAR

    12/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1212

    What?

    !

    Contents of the GAR:

    ! GARs descriptor:

  • 8/9/2019 Introducing the GAR

    13/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1213

    How?

    !

    GAR natively understood by Coherence and Weblogic S

    !

    WLS supports: deploy(myGar, /path/to/myGa

    !

    DefaultCacheServer accepts a GAR as an argument

    More than likely will still need your custom scripts for this a

    !

    Maven support

    Archetype

    deploy(myEarWithGar, myEeri

    Packaging plugin

    !

    OEPE Suppor

  • 8/9/2019 Introducing the GAR

    14/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1214

    How?

    !

    Weblogic understands Coherence applications

    Deploy / Undeploy

    Start / Stop

    ! Weblogic supports the notion of a Coherence Cluster

    Define operational settings

    Assign WLS Servers or Clusters to Coherence Clusters WLS Servers or Clusters can specialize configuration, i.e.

    enablement

    Advantages of domain information; WKA list generation

    No more system properties!

    Targetable

    Application Isolation

  • 8/9/2019 Introducing the GAR

    15/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1215

    Tiered-Deployments

    !

    WLS clusters allows a logical grouping of processes fac

    deployments:

    WLSStorage Enabled

    Cluster

    WLSStorage Disabled

    Cluster

    Coherence Cluster

    WLSStorage Enabled

    Cluster

    WLSExtend Proxy

    Cluster

    Coherence Clus

    Extend Clients

  • 8/9/2019 Introducing the GAR

    16/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1216

    Tiered-Deployments

    !

    WLS clusters allows a logical grouping of processes fac

    deployments:

    WLSStorage Enabled

    Cluster

    WLSStorage Disabled

    Cluster

    Coherence Cluster

    WLSStorage Enabled

    Cluster

    WLSExtend Proxy

    Cluster

    Coherence Clus

    Extend Clients

  • 8/9/2019 Introducing the GAR

    17/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1217

    Some Weblogic Advantages

    !

    Node Manager

    !

    Domain level configuration (repl)

    ! WebLogic Scripting Tool (Jython)

    !

    Bind Coherence MBeans to WLS MBean Server

    ! Weblogic footprint proven to be insignificant

    !

    Admin Console

    !

    Configuration Wiza

  • 8/9/2019 Introducing the GAR

    18/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1218

    Some More Weblogic Advantages

    !

    Dynamic Servers

    !

    Security

    ! Cache Configuration can be overriden by JNDI

    !

    Accessible runtime state of GARs

    ! Rolling restart can be performed via WLST

    !

    Coherence logs se

    !

    JEE Resources ava

    (Data Source, JM

  • 8/9/2019 Introducing the GAR

    19/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1219

    Oracle Cohere12.1.2

    When?

  • 8/9/2019 Introducing the GAR

    20/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1220

    Ideas?

  • 8/9/2019 Introducing the GAR

    21/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1221

  • 8/9/2019 Introducing the GAR

    22/22

    Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1222