saltstack tutorial

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

Understanding the saltstack communication protocol zeromq (2)

The pair/pair and req/REP modes are discussed above. Now let's look at the pub/sub and push/pull modes. Pub/Sub: publish/subscribe mode. It is similar to subscribing to news. It adopts asynchronous Io and many-to-many mode. If there is no

Atsystem--saltstack Web Management Platform

The platform is their own learning Python and Django side write, shortcomings, Please kindly enlighten me, thank you!first, The system environmentcentos6.4 x64 operating system, python2.7.10, django1.8.1,mysql,saltstack2015.5.5-1 (some features are

Custom example of the saltstack grains module on Linux

${content}

Saltstack Automatic Deployment haproxy+keepalived+nginx+memcache+php (fastcgi)

Two series:To deploy the keepalived total directory structure[[email protected] salt]# tree /srv/salt//srv/salt/├── base│   ├──  init│   │   ├── audit.sls│   │   ├──  dns.sls│   │   ├── env_init.sls│   │    ├── epel.sls│   │   ├── files│   │   │    └

Saltstack Deployment nginx+php

Because basically the production environment is a nginx+php environment, it is not a separate list of salt deployment PHP process, this is combined with my script in the production environment nginx+php environment deployment.Deployment planning:1)

Saltstack Learning Series State installation nginx+php environment

Directory structure|--Pillar| |--Nginx| | `--Nginx.sls #nginx变量 (key:value)| `--Top.sls '--Salt|--Init #初始化目录| `--Repos.sls #安装yum源|--roles #角色 (Nginx and PHP)| |--Nginx #Nginx| | |--Config.sls #copy和利用pillar渲染配置文件| | |--Files

Saltstack Installation and use

1, install Epel Source: # RPM-IUVH http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm 2. Install the package:Main console: Yum install Salt-master # on the Salt-master controlled end: Yum Install Salt-minion # on each salt-

Saltstack (4) return value with MySQL storage salt

The Salt return Receiver (returner) allows the Minion response to be stored in various data stores or in different locations, even displaying the response content on the command line. Returner can be used to extend the salt, and to communicate with

Preach Wisdom Blog Video tutorial Download collection |java video tutorial |net video tutorial |php video tutorial | Web video Tutorial

Preach Wisdom Blog Video tutorial Download summary |java video tutorial |net video tutorial |php video tutorial | Web video Tutorial Preach Wisdom Blog Video tutorial Download summary |java video

Saltstack API (i)

A), install the configuration API[[Email Protected]_master ~]# pipInstallpyopenssl #安装依赖包[[Email Protected]_master~]#Yum Installsalt-API #安装api服务[[Email Protected]_master~]# useradd username &&Echopassword |passwd--stdin $username #添加用户[[Email

Saltstack-salt Common modules and APIs

Salt provides a very rich set of functional modules, covering the basic functions of the operating system, common tool support, etc., you can list the modules supported by the current version through the SYS module.Salt ' * ' sys.list_modules781915e2

Saltstack module Learning to copy the files and directories on the master server to the Minion server

I. Cp.get_file implementing files from the master side to the Minion serverCp.get_file1. Modify/etc/salt/master to specify the root directory of the server's workFile-roots:-Base:/srv/salt (default path, can be specified)2. Create a

Summary of Common commands of Saltstack

There are three ways to find the target minion: Common grains information is as follows:10.15.137.42:03/07/20131.6.0Fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat limit 36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx

Saltstack's yum Simple deployment Lnmp

Simple deployment with salt today LNMPDeployment environment:node23.com 192.168.0.23 master/minion deploying Nginx and PHPnode24.com 192.168.0.24 minion Deploying MySQLFirst look at the structure directory:# tree .├── dev│ ├── files│ │ ├──

Saltstack User account Management

SALT. State. USERManangement of user accountsIn Salt.state, the user module is used to create users and manage user settings, and the user can be set to a present state or absent state. (Copy from official website Http://docs.saltstack.cn/ref/states/

Saltstack-gdlwolf Self-study summary of the fifth (method case): Pkg module initialization installation system common software package

First we use the PKG module to install a commonly used RPM package for an initial installation of the CentOS system , for example:vim unzip wget, etc.Here is how to configure the SLS filemkdir/srv/salt/init-pvvi/srv/salt/init/pkg-install.sls# Add

Saltstack's Grains detailed

What is grains:is a component of salt that is responsible for the static data collected at the first boot of the Minion, which can be used in salt modules and other components. Each time the Minion starts (restarts), it will be collected.Application

Saltstack (12) configuration Management mount

Many servers on the line need to mount the public directory on the storage, and implement boot-up (/etc/fstab), such as the static file share directory of the Web, log remote centralized collection and so on.One, the bulk mount part.1. Configure the

Saltstack (hostname renamed)

The machine already exists in the salt, in order to standardize, need to rename this batch of hostOperation Flow: Remove the machine from master, modify the host name of the machine, rename the minion_id and PKI directories in the/etc/salt directory,

Saltstack Configuration management function Module-haproxy

[Email protected] base]# mkdir/srv/salt/prod/pkg[Email protected] base]# Mkdir/srv/salt/prod/haproxy[Email protected] base]# Mkdir/srv/salt/prod/haproxy/files[Email protected] base]# Cd/srv/salt/prod/haproxy/files[Email protected] files]# rz-yRZ

Total Pages: 15 1 .... 11 12 13 14 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.