saltstack documentation

Alibabacloud.com offers a wide variety of articles about saltstack documentation, easily find your saltstack documentation information here online.

Centralized management platform saltstack-Principles and Installation

Saltstack principle: Saltstack consists of master and Minion. The master is a server, indicating a server; the minion is a client, indicating that multiple servers exist. Send the command to the qualified minion on the master, and the minion will execute the corresponding command. The master and Minion communicate through zero (Message Queue. The master side of salt

LVS Configuration Management Based on saltstack

Pre-reading Environment Description Commencement Configure the saltstack LVS Module Configure pillar Compile states Application configuration Summary Previously, due to work requirements, I wrote the LVS remote execution module of saltstack, The LVS service status management module and the LVS server status management module, and submitted them to the official saltstack

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

Saltstack Latest version of WebUI deployment

Saltstack Web Uiweb Platform Interface Saltapi Project home: Http://salt-api.readthedocs.org/en/latest/halite Project home: https://github.com/ Saltstack/halite Official Document: https://github.com/saltstack/build process: cd/var/wwwwgethttps://github.com/saltstack/ HALITECD halite/halite./genindex.py-c Installation s

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 Applied Combat

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

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

Deploying Saltstack under Linux

public keys for a considerable month: "--list all"-a ACCEPT,--accept=accept the public key specified by the license (using--include-all option to specify the public key of all reject states except the suspended key)-A,--accept-all license all pending public keys-R REJect,--reject=reject denies the specified public key (use the--include-all option to specify the public key of all accept states except the suspended key )-R,--reject-all rejects all pending public key--include-all with accepting/re

Two development of Python Saltstack (2)

. Perform various modules on master:>>> Import Salt.client>>> local = salt.client.LocalClient ('/etc/salt/minion ') >>> Local.cmd (' * ', "test.ping")Return:{' 192.168.48.129 ': True}Execute command:>> local.cmd (' * ', ' cmd.run ', ' W ')"Returned is a dictionary form that is easy to post-process data with"{' 192.168.48.129 ': ' 12:17:38 up 5:58, 1 user, load average:0.00, 0.01, 0.05\nuser TTY from [Emai L protected] IDLE jcpu PCPU what\nroot pts/0 192.168.48.1 11:14 2:50 0.89s 0.89s python '}I

(eight) Saltstack project installation MySQL

/mysqld.pidSlow-query-log-file =/var/log/mysql_slow_querys.logSkip-name-resolveSkip-grant-tables2.6 MySQL startup script to add the following path[email protected] files]# cat mysqld#!/bin/shbasedir=/usr/local/mysql-5.6/datadir=/usr/local/mysql-5.6/data/2.7 Simulated execution salt1[[email protected] salt]# Salt ' node2 ' state.highstate test=true-no error[[email protected] salt]# Salt ' node2 ' state.highstate start installing MySQLThis article is from the "Bill Linux Operations Notes" blog, pl

Actual combat Use Saltstack source installation configuration MySQL

]#catconf.slsinclude:- mysql.install#mysqlforconfigmysql_cnf:file.managed:- name:/etc/my.cnf-user:root-mode: 755-source:salt://mysql/files/my.cnf#mysqlinitsalt:// mysql/files/conf.sh:cmd.script:-env: -BATCH: ' yes ' - require:-cmd.run:mysql_commpile -pkg:mysql_pkg#mysql Servermysql_service:file.managed:-name:/etc/init.d /mysqld-user:root-mode:755- Source:salt://mysql/files/mysqldcmd.run:-names: -/sbin/chkconfig--addmysqld -/sbin/chkconfig--level35mysqld on-unless:/sbin/chkconfig--listmysqld serv

Generate a server asset inventory from Python using Saltstack

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

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

Total Pages: 15 1 .... 3 4 5 6 7 .... 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.