In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the advantages and disadvantages of automatic operation and maintenance tool Ansible. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
I. basic introduction
1. Introduction
Ansible is a new automatic operation and maintenance attack. Based on Python development, it integrates the advantages of multiple operation and maintenance tools (puppet, cfengine, chef, func, fabric), and realizes the functions of batch system configuration, batch program deployment, batch running commands and so on. Ansible works based on modules and does not have the ability to deploy in batches. The real batch deployment is that the ansible lock runs the module ansible just provides a framework. It mainly includes:
(1) connection plug-in connection plugins: responsible for communicating with the monitored end
(2), host inventory: specify the host for operation, which is the host for monitoring defined in the configuration file.
(3) various modules core module, command module, custom module
(4) with the help of plug-ins, log mail and other functions are completed.
(5), playbook: when the script performs multiple tasks, it is not necessary to let the node run multiple tasks at one time.
2. Overall structure
3. Characteristics
(1), no agents: no client needs to be installed on the controlled host
(2), no server: there is no server, you can run the command directly when you use it.
(3), modules in any languages: based on module work, module can be developed in any language
(4), yam1,not code: customize the script playbook using Yam1 language
(5) ssh by default: work based on SSH
(6) strong multi-tier solution: multi-level command can be realized.
4. Advantages
(1) lightweight, no need to install agent on the client side, but only one update on the manipulator when updating
(2) batch task execution can be written as a script and can be executed without being distributed to the remote
(3) written in python, the maintenance is simpler, and the ruby syntax is too complex.
(4) support sudo.
5. Task execution process
These are all the contents of this article entitled "what are the advantages and disadvantages of Ansible, an automated operation and maintenance tool?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.