SlideShare a Scribd company logo
DARWIN IT-PROFESSIONALS
IT Driven Evolution
The Kubernetes WebLogic Revival
(Part 1)
Martien van den Akker, Darwin IT
Simon Haslam, eProseed
2019
martien.van.den.akker@darwin-it.nl @Makker_nl
Who I am
copyright ©2019 Darwin IT-Professionals B.V. 2
Copyright © 2019, eProseed and/or its affiliates.
ABOUT ME
3
Simon Haslam
• Platform / Infrastructure
Architect
• Focus includes HA, DR,
security, automation
Relevant to this session
• WebLogic / FMW installations
since 2000s
• First research/webcast on JCS
in 2016
• Designed & built SOA CS
integration platform for global
use since Oct 2017
• On team migrating eProseed
Lux data centres to OCI@simon_haslam
since
2009
Darwin IT-Professionals
WHAT IS WEBLOGIC 12C?
PART 1
copyright ©2019 Darwin IT-Professionals B.V. 5
JEE/Jakarta EE
• Java Enterprise Edition – Jakarta Enterprise Edition
– Set of specifications on top of Java SE
– API’s and Frameworks such as
• JDBC Datasources
• JNDI (Java Naming Directory Interface)
• JMS (Java Messaging Service)
• WebServices/REST Services
• Servlets/Java Server Pages/Java Server Faces
• Reference: GlassFish Server OS, JEE 8 fully certified
copyright ©2019 Darwin IT-Professionals B.V. 6
Weblogic
• Fully supports JEE 7 as of 12.2.1, JEE 8 as of 14.1
• Commercial App Server, by BEA Systems
• Acquired by Oracle in 2008
• Strategic Application Server, replacing OC4J
– (Oracle has 3 JEE AppServers…)
• Very rich support for (amongst others)
– Clustering
– JDBC
copyright ©2019 Darwin IT-Professionals B.V. 7
– High
Availability
– JMS
– Diagnostics and
Monitoring
– REST & SOAP
8© 2015 Darwin IT-Professionals B.V. Den Haag
Domain Diagram
ClusterDomain
log
Configuration
repository
GET/SET
Get configuration
at startup.
Send
critical domain
notifications.
Log domain
messages
Monitor/
update
Domain
Console Administration
server
Managed
server 1
Local loggingLOG
LOG
Managed
server 2
Local loggingLOG
Managed
server 3
Local loggingLOG
Nodemanager Properties
Machine 1
Nodemanager Properties
Machine 2
Copyright © 2019, eProseed and/or its affiliates.
WHAT IS THE PURPOSE OF THE ADMIN SERVER?
• Monitor health of managed servers
• Start/stop managed servers
• Deploy applications & start/stop them
• Control consistent configuration across clusters
• To collate logs from across the clusters
Also…
• To provide a management console
• To manage identity or federation
9
Host 2 (Machine 2)Host 1 (Machine 1)
Admin Server Domain (On Shared Storage)
Managed Server Domain (Clone from Admin Server Domain,
Local Storage)
Managed Server Domain (Clone from Admin Server Domain,
Local Storage)
Weblogic HA Setup
10copyright ©2019 Darwin IT-Professionals B.V.
Cluster
Administration
server
Managed
server 1
Managed
server 2
Managed
server 3
Managed
server 3
Administration
serverNode Manager
(per domain)
Node Manager
(per domain)
Node Manager
(per domain)
Node Manager
(per domain)
Weblogic Clustering
• Share resources (Deployments, Datasources, JMS)
• Supports Service Migration and Whole Server
Migration
• 12c+:
– Dynamic Clustering, based on Server templates, supports
scale up, scale down
– Simpler JMS Configuration, based on Dynamic Clusters
– Chooses MS as Cluster Master to control cluster member
health
• Declarative configuration
copyright ©2019 Darwin IT-Professionals B.V. 11
Darwin IT-Professionals
VIRTUALIZATION - CONTAINERS
copyright ©2019 Darwin IT-Professionals B.V. 12
History of Deployments
• Deployments as in installation/configuration of software
– OS - infrastructure
– Database, Middleware – Platforms – binaries and instances
– Custom applications – Java, Apex, Webservices, …
• Before 1995
– Install/configure OS on bare metal: Unix, Linux, AIX, Windows
– (silent) installs of platform software vs. Interactive deployment of custom applications
– Characteristics: fixed resource allocation per bare metal/OS (memory, cpu, storage)
• 1995-2015
– Virtualization of OS (VMWare, VirtualBox)
– Scripting installs and configuration of platform software (e.g. wlst)
– Automation of application software (e.g. ANT)
– Characteristics: dynamic resource allocation on (OS) virtualization layer
• After 2015
– Automation of Iaas, Paas and custom application software in context of CD/CI through virtualization
and scripting
– Characteristics: dynamic resource allocation on lowest virtualization layer
13© 2018 Darwin IT-Professionals B.V.
Hypervisor Characteristics
• Virtualization requires an hypervisor
• Hypervisor
– A virtual machine monitor (VMM) is computer software, firmware or hardware
– Creates and runs virtual machines (called guest machines)
– Optimized (as in dynamic) management of resources: CPU, Memory, NIC and Disks
– Term (coined in 1970!) comes from supervisor of the supervisor (latter aka kernel of the OS)
• Most popular Hypervisors
– Xen
– VMWare server, workstation
– Oracle VM, Virtual Box
– Windows Hyper-V
• Two types of hypervisors: bare metal and hosted
• Docker requires a hypervisor and an OS
copyright ©2019 Darwin IT-Professionals B.V. 14
HW Infrastructure
CPU, Storage, Network, Memory
HW Infrastructure
CPU, Storage, Network, Memory
HW Infrastructure
CPU, Storage, Network, Memory
HW Infrastructure
CPU, Storage, Network, Memory
Host OS
Windows, Linux
0. No Virtualization
Bare Metal
1. Type 1 Virtualization
Bare metal Hypervisor
2. Type 2 Virtualization
Hosted Hypervisor
3. Docker
Docker
App 1 App 2
Host OS
Windows, Linux
App 1 App 2
Hypervisor
Oracle VM
VMWare ESXi, Hyper-V
OS 1
Windows
OS 2
Linux
Host OS
Windows, Linux
Hypervisor
Virtual Box, KVM
VMWare Workstation
App 1 App 2 App 1 App 2
Guest OS 1
Windows
Guest OS 2
Linux
Hypervisor
Guest OS 2
Windows, Linux
Hyper-VorVirtualBox
Virtualization Types
copyright ©2019 Darwin IT-Professionals B.V. 15
HW Infrastructure
CPU, Storage, Network, Memory
HW Infrastructure
CPU, Storage, Network, Memory
OS
Windows, Linux
Virtualization Type 1&2 Docker
Docker
App 1 App 2
OS
Windows, Linux
Hypervisor
VMWare, Oracle VM/VirtualBox
App 1 App 2
Guest OS 1
Windows
Guest OS 2
Linux
Hypervisor
VB, Hyper-V
Docker versus Virtualization Types 1 &2
OS
Windows, Linux
copyright ©2019 Darwin IT-Professionals B.V. 18
Docker Characteristics
• Released in 2013
• Virtualization on app level (versus on OS level)
Sharing the OS across the containers
• Based on Linux libs/OS
Note there is also a (not as popular) Windows Docker flavour
• Open-Source
• Requires a hypervisor and an OS
copyright ©2019 Darwin IT-Professionals B.V. 19
Docker Popularity
• Speed: smaller footprint, enabling quick and lightweight deployment and startup
• Portability/re-use capability: they can run on any OS
(e.g. Windows, Linux distributions)
• Scale: by spinning additional containers (could be managed by Kubernetes)
• Micro-services support: opposite of monolithic technology
like hypervisors/bare metal)
• Independence: pack your container app with all required libraries
• Popularity of Open-Source back in 2013
• Leaner and meaner than hypervisors
• Support of DevOps principles: emphasizes agility, flexibility
and scalability in software delivery
• Automating the creation of runtime environments through coding (e.g. Vagrant, Docker Build)
• Massive availability of containerized apps in public registries
(e.g search for Tomcat > 10k hits)
copyright ©2019 Darwin IT-Professionals B.V. 20
Darwin IT-Professionals
WEBLOGIC: CLOUD DEPLOYMENT
APPROACHES
copyright ©2019 Darwin IT-Professionals B.V. 22
Copyright © 2019, eProseed and/or its affiliates.
PROVISIONING OPTIONS FOR WEBLOGIC TODAY
23
Traditional on-prem or IaaS – full install with OUI, WLST etc
Traditional Install
First implementation, limited choices, legacy
Java Cloud Service
OCI method, combination of images & configuration
Marketplace Image
Modern, layered approach
Docker/Kubernetes
Copyright © 2019, eProseed and/or its affiliates.
JAVA CLOUD SERVICE ONTO OCI
• Restricted configuration
– Domain name derived from Instance Name
– Choose the AD (1 only), cluster can’t span, if use
OTD then same VCN/subnet
– Needs a DBCS instance (can be ATP)
• Only provisions into one compartment
(ManagedCompartmentForPaaS) so misses
out on admin segregation
25
Java Cloud Service
Copyright © 2019, eProseed and/or its affiliates.
WEBLOGIC ON OCI MARKETPLACE
• Non-legacy products arriving on OCI Marketplace
– Template / stack model
• Creates domain with some customisation:
• Domain name
• Compute prefixes
• # nodes
• NM/MS ports/admin channels
• Sample app
• OCI-specific
• AD (single one)
• Compartment
• VCN
• Needs a key vault (virtual one becoming available)
26
OCI Marketplace
Copyright © 2019, eProseed and/or its affiliates.
Traditional
✓ We (all WLS admins) know how to do it
✓ Re-use existing investment in WLST etc
 Takes a long time
 Automation takes a lot of work unless
