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
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
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)
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 summary |java video tutorial |net video tutorial |php video tutorial | Web video Tutorial
Preach Wisdom Blog Video tutorial Download summary |java video
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
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
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
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│ │ ├──
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/
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
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
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
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,
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.