SlideShare a Scribd company logo
WebLogic for DBAs
            Simon Haslam
           Veriton Limited
Simon Haslam / Veriton
Consultant & Oracle Partner,
established for 16 years

I mainly work on the middle tier of
demanding web & contact-centre applications:
architecture planning to installation
to troubleshooting (and most things
in between!)
Agenda

WebLogic Architecture and Components
Installing WLS & Configuring a Domain
Oracle Enterprise Manager 12c
Managing WebLogic
Recap.

            HTTP(S)

                                  HTTP(S)
                                  used
         Web Server
                                  to return
               HTTP(S), AJP etc   HTML
    Application Server
               e.g. SQL*Net

         Database etc
Key WebLogic Terms
 Domain
 ◦   Grouping of config/resources for an environment
 ◦   Has one set of administrators/security privileges
 ◦   Supports one major release of WebLogic at a time
 ◦   Is run in either ‘Production’ or ‘Development’ mode

 Admin Server
 ◦ Only one per domain
 ◦ Runs the Admin Console

 Managed Server
 ◦ The server(s)/JVM that run your app(s)
 ◦ Cluster(s) distribute your app over several MS

 Node Manager
 ◦ Java program that (re)starts your servers (MS & AS)
Example Architecture
                                             Note: with 64 bit OS &
                                                VMs it’s becoming
                                              common to have one
 app                                               WebLogic server
                                                   process per host
 requests   webserver
               plug-in
                                                 admin
                                                console
                                    admin     A node manager can
                                    server       manage multiple
                         managed              domains, though this
                                              may not be desirable
                          server
        domain                      node
                         host      manager
END
Component Notes
  A domain only ever has one Admin Server
  ◦ it looks after the master config.xml
  The Admin Server doesn’t actually need to be running all
  the time
  ◦ Managed Server Independence (MSI) – the MS can start up/run on
    its own
  ◦ AS primarily used for changing configuration or deploying apps
  ◦ BUT… more reliance post-Oracle on admin apps on AS
  You want Node Manager running all the time to stop/start
  WebLogic servers
Quick Demo
 WebLogic Console
 ◦   machines
 ◦   servers
 ◦   data sources
 ◦   deployed applications
Typical Enterprise Application
                   Load Balancers

         Web Server              Web Server

         WebLogic               WebLogic
           App                    App
       Managed Server Cluster Managed Server


     Oracle Database               Web
                                 Services
                Services Layer
Agenda

WebLogic Architecture and Components
Installing WLS & Configuring a Domain
Oracle Enterprise Manager – 11g & 12c
Managing WebLogic
Install
        Middleware Home
         ◦ ‘binaries’ which may include various Oracle layered products
           (such as SOA Suite or Forms)
         ◦ read-only*
        Domain Home
         ◦ configuration and logs
         ◦ can live happily outside the middleware home: nice!
         ◦ one middleware home / WebLogic installation can be used to
           run several separate domains
* a few parts of Oracle ignore this
WebLogic Installation Steps
1.   Install JVM
2.   Install a Middleware Home and WebLogic
3.   Configure a Domain

     Note: I usually install the JVM and use the generic
     .jar installer (i.e. same for all platforms) rather than
     using installer bundled with a JVM
1) Install JVM
 Sun HotSpot or JRockit (being merged in Java7/8), or
 JVM for your platform (e.g. IBM or HP)
 JRockit specific:
  ◦ Don’t install demos & samples/source code
  ◦ You probably don’t want JRockit as the public JRE
2) Install WebLogic
 E.g.
 java -jar wls1036_generic.jar 
                silent_xml=wls1036.rsp]
 [-mode=silent -silent_xml=wls1036.rsp]
  ◦ On small test environments without much /tmp you can use:
    -Djava.io.tmpdir=/softlib/tmp
  ◦ Don’t forget WLS has PSUs (e.g. 10.3.6.0.3) and quarterly SPUs (fka
    CPUs)

 Only most relevant screens follow…
