Posts

Showing posts with the label automation

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

Check URL using shell script

We had an issue on production environment. Suddenly one of the webserver got crashed that no one aware of it. That was happen in the Weekend there were no users accessing at that time. When the business hour started Monday morning customer reported to service desk that one of the URL is not working for them. We middleware support team check the URL and identified that the HTTP server not working. Next action items as you know taking the logs backup and starting the HTTP server done. As part of issue management preventive action to this there could be a monitoring of the URLs. All the web servers hosted application, load balancer that is serving the application or Application server that hosted the web application must be checked randomly or every day before business hours starts. To do this monitoring team started working on listing out all loadbalancer URL, primary, secondary webserver URLs and also Application server hosted URL lists and checking on the browser each URL. Here is t...

Copying to multiple remote machines

Here is another interesting story of WLA (of-course mine), When I visited US in 2007 there was lot of restrictions in work places. "Hey its production you know what happen if you touch it??" "Don't open this files", "Don't enter into that folders", it will be dangerous... I know that very well what is missing in the system, where it is required a change but my hands kept criss cross!! Days passed I got opportunity to come again on long term. Now, the whole new System is going shapeup with my hands. The system is awaiting for me since long days. :) All those sparkling colorful ideas running around my mind, got chance to flow onto the system to form various automated scripts, which are having little in size with greater capabilities. Whenever there is a application version release the archive files(.jar, .war, .ear) need to copied to all over the remote machines. In olden days we were using 'sftp' command and its related 'put', 'm...