ENTERPRISE PRAGMATIC IT




   Consulting                                       Training            Development
 Oracle Fusion                     Oracle                      Oracle        Oracle
  Middleware                      WebCenter                     ADF         WebLogic

Enable productive IT by Oracle Technologies



   Andreas Koop, 12.10.2012, German ADF Community
ADF ARCHITECTURE
 ADMINISTRATION POINTS




     MDS                                                                                   Quelle: oracle.com
Schema (RCU)
  - File oder
     - DB                DataSource                     Connection
                        Configuration /                  Endpoints    + Security Provider
                           Pooling                                        (LDAP)


       Andreas Koop, 12.10.2012, German ADF Community        3
ADF ADMINISTRATION TASKS
‣       WebLogic Basics / mod_wls

‣       App Deployment

‣       DataSource, Connection
        Pooling, Application Module
        Pooling

‣       Performance Monitoring                           ‣   Administration Tools
                                                             (Enterprise Manager,
‣       JVM Tuning                                           AdminConsole, WLST)

‣       Security Provider                                ‣   JMX / MBeans

    Andreas Koop, 12.10.2012, German ADF Community   4
ENABLE WEBLOGIC
FOR ADF
 Start
                          Middleware Software                                   Domain Configuration


            WebLogic       WLS installieren                  Domain erstellen
                                                            (mit JRF- und EM-
 Welcher                                                        Template)
 Server ?
                             ADF Runtime
                              installieren
                                                           DataSource erstellen
                             ggf. Patches
                             installieren
GlassFish
WebSphere                                                                                     MDS Schema erstellen
                                                                  MDS?
                                                                                   ja           und registrieren

  out-of-scope today..


                                                                                                      Ende
                                                                         nein




      Andreas Koop, 12.10.2012, German ADF Community   5
DEPLOY ADF APPLICATIONS
‣        Enterprise Application Archive (EAR) verstehen

     ‣        WebApp, Datenquellen, JNDI, MDS

‣        Deploymentstrategien beherrschen

     ‣        Adminstration Console

     ‣        Enterprise Manager FMW Control

     ‣        WebLogic Scripting Tool (Empfehlung)

    Andreas Koop, 12.10.2012, German ADF Community   6
RUNTIME CONFIGURATION
‣        ADF Business Components Parameters

     ‣        Pooling und Scalability

     ‣        Core Parameter

‣        ADF Connections (Endpoints)

‣        Security (Provider)



    Andreas Koop, 12.10.2012, German ADF Community   7
ADF CONNECTIONS IN
DER ANWENDUNG
                                                             Fest codierte
                                                      Endpoints, die in Production
                                                          anders lauten!




                                                                    Developer
                                                                  hat es einfach




 Andreas Koop, 12.10.2012, German ADF Community   8
ADF CONNECTIONS IM
ENTERPRISE MANAGER
                                                      Admin hat es
                                                      auch einfach




 Andreas Koop, 12.10.2012, German ADF Community   9
ADF WLST COMMANDS
WLST Command                                  Zweck

adf_listUrlConnection(appName)                Connections einer ADF Anwendung auflisten

adf_createHttpUrlConnection(..)               ADF URL Connection anlegen

adf_setURLConnectionAttributes(..)            Attribute einer ADF Connection ändern

getADFMArchiveConfig(..)                       Referenz auf ADF EAR. Änderung der Konfiguration, z.B. MDS


Beispiel: MDS Repository registrieren

 archive = getMDSArchiveConfig(fromLocation='.../apps/myapp.ear')
 archive.setAppMetadataRepository(repository='repo1',partition='partition1',
 type='File',path='/filer/mdsrepo/myapp')
 archive.save()




Weitere Informationen      http://de.slideshare.net/enpit/weblogic-administration-und-deployment-mit-wlst-14111066
zu WLST


         Andreas Koop, 12.10.2012, German ADF Community           10
MDS CONFIGURATION
‣        MDS Repository
         anlegen
         (ggf DB Schema
         mit RCU)

‣        MDS Konfiguration
         exportieren /
         importieren



    Andreas Koop, 12.10.2012, German ADF Community   11
