SlideShare ist ein Scribd-Unternehmen logo
1 von 50
Downloaden Sie, um offline zu lesen
A presentation by Michel Schildmeijer,
11 October 2021
Open Source Monitoring
Of an Enterprise Grade Platform
Me & My “careerpath” evolution
Kindergarten
1970
Junior
Highschool
1972
Highschool
1977
Study
Clinical
Pharmaco
therapy
1981
Royal
Airforce &
Clinical
Pharmacist
1987
Careerswitch
to IT
2000
• From Amsterdam, the Netherlands
• Work @ Qualogy
• Oracle ACE since 2012, ACED 2019
• Authored 2 books WebLogic in 2010
• IT Career started with UNIX in 1994
• Former BEA technology in 2000
• Focus on containerization strategies,
• DevOps etc
Born
1966
• Today’s Challenges
• Java Enterprise Application Servers & containerization
• Kubernetes
• Operators
• Monitoring
Topics
Today’s complexity of IT Platforms
Today’s complexity of Applications
Java
Microservices
Huge amounts of data
•Functional data
□ Application functional
data
□ User related data
•Non Functional Data
□ Metadata
□ Log data
□ Runtime data
Operational control
•Get in control of all IT systems
□ By knowing and interpret this data
•Do predictive analysis
□ Know when to expect peak loads
□ Know what trends are going on
□ Know what end users experiencing
□ Know the weaknesses and vulnerabilities of
 Systems, servers, network, databases
 Application and tiers