Installation
WebLogic for DBAs
WebLogic for DBAs
3) Configure a Domain
 You use the config wizard to create domains
 ◦ $WL_HOME/common/bin/config.sh (.cmd)
 ◦ there are several other methods too
 There’s a good chance your app will configure a
 domain for you (though you may wish to standardise)

 Only most relevant screens follow…
WebLogic for DBAs
WebLogic for DBAs
WebLogic for DBAs
WebLogic for DBAs
Agenda

WebLogic Architecture and Components
Installing WLS & Configuring a Domain
Oracle Enterprise Manager 12c
Managing WebLogic
Enterprise Manager GC/CC
 Mostly a big java application
 Runs an Oracle Management Service (OMS) which
 OEM Agents (a java process running on each remote
 machine you want to manage) connect to over HTTPS
 Has a web application that provides the main EM
 console (and EM CLI)
EM Cloud Control
Fri 11:30


                                                  Agent
                             Web Server
           Oracle
      Management                                  Administrator
          Service          Managed Server
                            Node       Admin
                           Manager     Server




                                       Software       My Oracle
     Repository Database                Library        Support
                                 Services Layer
(OEM Grid Control 11g)
 11g GC was first OEM release to use WebLogic instead of
 OC4J
 You had to install WebLogic yourself first, then use
 SmartUpdate (BSU) to apply WDJ7 set of patches
 ◦ online or offline
 ◦ see http://www.veriton.co.uk/roller/fmw/entry/offline_patching_of_weblogic_server
 If you’re installing now go straight to EM 12cR2 ☺
WebLogic for DBAs
OEM Cloud Control 12c
 Installer sets up WebLogic for you
 Some options to customise to be consistent with your
 environment
WebLogic for DBAs
WebLogic for DBAs
Demo
 Installation (JDK, WebLogic)
 Domain creation
 Startup
Agenda

WebLogic Architecture and Components
Installing WLS & Configuring a Domain
Oracle Enterprise Manager 12c
Managing WebLogic
WebLogic for DBAs
Managing WebLogic
 Admin console is usually starting point
 Processes to check
 ◦ java for admin server & managed server
 ◦ java for nm
 Node manager (only use java version)
Admin & Managed server logs are under:
◦ DOMAIN_HOME/servers/<name>/logs
◦ Accessible through console too
Monitoring dashboard
Monitoring Toolset
 Pure WebLogic
  ◦ WebLogic Admin Console
 WebLogic plus middleware components (single
 system)
  ◦ OEM Fusion Middleware Control
 All products
  ◦ OEM 12c Cloud Control
Demo
 Processes
 Log files
 Monitoring Dashboard
Check out WebLogic Scripting Tool

 wlst.sh
  ◦ sets environment
  Initializing WebLogic Scripting Tool (WLST) ...

  Welcome to WebLogic Server Administration Scripting Shell

  Type help() for help on available commands

  wls:/offline> exit()
WLST Example
        Fri 15:45

def create_ds(DS_NAME, DS_PARAMS, TARGETS, JNDI, DB_USER, DB_PASS,
DB_SERVICE, DB_HOSTS, ONS_HOSTS):

      cd('/')
      cmo.createJDBCSystemResource(DS_NAME)

      cd('/JDBCSystemResources/'+DS_NAME+'/JDBCResource/'+DS_NAME)
      cmo.setName(DS_NAME)

      cd('JDBCDataSourceParams/'+DS_NAME)
      set('JNDINames',jarray.array([String(JNDI)], String))

      ...etc...
Agenda