SECURITY PROVIDER
‣        WLS Admin Console
         Security > myrealm > Provider > MyAuthenticator > Configuration

                                                          Identity Store     Embedded LDAP

                                                                                  OID
                                                     User
                                                     User            User
                                                                     User
                                                     User            Group
                                                                             Active Directory

                                                                                 RDBMS

                                                                                    ...




    Andreas Koop, 12.10.2012, German ADF Community   12
PERFORMANCE MONITORING
‣        User Sessions

‣        Request Processing Time

‣        ADF Application Module Pool

‣        Active Task Flows / Taskflow Processing Time

‣        JVM Performance

‣        Client Performance

    Andreas Koop, 12.10.2012, German ADF Community   13
MONITOR ADF PERFORMANCE




 Andreas Koop, 12.10.2012, German ADF Community   14
JVM HEAP DIAGNOSE /
CONFIGURATION (1)
‣        „Mit wieviel HEAP läuft die Server JVM?“



‣        „Ist das ausreichend?“

‣        „Bitte auf 2G erhöhen!“




    Andreas Koop, 12.10.2012, German ADF Community   15
JVM HEAP DIAGNOSE /
CONFIGURATION (2)
‣        WebLogic Monitoring Dashboard

‣        JRockit Mission Control
         Mittlerweile im JRockit Download enthalten


‣        JVisual VM

‣        Enterprise Manager 12c Java Diagnostic Pack




    Andreas Koop, 12.10.2012, German ADF Community   16
WEBLOGIC
MONITORING DASHBOARD




 Andreas Koop, 12.10.2012, German ADF Community   17
JROCKIT MISSION CONTROL
FLIGHT RECORDER




 Andreas Koop, 12.10.2012, German ADF Community   18
CLIENT PERFORMANCE
‣        Chrome Developers Tools

‣        Firebug




    Andreas Koop, 12.10.2012, German ADF Community   19
DEMO
ADF Administration
ZUSAMMENFASSUNG
‣        Install / Patch / Upgrade / Configure WebLogic

‣        Know WLS AdminConsole, EM, WLST

‣        Know ADF Architecture, Application Module
         Concepts, DataSources, MDS

‣        Know JVM Monitoring and Tuning




    Andreas Koop, 12.10.2012, German ADF Community   21
MEHR INFORMATIONEN
‣        Oracle® Fusion Middleware Administrator's Guide
         for Oracle Application Development Framework
         http://docs.oracle.com/cd/E24382_01/admin.1112/e16179/intro.htm


‣




    Andreas Koop, 12.10.2012, German ADF Community   22
Administration von ADF Anwendungen