you use something like Puppet orawls
 Deployment is a separate exercise
 Encourages
pets
Java Cloud Service
✓ Very natural for WLS admins
✓ Up and running very quickly
✓ Includes a web tier
 Deployment is a separate exercise
 Very restricted topologies
 Rules as to what you can do
 Have full JFR/OPSS/repo whether you
want it or not
 Patching is DIY, even JDK
27
COMPARISON OF TRADITIONAL WLS PROVISIONING
Copyright © 2019, eProseed and/or its affiliates.
WebLogic OCI Marketplace
✓ Up and running very quickly
✓ Strategic
✓ Some topology options (no DB needed)
✓Comfortable for all WLS admins
 Patching is DIY, even JDK
 App deployment is separate
 Very new
WebLogic on Kubernetes
✓ Modern, layered approach, fits into
the big picture
✓ Strategic
✓ Multi-cloud & on-prem portability
✓ Encourages cattle
✓Includes app deployment for DevOps /
full CI-CD
 New tools, skillsets
 Learning curve for trad. WLS admins
 Fairly new
28
COMPARISON OF CLOUD PROVISIONING
Darwin IT-Professionals
WEBLOGIC: WHAT’S NEXT?
copyright ©2019 Darwin IT-Professionals B.V. 29
WebLogic, Coherence and Cloud Native Trends
• Industry trends
– Microservices, serverless
– Private and public clouds
– Containers, orchestration frameworks
• WebLogic, Coherence customer demand
– Leverage cloud neutral infrastructure
– Integrate with new tools and services
– Evolve WebLogic, Coherence for these environments
WebLogic Coherence
Blockchain
copyright ©2019 Darwin IT-Professionals B.V. 30
Oracle Enterprise Java Strategy
Evolve Products to Meet Customer Demand
• Migrate to Kubernetes on premise
• Tools for migration and management
• Support existing and new applications
• Migrate to Kubernetes on Oracle Cloud
• Leverage management tools on OCI
• Availability, security, scaling, low-cost
• Integrate with Microservices
• Flexibility for developers
• Evolve and manage applications
WebLogic Coherence
Physical & VMs On Premise Kubernetes on Premise
Operator
Migrate
Oracle Cloud and Other Clouds
Operator
WebLogic Coherence
WebLogic Coherence
copyright ©2019 Darwin IT-Professionals B.V. 31
Copyright © 2019, eProseed and/or its affiliates.
DOCKER & KUBERNETES
• Docker is the de-facto container solution allowing
layered images of software
• Docker registries are like app stores
(Docker Hub, OCI Registry)
• Kubernetes is a very popular Docker image
orchestration engine
– Allows you to define services based on images, then does
all the lifecycle management you need for each service
32
Docker/Kubernetes
Docker images
+
Kubernetes
VM/templates
+
VM Manager
≈
(from a management perspective)
Copyright © 2019, eProseed and/or its affiliates.
MORE KUBERNETES CONCEPTS
• Kubernetes (K8s) doesn’t know about deployment
technology
– operators, e.g. weblogic-operator controls lifecycle for WLS cluster
(WebLogic & FMW Infra already, others in progress)
• Registry manages the images
• K8s manages nodes, pods & secrets
• Typically you centralise logging
• Scaling out of the box
• Load balancing / ingress control
• As K8s manages cluster it’s doing some
functionality of WLS Admin Server
33
Docker/Kubernetes
Copyright © 2019, eProseed and/or its affiliates.
MANAGING KUBERNETES CLUSTERS
• You can build your own Kubernetes clusters, e.g. on-prem or on IaaS
• Someone else can set up & run the K8s cluster for you: managed Kubernetes
– Already several mature vendors/products
– Pick your deployment target (yes, we are still at Oracle OpenWorld!)
– Licensing rules still apply
• Oracle Container Engine for Kubernetes (OKE)
– Licensing rules still apply
• Added value such as Werker, now called Pipelines, for CI/CD
34
Docker/Kubernetes
WebLogic on Kubernetes - Building Blocks
• Docker and CRI-O certification
• Docker images, Dockerfiles, examples
• WebLogic Kubernetes certification
• How-to, best practices
• Value add integration
• Management: Operator
• Monitoring: Exporter for Prometheus
• Migration: Deploy tooling
• Logging: Exporter for Elastic Stack
• Image Creation: WebLogic Image Tool
WebLogic Coherence
Operator
copyright ©2019 Darwin IT-Professionals B.V. 35
WebLogic Domain in Kubernetes- Domain Custom Resource
• We create a Kubernetes Resource Object
for the WebLogic domain.
• This is a data structure representation of
the WebLogic domain in Kubernetes.
• Domain Custom Resource allows you to
declare or specify the desired state of the
resource.
• Allows the Kubernetes API server to begin
serving the custom resource object.
• The WebLogic Kubernetes Operator is a
controller that is always looking at the Domain
Custom Resource and tries to match the
actual state to this desired state.
Meta Data: Name of Resource, Namespace, Labels, …
Admin Server: Node Ports to expose, Volumes, …
Cluster: Number of Replicas (Managed Servers), …
Domain: Image to base the Domain containers,
Domain in PV or in Image, K8S secrets, Logs to pod
Managed Servers: non-clustered MS
Server Pod: Java Options, Start Policy (Lifecycle control)
Events:
Domain Custom Resource
copyright ©2019 Darwin IT-Professionals B.V. 36
37copyright ©2019 Darwin IT-Professionals B.V.
Example domain.yaml
DEMO
Q & A
copyright ©2019 Darwin IT-Professionals B.V. 38

