SlideShare a Scribd company logo
1 of 40
Download to read offline
WebLogic for DBAs
                   Simon Haslam
                  Veriton Limited

1 (1.0)
Simon Haslam / Veriton

     Consultant & Oracle Partner,
     established for 15 years

     I mainly work on demanding web &
     contact-centre applications

     Architecture planning to installation     Middle
                                             Admin ware
     to troubleshooting (and most things          istrati
                                                         on
     in between!)


2 (1.0)
Agenda
1.   WebLogic Architecture and Components
2.   Installing WLS & Configuring a Domain
3.   Oracle Enterprise Manager – 11g & 12c
4.   Managing WebLogic
Recap.

                HTTP(S)

                                           HTTP(S)
                                           used
             Web Server                    to return
                                           HTML
                   HTTP(S), AJP etc


          Application Server

                   e.g. SQL*Net

            Database etc
4 (1.0)
Key WebLogic Terms
          • Domain
            – Grouping of config/resources for an environment
            – Has one set of administrators/security privileges
            – Can be in Production or Development mode
          • Admin Server
            – Only one per domain
            – Runs the Admin Console
            – Can be relocated for HA
          • Managed Server
            – The server(s)/JVM that run your app(s)
            – Cluster(s) distribute your app over several MS
          • Node Manager
            – Small java program that (re)starts your servers (MS & AS)
5 (1.0)
Example Architecture
                             machine      node
                                         manager

  app                              managed
  requests   webserver               server
                   plug-in    managed
                               server               admin
                                                   console
                             machine
                                          admin
                                          server
                             managed
                              server

          domain                          node
                                         manager
END
6 (1.0)
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 – the MS can
              start up/run on its own
            – AS primarily used for changing configuration
              or deploying apps
          • You want Node Manager running all the
            time to stop/start WebLogic servers

7 (1.0)
Quick Demo
          • WebLogic Console
            –   machines
            –   servers
            –   data sources
            –   deployed applications




8 (1.0)
Typical Enterprise Application
                         Load Balancers


               Web Server                 Web Server


               WebLogic                   WebLogic
                 App                        App
             Managed Server             Managed Server
                              Cluster



           Oracle Database                  Web
                                            Web
           (RAC and/or DG)                Services
                                           Services
                      Services Layer
9 (1.0)
Enterprise Manager GC/CC
           • Actually a fairly straightforward java
             application
           • Runs an Oracle Management Service (OMS)
             which OEM Agents (server processes
             running on remote machines you want to
             manage) connect to over HTTPS
           • Has a web application that provides the
             main EM console


10 (1.0)
EM Grid/Cloud Control (HA)
                            Load Balancer


                   Web Server             Web Server
           OMS                                         OMS
            1                                           2
                   WebLogic             WebLogic
                  EMGC_OMS1            EMGC_OMS2
                 Managed Server       Managed Server



            Repository Database              My
                                             My
              (DG and/or RAC)              Oracle
                                            Oracle
                                          Support
                                           Support
                         Services Layer
11 (1.0)
Agenda
1.   WebLogic Architecture and Components
2.   Installing WLS & Configuring a Domain
3.   Oracle Enterprise Manager – 11g & 12c
4.   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
13 (1.0)
WebLogic Installation Steps
           1. Install JVM (typically JRockit)
           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


14 (1.0)
1) Install JVM
           • Sun HotSpot or JRockit (will converge), or
             JVM for your platform (e.g. IBM)
           • JRockit specific:
             – don’t install demos & samples/source code
             – Windows latest – you probably don’t want
               JRockit as the public JRE




15 (1.0)
2) Install WebLogic
           • e.g. java -jar wls1036_generic.jar




           • Only most relevant screens follow…


16 (1.0)
17 (1.0)
18 (1.0)
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…


19 (1.0)
20 (1.0)
21 (1.0)
22 (1.0)
Agenda
1.   WebLogic Architecture and Components
2.   Installing WLS & Configuring a Domain
3.   Oracle Enterprise Manager – 11g & 12c
4.   Managing WebLogic
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 you’ll probably go
             straight to EM 12c ☺