Administration von ADF Anwendungen

  • 2.
    ENTERPRISE PRAGMATIC IT Consulting Training Development Oracle Fusion Oracle Oracle Oracle Middleware WebCenter ADF WebLogic Enable productive IT by Oracle Technologies Andreas Koop, 12.10.2012, German ADF Community
  • 3.
    ADF ARCHITECTURE ADMINISTRATIONPOINTS MDS Quelle: oracle.com Schema (RCU) - File oder - DB DataSource Connection Configuration / Endpoints + Security Provider Pooling (LDAP) Andreas Koop, 12.10.2012, German ADF Community 3
  • 4.
    ADF ADMINISTRATION TASKS ‣ WebLogic Basics / mod_wls ‣ App Deployment ‣ DataSource, Connection Pooling, Application Module Pooling ‣ Performance Monitoring ‣ Administration Tools (Enterprise Manager, ‣ JVM Tuning AdminConsole, WLST) ‣ Security Provider ‣ JMX / MBeans Andreas Koop, 12.10.2012, German ADF Community 4
  • 5.
    ENABLE WEBLOGIC FOR ADF Start Middleware Software Domain Configuration WebLogic WLS installieren Domain erstellen (mit JRF- und EM- Welcher Template) Server ? ADF Runtime installieren DataSource erstellen ggf. Patches installieren GlassFish WebSphere MDS Schema erstellen MDS? ja und registrieren out-of-scope today.. Ende nein Andreas Koop, 12.10.2012, German ADF Community 5
  • 6.
    DEPLOY ADF APPLICATIONS ‣ Enterprise Application Archive (EAR) verstehen ‣ WebApp, Datenquellen, JNDI, MDS ‣ Deploymentstrategien beherrschen ‣ Adminstration Console ‣ Enterprise Manager FMW Control ‣ WebLogic Scripting Tool (Empfehlung) Andreas Koop, 12.10.2012, German ADF Community 6
  • 7.
    RUNTIME CONFIGURATION ‣ ADF Business Components Parameters ‣ Pooling und Scalability ‣ Core Parameter ‣ ADF Connections (Endpoints) ‣ Security (Provider) Andreas Koop, 12.10.2012, German ADF Community 7
  • 8.
    ADF CONNECTIONS IN DERANWENDUNG Fest codierte Endpoints, die in Production anders lauten! Developer hat es einfach Andreas Koop, 12.10.2012, German ADF Community 8
  • 9.
    ADF CONNECTIONS IM ENTERPRISEMANAGER Admin hat es auch einfach Andreas Koop, 12.10.2012, German ADF Community 9
  • 10.
    ADF WLST COMMANDS WLSTCommand Zweck adf_listUrlConnection(appName) Connections einer ADF Anwendung auflisten adf_createHttpUrlConnection(..) ADF URL Connection anlegen adf_setURLConnectionAttributes(..) Attribute einer ADF Connection ändern getADFMArchiveConfig(..) Referenz auf ADF EAR. Änderung der Konfiguration, z.B. MDS Beispiel: MDS Repository registrieren archive = getMDSArchiveConfig(fromLocation='.../apps/myapp.ear') archive.setAppMetadataRepository(repository='repo1',partition='partition1', type='File',path='/filer/mdsrepo/myapp') archive.save() Weitere Informationen http://de.slideshare.net/enpit/weblogic-administration-und-deployment-mit-wlst-14111066 zu WLST Andreas Koop, 12.10.2012, German ADF Community 10
  • 11.
    MDS CONFIGURATION ‣ MDS Repository anlegen (ggf DB Schema mit RCU) ‣ MDS Konfiguration exportieren / importieren Andreas Koop, 12.10.2012, German ADF Community 11
  • 12.
    SECURITY PROVIDER ‣ WLS Admin Console Security > myrealm > Provider > MyAuthenticator > Configuration Identity Store Embedded LDAP OID User User User User User Group Active Directory RDBMS ... Andreas Koop, 12.10.2012, German ADF Community 12
  • 13.
    PERFORMANCE MONITORING ‣ User Sessions ‣ Request Processing Time ‣ ADF Application Module Pool ‣ Active Task Flows / Taskflow Processing Time ‣ JVM Performance ‣ Client Performance Andreas Koop, 12.10.2012, German ADF Community 13
  • 14.
    MONITOR ADF PERFORMANCE Andreas Koop, 12.10.2012, German ADF Community 14
  • 15.
    JVM HEAP DIAGNOSE/ CONFIGURATION (1) ‣ „Mit wieviel HEAP läuft die Server JVM?“ ‣ „Ist das ausreichend?“ ‣ „Bitte auf 2G erhöhen!“ Andreas Koop, 12.10.2012, German ADF Community 15
  • 16.
    JVM HEAP DIAGNOSE/ CONFIGURATION (2) ‣ WebLogic Monitoring Dashboard ‣ JRockit Mission Control Mittlerweile im JRockit Download enthalten ‣ JVisual VM ‣ Enterprise Manager 12c Java Diagnostic Pack Andreas Koop, 12.10.2012, German ADF Community 16
  • 17.
    WEBLOGIC MONITORING DASHBOARD AndreasKoop, 12.10.2012, German ADF Community 17
  • 18.
    JROCKIT MISSION CONTROL FLIGHTRECORDER Andreas Koop, 12.10.2012, German ADF Community 18
  • 19.
    CLIENT PERFORMANCE ‣ Chrome Developers Tools ‣ Firebug Andreas Koop, 12.10.2012, German ADF Community 19
  • 20.
  • 21.
    ZUSAMMENFASSUNG ‣ Install / Patch / Upgrade / Configure WebLogic ‣ Know WLS AdminConsole, EM, WLST ‣ Know ADF Architecture, Application Module Concepts, DataSources, MDS ‣ Know JVM Monitoring and Tuning Andreas Koop, 12.10.2012, German ADF Community 21
  • 22.
    MEHR INFORMATIONEN ‣ Oracle® Fusion Middleware Administrator's Guide for Oracle Application Development Framework http://docs.oracle.com/cd/E24382_01/admin.1112/e16179/intro.htm ‣ Andreas Koop, 12.10.2012, German ADF Community 22

Editor's Notes