Posts

Single click installation of WebLogic 14c|12c in Linux

Image
Current IT Trending towards devOps automation in every Software product development. I am also part of  this devOps culture. I had a thought that, How much I can leverage my regular task by making simple shell script for Installation task. As every Oracle WebLogic system administrator would pass through this situation but only few of them who have "AUTOMATION IN MINDS" could attempt to resolve this with a nicely blended Shell script. Here I would like to target two types of installations with two different Shell scripts: Fusion Middleware 12.2.1.2.0 WebLogic Server installation Fusion Middleware 12.2.1.2.0 Infrastructure installation Objective of this script is to get single hit would do multiple tasks such as: JAVA installation setting the JAVA_HOME in shell profile using Java run the WebLogic installer in silent mode YOu can use the same logic in WebLogic 14c the latest version as well. Assumptions: Downloaded Software will be stored in c...

Is Spring framework in Trouble with JDK9+

First steps as you can look into your Java based environments, where JDK9+ version is in use should be under high alerting zone. You may ask is it Open JDK or Oracle JDK 9?? It is for all JDK9+ versions. So be prepared with the list of boxes which are running the applications on JDK9+. Still now there is no Patch yet released. But if there then we should be ready and patch it as quick as possible. Cloud platforms Microservice level what could be issues and how to resolve. VM Ware AppDynamics Be proactive to understand this critical Vuln and have mitigations ready. Java Spring Framework now in big trouble with Vulnerabilities Recently this week lot of communications about the Spring Framework   CVE-2022-22965: Spring Framework RCE via Data Binding on JDK 9+ | Security | VMware Tanzu The following article give some other resolution for this Vuln. Spring Core on JDK9+ is vulnerable to remote code execution - Praetorian

Learning 2: MiniKube Kubernetes Cluster WebLogic Application deployment

Image
Hey Middleware Expert, I am going to discuss the Kubernetes cluster deployment. This is most important for the topic in Kubernetes in pod management with replicas and deployment for application Lifecycle management. MiniKube having built-in Kubernetes Dashboard. This post is a continuation of  our  previous post " Learning  1. Minikube  Kubernetes Cluster  Running in the Oracle VirtualBox" . Create a new deployment using a Kubernetes dashboard To create the new deployment in the minikube Kubernetes dashboard click on the 'deployments' under the workload. On the top right select +CREATE  and there are : CREATE FROM TEXT INPUT CREATE FROM FILE CREATE AN APP Select the third option Minikube dash board deployment of WebLogic  For the App Name, we’ll call this deployment 'wls-app'. Container image for WebLogic 12c we will take  ismaleiva90/weblogic12:latest. Here I've used docker pull for this image once it is available in the local docker registry the...

Learning 1. Minikube Kubernetes Cluster Running in the Oracle VirtualBox

Image
My learning Kubernetes Cluster is an essential skill for SRE DevOps Engineers on any Cloud platforms. My learning capability keep growing with this daily dose !! :) I like the statement given in one of the author -Kubernetes is like captain of ship where multiple container clusters carried in the huge ship. This is a first step that will help you to enter into world of Kubernetes cluster technologies. Kubernetes is also known as k8s, this is quite young technology in the DevOps stack. Here we have two options to work-out on Learning Kubernetes: Kubernetes installing in master-slave in multiple nodes Minikube running a locally single node The first option will be used in real-time production environments, and the other is used for learning purposes. Here I've selected the second option for running WebLogic on Minikube. Benefits of Kubernetes cluster There are many benefits but in brief for WebLogic   Kubernetes is the core component in Cloud Native Engineering pla...

3. Learning How to build Best Docker images?

Image
The containerization concept was available since the 1978s in the UNIX. but the real usage and evaluation started from the year 2014 onward, a small community of docker open-source organizations started to focus on it and developing it. In the last post, we had the unofficial image then it went up the size up to 3.8 GB. But same logic if we try on Oracle Linux 7-Slim version image it reduced 1 GB!!!   Use Layered approach for Oracle images   Most of the developers question how do we deliver it to end-user when you create the containers for WebLogic. The best practice to use the layered approach for WebLogic applications. We have demonstrated with the following layer approach the whole stack is going to break down into two major parts: Read-only  Read-write  The latest image is on top which is only allows you to modify the content. where application jar/war/ear file will be deployed. The bottom stack will be re-used by multiple developers to build ...

Ansible automation for WebLogic - Part 2: Unarchive and Copy WebLogic installers

Image
This post is continuous learning " Ansible automation for WebLogic " series. If you are not read the previous post please go through it which will be telling you that Java installation using Ansible . That same play book you can use it for CPU patches. The objective of this post is to use the ansible playbook for unzip the WebLogic installer and run the silent mode installer. As we have explored in the last post unarchive module used for the Java installer which had tar.gz extension.  There are multiple modules in ansible which are very powerful. In this post I would like to share my experiments with the following: unarchive module copy module Unarchive module in Ansible We can use the unarchive module for Zip files and also for tar.gz files. When we use this module need to provide the src, dest values that is source and destination. This module automatically copies the zip file and unzip it in the remote The copy module in Ansible The copy module is works similar...

Ansible automation for WebLogic - Part1 Java Installation

Image
Ansible is a task execution engine. Ansible is designed to work on multiple machines to execute the batch of simple task to scale. Ansible is written in Python language, it uses Python 2.6 above is supported platform as requirement. No Agents required! Ansible is simple language that is started as opensource and later it is acquired by Red Hat. The core communication happens with SSH. SSH widely available trusted in all UNIX and Linux systems. Ansible can be run any system as it doesn't relay on central machine. Ansible automation for Java and WebLogic 12c  Here my experiment goes with two Ubuntu 14 Trusty Tahr machine. In one machine Ansible will be installed and other machine is used as target node, in real-time scenario the target list can be many hundreds and this has been proven by NASA and other Ansible implements. Using Ansible lots of organizations get into structured and role based automation implementations successful. For Redhat flavors The actions that n...