24 (1.0)
25 (1.0)
EM 12c – most relevant screens




26 (1.0)
27 (1.0)
Note: this is the current list of plug-ins for
           12.1 BP1 but will probably increase over time

28 (1.0)
Configure




29 (1.0)
30 (1.0)
32 bit Gotcha!
           • If you’re installing on Oracle Linux 5.7 see:
             https://forums.oracle.com/forums/thread.jspa?
             messageID=10220015
           • Need to lower memory usage in
             <ORACLE_HOME>/oms/sysman/omsca/scripts/
             wls/create_domain.py
           • You wouldn’t use 32 bit in production now
             but may do for laptop or lab VM



31 (1.0)
Agenda
1.   WebLogic Architecture and Components
2.   Installing WLS & Configuring a Domain
3.   Oracle Enterprise Manager – 11g & 12c
4.   Managing WebLogic
33 (1.0)
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)
           • Log files…




34 (1.0)
Log Files
           • Managed server logs are under:
             – DOMAIN_HOME/servers/<name>/logs
             – Accessible through console too
           • Diagnostics
           • Console monitor




35 (1.0)
Quick Demo
           • Processes
           • Log files




36 (1.0)
WLST Example

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...




37 (1.0)
38 (1.0)
• 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
39 (1.0)
Thanks for listening!

                 Twitter: @simon_haslam

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




40 (1.0)

More Related Content

What's hot

WebLogic Administration course outline
WebLogic Administration course outlineWebLogic Administration course outline
WebLogic Administration course outline
Vybhava Technologies
 
Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic Concepts
James Bayer
 
WebSphere 6.1 admin Course 3
WebSphere 6.1 admin Course 3WebSphere 6.1 admin Course 3
WebSphere 6.1 admin Course 3
odedns
 

What's hot (20)

Oracle WebLogic 11g Topology
Oracle WebLogic 11g TopologyOracle WebLogic 11g Topology
Oracle WebLogic 11g Topology
 
WAS vs JBoss, WebLogic, Tomcat (year 2015)
WAS vs JBoss, WebLogic, Tomcat (year 2015)WAS vs JBoss, WebLogic, Tomcat (year 2015)
WAS vs JBoss, WebLogic, Tomcat (year 2015)
 
WAS Support & Monitoring Tools
WAS Support & Monitoring ToolsWAS Support & Monitoring Tools
WAS Support & Monitoring Tools
 
IBM WebSphere Application Server (Clustering) Concept
IBM WebSphere Application Server (Clustering) ConceptIBM WebSphere Application Server (Clustering) Concept
IBM WebSphere Application Server (Clustering) Concept
 
WebLogic Administration course outline
WebLogic Administration course outlineWebLogic Administration course outline
WebLogic Administration course outline
 
WebLogic FAQs
WebLogic FAQsWebLogic FAQs
WebLogic FAQs
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
 
Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application server
 
Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic Concepts
 
WebLogic for DBAs
WebLogic for DBAsWebLogic for DBAs
WebLogic for DBAs
 
How WebLogic 12c Can Boost Your Productivity
How WebLogic 12c Can Boost Your ProductivityHow WebLogic 12c Can Boost Your Productivity
How WebLogic 12c Can Boost Your Productivity
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs TomcatWebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
 
F428435966 odtug web-logic for developers
F428435966 odtug   web-logic for developersF428435966 odtug   web-logic for developers
F428435966 odtug web-logic for developers
 
WebSphere 6.1 admin Course 3
WebSphere 6.1 admin Course 3WebSphere 6.1 admin Course 3
WebSphere 6.1 admin Course 3
 
Introduction to vSphere logs
Introduction to vSphere logsIntroduction to vSphere logs
Introduction to vSphere logs
 
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
 
Websphere interview Questions
Websphere interview QuestionsWebsphere interview Questions
Websphere interview Questions
 
