Posts

Do you have 'alias' in your .bash_profile or .bashrc??

Image
Making mistake is human nature but, overcoming that mistake turning to desired outcome is very wise thing. You want to learn about that wise trick? If yes, follow my post details more about my learnings on alias!! In Unix platform there is a file called .profile (some Linux environments it is . bash_profile ). Which executed automatically when you logon to your user, which intern have the environment variables which are required to run your application on WebLogic. For WLA required to setup a standard. profile for his production environment that is for JAVA_HOME, WL_HOME are major some of the environments requires ORA_HOME in this file.   Defining JAVA_HOME, WL_HOME, etc is common thing for any WLA. But your my Smart WLA then you might applying a intersting UNIX command 'alias'. Most of the time we use 'ls' command for listing the files/folders. By mistake you might mistype as 'sl' instead of 'ls'. sometimes feeling hungry!! or thirsty!! and typing...

Ansible automation for WebLogic - Part 3 installation of WebLogic 12.2.1.3.0 quick

Image
As part of "Ansible automation for WebLogic" series - in this post we are going to install the WebLogic 12.2.1.3.0 quick installer. There is very interesting research on how and when to use ansible modules for WebLogic. This is true weekend I set my time to have how this ansible automation works for WebLogic installation task, serious focused on this task. Prerequisites We have already seen in the earlier posts [if not visited yet please do visit] following links: Java Installation using ansible playbook WebLogic installer unarchive copy response file, oraInst.loc file to remote node Writing Playbook with command In this post, I've explored on the below mentioned best suitable ansible modules command module pause module The command module is better one,  I've choosen after trying with shell module. Installing WebLogic is a single command that need to executed on the remote node.  As we already copied the WebLogic installer and response file, oraInst....

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