Ansible
Problem Before Ansible :-
suppose you have 100 server and you wants to install 2 packages suppose package A and package B to all those 100 server so what will you do
1. log in to the server
2. check package A and package B already installed or not
3. if not then install using two command
yum install A -y
yum install B -y
this process take 6 mint of time on one server so since we have 100 server so it will take 600 mint it will become an very hug time taking process.
Solution 1:- This solution is the next problem for ansible
suppose you are good at shell script so
1. you will write a shell script program to install both the packages to the server
2. you will again write the shell script program to apply previous written shell program to all the 100 server
this process take 3 mint for each server we have 100 server so it is taking 300 mint fore all the server so we have reduces the half of the time but even its taking so much time
Solution by Ansible:-
To overcome this type of situation of for performing this type of configuration task in less time we use configuration management tool like ansible puppet and so on.
what ansible will do ansible will install both the packages in all the system parallel since it was taking 3 mint for 1 server so if we have 100 server and we are writing playbook so it will take only 3 mint to install both the packages into all the server.
What is Ansible ?
Ansible is an open source(you can download it without buying any license) automation tool.
its very simple to setup and very powerful
Ansible is helpful to do
- Configuration management
- Task Automation
- IT orchestration
- Cloud provisioning
- Application Deployment
More Definition :-
Ansible - Ansible is a software tool that provides simple but powerful automation ( Automation is the creation and application of technology to monitor and control the production and delivery of products and services with minimal human intervention. ) for cross platform computer support. it is primarily intended for it professionals, who use it for application deployment( Software deployment includes all of the steps, processes, and activities that are required to make a software system or update available to its intended users. ) update on workstation and server, cloud provisioning( Cloud provisioning is the allocation of a cloud provider's resources and services to a customer), Configuration Management ( Configuration management is a process for maintaining computer systems, servers, and software in a desired, consistent state. It's a way to make sure that a system performs as it's expected to as changes are made over time.) intra-service orchestration ( Application or service orchestration is the process of integrating two or more applications and/or services together to automate a process, or synchronize data in real-time. Often, point-to-point integration may be used as the path of least resistance. ) and nearly anything a system administrator does on weekly or daily basis. Ansible doesn't depends on agent software and has no additional security infrastructure, so its easy to deploy.
No comments:
Post a Comment