An introduction to weblogic console
An introduction to weblogic consoleAn introduction to weblogic console
An introduction to weblogic console
 
weblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server courseweblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server course
 

Similar to WebLogic for DBAs 1.0h

01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup
dhrubo kayal
 
WebLogic JMX for DevOps
WebLogic JMX for DevOpsWebLogic JMX for DevOps
WebLogic JMX for DevOps
Frank Munz
 
Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and docker
sflynn073
 

Similar to WebLogic for DBAs 1.0h (20)

WLS
WLSWLS
WLS
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
 
Oracle Web Logic server
Oracle Web Logic serverOracle Web Logic server
Oracle Web Logic server
 
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
 
01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup
 
The Top 10 Things Oracle UCM Users Need To Know About WebLogic
The Top 10 Things Oracle UCM Users Need To Know About WebLogicThe Top 10 Things Oracle UCM Users Need To Know About WebLogic
The Top 10 Things Oracle UCM Users Need To Know About WebLogic
 
AAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
AAI-1304 Technical Deep-Dive into IBM WebSphere LibertyAAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
AAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
 
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla1512 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
 
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoServer Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
 
Weblogic Oracle server aplication - Neos
Weblogic Oracle server aplication - NeosWeblogic Oracle server aplication - Neos
Weblogic Oracle server aplication - Neos
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and Docker
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC
 
The Kubernetes WebLogic revival (part 1)
The Kubernetes WebLogic revival (part 1)The Kubernetes WebLogic revival (part 1)
The Kubernetes WebLogic revival (part 1)
 
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
 
RTC/CLM 5.0 Adoption Paths: Deploying in 16 Steps
 RTC/CLM 5.0 Adoption Paths: Deploying in 16 Steps RTC/CLM 5.0 Adoption Paths: Deploying in 16 Steps
RTC/CLM 5.0 Adoption Paths: Deploying in 16 Steps
 
WebLogic JMX for DevOps
WebLogic JMX for DevOpsWebLogic JMX for DevOps
WebLogic JMX for DevOps
 
Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and docker
 
12 Things about Oracle WebLogic Server 12c
12 Things	 about Oracle WebLogic Server 12c12 Things	 about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12c
 
Operational Best Practices in the Cloud
Operational Best Practices in the CloudOperational Best Practices in the Cloud
Operational Best Practices in the Cloud
 
Weblogic
WeblogicWeblogic
Weblogic
 

More from Simon Haslam

More from Simon Haslam (20)

Platform Engineering for the Modern Oracle World
Platform Engineering for the Modern Oracle WorldPlatform Engineering for the Modern Oracle World
Platform Engineering for the Modern Oracle World
 
Better Practices when Using Terraform to Manage Oracle Cloud Infrastructure
Better Practices when Using Terraform to Manage Oracle Cloud InfrastructureBetter Practices when Using Terraform to Manage Oracle Cloud Infrastructure
Better Practices when Using Terraform to Manage Oracle Cloud Infrastructure
 
The Kubernetes WebLogic revival (part 2)
The Kubernetes WebLogic revival (part 2)The Kubernetes WebLogic revival (part 2)
The Kubernetes WebLogic revival (part 2)
 
What You Need to Know about Oracle Cloud Connectivity
What You Need to Know about Oracle Cloud ConnectivityWhat You Need to Know about Oracle Cloud Connectivity
What You Need to Know about Oracle Cloud Connectivity
 
Tips & Tricks for Oracle PaaS Admins
Tips & Tricks for Oracle PaaS AdminsTips & Tricks for Oracle PaaS Admins
Tips & Tricks for Oracle PaaS Admins
 
Platform Provisioning Automation for Oracle Cloud
Platform Provisioning Automation for Oracle CloudPlatform Provisioning Automation for Oracle Cloud
Platform Provisioning Automation for Oracle Cloud
 
Terrraform meet Oracle Cloud: Platform Provisioning Automation
Terrraform meet Oracle Cloud: Platform Provisioning AutomationTerrraform meet Oracle Cloud: Platform Provisioning Automation
Terrraform meet Oracle Cloud: Platform Provisioning Automation
 