More Related Content

Similar to The Kubernetes WebLogic revival (part 1) (20)

PDF
Cloud stack for_beginners
Radhika Puthiyetath
 
PDF
VMworld 2014: How to Build a Hybrid Cloud
VMworld
 
PPTX
State of the Container Ecosystem
Vinay Rao
 
PDF
Stay productive while slicing up the monolith
Markus Eisele
 
PDF
Introduction to Apache Mesos and DC/OS
Steve Wong
 
PPTX
Rubrik CMD Installation (1).pptx
Suresh569521
 
PDF
Stay productive while slicing up the monolith
Markus Eisele
 
PPTX
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Yong Feng
 
PDF
9-cloud-computing.pdf
ErvisTema1
 
PPTX
Docker for the enterprise
Bert Poller
 
PPTX
Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...
Nati Shalom
 
PDF
Stay productive while slicing up the monolith
Markus Eisele
 
PDF
VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private C...
VMworld
 
PDF
Presentation citrix cloud platform for infrastructure as a service
xKinAnx
 
PDF
Automated Deployment and Management of Edge Clouds
Jay Bryant
 
PPTX
Kubernetes solutions
Eric Cattoir
 
PDF
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Animesh Singh
 
PPTX
Platform as a Service with Kubernetes and Mesos
Miguel Zuniga
 
