Saltstack IntroductionSalt 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 return information for commands that Master uses
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 operating servicesSaltstack Quick Start, refe
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
Requirement Description:
1) if there is no Marshall user on a node with hundreds of Linux servers, add the user and replace the second field in the/etc/shadow column. If the user exists, replace the second field character of/etc/shadow.
2) check whether there is a sudo command on the node server. If there is a sudo command, it means it exists. Otherwise, install the sudo command.
3) enables the Marshall user to execute all the commands with the root permission.
1. Set up the
Deployment and Management of nginx with source code of saltstack
Saltstack has been in touch for some time. I feel that saltstack is powerful in state file deployment, which can save us a lot of time for mass deployment, today, we will deploy nginx in the source code by deploying the front-end forwarding server. We hope you can provide more guidance.
Ideas:
1. Us
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
Tags: How to Use the require and watch syntax in saltstack
Requisites
Require
Require_in
Watch
Watch_in
Conclusion)
Many powerful options are supported in the saltstack configuration relational system. Whether it is a simple installation of software packages or the use of templates and conditional statements. saltstack states can gradually become ve
I. Introduction of SaltstackSaltstack 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 features, distribute files , collect server data ,
Tags: saltstack mysql automated operation and maintenanceBrief introduction:Saltstack is a centralized server infrastructure management platform, with configuration management, remote execution, monitoring and other functions, can generally be understood as a simplified version of the puppet and enhanced Func. Saltstack is based on the Python language implementation and is built with a lightweight Message Q
recently, the company added 40 servers for the last active function, although the server can be managed by saltstack (automated operations Tools Saltstack), the project can be released through Jenkins + Saltstack (using jenkins+ Saltstack+sh deploy the project to multiple servers, but before this need to get rid of the
Saltstack is an open source automation deployment and management tool written in Python with good extensibility and excellent execution efficiency, simple configuration, can work on multiple platforms, and is often described as a Func-enhanced version of +puppet Lite.
SALTSATCK Advantages: First, fast, based on the message queue + thread, run a number of devices, are millisecond level; second, very flexible, the source code is python, easy to unders
version of the branch is opened, 2018.3.0 did not fix the Bug , only 2018.3.1 was repaired. https://github.com/saltstack/salt/pull/45716https://github.com/saltstack/salt/pull/45716Workaround:Upgrade Salt-master to the 2018.3.1 version, upgrade salt-minion to the 2018.3.1 version and Master remain consistent. Successfully re-executing the command and getting the results returned:Experience:
when se
1.saltstack Basics in detail saltstack is a very easy to use and lightweight management tool with Python development. Composed of master and minion, the master side of communication saltstack through ZEROMQ listens on 4505 and 4506 ports, 4505 is a salt message publishing system, and 4506 is the port that the salt client communicates with the server. Salt client
States is a configuration language in Saltstack and requires a large number of states files to be written in daily configuration management. For example, install a package, then manage a configuration file, and finally ensure that a service runs correctly.Write some states SLS files (files describing the state configuration) to describe and implement our functionality. The states SLS file is written in Yaml syntax. Of course states SLS files also supp
Many enterprises use cloud services, automated operations tools are getting more and more fire, the installation and use of three automated operations toolsPuppet, Saltstack, ansible personal point of view;puppet C/S Framework Server puppet master Client Puppet agent process launcher using Ruby processThere is a listening port Master 8140 Agent 8139The principle Agent client puppet.conf configures the IP address of the master server, Runinterval = 10
Recently get addicted to Saltstack, and today got the Saltstack source installation Nrpe, install Nrpe before installing Nagios-plugins, the first is Top.sls file:[email protected] salt]# cat Top.slsBase‘*‘:-Nagios[Email protected] salt]# tree Nagios #目录结构Nagios├──conf.sls├──files│?? ├──conf.sh│?? ├──nagios-plugins-1.5.tar.gz│?? ├──nrpe-2.12.tar.gz│?? └──nrpe.cfg├──init.sls├──install.sls└──top.sls[email pro
Tags: saltstack ID hosts Authentication
Today, let's talk about how to set IDs and how to solve problems. I hope it will be useful to you ....
In the early stage of Host Name planning, we will design a host name recognition method based on the specific business ..
One day, the installation of a test machine is complete, but when the saltstack authenticates the key, it will find that when the mas
(the following codeLinuxTest Success)linux-node0.oldboyedu.com 192.168.1.30 installation salt-master,salt-minionlinux-node1.oldboyedu.com 192.168.1.31 installation salt-minionThe main use here Saltstack of the Grains, is that Saltstack Minion static information generated by the terminal, such as CPU , memory, hostname, whatever, and that's all we need.Execution Salt \* grains.items, will print a whole bunch
Quick introduction to SaltStack1. Introduction
A set of C/S architecture configuration management tools developed based on Python. The underlying layer uses ZeroMQ Message Queue pub/sub for communication and SSL certificate issuance for authentication management.2. Environment preparation 2.1 installation
This document uses the salt-bootstrap Method for installation. Salt-bootstrap is a separate project of SaltStack. It is mainly used to deploy the
Saltstack IntroductionSaltstack is a new infrastructure management tool. At present in the rapid development stage, can be regarded as the strengthened func+ weakening Puppet combination. The two main functions of Saltstack are reflected indirectly: remote execution and configuration management. Saltstack is a very easy-to-use and lightweight management tool deve
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.