improve work efficiency and standardize business configuration and operations.
The hardware information of each server has been recorded manually. You can write and capture the information everywhere through scripts or automated tools. This article mainly uses saltstack as a tool, then, use the provided APi to compile the required Python script ~~
The requirements are as follows: Generate server host name,
Saltstack is a new basic setup management approach that is easy to deploy, works in minutes, scales well, and easily manages tens of thousands of servers, fast enough, and second-level communication between servers. By deploying the Saltstack environment, we can execute batch commands on thousands of servers, configure centralized management according to different business characteristics, distribute files,
Saltstack officially has a web ui called halite, which executes management on the page. The backend uses the saltstack api
I have been writing my own ui some time ago, using flask and metro. The project was also put aside, so I was too lazy to move. I can see the ui tools on the official website today. Although the functions are incomplete, the basic execution a
Brief description
This series of articles is not saltstack primer to give up series, just contact salt players please from the "Saltstack Technology Introduction and Combat", "proficient in saltstack" and other books to get started, written very easy to understand and comprehensive.
Undeniable saltstack
Demand generation Scenarios: 1, Python virtualenv Virtual environments are very useful. NBSP;2, saltstack as an important component of operation and maintenance automation is also very useful. But: 1, SALTSATCK is easiest to install with Yum, combined with the python2.6 version Linux-centos comes with. NBSP;2, even with compile and install, also in the Python environment of compiling and installing NBSP;SO, the demand produced: I want to use
Preface: Manually go to each server hardware information and records have passed, whether through the script or Automation tools can be written to crawl everywhere, this article mainly use Saltstack as a tool, and then use its provided API to write the required Python script ~ ~The requirements are as follows: Generate server hostname, IP address, memory, CPU cores, operating system, data disk quotas, main
http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
Finally, it is found that the most important problem is the communication between development and operation.
Saltstack is a centralized server infrastructure management platform with configuration management, remote execution, monitoring and other functions, can be understood as a simplified version of the Puppet, which is based on the Python language implementation, combined wi
Python virtualenv install and run saltstack and saltstackenvScenario: 1. The virtualenv virtual environment of python is very easy to use. 2. saltstack is also quite useful as an important component of O M automation. But: 1. saltsatck is the easiest to install with yum, which is combined with Python that comes with linux-centos. 2. Even with the compilation and installation, it is also in the compiling an
Guide
Saltstack is a set of C/S architecture configuration management tools based on Python (features not only configuration management, such as using Salt-cloud to configure AWS EC2 instances), its underlying use ZEROMQ message queue pub/sub mode of communication, Authentication is managed using SSL certificate signing. The world's fastest Message Queuing ZEROMQ allows Saltstack to quickly perform var
Saltstack is a new infrastructure management tool. It is currently in the rapid development stage and can be seen as a combination of pssh + weakened puppet. This indirectly reflects two functions of saltstack: Remote Execution and configuration management.
Saltstack is developed using Python and is an easy-to-use and lightweight management tool. Composed of mas
1, Puppet
Environment Deployment
1. puppet-Large-scale cluster deployment management artifact
2. Installing Puppet servers and clients on CentOS and RHEL
3. Saltstack detailed deployment of Debug
4. Puppet error:400 2, Saltstack basic Knowledge
1. Use of the State.sls of Saltstack/salt (v) algorithmic architecture
1. Salt
Grains is the most important component of saltstack, the role of grains is the basic information of the mobile phone is controlled by the host, these information are static data, such as CPU, kernel, operating system, virtualization, etc., on the server side can be flexibly customized according to this information, This information can be used by administrators to personalize different businesses (the first class is understood as: grains is used to di
Salt IntroductionSalt is a basic platform management toolSalt is a configuration management system that can maintain a predefined state of a remote nodeSalt is a distributed remote execution system used to execute commands and query data on remote nodesSalt core FunctionsSending a command to a remote system is parallel rather than serialProtocols that use secure encryptionUse the smallest and fastest network loadProvides a simple programming interfaceSalt kindaSaltstack is written in Python that
Saltstack IntroductionSalt OA speed airship source code download Q2947702644 is a basic platform management tool. The saltstack uses the C/s mode, and the server side is the master,client end of the salt, which communicates between Minion,minion and master through ZEROMQ Message Queuing. Master listens on 4505 and 4506 ports, 4505 is the master and Minion authenticated communication ports, and 4506 performs
Saltstack has been used for a period of time, recently for various reasons, special to tidy up the Saltstack Basic Primer series, has been prepared for follow-up review (as the saying good memory than bad pen), is also considered a summary of the use of this tool.Saltstack's first six articles mainly cover saltstack installation, remote execution, configuration m
The operating system is centos6.3, centos6.4, and Windows server2008r2.
The download link in this article may be updated with the version on the official saltstack website, but there may be changes or errors. Please refer to the version link you need to install. I wrote a specific link to facilitate repeated operations in the near future.
In this article, Linux uses epel for installation, and Windows selects the EXE installation package.
1. in your sy
Saltstack official has a Web UI called Halite a UI to perform management on a page. The backend uses the Saltstack API
I've been writing the UI myself for a while, using flask and Metro. The project also put aside, too lazy to move. Now see the official website of the UI tool, although the function is very incomplete, but the basic implementation, State view or
Review the previous section:Grains and pillar are all definitions of their properties.Grains defined on the Minion side (the Minion must be restarted to take effect after the definition)Pillar defined on the master side (takes effect without rebooting)Saltstack's APIThere are two ways of Salt-api:The first: It is the form of the function, Renfrew defined function, we can directly call, directly write Python code call function or class can be.The second: The form is SALT-
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.