Delivering Mobile Apps to the Field with Oracle
Delivering Mobile Apps to the Field with OracleDelivering Mobile Apps to the Field with Oracle
Delivering Mobile Apps to the Field with Oracle
 
Provisioning with Oracle Cloud Stack Manager
Provisioning with Oracle Cloud Stack ManagerProvisioning with Oracle Cloud Stack Manager
Provisioning with Oracle Cloud Stack Manager
 
Oracle SOA Cloud - Skanska Customer Journey
Oracle SOA Cloud - Skanska Customer JourneyOracle SOA Cloud - Skanska Customer Journey
Oracle SOA Cloud - Skanska Customer Journey
 
Tips & Tricks for Oracle PaaS Admins
Tips & Tricks for Oracle PaaS AdminsTips & Tricks for Oracle PaaS Admins
Tips & Tricks for Oracle PaaS Admins
 
Delivering Mobile Apps to the Field with Oracle JET
Delivering Mobile Apps to the Field with Oracle JETDelivering Mobile Apps to the Field with Oracle JET
Delivering Mobile Apps to the Field with Oracle JET
 
JET Hybrid Mobile Apps - taster for Oracle CodeOne
JET Hybrid Mobile Apps - taster for Oracle CodeOneJET Hybrid Mobile Apps - taster for Oracle CodeOne
JET Hybrid Mobile Apps - taster for Oracle CodeOne
 
Delivering Mobile Apps to the field using Oracle
Delivering Mobile Apps to the field using OracleDelivering Mobile Apps to the field using Oracle
Delivering Mobile Apps to the field using Oracle
 
Provisioning with Oracle Cloud Stack Manager
Provisioning with Oracle Cloud Stack ManagerProvisioning with Oracle Cloud Stack Manager
Provisioning with Oracle Cloud Stack Manager
 
Connecting Oracle Cloud to your Data Centre (Part A)
Connecting Oracle Cloud to your Data Centre (Part A)Connecting Oracle Cloud to your Data Centre (Part A)
Connecting Oracle Cloud to your Data Centre (Part A)
 
Running SOA in the Cloud: SOA CS for SOA Suite Customers
Running SOA in the Cloud: SOA CS for SOA Suite CustomersRunning SOA in the Cloud: SOA CS for SOA Suite Customers
Running SOA in the Cloud: SOA CS for SOA Suite Customers
 
Tips & Tricks for Java & SOA Cloud Service
Tips & Tricks for Java & SOA Cloud ServiceTips & Tricks for Java & SOA Cloud Service
Tips & Tricks for Java & SOA Cloud Service
 
SOA & WebLogic - Lift & Shift to the Cloud
SOA & WebLogic - Lift & Shift to the CloudSOA & WebLogic - Lift & Shift to the Cloud
SOA & WebLogic - Lift & Shift to the Cloud
 
Driving DevOps for Oracle with the orawls Puppet Modules
Driving DevOps for Oracle with the orawls Puppet ModulesDriving DevOps for Oracle with the orawls Puppet Modules
Driving DevOps for Oracle with the orawls Puppet Modules
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