WebLogic Architecture and Components
Installing WLS & Configuring a Domain
Oracle Enterprise Manager 12c
Managing WebLogic
WebLogic for DBAs
WebLogic is a java application server
◦ typically delivers HTML over HTTP(S)
All WLS processes run on a JVM
Middleware home is static; domain home contains config
and logs
WLS Console is usually first point of contact (though don’t
forget about WLST for automation)
OEM 12c runs on WebLogic but the installer now does the
WLS set up work for you
Thanks for listening!
                Twitter: @simon_haslam

 Oracle Fusion Middleware Architecture & Admin blog:
              http://simonhaslam.co.uk


    Fri 11:30

    Fri 15:45

More Related Content

What's hot (20)

PDF
Weblogic 12c installation (oracle linux)
Osama Mustafa
 
PDF
Access Denied: Real-World Use Cases for APEX and Real Application Security
Jim Czuprynski
 
PPT
SSD no banco de dados é bom mesmo?
pichiliani
 
PPT
WebSphere application server 8.5.5 - quick overview
Chris Sparshott
 
PPT
Aix The Future of UNIX
xKinAnx
 
PDF
Konfigurasi FTP di Windows Server 2003
Ryandika Alfarishi
 
PPT
Server virtualization by VMWare
sgurnam73
 
PDF
Vsol hg325 dac product datasheet v1.01(1)
MeritonEmrllahu1
 
PPT
Cours Middleware orientés objets
Vincent Englebert
 
PDF
Ceph with CloudStack
ShapeBlue
 
PDF
Instalacion Weblogic Server 12c Windows 10.
Moisés Elías Araya
 
PPTX
Introduction to Hyper-V
Mark Wilson
 
PPTX
4. install and configure hyper v
Hameda Hurmat
 
PPTX
Los beneficios de realizar backup en la nube de AWS
Amazon Web Services LATAM
 
PPTX
Hibernate jpa
Lhouceine OUHAMZA
 
PPTX
OMEGAMON XE for z/OS V530 Long client presentation
IBM z Systems Software - IT Service Management
 
DOC
Websphere interview Questions
gummadi1
 
DOC
Khaleel Devops Resume (2)
khaleel a
 
PDF
Windows Communication Foundation (WCF)
Peter R. Egli
 
PDF
Red Hat Enterprise Linux 8 Workshop
Ahmed El-Rayess
 
Weblogic 12c installation (oracle linux)
Osama Mustafa
 
Access Denied: Real-World Use Cases for APEX and Real Application Security
Jim Czuprynski
 
SSD no banco de dados é bom mesmo?
pichiliani
 
WebSphere application server 8.5.5 - quick overview
Chris Sparshott
 
Aix The Future of UNIX
xKinAnx
 
Konfigurasi FTP di Windows Server 2003
Ryandika Alfarishi
 
Server virtualization by VMWare
sgurnam73
 
Vsol hg325 dac product datasheet v1.01(1)
MeritonEmrllahu1
 
Cours Middleware orientés objets
Vincent Englebert
 
Ceph with CloudStack
ShapeBlue
 
Instalacion Weblogic Server 12c Windows 10.
Moisés Elías Araya
 
Introduction to Hyper-V
Mark Wilson
 
4. install and configure hyper v
Hameda Hurmat
 
Los beneficios de realizar backup en la nube de AWS
Amazon Web Services LATAM
 
Hibernate jpa
Lhouceine OUHAMZA
 
OMEGAMON XE for z/OS V530 Long client presentation
IBM z Systems Software - IT Service Management
 
Websphere interview Questions
gummadi1
 
Khaleel Devops Resume (2)
khaleel a
 
Windows Communication Foundation (WCF)
Peter R. Egli
 
Red Hat Enterprise Linux 8 Workshop
Ahmed El-Rayess
 

Viewers also liked (20)

PDF
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Markus Michalewicz
 
PPS
The Beauty Of The Sea
Popescu Florin
 
PDF
2Q10 Earnings Release
Gafisa RI !
 
PDF
ISSA Journal Paper - JavaScript Infection Model
Aditya K Sood
 
PDF
Words Associated with Questions about Macros in Tex
Angela Lozano
 
PDF
096 alalaq iphone
mhmas
 
