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
Installation of AnsibleAnsible-Based on Python Paramiko development, distributed, no client, lightweight, configuration syntax using Ymal and JINJA2 template language, stronger remote commands to perform operations.Similar automated operations tools are commonly used in many other things:Puppet:-Based on Ruby development, with C/s architecture, strong extensibility, SSL-based, remote command execution is relatively weak.Saltstack:-Based on Python development, the C/S architecture, relatively pup
Playbook1 Playbook is a list consisting of one or more "play"The main function of 2 play is to dress up a pre-merged host into a role defined in advance by a task in ansible. Fundamentally, the so-called task is nothing more than a module that calls Ansible. Organize multiple play in a single playbook, which allows them to join together to sing a drama with a pre-programmed mechanism3 Playbook written in Ya
Please be sure to keep the environment consistent
To download the required system packages during installation, be sure to connect all the nodes to the Internet .
Cluster node information for this installationLab environment: VMware's virtual machines
IP Address
Host name
CPU
Memory
192.168.77.133
K8s-m1
6 cores
6G
192.168.77.134
k8s-m2
6 cores
6G
192.168.77.135
Previously mentioned writing State.sls files using the Python languageThe Saltstack system supports many ways to extend it, and renderer is one of them.The default Saltstack renderers is Yaml+jinja, which can be learned through the obstetric master file that the current rendererCurrently Saltstack supports many kinds of renderer, because Yaml Jinja Python has a w
bookon the Back: Saltstack-gdlwolf Self-study summary of the first:saltstack Installation Deployment (YUM installation)Connection Address:http://gdlwolf.blog.51cto.com/343866/1786901this blog main record in the download saltstack commonly used help commands, of course, you can also go to the Saltstack official inquiry, official website address:Some of the program
Saltstack is a centralized and lightweight automated O M management tool with puppet and func functions. It is written in Python and has powerful functions and can be quickly installed using epel. Compared with puppet, installation and configuration are easier and easier.
Epel install
[[emailprotected] ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm###CentOS 5.x###rpm -Uvh https://dl.fedoraproject.org/pub/epe
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
Tags: feature services start sed style sharp light weight x86 lease PIDI. Introduction of SaltstackSaltstack is a centralized management platform for server infrastructure, Saltstack based on the Python language, and is based on the C/s architecture, combined with lightweight Message Queuing (ZeroMQ) and Python third-party modules (PYZMQ, Pycrypto, PYJINJIA2, Python-msgpack and Pyyaml, etc.),Saltstack integ
The ansible only needs to be run on a common server and does not require the client to be installed on the managed server. Because it is SSH-based, the Linux server cannot be separated from SSH, so ansible does not need to add additional support for the configuration work. You can use ansible from the command line, the server running
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
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
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.
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 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
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
-- Ensure cannot be summarized by the PNG process of the PAC Jinjia experiment.
Roles introduction:
Ansible uses roles to organize playbooks in a hierarchical and structured manner ). Roles can automatically Load Variable files, tasks, and handlers according to the hierarchical structure. Simply put, roles places variables, files, tasks, modules, and processors in separate directories and easily include them, roles is generally used to build servi
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.