Well known Toolstacks
Dashboard Visualization
Gather Diagnostics
Logfiles Visualization
Collect Logentries
Java EE App Server
containerized
Oracle WebLogic Foundation
Cloud Application Foundation for Java applications
WebLogic Server
Java EE: Reliability, Availability, Scalability & Performance
Coherence EE
Data Grid Scale Out for Java, C++, .NET
Java Virtual Machines
Oracle and OpenSource JVM’s
Development
Tools
Jdeveloper
/
Eclipse
Enterprise
Manager
Admin
and
Operations
WebLogic Suite
Custom App
Packaged
App
Fusion
Middleware
Building Blocks Java EE WLS Containerization
• WebLogic Docker certification
□ Docker images, Dockerfiles, GitHub
• WebLogic OCI certification
□ Open Container Initiative CRI-O / KATA
• Integration
□ Management: Operator
□ Monitoring: Exporter for Prometheus
□ Migration: Deploy tooling
□ Logging: Exporter for Elastic Stack
□ Image: Tool management
Kubernetes
Operator
WebLogic WebLogic WebLogic
kubectl
WebLogic in Containers
Base Image Linux
Image JDK & WebLogic bins
Image WebLogic Domain
Image WebLogic Deployed app
Container Runtime
Container Software
libvirt LXC
Linux Kernel
Operators
Kubernetes Operators
• Extension on K8S api
• Configure & manage more complex instances
• Why Operators ?
□ Stateless (web ) apps are easy to manage, scale
□ But thougher when it is with stateful
□ To leverage more experience based knowledge to k8s
The operators from the field in a software driven solution!
WebLogic Kubernetes Operator
• Simpler WebLogic management in Kubernetes
• Kubernetes resources are allocated for WebLogic domain(s)
• Manages overall WebLogic environment through Kubernetes APIs
□ Load Balancer, Network,
□ Ingress Controllers,
□ Security,
□ HA restart, upgrade, scaling
□ Persistent storage
• Ensures WebLogic best practices are followed
WebLogic Kubernetes Operator
• Helm charts for operator install
• Persistent volumes for logfiles
WebLogic Kubernetes Operator
Kubernetes Cluster
pod
pod pod pod pod
K8S Node K8S Node
WebLogic Cluster
WLS K8S operator
Orchestrate
manage
kubectl
Manage WLS configured or dynamic
clusters
loadbalance
Expose T3 + Admin Console to Ingress
WLS Logs to Elastic Search
Operational: Start Stop, REST API, WLDF
Install Domain
inputs (yaml)
K8S Job Domain
resource
Create domain K8S resource
Oracle SOA Suite on
Kubernetes
Process Services
Orchestration
System BPM
Business Logic
Databases
Data
Services
Enterprise Service Bus (ESB)
data
Web Portals
Human Business Process Management (BPM)
Security
Registry
and
Repository
Manage
and
monitor
SOA generic landscape
SOA Suite Platform
WebLogic Server
Managed Server(S)
Java EE deployed Apps for
SOA
Webapps
EJB/MDB
RAR
Java/WLS/SOA Software
Linux
SOA WebLogic Cluster
Operating System
Installation & Config
Domain Configuration
JDBC
JMS
HTTP(S
)
JMX
fmwdb
Create DB
Deployment
Create Docker
Secret
Create PV/PVC
Create
Namespace
Create FMW
Schemas
RCU POD
Create RCU
Secret
Create WLS
Secret
Create PV/PVC
Shared NFS
Create SOA WLS
Domain
Offline
SOA OSB Template
SOA OSB
WebLogic Kubernetes Operator
Domain
Introspection
Domain
Create
Job
Domain
Introspect
Job
Domain Start
WebLogic Domain Creation
Database Creation
WebLogic REST Management API
• REST API for managing WebLogic
• Covers all of WebLogic management
• Configure, Start/Stop, Deploy,
Monitor...
• Kubernetes Operator makes use of
it for lifecycle
• HTTP, no WebLogic client required
• Well-defined, fully documented
• Consistent with existing management
• Generated from WebLogic MBeans
WebLogic Domain
Admin Server
REST
WebApp
Managed Server
REST
WebApp
Managed Server
REST
WebApp
REST
Start/stop
REST REST
Operator
Monitoring Framework
Diagnostic Frameworks & Diagnostic Tools in FMW
• WLDF – WebLogic Diagnostic Framework
• DFW – Diagnostic Framework
o Dynamic Monitoring Service (DMS)
o Oracle Diagnostic Logging (ODL)
o Incident Packaging System (IPS or ADRCI)
• Additional Tools
o Selective Tracing
WebLogic Diagnostic Framework
Watch & Notification Instrumentation
Data Collectors Image Capture
Data Providers
Archive
Accessor
Monitoring Dashboard
• Included with WebLogic
• Define Watches to monitor
runtime conditions and notify
in case of failure.
• Collect configuration and
runtime data for analysis.
• Capture images to preserve
system state in failure
situation.
WebLogic Diagnostic Framework
Oracle Fusion
Diagnostic Tools for SOA and FMW
• Predefined Watches and Diagnostic Dumps to detect,
• Diagnose & resolve problems with SOA MBeans & DMS Metrics.
• Detect critical failures and collect diagnostic dumps
o Relevant diagnostic information like logs, metrics, server images,
• Create incidents in the ADR (Automatic Diagnostic Repository)
WLDF, DFW and Diagnostic Tools for SOA
Monitor
System
• Predefined Watches
• Predefined Diagnostic Dumps
Critical
Failure
• Collect Diagnostic Dumps
• Create Incident
Collect
• Collect Data for processing
Dynamic Monitoring Service (DMS)
• DMS for runtime metrics applications and
components
• Can be monitored through WLDF Watches to trigger
data collections through DFW.
WebLogic Logging
Exporter
• Logstash & Kibana
• WebLogicLoggingExporter.yaml
• weblogic-logging-exporter-<version>.jar
• snakeyaml-1.23.jar - parser and emitter for Java
□ From Maven Central Repository
Components
Actions
• Install ELK in your Kubernetes Cluster – Or separate
• Copy jar files to shared location of you K8S cluster(not to pods)
• WLS Startup Class
• Set Classpath in setDomainEnv
• Setup config for export
# Export for ELK Logging
CLASSPATH="/scratch/domains/soadomain/weblogic-logging-exporter-
1.0.0.jar:/scratch/domains/soadomain//snakeyaml-1.23.jar:${CLASSPATH}"
export CLASSPATH
Domain Startup Class
ELK Config
• weblogic-logging-exporter-1.0.0.jar
• snakeyaml-1.23.jar
WebLogic Index Patterns
Open Ends
• Limited support for logs
• Only manual upload for ODL based logs
SOA Diagnostics logs
• Using logstash deployment in K8S
• Make use of SOA Diagnostic logs
Setup Prometheus &
Grafana
• Prometheus & Grafana Install
• wlsexporter.war & get script
□ Downloads the war & repackage with proper config
• JSON Dashboard imports
• DB Exporter deployment for querying SOA Repository
Components
MBean Metrics Exporter
wlsexporter.war
WLDF
Prometheus
Datasource
Prometheus integration
• Generate exporter wars
• Deploy warfiles to Admin and Managed Servers
• Create Rolebinding, Role and Service Account
□ wls-exporter-ServiceMonitor.yaml
Prometheus
Grafana value mapping
Grafana dashboard
Possibilities
• Query with SQL on SOA Infra Dehydration tables
• Database exporter for Prometheus / Grafana
• Status monitoring of long running instance
• Toml config with custom metrics
• No commercial Oracle Grafana plugin needed
• Still under investigation
Typical Flow
Db exporter to Prometheus
config.toml
Open Ends
• Limited support for Mbeans
• No custom or Application Defined Mbeans
• More use cases and useful dashboards in ELK
Thank you!
mschildmeijer@qualogy.com
https://www.qualogy.com/discover-qualogy/news-
blogs/author/michel-schildmeijer
https://twitter.com@MNEMONIC01
https://nl.linkedin.com/in/mschldmr

