Posts

Showing posts from 2018

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

The docker-compose for Oracle 12c XE

Image
Oracle Database 12.1.0.2 Express Edition After a while got time to explore the new learning in my way. Oracle 12.1.0.2 Express edition on docker container is my goal. In this post I am going to explain you how did I achieved this with different path of using docker-compose commands to bringing up the automated XE container. The regular choice is defined in GitHub and Docker hub it was mentioned to use docker pull and docker run commands to use. Advantages of containerizing Oracle 12c XE No need to download any software from OTN No need to install - dockerfile will take care of it No need to run dbca for Database cration - executed moment container boot time No need to start LISTENER, STARTUP database because this container choosen is AUTOMATED [OK] Lets search for the Oracle 12c XE docker search oracle12c Output of docker search result Docker Oracle 12c XE search The docker-compose for Oracle 12c XE Database oracle12cxe: image: rodrigozc/oracle12c ports: ...