Saltstack in-depth-test saltstack configuration Zabbix required Mysql-serverOperation content: First, basic Environment 1, use Tvm-cobbler to install a Tvm-zabbix virtual machine to do the experiment. 2, Network: eth0:host-only (for virtual intranet, manually fixed IP, so from the host can directly connect to this VM) Eth1:nat (for Sisu network, dynamic IP) [[emailprotected]~]# cd/etc/sysconfig/network-scri
Saltstack has its own Python-developed web interface Halite, the benefit is based on Python, can work seamlessly with the salt API, to determine the more obvious, the need to personalize the Web interface to customize the will be more troublesome, If you like to experience this interface, you can refer to the following article http://rfyiamcool.blog.51cto.com/1030776/1275443/I am using another python+php for web development, the specific tools are des
SaltStack is a centralized server infrastructure management platform that provides configuration management, remote execution, monitoring, and other functions. Generally, it can be understood as a simplified version of puppet and an enhanced version of func. SaltStack is implemented based on the Python language and combined with the lightweight Message Queue (ZeroMQ) and Python third-party modules (Pyzmq, P
Saltstack Quick Start summary and saltstack Quick Start
Saltstack is an open-source automated deployment and management tool written in python. It has good scalability and excellent execution efficiency, simple configuration, and can work on multiple platforms, it is often described as Func enhanced version + Puppet Lite version.
Saltsatck advantages: first, the
I. Description of ZEROMQWe carry out automated operations in most cases, the number of our servers has far exceeded the scope of human SSH maintenance, Saltstack can support thousands or even more servers, these performance is mainly from the ZEROMQ, Because Saltstack is based on ZEROMQ for efficient network communication, ZMQ is used for communication between node and node, and node can be either a host or
Our server, back and forth, left and right, up and down, bent finger toe arithmetic, exactly right, and then the difference between the diameter of my math course is also the language supplement imparted, the girl never understand why the boss just like to use Saltstack.Hearsay, who who recommended to Bluff boss, days ignore, I just want to hit a soy sauce.Life is helpless, it is strange to blame this girl chose it, miserable, who come who know, who roll who clear.Revolt, flowers fall off, days
), excluding puppet, Chefspeed selection (ansible vs Saltstack)Ansible transmits data based on the SSH protocol, Saltstack uses Message Queuing ZEROMQ to transmit data. Judging from the online data, Saltstack is about 40 times times faster than Ansible.The disadvantage of contrast ansible,saltstack is the need to insta
First,salt IntroductionSaltstack is a centralized management platform based on C/s architecture with configuration management, remote execution, monitoring and other functions. With Saltstack, You can deploy services in a single click, execute commands remotely, and greatly increase the productivity of operations personnel in large-scale service clusters. Saltstack is based on Python language development an
# cat /etc/salt/minion | grep "^ Master" master:192.168.0.2I see it clearly. Master There are two spaces in front of , This line of code means that I want to connect Saltstack of the Master is a 192.168.0.24.2 MasterConfiguration# Cat/etc/salt/master | grep ' ^ interface ' interface:192.168.0.2Master Monitor 192.168.0.2, There are two spaces in front of the old, otherwise the error will be started. .5.StartSaltstack5.1StartMaster# service Salt-master
: apache:pkg.installed:-name:httpdfile. Managed:-Name:/etc/httpd/conf/httpd.conf-Source:salt://apache/httpd.conf-require:-Pkg:apache-Template:jinja-defaults: {%ifGrains.ID=="10.13.41.80"%} port:8080 {%elifGrais.ID=="10.13.41.81"%} port:8081 {%Else%} port: the {% ENDIF%} service.running:-enable:true-name:httpd-Watch:-Pkg:apache-file: ApacheIn order for SLS files to be non-mixed with business data, business data should be stored independently, and it is time for the pillar to take t
Directory Structure of the SaltstackDescribe:When we are learning automation operations tools, whether it is puppet or saltstack, to be proficient in use, we must first understand their directory structure, overall: Puppet and salt directory structure is very similarThe first part:File_roots configuration-Managed directory structure:Premise:Using the configuration-managed directory structure, first configure it in the configuration file:Vi/etc/salt/ma
] ~]# Salt ' web01 ' test.ping #salt ' * ' test.pingweb01:True#salt command# * for the goal#test is a module command (method)#ping是test的一个参数 test that all hosts are alive--master communication with Minion is not the same as ping IP. Ping to ICMP1.1. Run the shell commandCmd.run cannot perform interactive commands, such as vim,ssh[[emailprotected]~]#salt ' * ' cmd.run ' df-h ' web02: filesystemsizeusedavailuse% mountedon/dev/sda219g1.6g 17G9%/tmpfs 491m12k491m1%/dev/shm/dev/ sda1190m33m147m19%/
' node2 ' grains.get kernelreleasenode2:2.6.32-431.el 6.x86_64Simple use of 2.Pallir#需要创建目录 [[emailprotected]pillar]#pwd/srv/pillar[[emailprotected]pillar]# TREENBSP;-NNBSP, .... ├──info.sls└──top.sls0directories,2files# Create an info file for testing [[email protected]pillar]#catinfo.sls #判断系统是否为CentOS {%ifgrains.os== ' CentOS ' %} #如果为CentOS, print Nginx version [content customization]nginx:nginx-1.4.7{%endif%}# This file must be top.sls[[emailprotected]pillar]#cattop.slsbase: ' Node2 ': #对
* 'saltutil. sync_all
Application LVS Configuration:
Salt '*' state. highstate
View the current LVS status:
Salt 'lvs. List
Summary
Through the saltstack LVS module, you can quickly query the LVS status, execute common LVS commands, and complete LVS configuration management. If you need to adjust the RealServer rules or add a new RealServer, you only need to modify/srv/pillar/LVS/loadblance. SLS and then apply the configuration.
The code used in t
Saltstack is a new configuration management and remote execution tool after Puppet and Chef, and Saltstack is getting more and more attention at present.
Compared with Puppet, saltstack is not so bulky, feeling lighter; unlike Puppet, which has its own DSL for writing configuration, Saltstack uses YAML as the configur
Saltstack is a new infrastructure management tool. It is currently in the rapid development stage and can be seen as a combination of pssh + weakened puppet. This indirectly reflects two functions of saltstack: Remote Execution and configuration management.
Saltstack is developed using Python and is an easy-to-use and lightweight management tool. Composed of mas
1, Puppet
Environment Deployment
1. puppet-Large-scale cluster deployment management artifact
2. Installing Puppet servers and clients on CentOS and RHEL
3. Saltstack detailed deployment of Debug
4. Puppet error:400 2, Saltstack basic Knowledge
1. Use of the State.sls of Saltstack/salt (v) algorithmic architecture
1. Salt
This article source: http://www.eoeandroid.com/thread-274556-1-1.htmlAnother classic tutorial URL: http://wuyuans.com/2012/05/github-simple-tutorial/
Git is a distributed version control system that was originally written by Linus Torvalds and used as the management of Linux kernel code. Since its launch, Git has also been a big success in other projects, especially in the Ruby community. Currently, many well-known projects, including Rubinius a
Salt IntroductionSalt is a basic platform management toolSalt is a configuration management system that can maintain a predefined state of a remote nodeSalt is a distributed remote execution system used to execute commands and query data on remote nodesSalt core FunctionsSending a command to a remote system is parallel rather than serialProtocols that use secure encryptionUse the smallest and fastest network loadProvides a simple programming interfaceSalt kindaSaltstack is written in Python that
Saltstack IntroductionSalt OA speed airship source code download Q2947702644 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
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.