Weitere ähnliche Inhalte

Ähnlich wie OSMC 2021 | Use OpenSource monitoring for an Enterprise Grade Platform

Ähnlich wie OSMC 2021 | Use OpenSource monitoring for an Enterprise Grade Platform (20)

Weblogic
WeblogicWeblogic
Weblogic
 
Oracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy featuresOracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy features
 
WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013
 
Introduction to ASP.NET 5
Introduction to ASP.NET 5Introduction to ASP.NET 5
Introduction to ASP.NET 5
 
Practical lessons from customers performing digital transformation with Azure
Practical lessons from customers performing digital transformation with AzurePractical lessons from customers performing digital transformation with Azure
Practical lessons from customers performing digital transformation with Azure
 
Oracle Fusion Middleware on Exalogic Best Practises
Oracle Fusion Middleware on Exalogic Best PractisesOracle Fusion Middleware on Exalogic Best Practises
Oracle Fusion Middleware on Exalogic Best Practises
 
Elk ruminating on logs
Elk ruminating on logsElk ruminating on logs
Elk ruminating on logs
 
WebLogic 12c - OMF Canberra June 2014
WebLogic 12c - OMF Canberra June 2014WebLogic 12c - OMF Canberra June 2014
WebLogic 12c - OMF Canberra June 2014
 
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
 
Flying to clouds - can it be easy? Cloud Native Applications
Flying to clouds - can it be easy? Cloud Native ApplicationsFlying to clouds - can it be easy? Cloud Native Applications
Flying to clouds - can it be easy? Cloud Native Applications
 
wls-azure-devnexus-2022.pdf
wls-azure-devnexus-2022.pdfwls-azure-devnexus-2022.pdf
wls-azure-devnexus-2022.pdf
 
SKILup Days Container Orchestration - Kubernetes Operators for Databases
SKILup Days Container Orchestration - Kubernetes Operators for DatabasesSKILup Days Container Orchestration - Kubernetes Operators for Databases
SKILup Days Container Orchestration - Kubernetes Operators for Databases
 
State of the OpenDaylight Union
State of the OpenDaylight UnionState of the OpenDaylight Union
State of the OpenDaylight Union
 
DeveloperWeekEnterprise2023 - Introduction to Kubernetes Operators for Databases
DeveloperWeekEnterprise2023 - Introduction to Kubernetes Operators for DatabasesDeveloperWeekEnterprise2023 - Introduction to Kubernetes Operators for Databases
DeveloperWeekEnterprise2023 - Introduction to Kubernetes Operators for Databases
 
Oracle database connection with the .net developers
Oracle database connection with the .net developersOracle database connection with the .net developers
Oracle database connection with the .net developers
 
Latest (storage IO) patterns for cloud-native applications
Latest (storage IO) patterns for cloud-native applications Latest (storage IO) patterns for cloud-native applications
Latest (storage IO) patterns for cloud-native applications
 
Centralizing Kubernetes and Container Operations
Centralizing Kubernetes and Container OperationsCentralizing Kubernetes and Container Operations
Centralizing Kubernetes and Container Operations
 
Micro services Architecture
Micro services ArchitectureMicro services Architecture
Micro services Architecture
 
oci-container-engine-oke-100.pdf
oci-container-engine-oke-100.pdfoci-container-engine-oke-100.pdf
oci-container-engine-oke-100.pdf
 
