Modules in the Saltstack library:in Saltstack, each subsystem plug-in (plug-in) is a Python Module. Therefore, the Module in the Saltstack library can be seen as a set of functions (for example: aka command); it can be seen as an application (e.g. MySQL, Docker); can be seen as a system component (e.g. disk, file) ; it can also be seen as an external system (GITF
Deploying the lamp architecture with SaltstackSteps:(1) Install package pkg(2) Modify the profile file(3) Start service services(1) PKG Module learningHttps://www.unixhot.com/docs/saltstack/ref/states/all/salt.states.pkg.html#module-salt.states.pkgNote: Under an ID declaration, the status module cannot be reusedPkg.installed #安装pkg. Latest #确保最新版本pkg. Remove #卸载pkg. Purge #卸载并删除配置文件 # Install multiple packages at the same time common_packages:pkg.inst
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
First,saltstack IntroductionSaltstack 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 Func Plus + Puppet Lite version. 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 py
Automated O M: website svn Code Update (flask + saltstack) and svnflaskPeriodic summary: It took about a week to complete the automatic website upgrade function. Many problems were encountered and many problems were learned. Here is a summary. 1. Overall architecture: backend: nginx + uwsgi # nginx provides web Services. uwsgi parses python code. Foreground: flask + bootstrap + html # flask is a set of web development tools for python, bootstrap is a
This article summarizes how saltstack locates the target host and introduces some common examples.
> Why do I need to locate the host?
As a configuration management software, the first thing to solve is how to determine the push host, or the push target of a specific configuration. If you cannot determine the target of one or more pushes, how can we automate the classification configuration management of a large number of hosts?
> What is the target m
Tags: salt saltstack salt-key salt-Minion salt-Master
Saltstack is an open-source software. Salt has two main functions: configuration management and remote execution. The saltstack configuration file format is simple and easy to write. At the same time, saltstack runs very fast remotely. The following describes the im
What is mine doing? Is that you define the collection module in mine, he will collect the data, where it is stored, do not know, but certainly the client Minino Local. Interested friends can check Saltstack code.Paste it down here first, official DOC usage:
The code is as follows
Copy Code
Mine.delete: Remove specific function contents of minion. Returns True on success. CLI Example: Salt ' * ' mine.delete ' network.interfa
One of the main features of the Saltstack integrated MySQL module in the development of MySQL management in the management system is Mysql.queryTwo examples in the official documentation:Salt.modules.mysql.query (database, query, **connection_args)Run an arbitrary SQL query and return the results or the number of affected rows.CLI Example:Salt ' * ' mysql.query mydb "UPDATE mytable set myfield=1 limit 1"Return Data:{' Query time ': {' human ': ' 39.0m
Previously, due to job requirements, Saltstack's LVS remote execution module, LVS Service status Management module and LVS Server Status Management module were written and submitted to Saltstack official loadblance (DR) and Realserver configuration management.front-facing readingLVS-DR mode configuration in detail, it should be noted that the LVS-DR mode of work in the data link layer, the text describes the need to open ip_forward, in fact, no need,
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
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.