PDF
Platform Provisioning Automation for Oracle Cloud
Simon Haslam
 
PPTX
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
CloudStack - Open Source Cloud Computing Project
 
Cloud stack for_beginners
Radhika Puthiyetath
 
VMworld 2014: How to Build a Hybrid Cloud
VMworld
 
State of the Container Ecosystem
Vinay Rao
 
Stay productive while slicing up the monolith
Markus Eisele
 
Introduction to Apache Mesos and DC/OS
Steve Wong
 
Rubrik CMD Installation (1).pptx
Suresh569521
 
Stay productive while slicing up the monolith
Markus Eisele
 
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Yong Feng
 
9-cloud-computing.pdf
ErvisTema1
 
Docker for the enterprise
Bert Poller
 
Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...
Nati Shalom
 
Stay productive while slicing up the monolith
Markus Eisele
 
VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private C...
VMworld
 
Presentation citrix cloud platform for infrastructure as a service
xKinAnx
 
Automated Deployment and Management of Edge Clouds
Jay Bryant
 
Kubernetes solutions
Eric Cattoir
 
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Animesh Singh
 
Platform as a Service with Kubernetes and Mesos
Miguel Zuniga
 
Platform Provisioning Automation for Oracle Cloud
Simon Haslam
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
CloudStack - Open Source Cloud Computing Project
 

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
What You Need to Know about Oracle Cloud Connectivity
Simon Haslam
 
