In this article, we are going to see how to use Vagrant to create a development of Virtual machines and start practising Ansible. This is A Beginner article for both Ansible and Vagrant. I remember the days where I used to struggle with Vmware workstation (or) virtual box to setup[...]
Read moreAuthor: Sarav AK
vagrant up command stuck at checking if box is up to date - How to solve
The Objective How to solve the situation where the vagrant up command gets stuck while checking if box is up to date . By default when you bring up the virtual machine provisioned with vagrant using vagrant up command.vagrant will look for the updates associated with the box and make[...]
Read moreAnsible dict object has no attribute stdout (or) stderr - How to Resolve
This post discusses how to solve the Ansible error " 'dict object' has no attribute 'stdout_lines" . This error appears when you are trying to iterate through a list or dictionary incorrectly. In this post, we will discuss how to iterate through the dictionary and list in the right way and[...]
Read moreHow to create ssh public key from private key - Vagrant & Linux
How to create SSH public Key from SSH private key is a question made me write this post. Though we would be able to achieve the SSH key-based authentication by producing the private key. Sometimes it is necessary that we must have the SSH public key. Especially when we are[...]
Read moreVagrant Private key - Ansible SSH Permission Denied - How to resolve.
While building VMs with Vagrant and trying to run ansible-playbook with them over SSH connection. We get exceptions like Failed to connect to the host via ssh: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password The execution and the error would like something similar to the below. This post presumes that you are using the[...]
Read moreSample Java Web Application with Form-Based Authentication - Step by Step
Designing WEB Applications with Web Browser-based security is very common. There are three types of Authentication methods generally being used as follows Basic Authentication Form-Based Authentication SSL Client Cert Authentication Most of the Web Applications are using Form Based Authentication method where the user will be submitting their credentials through[...]
Read morewsadmin script to print running server status with heap usage
Objective: This python/jython (wsadmin) script will help you to print the “Running Server List” per everyNode registered under Cell(dmgr) with up time and heap usage. This script can be used in websphere application server 6.1 and above. Compatibility: WAS6.1 and above Script: Result: Hope it helps Hey There You can[...]
Read moreWebsphere Connection Pool Monitoring - wsadmin script
In this post we are providing WebSphere connection pool monitoring - wsadmin script. Its written in Python/Jython and can be used for WebSphere application server 6+ versions How the script is designed It will find all the running server instances registered with Websphere Application server DMGR (cell) and take a list of[...]
Read moreActivemq simple jms client to test queue and topic - ActiveMQ CLI
In this post, we will provide a Simple Java JMS Client Program to Test Active MQ Queue and Topic, this program is designed to take username and password(securely) and the broker URL from the user at the runtime. It is designed to do both Send and Receive operations for both[...]
Read moreFind Empty Directories in Linux - When there is no Empty Option
The Objective of this post gives you a hack to find Empty Directories in Unix Where there is no -empty option supported with the find command I have recently had a requirement of finding the empty directories in mount point (or) file system where there is no "-empty" option[...]
Read more