Skip to content

Hands on lab Oracle WebLogic Modernization (WebLogic on Kubernetes)

Notifications You must be signed in to change notification settings

tazlambert/weblogic-modernization

Repository files navigation

Welcome to Oracle WebLogic Modernization Hands On Lab

About this hands-on Hands On Lab

This Hands On Lab main purpose is to show how to modernization of existing WebLogic Domain so that WebLogic's user will be able to experience WebLogic's improvement in this agile era. This hands on lab is made based on the WebLogic Kubernetes Operator Documentation also various references and has been tested by May 2020. If you have any questions or inquiries please email me to [email protected].

Note: This is a work in progress tutorial, will be updating as soon as finding some interesting topic to add.

The Hands On Lab will demonstrates:

This lab is designed for people with some experience with OCI, Kubernetes, WebLogic, and no experience with WebLogic Tooling, Container Registry, Docker and want to learn the core concepts and basics of how to run WebLogic JEE application on Kubernetes environment.

Prerequisites

Two major topics to be covered in this tutorial:

Moving Existing WebLogic Domain into Docker Image and Improve WebLogic Domain's Monitoring and Logging

This will demonstrate the process of moving existing WebLogic domain into docker image using WDT and WIT. The domain will contain demo Web Application which is a simple JSP page which shows WebLogic Domain's MBean attributes. During moving process, improvement process also being done by adding new monitoring and logging capability using WME and WLE. Below is the illustration

  1. Create existing WebLogic domain artifact backup
  2. Create Docker image from existing WebLogic domain
  3. Setup Oracle Kubernetes Engine to orchestrate the Docker image
  4. Setup WebLogic Kubernetes Operator to orchestrate WebLogic in Kubernetes
  5. Update Docker image to improve existing WebLogic domain

Automate WebLogic WebLogic Domain Lifecycle in CI/CD process on Kubernetes

This will demonstrate how to enable CI/CD process on the WebLogic domain, where everytime there is a new code commit in the code repository the whole process of creating image, deploying image will be done automatically, below is the illustrationg

  1. Setup Oracle Container Pipelines (Wercker) to Enable CI/CD for WebLogic Application
  2. Deploy WebLogic Domain to Kubernetes
  3. Deploy Ingress Load Balancer for WebLogic in Kubernetes
  4. Setup Auto Scaling and End to End Monitoring for WebLogic Domain in Kubernetes
  5. Setup Alternative Scaling for WebLogic Domain in Kubernetes
  6. Override JDBC Datasource parameters
  7. Update Web Application
  8. Assigning WebLogic Pods to Nodes

Components

By the time this hands on lab created below are the tools that being used and its version:

WebLogic Tooling

Others Tooling

References

  1. Automating WebLogic Deployment - CI/CD with WebLogic Tooling
  2. Oracle WebLogic Server Kubernetes Operator Documentation
  3. Oracle WebLogic Server Deploy Tooling
  4. Oracle WebLogic Image Tool
  5. Oracle WebLogic Monitoring Exporter
  6. Oracle WebLogic Logging Exporter
  7. Oracle Weblogic Server Kubernetes Operator Samples
  8. Oracle WebLogic Tutorial
  9. End to end example of monitoring WebLogic Server in Kubernetes
  10. Using Prometheus to Automatically Scale WebLogic Clusters on Kubernetes
  11. Scaling a WebLogic cluster

License

Copyright (c) 2020 Oracle and/or its affiliates The Universal Permissive License (UPL), Version 1.0