PDF
2016 Volvo S60 Brochure | Orange County Volvo Dealer
Volvo Cars Mission Viejo
 
PPT
Versos
guest3dd12d
 
PDF
Welding machine catalogue from expert technology co.,ltd manufacture
carriewu0911
 
PDF
Kite introduction
kitehitech
 
PPTX
The popularity of the english language
Анжела Козак
 
TXT
Trigical for Trigeminal Neuralgia Treatment
Trigeminal Neuralgia Treatment Forums
 
DOCX
Web syahid 1210651273
Moh Syahid
 
PDF
Baby & Kids Volume 3 - Vector Graphic Artworks
TZipp
 
PDF
Noor ka khilona urdu (نور کا کھلونا)
dawateislami
 
PPTX
Team nova news c22 and c23 2014
Kathrine Brazil
 
PDF
Shero Company profile,2016
?? ?
 
PPT
A New Dimension Of Time Ppt Time Design
Troy Treleaven
 
PDF
Descobrindo a linguagem Perl
garux
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Markus Michalewicz
 
The Beauty Of The Sea
Popescu Florin
 
2Q10 Earnings Release
Gafisa RI !
 
ISSA Journal Paper - JavaScript Infection Model
Aditya K Sood
 
Words Associated with Questions about Macros in Tex
Angela Lozano
 
096 alalaq iphone
mhmas
 
2016 Volvo S60 Brochure | Orange County Volvo Dealer
Volvo Cars Mission Viejo
 
Versos
guest3dd12d
 
Welding machine catalogue from expert technology co.,ltd manufacture
carriewu0911
 
Kite introduction
kitehitech
 
The popularity of the english language
Анжела Козак
 
Trigical for Trigeminal Neuralgia Treatment
Trigeminal Neuralgia Treatment Forums
 
Web syahid 1210651273
Moh Syahid
 
Baby & Kids Volume 3 - Vector Graphic Artworks
TZipp
 
Noor ka khilona urdu (نور کا کھلونا)
dawateislami
 
Team nova news c22 and c23 2014
Kathrine Brazil
 
Shero Company profile,2016
?? ?
 
A New Dimension Of Time Ppt Time Design
Troy Treleaven
 
Descobrindo a linguagem Perl
garux
 
Ad

Similar to WebLogic for DBAs (20)

PDF
WebLogic for DBAs 1.0h
Simon Haslam
 
PDF
Weblogic server administration
Amit Sharma
 
PDF
Weblogic server administration
bispsolutions
 
PPTX
Weblogic
sudeeporcl
 
PPT
WLS
Bebo Yu
 
PDF
Weblogic 11g admin basic with screencast
Rajiv Gupta
 
PDF
Oracle Web Logic server
Rakesh Gujjarlapudi
 
PPTX
Weblogic 101 for dba
Osama Mustafa
 
PPTX
Weblogic application server
Anuj Tomar
 
PDF
Oracle WebLogic Server 11g for IT OPS
Rakesh Gujjarlapudi
 
PDF
F428435966 odtug web-logic for developers
Meng He
 
PPT
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Mohammed Khan
 
PPT
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Bhaskar Naik
 
PPTX
Migrating EnterpriseOne to WebLogic Server
Velocity Technology Solutions
 
PDF
Oracle Weblogic 11g admin guide 2
Ram Kumar
 
DOCX
Weblogic 12c Graphical Mode installation steps in Windows
webservicesm
 
DOCX
12c weblogic installation steps for Windows
Cognizant
 
PPT
Oracle WebLogic Server Basic Concepts
James Bayer
 
PPT
Weblogicserveroverviewtopologyconfigurationadministration
Gokhan Fazli Celik
 
PPT
WebLogic Scripting Tool Overview
James Bayer
 
WebLogic for DBAs 1.0h
Simon Haslam
 
Weblogic server administration
Amit Sharma
 
Weblogic server administration
bispsolutions
 