PDF
Tips & Tricks for Oracle PaaS Admins
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
 
PDF
Driving DevOps for Oracle with the orawls Puppet Modules
Simon Haslam
 
PDF
Experiences of SOACS
Simon Haslam
 
PDF
3 Ways to Connect to the Oracle Cloud
Simon Haslam
 
Platform Engineering for the Modern Oracle World
Simon Haslam
 
Better Practices when Using Terraform to Manage Oracle Cloud Infrastructure
Simon Haslam
 
What You Need to Know about Oracle Cloud Connectivity
Simon Haslam
 
Tips & Tricks for Oracle PaaS Admins
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
 
Driving DevOps for Oracle with the orawls Puppet Modules
Simon Haslam
 
Experiences of SOACS
Simon Haslam
 
3 Ways to Connect to the Oracle Cloud
Simon Haslam
 
Ad

Recently uploaded (20)

PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Biography of Daniel Podor.pdf
Daniel Podor
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Ad

The Kubernetes WebLogic revival (part 1)

  • 1. DARWIN IT-PROFESSIONALS IT Driven Evolution The Kubernetes WebLogic Revival (Part 1) Martien van den Akker, Darwin IT Simon Haslam, eProseed 2019
  • 2. [email protected] @Makker_nl Who I am copyright ©2019 Darwin IT-Professionals B.V. 2
  • 3. Copyright © 2019, eProseed and/or its affiliates. ABOUT ME 3 Simon Haslam • Platform / Infrastructure Architect • Focus includes HA, DR, security, automation Relevant to this session • WebLogic / FMW installations since 2000s • First research/webcast on JCS in 2016 • Designed & built SOA CS integration platform for global use since Oct 2017 • On team migrating eProseed Lux data centres to OCI@simon_haslam since 2009
  • 4. Darwin IT-Professionals WHAT IS WEBLOGIC 12C? PART 1 copyright ©2019 Darwin IT-Professionals B.V. 5
  • 5. JEE/Jakarta EE • Java Enterprise Edition – Jakarta Enterprise Edition – Set of specifications on top of Java SE – API’s and Frameworks such as • JDBC Datasources • JNDI (Java Naming Directory Interface) • JMS (Java Messaging Service) • WebServices/REST Services • Servlets/Java Server Pages/Java Server Faces • Reference: GlassFish Server OS, JEE 8 fully certified copyright ©2019 Darwin IT-Professionals B.V. 6
  • 6. Weblogic • Fully supports JEE 7 as of 12.2.1, JEE 8 as of 14.1 • Commercial App Server, by BEA Systems • Acquired by Oracle in 2008 • Strategic Application Server, replacing OC4J – (Oracle has 3 JEE AppServers…) • Very rich support for (amongst others) – Clustering – JDBC copyright ©2019 Darwin IT-Professionals B.V. 7 – High Availability – JMS – Diagnostics and Monitoring – REST & SOAP
  • 7. 8© 2015 Darwin IT-Professionals B.V. Den Haag Domain Diagram ClusterDomain log Configuration repository GET/SET Get configuration at startup. Send critical domain notifications. Log domain messages Monitor/ update Domain Console Administration server Managed server 1 Local loggingLOG LOG Managed server 2 Local loggingLOG Managed server 3 Local loggingLOG Nodemanager Properties Machine 1 Nodemanager Properties Machine 2
  • 8. Copyright © 2019, eProseed and/or its affiliates. WHAT IS THE PURPOSE OF THE ADMIN SERVER? • Monitor health of managed servers • Start/stop managed servers • Deploy applications & start/stop them • Control consistent configuration across clusters • To collate logs from across the clusters Also… • To provide a management console • To manage identity or federation 9
  • 9. Host 2 (Machine 2)Host 1 (Machine 1) Admin Server Domain (On Shared Storage) Managed Server Domain (Clone from Admin Server Domain, Local Storage) Managed Server Domain (Clone from Admin Server Domain, Local Storage) Weblogic HA Setup 10copyright ©2019 Darwin IT-Professionals B.V. Cluster Administration server Managed server 1 Managed server 2 Managed server 3 Managed server 3 Administration serverNode Manager (per domain) Node Manager (per domain) Node Manager (per domain) Node Manager (per domain)
  • 10. Weblogic Clustering • Share resources (Deployments, Datasources, JMS) • Supports Service Migration and Whole Server Migration • 12c+: – Dynamic Clustering, based on Server templates, supports scale up, scale down – Simpler JMS Configuration, based on Dynamic Clusters – Chooses MS as Cluster Master to control cluster member health • Declarative configuration copyright ©2019 Darwin IT-Professionals B.V. 11
  • 11. Darwin IT-Professionals VIRTUALIZATION - CONTAINERS copyright ©2019 Darwin IT-Professionals B.V. 12
  • 12. History of Deployments • Deployments as in installation/configuration of software – OS - infrastructure – Database, Middleware – Platforms – binaries and instances – Custom applications – Java, Apex, Webservices, … • Before 1995 – Install/configure OS on bare metal: Unix, Linux, AIX, Windows – (silent) installs of platform software vs. Interactive deployment of custom applications – Characteristics: fixed resource allocation per bare metal/OS (memory, cpu, storage) • 1995-2015 – Virtualization of OS (VMWare, VirtualBox) – Scripting installs and configuration of platform software (e.g. wlst) – Automation of application software (e.g. ANT) – Characteristics: dynamic resource allocation on (OS) virtualization layer • After 2015 – Automation of Iaas, Paas and custom application software in context of CD/CI through virtualization and scripting – Characteristics: dynamic resource allocation on lowest virtualization layer 13© 2018 Darwin IT-Professionals B.V.
  • 13. Hypervisor Characteristics • Virtualization requires an hypervisor • Hypervisor – A virtual machine monitor (VMM) is computer software, firmware or hardware – Creates and runs virtual machines (called guest machines) – Optimized (as in dynamic) management of resources: CPU, Memory, NIC and Disks – Term (coined in 1970!) comes from supervisor of the supervisor (latter aka kernel of the OS) • Most popular Hypervisors – Xen – VMWare server, workstation – Oracle VM, Virtual Box – Windows Hyper-V • Two types of hypervisors: bare metal and hosted • Docker requires a hypervisor and an OS copyright ©2019 Darwin IT-Professionals B.V. 14
  • 14. HW Infrastructure CPU, Storage, Network, Memory HW Infrastructure CPU, Storage, Network, Memory HW Infrastructure CPU, Storage, Network, Memory HW Infrastructure CPU, Storage, Network, Memory Host OS Windows, Linux 0. No Virtualization Bare Metal 1. Type 1 Virtualization Bare metal Hypervisor 2. Type 2 Virtualization Hosted Hypervisor 3. Docker Docker App 1 App 2 Host OS Windows, Linux App 1 App 2 Hypervisor Oracle VM VMWare ESXi, Hyper-V OS 1 Windows OS 2 Linux Host OS Windows, Linux Hypervisor Virtual Box, KVM VMWare Workstation App 1 App 2 App 1 App 2 Guest OS 1 Windows Guest OS 2 Linux Hypervisor Guest OS 2 Windows, Linux Hyper-VorVirtualBox Virtualization Types copyright ©2019 Darwin IT-Professionals B.V. 15
  • 15. HW Infrastructure CPU, Storage, Network, Memory HW Infrastructure CPU, Storage, Network, Memory OS Windows, Linux Virtualization Type 1&2 Docker Docker App 1 App 2 OS Windows, Linux Hypervisor VMWare, Oracle VM/VirtualBox App 1 App 2 Guest OS 1 Windows Guest OS 2 Linux Hypervisor VB, Hyper-V Docker versus Virtualization Types 1 &2 OS Windows, Linux copyright ©2019 Darwin IT-Professionals B.V. 18
  • 16. Docker Characteristics • Released in 2013 • Virtualization on app level (versus on OS level) Sharing the OS across the containers • Based on Linux libs/OS Note there is also a (not as popular) Windows Docker flavour • Open-Source • Requires a hypervisor and an OS copyright ©2019 Darwin IT-Professionals B.V. 19
  • 17. Docker Popularity • Speed: smaller footprint, enabling quick and lightweight deployment and startup • Portability/re-use capability: they can run on any OS (e.g. Windows, Linux distributions) • Scale: by spinning additional containers (could be managed by Kubernetes) • Micro-services support: opposite of monolithic technology like hypervisors/bare metal) • Independence: pack your container app with all required libraries • Popularity of Open-Source back in 2013 • Leaner and meaner than hypervisors • Support of DevOps principles: emphasizes agility, flexibility and scalability in software delivery • Automating the creation of runtime environments through coding (e.g. Vagrant, Docker Build) • Massive availability of containerized apps in public registries (e.g search for Tomcat > 10k hits) copyright ©2019 Darwin IT-Professionals B.V. 20
  • 18. Darwin IT-Professionals WEBLOGIC: CLOUD DEPLOYMENT APPROACHES copyright ©2019 Darwin IT-Professionals B.V. 22
  • 19. Copyright © 2019, eProseed and/or its affiliates. PROVISIONING OPTIONS FOR WEBLOGIC TODAY 23 Traditional on-prem or IaaS – full install with OUI, WLST etc Traditional Install First implementation, limited choices, legacy Java Cloud Service OCI method, combination of images & configuration Marketplace Image Modern, layered approach Docker/Kubernetes
  • 20. Copyright © 2019, eProseed and/or its affiliates. JAVA CLOUD SERVICE ONTO OCI • Restricted configuration – Domain name derived from Instance Name – Choose the AD (1 only), cluster can’t span, if use OTD then same VCN/subnet – Needs a DBCS instance (can be ATP) • Only provisions into one compartment (ManagedCompartmentForPaaS) so misses out on admin segregation 25 Java Cloud Service
  • 21. Copyright © 2019, eProseed and/or its affiliates. WEBLOGIC ON OCI MARKETPLACE • Non-legacy products arriving on OCI Marketplace – Template / stack model • Creates domain with some customisation: • Domain name • Compute prefixes • # nodes • NM/MS ports/admin channels • Sample app • OCI-specific • AD (single one) • Compartment • VCN • Needs a key vault (virtual one becoming available) 26 OCI Marketplace
  • 22. Copyright © 2019, eProseed and/or its affiliates. Traditional ✓ We (all WLS admins) know how to do it ✓ Re-use existing investment in WLST etc  Takes a long time  Automation takes a lot of work unless you use something like Puppet orawls  Deployment is a separate exercise  Encourages pets Java Cloud Service ✓ Very natural for WLS admins ✓ Up and running very quickly ✓ Includes a web tier  Deployment is a separate exercise  Very restricted topologies  Rules as to what you can do  Have full JFR/OPSS/repo whether you want it or not  Patching is DIY, even JDK 27 COMPARISON OF TRADITIONAL WLS PROVISIONING
  • 23. Copyright © 2019, eProseed and/or its affiliates. WebLogic OCI Marketplace ✓ Up and running very quickly ✓ Strategic ✓ Some topology options (no DB needed) ✓Comfortable for all WLS admins  Patching is DIY, even JDK  App deployment is separate  Very new WebLogic on Kubernetes ✓ Modern, layered approach, fits into the big picture ✓ Strategic ✓ Multi-cloud & on-prem portability ✓ Encourages cattle ✓Includes app deployment for DevOps / full CI-CD  New tools, skillsets  Learning curve for trad. WLS admins  Fairly new 28 COMPARISON OF CLOUD PROVISIONING
  • 24. Darwin IT-Professionals WEBLOGIC: WHAT’S NEXT? copyright ©2019 Darwin IT-Professionals B.V. 29
  • 25. WebLogic, Coherence and Cloud Native Trends • Industry trends – Microservices, serverless – Private and public clouds – Containers, orchestration frameworks • WebLogic, Coherence customer demand – Leverage cloud neutral infrastructure – Integrate with new tools and services – Evolve WebLogic, Coherence for these environments WebLogic Coherence Blockchain copyright ©2019 Darwin IT-Professionals B.V. 30
  • 26. Oracle Enterprise Java Strategy Evolve Products to Meet Customer Demand • Migrate to Kubernetes on premise • Tools for migration and management • Support existing and new applications • Migrate to Kubernetes on Oracle Cloud • Leverage management tools on OCI • Availability, security, scaling, low-cost • Integrate with Microservices • Flexibility for developers • Evolve and manage applications WebLogic Coherence Physical & VMs On Premise Kubernetes on Premise Operator Migrate Oracle Cloud and Other Clouds Operator WebLogic Coherence WebLogic Coherence copyright ©2019 Darwin IT-Professionals B.V. 31
  • 27. Copyright © 2019, eProseed and/or its affiliates. DOCKER & KUBERNETES • Docker is the de-facto container solution allowing layered images of software • Docker registries are like app stores (Docker Hub, OCI Registry) • Kubernetes is a very popular Docker image orchestration engine – Allows you to define services based on images, then does all the lifecycle management you need for each service 32 Docker/Kubernetes Docker images + Kubernetes VM/templates + VM Manager ≈ (from a management perspective)
  • 28. Copyright © 2019, eProseed and/or its affiliates. MORE KUBERNETES CONCEPTS • Kubernetes (K8s) doesn’t know about deployment technology – operators, e.g. weblogic-operator controls lifecycle for WLS cluster (WebLogic & FMW Infra already, others in progress) • Registry manages the images • K8s manages nodes, pods & secrets • Typically you centralise logging • Scaling out of the box • Load balancing / ingress control • As K8s manages cluster it’s doing some functionality of WLS Admin Server 33 Docker/Kubernetes
  • 29. Copyright © 2019, eProseed and/or its affiliates. MANAGING KUBERNETES CLUSTERS • You can build your own Kubernetes clusters, e.g. on-prem or on IaaS • Someone else can set up & run the K8s cluster for you: managed Kubernetes – Already several mature vendors/products – Pick your deployment target (yes, we are still at Oracle OpenWorld!) – Licensing rules still apply • Oracle Container Engine for Kubernetes (OKE) – Licensing rules still apply • Added value such as Werker, now called Pipelines, for CI/CD 34 Docker/Kubernetes
  • 30. WebLogic on Kubernetes - Building Blocks • Docker and CRI-O certification • Docker images, Dockerfiles, examples • WebLogic Kubernetes certification • How-to, best practices • Value add integration • Management: Operator • Monitoring: Exporter for Prometheus • Migration: Deploy tooling • Logging: Exporter for Elastic Stack • Image Creation: WebLogic Image Tool WebLogic Coherence Operator copyright ©2019 Darwin IT-Professionals B.V. 35
  • 31. WebLogic Domain in Kubernetes- Domain Custom Resource • We create a Kubernetes Resource Object for the WebLogic domain. • This is a data structure representation of the WebLogic domain in Kubernetes. • Domain Custom Resource allows you to declare or specify the desired state of the resource. • Allows the Kubernetes API server to begin serving the custom resource object. • The WebLogic Kubernetes Operator is a controller that is always looking at the Domain Custom Resource and tries to match the actual state to this desired state. Meta Data: Name of Resource, Namespace, Labels, … Admin Server: Node Ports to expose, Volumes, … Cluster: Number of Replicas (Managed Servers), … Domain: Image to base the Domain containers, Domain in PV or in Image, K8S secrets, Logs to pod Managed Servers: non-clustered MS Server Pod: Java Options, Start Policy (Lifecycle control) Events: Domain Custom Resource copyright ©2019 Darwin IT-Professionals B.V. 36
  • 32. 37copyright ©2019 Darwin IT-Professionals B.V. Example domain.yaml DEMO
  • 33. Q & A copyright ©2019 Darwin IT-Professionals B.V. 38