saltstack api

Learn about saltstack api, we have the largest and most updated saltstack api information on alibabacloud.com

Saltstack Installation Chapter

First, the basic introduction1. IntroductionSalt is a basic platform management toolSalt is a configuration management system that maintains remote nodes that are scheduled to be in a stateSalt is a distributed remote execution system used to execute commands and query data on remote nodesCore features of 2.salt:Sending a command to a remote system is parallel rather than serialProtocols that use secure encryptionUse the smallest and fastest network loadImprove the simple programming interface3.

Construction and basic use of saltstack

Saltstack is an automated management tool developed based on the Python language, which is easy to use. Please see Baidu for specific compliments. Saltstack and Puppet, chef and other comparableToday I share with you the installation deployment and basic usage experience.Author EnvironmentTwo Test machinespc1:centos6.5 as Saltstack master node: 192.168.1.111pc2:c

Automated operation and Maintenance series Saltstack batch deployment Apache Service

Automated operation and Maintenance series Saltstack Saltstack principle of batch deployment Apache service Salstack is composed of master and Minion, Master is the service side, represents a server, Minion is the client, representing multiple servers. Sending a command on master to a qualifying minion,minion executes the corresponding command. Between Master and Minion is communicated through ZERO

Automated operation and maintenance tools Saltstack Learning notes (i)

1.Saltstack IntroductionSaltstack is a centralized, lightweight automated operational management tool with Puppet and Func functions, written in Python and powerful, and can be used for epel quick installation. Compared with puppet, installation and configuration are easier and simpler. The following is the Saltstack installation and infrastructure configuration documentation. (Official document: http://doc

Use Saltstack to build a lamp server

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

Saltstack from simple to introductory (i.)

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 svnflask

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

Target minions (1) of saltstack Learning)

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

Saltstack O & M Automation

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

Saltstack use Tutorial (iii): Scheduled task management

Let's start with an example of adding a task:Note: Although you can create a delete here, but the author does not recommend such use, management complex, recommended the bottom of the file Management Timing task method/usr/sbin/ntpdatepool.ntp.org>>/dev/null2>1:cron.present: -user:root-minute:10[[emailprotected] base]#salt ' saltstack-node2.example.com ' state.highstatesaltstack-node2.example.com:---- ------id:/usr/sbin/ntpdatepool.ntp.org >>/dev/null

The combination of Saltstack and Python programs

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

Automation Tools Saltstack Mine custom collection minion information

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

Problem solving for MySQL module return value in Saltstack tool

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

Saltstack Basic Module Record two

OneArchive moduleFunction: Implementation of system-level compression package calls, support gzip, gunzip, RAR, tar, unrar, unzip, etc.Example:1, using Gunzip decompression sourcefile.txt.gz bagSalt ' * ' Archive.gunzip sourcefile.txt.gz2, using gzip compressed Sourcefile.txt fileSalt ' * ' Archive.gzip sourcefile.txt3. API call:Client.cmd (' * ', ' archive.gunzip ', [' sourcefile.txt.gz '])TwoCMD moduleFunction: Implement remote command line call exe

Automatic O & M saltstack replacement string in batches

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

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

Complete LVS configuration management based on Saltstack

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,

Deploy Saltstack and bulk install HTTPD services

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

How to Use the require and watch syntax in saltstack

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

Efficient operation and maintenance 1:saltstack installation configuration

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 ,

Total Pages: 15 1 .... 4 5 6 7 8 .... 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.