Kubernetes2
Kubernetes2Kubernetes2
Kubernetes2
 

Kürzlich hochgeladen

Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Kürzlich hochgeladen (20)

WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 

OSMC 2021 | Use OpenSource monitoring for an Enterprise Grade Platform

  • 1. A presentation by Michel Schildmeijer, 11 October 2021 Open Source Monitoring Of an Enterprise Grade Platform
  • 2. Me & My “careerpath” evolution Kindergarten 1970 Junior Highschool 1972 Highschool 1977 Study Clinical Pharmaco therapy 1981 Royal Airforce & Clinical Pharmacist 1987 Careerswitch to IT 2000 • From Amsterdam, the Netherlands • Work @ Qualogy • Oracle ACE since 2012, ACED 2019 • Authored 2 books WebLogic in 2010 • IT Career started with UNIX in 1994 • Former BEA technology in 2000 • Focus on containerization strategies, • DevOps etc Born 1966
  • 3. • Today’s Challenges • Java Enterprise Application Servers & containerization • Kubernetes • Operators • Monitoring Topics
  • 4. Today’s complexity of IT Platforms
  • 5. Today’s complexity of Applications Java Microservices
  • 6. Huge amounts of data •Functional data □ Application functional data □ User related data •Non Functional Data □ Metadata □ Log data □ Runtime data
  • 7. Operational control •Get in control of all IT systems □ By knowing and interpret this data •Do predictive analysis □ Know when to expect peak loads □ Know what trends are going on □ Know what end users experiencing □ Know the weaknesses and vulnerabilities of  Systems, servers, network, databases  Application and tiers
  • 9. Dashboard Visualization Gather Diagnostics Logfiles Visualization Collect Logentries
  • 10. Java EE App Server containerized
  • 11. Oracle WebLogic Foundation Cloud Application Foundation for Java applications WebLogic Server Java EE: Reliability, Availability, Scalability & Performance Coherence EE Data Grid Scale Out for Java, C++, .NET Java Virtual Machines Oracle and OpenSource JVM’s Development Tools Jdeveloper / Eclipse Enterprise Manager Admin and Operations WebLogic Suite Custom App Packaged App Fusion Middleware
  • 12. Building Blocks Java EE WLS Containerization • WebLogic Docker certification □ Docker images, Dockerfiles, GitHub • WebLogic OCI certification □ Open Container Initiative CRI-O / KATA • Integration □ Management: Operator □ Monitoring: Exporter for Prometheus □ Migration: Deploy tooling □ Logging: Exporter for Elastic Stack □ Image: Tool management Kubernetes Operator WebLogic WebLogic WebLogic kubectl
  • 13. WebLogic in Containers Base Image Linux Image JDK & WebLogic bins Image WebLogic Domain Image WebLogic Deployed app Container Runtime Container Software libvirt LXC Linux Kernel
  • 15. Kubernetes Operators • Extension on K8S api • Configure & manage more complex instances • Why Operators ? □ Stateless (web ) apps are easy to manage, scale □ But thougher when it is with stateful □ To leverage more experience based knowledge to k8s The operators from the field in a software driven solution!
  • 16. WebLogic Kubernetes Operator • Simpler WebLogic management in Kubernetes • Kubernetes resources are allocated for WebLogic domain(s) • Manages overall WebLogic environment through Kubernetes APIs □ Load Balancer, Network, □ Ingress Controllers, □ Security, □ HA restart, upgrade, scaling □ Persistent storage • Ensures WebLogic best practices are followed
  • 17. WebLogic Kubernetes Operator • Helm charts for operator install • Persistent volumes for logfiles
  • 18. WebLogic Kubernetes Operator Kubernetes Cluster pod pod pod pod pod K8S Node K8S Node WebLogic Cluster WLS K8S operator Orchestrate manage kubectl Manage WLS configured or dynamic clusters loadbalance Expose T3 + Admin Console to Ingress WLS Logs to Elastic Search Operational: Start Stop, REST API, WLDF Install Domain inputs (yaml) K8S Job Domain resource Create domain K8S resource
  • 19. Oracle SOA Suite on Kubernetes
  • 20. Process Services Orchestration System BPM Business Logic Databases Data Services Enterprise Service Bus (ESB) data Web Portals Human Business Process Management (BPM) Security Registry and Repository Manage and monitor SOA generic landscape
  • 21. SOA Suite Platform WebLogic Server Managed Server(S) Java EE deployed Apps for SOA Webapps EJB/MDB RAR Java/WLS/SOA Software Linux SOA WebLogic Cluster Operating System Installation & Config Domain Configuration JDBC JMS HTTP(S ) JMX
  • 22. fmwdb Create DB Deployment Create Docker Secret Create PV/PVC Create Namespace Create FMW Schemas RCU POD Create RCU Secret Create WLS Secret Create PV/PVC Shared NFS Create SOA WLS Domain Offline SOA OSB Template SOA OSB WebLogic Kubernetes Operator Domain Introspection Domain Create Job Domain Introspect Job Domain Start WebLogic Domain Creation Database Creation
  • 23. WebLogic REST Management API • REST API for managing WebLogic • Covers all of WebLogic management • Configure, Start/Stop, Deploy, Monitor... • Kubernetes Operator makes use of it for lifecycle • HTTP, no WebLogic client required • Well-defined, fully documented • Consistent with existing management • Generated from WebLogic MBeans WebLogic Domain Admin Server REST WebApp Managed Server REST WebApp Managed Server REST WebApp REST Start/stop REST REST Operator
  • 25. Diagnostic Frameworks & Diagnostic Tools in FMW • WLDF – WebLogic Diagnostic Framework • DFW – Diagnostic Framework o Dynamic Monitoring Service (DMS) o Oracle Diagnostic Logging (ODL) o Incident Packaging System (IPS or ADRCI) • Additional Tools o Selective Tracing
  • 26. WebLogic Diagnostic Framework Watch & Notification Instrumentation Data Collectors Image Capture Data Providers Archive Accessor Monitoring Dashboard • Included with WebLogic • Define Watches to monitor runtime conditions and notify in case of failure. • Collect configuration and runtime data for analysis. • Capture images to preserve system state in failure situation.
  • 28. Diagnostic Tools for SOA and FMW • Predefined Watches and Diagnostic Dumps to detect, • Diagnose & resolve problems with SOA MBeans & DMS Metrics. • Detect critical failures and collect diagnostic dumps o Relevant diagnostic information like logs, metrics, server images, • Create incidents in the ADR (Automatic Diagnostic Repository)
  • 29. WLDF, DFW and Diagnostic Tools for SOA Monitor System • Predefined Watches • Predefined Diagnostic Dumps Critical Failure • Collect Diagnostic Dumps • Create Incident Collect • Collect Data for processing
  • 30. Dynamic Monitoring Service (DMS) • DMS for runtime metrics applications and components • Can be monitored through WLDF Watches to trigger data collections through DFW.
  • 32. • Logstash & Kibana • WebLogicLoggingExporter.yaml • weblogic-logging-exporter-<version>.jar • snakeyaml-1.23.jar - parser and emitter for Java □ From Maven Central Repository Components
  • 33. Actions • Install ELK in your Kubernetes Cluster – Or separate • Copy jar files to shared location of you K8S cluster(not to pods) • WLS Startup Class • Set Classpath in setDomainEnv • Setup config for export # Export for ELK Logging CLASSPATH="/scratch/domains/soadomain/weblogic-logging-exporter- 1.0.0.jar:/scratch/domains/soadomain//snakeyaml-1.23.jar:${CLASSPATH}" export CLASSPATH
  • 37. Open Ends • Limited support for logs • Only manual upload for ODL based logs
  • 38. SOA Diagnostics logs • Using logstash deployment in K8S • Make use of SOA Diagnostic logs
  • 40. • Prometheus & Grafana Install • wlsexporter.war & get script □ Downloads the war & repackage with proper config • JSON Dashboard imports • DB Exporter deployment for querying SOA Repository Components
  • 42. Prometheus integration • Generate exporter wars • Deploy warfiles to Admin and Managed Servers • Create Rolebinding, Role and Service Account □ wls-exporter-ServiceMonitor.yaml
  • 46. Possibilities • Query with SQL on SOA Infra Dehydration tables • Database exporter for Prometheus / Grafana • Status monitoring of long running instance • Toml config with custom metrics • No commercial Oracle Grafana plugin needed • Still under investigation
  • 47. Typical Flow Db exporter to Prometheus config.toml
  • 48. Open Ends • Limited support for Mbeans • No custom or Application Defined Mbeans • More use cases and useful dashboards in ELK
  • 49.