WebLogic for DBAs 1.0h

  • 1. WebLogic for DBAs Simon Haslam Veriton Limited 1 (1.0)
  • 2. Simon Haslam / Veriton Consultant & Oracle Partner, established for 15 years I mainly work on demanding web & contact-centre applications Architecture planning to installation Middle Admin ware to troubleshooting (and most things istrati on in between!) 2 (1.0)
  • 3. Agenda 1. WebLogic Architecture and Components 2. Installing WLS & Configuring a Domain 3. Oracle Enterprise Manager – 11g & 12c 4. Managing WebLogic
  • 4. Recap. HTTP(S) HTTP(S) used Web Server to return HTML HTTP(S), AJP etc Application Server e.g. SQL*Net Database etc 4 (1.0)
  • 5. Key WebLogic Terms • Domain – Grouping of config/resources for an environment – Has one set of administrators/security privileges – Can be in Production or Development mode • Admin Server – Only one per domain – Runs the Admin Console – Can be relocated for HA • Managed Server – The server(s)/JVM that run your app(s) – Cluster(s) distribute your app over several MS • Node Manager – Small java program that (re)starts your servers (MS & AS) 5 (1.0)
  • 6. Example Architecture machine node manager app managed requests webserver server plug-in managed server admin console machine admin server managed server domain node manager END 6 (1.0)
  • 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 – the MS can start up/run on its own – AS primarily used for changing configuration or deploying apps • You want Node Manager running all the time to stop/start WebLogic servers 7 (1.0)
  • 8. Quick Demo • WebLogic Console – machines – servers – data sources – deployed applications 8 (1.0)
  • 9. Typical Enterprise Application Load Balancers Web Server Web Server WebLogic WebLogic App App Managed Server Managed Server Cluster Oracle Database Web Web (RAC and/or DG) Services Services Services Layer 9 (1.0)
  • 10. Enterprise Manager GC/CC • Actually a fairly straightforward java application • Runs an Oracle Management Service (OMS) which OEM Agents (server processes running on remote machines you want to manage) connect to over HTTPS • Has a web application that provides the main EM console 10 (1.0)
  • 11. EM Grid/Cloud Control (HA) Load Balancer Web Server Web Server OMS OMS 1 2 WebLogic WebLogic EMGC_OMS1 EMGC_OMS2 Managed Server Managed Server Repository Database My My (DG and/or RAC) Oracle Oracle Support Support Services Layer 11 (1.0)
  • 12. Agenda 1. WebLogic Architecture and Components 2. Installing WLS & Configuring a Domain 3. Oracle Enterprise Manager – 11g & 12c 4. Managing WebLogic
  • 13. 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 13 (1.0)
  • 14. WebLogic Installation Steps 1. Install JVM (typically JRockit) 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 14 (1.0)
  • 15. 1) Install JVM • Sun HotSpot or JRockit (will converge), or JVM for your platform (e.g. IBM) • JRockit specific: – don’t install demos & samples/source code – Windows latest – you probably don’t want JRockit as the public JRE 15 (1.0)
  • 16. 2) Install WebLogic • e.g. java -jar wls1036_generic.jar • Only most relevant screens follow… 16 (1.0)
  • 19. 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… 19 (1.0)
  • 23. Agenda 1. WebLogic Architecture and Components 2. Installing WLS & Configuring a Domain 3. Oracle Enterprise Manager – 11g & 12c 4. Managing WebLogic
  • 24. 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 you’ll probably go straight to EM 12c ☺ 24 (1.0)
  • 26. EM 12c – most relevant screens 26 (1.0)
  • 28. Note: this is the current list of plug-ins for 12.1 BP1 but will probably increase over time 28 (1.0)
  • 31. 32 bit Gotcha! • If you’re installing on Oracle Linux 5.7 see: https://forums.oracle.com/forums/thread.jspa? messageID=10220015 • Need to lower memory usage in <ORACLE_HOME>/oms/sysman/omsca/scripts/ wls/create_domain.py • You wouldn’t use 32 bit in production now but may do for laptop or lab VM 31 (1.0)
  • 32. Agenda 1. WebLogic Architecture and Components 2. Installing WLS & Configuring a Domain 3. Oracle Enterprise Manager – 11g & 12c 4. 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) • Log files… 34 (1.0)
  • 35. Log Files • Managed server logs are under: – DOMAIN_HOME/servers/<name>/logs – Accessible through console too • Diagnostics • Console monitor 35 (1.0)
  • 36. Quick Demo • Processes • Log files 36 (1.0)
  • 37. WLST Example 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... 37 (1.0)
  • 39. • 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 39 (1.0)
  • 40. Thanks for listening! Twitter: @simon_haslam Oracle Fusion Middleware Admin blog: http://simonhaslam.co.uk 40 (1.0)