Weblogic
sudeeporcl
 
WLS
Bebo Yu
 
Weblogic 11g admin basic with screencast
Rajiv Gupta
 
Oracle Web Logic server
Rakesh Gujjarlapudi
 
Weblogic 101 for dba
Osama Mustafa
 
Weblogic application server
Anuj Tomar
 
Oracle WebLogic Server 11g for IT OPS
Rakesh Gujjarlapudi
 
F428435966 odtug web-logic for developers
Meng He
 
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Mohammed Khan
 
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Bhaskar Naik
 
Migrating EnterpriseOne to WebLogic Server
Velocity Technology Solutions
 
Oracle Weblogic 11g admin guide 2
Ram Kumar
 
Weblogic 12c Graphical Mode installation steps in Windows
webservicesm
 
12c weblogic installation steps for Windows
Cognizant
 
Oracle WebLogic Server Basic Concepts
James Bayer
 
Weblogicserveroverviewtopologyconfigurationadministration
Gokhan Fazli Celik
 
WebLogic Scripting Tool Overview
James Bayer
 
Ad

More from Simon Haslam (20)

PDF
Platform Engineering for the Modern Oracle World
Simon Haslam
 
PDF
Better Practices when Using Terraform to Manage Oracle Cloud Infrastructure
Simon Haslam
 
PDF
The Kubernetes WebLogic revival (part 2)
Simon Haslam
 
PDF
The Kubernetes WebLogic revival (part 1)
Simon Haslam
 
PDF
What You Need to Know about Oracle Cloud Connectivity
Simon Haslam
 
PDF
Tips & Tricks for Oracle PaaS Admins
Simon Haslam
 
PDF
Platform Provisioning Automation for Oracle Cloud
Simon Haslam
 
PDF
Terrraform meet Oracle Cloud: Platform Provisioning Automation
Simon Haslam
 
PDF
Delivering Mobile Apps to the Field with Oracle
Simon Haslam
 
PDF
Provisioning with Oracle Cloud Stack Manager
Simon Haslam
 
PDF
Oracle SOA Cloud - Skanska Customer Journey
Simon Haslam
 
PDF
Tips & Tricks for Oracle PaaS Admins
Simon Haslam
 
PDF
Delivering Mobile Apps to the Field with Oracle JET
Simon Haslam
 
PDF
JET Hybrid Mobile Apps - taster for Oracle CodeOne
Simon Haslam
 
PDF
Delivering Mobile Apps to the field using Oracle
Simon Haslam
 
PDF
Provisioning with Oracle Cloud Stack Manager
Simon Haslam
 
PDF
Connecting Oracle Cloud to your Data Centre (Part A)
Simon Haslam
 
PDF
Running SOA in the Cloud: SOA CS for SOA Suite Customers
Simon Haslam
 
PDF
Tips & Tricks for Java & SOA Cloud Service
Simon Haslam
 
PDF
SOA & WebLogic - Lift & Shift to the Cloud
Simon Haslam
 
Platform Engineering for the Modern Oracle World
Simon Haslam
 
Better Practices when Using Terraform to Manage Oracle Cloud Infrastructure
Simon Haslam
 
The Kubernetes WebLogic revival (part 2)
Simon Haslam
 
The Kubernetes WebLogic revival (part 1)
Simon Haslam
 
What You Need to Know about Oracle Cloud Connectivity
Simon Haslam
 
Tips & Tricks for Oracle PaaS Admins
Simon Haslam
 
Platform Provisioning Automation for Oracle Cloud
Simon Haslam
 
Terrraform meet Oracle Cloud: Platform Provisioning Automation
Simon Haslam
 
Delivering Mobile Apps to the Field with Oracle
Simon Haslam
 
Provisioning with Oracle Cloud Stack Manager
Simon Haslam
 
Oracle SOA Cloud - Skanska Customer Journey
Simon Haslam
 
