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
hostname configuration must be consistent with the instructor, making it easy to experiment.192.168.56.21 saltstack-node1.example.com192.168.56.22 saltstack-node2.example.com4Training Syllabus4.1SaltStack Quick Start saltstack Introduction saltstack Deployment saltstack Mas
the form of a timed task: [[emailprotected]~]#cd/var/spool/cron/[[emailprotected]cron]# NBSP;LSBAINBSP;NBSP;ROOT[[EMAILNBSP;PROTECTED]NBSP;CRON]#NBSP;LLTOTALNBSP;8-RW-------1bai bai22sep3015:17bai# This is Bai this user's scheduled task file, 600 permissions-rw-------1rootroot146sep3014:56root Write state file below [[emailprotected]crontab]#vimtest.sls/var/spool/cron/bai: File.managed:-source:salt://crontab/files/saltstack-node2.example.com.bai -mo
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 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
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 ': #对
Saltstack officially has a web ui called halite, which executes management on the page. The backend uses the saltstack api
I have been writing my own ui some time ago, using flask and metro. The project was also put aside, so I was too lazy to move. I can see the ui tools on the official website today. Although the functions are incomplete, the basic execution and status check are still available.
We will
Guide
Saltstack is a set of C/S architecture configuration management tools based on Python (features not only configuration management, such as using Salt-cloud to configure AWS EC2 instances), its underlying use ZEROMQ message queue pub/sub mode of communication, Authentication is managed using SSL certificate signing. The world's fastest Message Queuing ZEROMQ allows Saltstack to quickly perform var
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
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
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.