Posts

Showing posts from December, 2020

Let’s make Apache webserver services idempotence using Ansible handlers

Image
The title seems ambiguous. Арасhe httрd is а serviсe whiсh helps in deploying web server on the system. The next eye-саtсher is Idemроtenсe. In this article, I would be achieving Apache webserver restart service with the ability of idempotence using ansible handlers So what is Idempotence? The main reason for using ansible is Idempotence as by the ability os idempot e nce ansible save a lot of CPU time which can be get wasted, think of the situation of where we have to scale our server and we have run the same playbook where all the server are added so is the ansible will run the task on the system which are already configured?. The answer is no as it has the intelligence of Idempotence which will guide it whether the task is already been run on that system or not leads to saving so much the resources of the company. But there is some situation where ansible can’t able act Idempotence, For example, while restarting the httpd service it does not follow idempotence. So for such a task, w...

Let’s discuss some Interesting questions regarding python

Image
  Python  is an interpreted, high-level and general-purpose programming language. Python’s design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented, and functional programming. Python is often described as a “batteries included” language due to its comprehensive standard library. In this article, I will answer some common and interesting question → Is Python interpreted or compiled? Are there ways to compile the code? → Which is faster in python — Searching in a list or a dictionary. And why? → How can we get the code of a python object? → What are the ways to make python code work faster? → What is the exec function and how we can use it? → What ...

A session with Ansible Industry Experts

Image
Yesterday I got an opportunity of having an exciting session on Industry Use cases on Automation using Ansible. All thanks to  Mr Sreejith Anijan (Principal Instructor in Redhat), Mr Arun Eapen  (Director, APAC Service Delivery, GLS RedHat Asia Pacific)   for imparting us a wonderful session for real use cases of Ansible. Got to learn many new things, the first point of a t traction was the welcome note from  Mr Arun Eapen  on the subject of why industries need to automate their trivial works from manual to digital and from digital to automated and due to pandemic situation this has speeded up and wanted all the possible works to be automated The session was all about  Ansible and Ansible Tower . As we all know automation is one of the most important parts of today’s for any organisation, all of them want to be fast and Ansible is a tool that is meant to be fast because it is simple, powerful and can be integrated with almost any technology. Ansible Tower ...

How to configure Hadoop cluster using Ansible playbook

Image
  Automation is the new future of today's industry now most of the industry is heading towards automation as it reduces human efforts and errors which can be performed by humans also will be reduced. Nowadays companies have to configure a large number of servers daily and doing manually every server is not practically possible and time-consuming as well and today's era we don't have time to waste for this so we have to need some automation tool which performs all the task in every server in a single click and one of the automation tool is Ansible. First, let's talk about what is Hadoop Apa c he Hadoop is open-source software that provides us with the facility to build our own distributed storage cluster and computing cluster by Hdfs and Mapreducers programming methods. So what is the Hadoop cluster? Hadoop cluster is a very great program which allows us to join many storages of the data node and give as single storage to the client creating an illusion that the client h...

How Kubernetes Took the World by Storm

Image
  When containers were first introduced in 2008, Virtual Machines, or VMs, were the state-of-the-art option to optimize a data centre’s physical resources. This arrangement worked well enough but had some flaws like Virtual machines utilized too many resources because they required both a complete operating system and emulated instructions to reach the physical CPU. To solve this problem, a common kernel is shared with all applications that can choose any operational resources as necessary. Containers can run on bare metal while sharing resources, but without being able to access other containers’ resources. How do containers ensure high availability, disaster recovery, or scalability? Container orchestration systems such as  Kubernetes (K8S)  offer a solution. So what is Kubernetes? Kubernetes  is a system for running and coordinating containerized applications across a cluster of machines. It is a platform designed to completely manage the life cycle of containeriz...