Tips & Tricks for Oracle PaaS Admins
Simon Haslam
 
Delivering Mobile Apps to the Field with Oracle JET
Simon Haslam
 
JET Hybrid Mobile Apps - taster for Oracle CodeOne
Simon Haslam
 
Delivering Mobile Apps to the field using Oracle
Simon Haslam
 
Provisioning with Oracle Cloud Stack Manager
Simon Haslam
 
Connecting Oracle Cloud to your Data Centre (Part A)
Simon Haslam
 
Running SOA in the Cloud: SOA CS for SOA Suite Customers
Simon Haslam
 
Tips & Tricks for Java & SOA Cloud Service
Simon Haslam
 
SOA & WebLogic - Lift & Shift to the Cloud
Simon Haslam
 

Recently uploaded (20)

PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 

WebLogic for DBAs

  • 1. WebLogic for DBAs Simon Haslam Veriton Limited
  • 2. Simon Haslam / Veriton Consultant & Oracle Partner, established for 16 years I mainly work on the middle tier of demanding web & contact-centre applications: architecture planning to installation to troubleshooting (and most things in between!)
  • 3. Agenda WebLogic Architecture and Components Installing WLS & Configuring a Domain Oracle Enterprise Manager 12c Managing WebLogic
  • 4. Recap. HTTP(S) HTTP(S) used Web Server to return HTTP(S), AJP etc HTML Application Server e.g. SQL*Net Database etc
  • 5. Key WebLogic Terms Domain ◦ Grouping of config/resources for an environment ◦ Has one set of administrators/security privileges ◦ Supports one major release of WebLogic at a time ◦ Is run in either ‘Production’ or ‘Development’ mode Admin Server ◦ Only one per domain ◦ Runs the Admin Console Managed Server ◦ The server(s)/JVM that run your app(s) ◦ Cluster(s) distribute your app over several MS Node Manager ◦ Java program that (re)starts your servers (MS & AS)
  • 6. Example Architecture Note: with 64 bit OS & VMs it’s becoming common to have one app WebLogic server process per host requests webserver plug-in admin console admin A node manager can server manage multiple managed domains, though this may not be desirable server domain node host manager END
  • 7. Component Notes A domain only ever has one Admin Server ◦ it looks after the master config.xml The Admin Server doesn’t actually need to be running all the time ◦ Managed Server Independence (MSI) – the MS can start up/run on its own ◦ AS primarily used for changing configuration or deploying apps ◦ BUT… more reliance post-Oracle on admin apps on AS You want Node Manager running all the time to stop/start WebLogic servers
  • 8. Quick Demo WebLogic Console ◦ machines ◦ servers ◦ data sources ◦ deployed applications
  • 9. Typical Enterprise Application Load Balancers Web Server Web Server WebLogic WebLogic App App Managed Server Cluster Managed Server Oracle Database Web Services Services Layer
  • 10. Agenda WebLogic Architecture and Components Installing WLS & Configuring a Domain Oracle Enterprise Manager – 11g & 12c Managing WebLogic
  • 11. Install Middleware Home ◦ ‘binaries’ which may include various Oracle layered products (such as SOA Suite or Forms) ◦ read-only* Domain Home ◦ configuration and logs ◦ can live happily outside the middleware home: nice! ◦ one middleware home / WebLogic installation can be used to run several separate domains * a few parts of Oracle ignore this
  • 12. WebLogic Installation Steps 1. Install JVM 2. Install a Middleware Home and WebLogic 3. Configure a Domain Note: I usually install the JVM and use the generic .jar installer (i.e. same for all platforms) rather than using installer bundled with a JVM
  • 13. 1) Install JVM Sun HotSpot or JRockit (being merged in Java7/8), or JVM for your platform (e.g. IBM or HP) JRockit specific: ◦ Don’t install demos & samples/source code ◦ You probably don’t want JRockit as the public JRE
  • 14. 2) Install WebLogic E.g. java -jar wls1036_generic.jar silent_xml=wls1036.rsp] [-mode=silent -silent_xml=wls1036.rsp] ◦ On small test environments without much /tmp you can use: -Djava.io.tmpdir=/softlib/tmp ◦ Don’t forget WLS has PSUs (e.g. 10.3.6.0.3) and quarterly SPUs (fka CPUs) Only most relevant screens follow…
  • 18. 3) Configure a Domain You use the config wizard to create domains ◦ $WL_HOME/common/bin/config.sh (.cmd) ◦ there are several other methods too There’s a good chance your app will configure a domain for you (though you may wish to standardise) Only most relevant screens follow…
  • 23. Agenda WebLogic Architecture and Components Installing WLS & Configuring a Domain Oracle Enterprise Manager 12c Managing WebLogic
  • 24. Enterprise Manager GC/CC Mostly a big java application Runs an Oracle Management Service (OMS) which OEM Agents (a java process running on each remote machine you want to manage) connect to over HTTPS Has a web application that provides the main EM console (and EM CLI)
  • 25. EM Cloud Control Fri 11:30 Agent Web Server Oracle Management Administrator Service Managed Server Node Admin Manager Server Software My Oracle Repository Database Library Support Services Layer
  • 26. (OEM Grid Control 11g) 11g GC was first OEM release to use WebLogic instead of OC4J You had to install WebLogic yourself first, then use SmartUpdate (BSU) to apply WDJ7 set of patches ◦ online or offline ◦ see http://www.veriton.co.uk/roller/fmw/entry/offline_patching_of_weblogic_server If you’re installing now go straight to EM 12cR2 ☺
  • 28. OEM Cloud Control 12c Installer sets up WebLogic for you Some options to customise to be consistent with your environment
  • 31. Demo Installation (JDK, WebLogic) Domain creation Startup
  • 32. Agenda WebLogic Architecture and Components Installing WLS & Configuring a Domain Oracle Enterprise Manager 12c Managing WebLogic
  • 34. Managing WebLogic Admin console is usually starting point Processes to check ◦ java for admin server & managed server ◦ java for nm Node manager (only use java version)
  • 35. Admin & Managed server logs are under: ◦ DOMAIN_HOME/servers/<name>/logs ◦ Accessible through console too Monitoring dashboard
  • 36. Monitoring Toolset Pure WebLogic ◦ WebLogic Admin Console WebLogic plus middleware components (single system) ◦ OEM Fusion Middleware Control All products ◦ OEM 12c Cloud Control
  • 37. Demo Processes Log files Monitoring Dashboard
  • 38. Check out WebLogic Scripting Tool wlst.sh ◦ sets environment Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands wls:/offline> exit()
  • 39. WLST Example Fri 15:45 def create_ds(DS_NAME, DS_PARAMS, TARGETS, JNDI, DB_USER, DB_PASS, DB_SERVICE, DB_HOSTS, ONS_HOSTS): cd('/') cmo.createJDBCSystemResource(DS_NAME) cd('/JDBCSystemResources/'+DS_NAME+'/JDBCResource/'+DS_NAME) cmo.setName(DS_NAME) cd('JDBCDataSourceParams/'+DS_NAME) set('JNDINames',jarray.array([String(JNDI)], String)) ...etc...
  • 40. Agenda WebLogic Architecture and Components Installing WLS & Configuring a Domain Oracle Enterprise Manager 12c Managing WebLogic
  • 42. WebLogic is a java application server ◦ typically delivers HTML over HTTP(S) All WLS processes run on a JVM Middleware home is static; domain home contains config and logs WLS Console is usually first point of contact (though don’t forget about WLST for automation) OEM 12c runs on WebLogic but the installer now does the WLS set up work for you
  • 43. Thanks for listening! Twitter: @simon_haslam Oracle Fusion Middleware Architecture & Admin blog: http://simonhaslam.co.uk Fri 11:30 Fri 15:45