Saltstack_Use Guide 05_Data System-Pillar
1. Host Planning
Pillar document
https://docs.saltstack.com/en/latest/topics/pillar/index.html
Matters needing attention
If the master or minion configuration file is modified, the corresponding service must be restarted.
2. Grains VS Pillar
3. Pillar Basic Information
1 Pillar
2 Pillar data is the dynamic as ...
Posted by phpwizard01 on Thu, 16 May 2019 14:30:01 +0200
Introduction to cluster & introduction to keep alived & configuring high availability cluster with keep alived
18.1 Cluster Introduction
Linux clusters are divided into two main categories based on their functions: high availability and load balancing
High Availability Clusters usually consist of two servers, one working and the other serving as redundancy, which will continue to serve when the serving machine goes down.
* Open source software for hi ...
Posted by samusk on Thu, 16 May 2019 14:12:21 +0200
centos7.4 source code build LAMP_ Nginx configuration ——1;
1. Default Virtual Host
Modify configuration files
vim /usr/local/nginx/conf/nginx.conf
Add "include vhost/*.conf;" in the last penultimate line (all files ending with. conf under vhost will be loaded so that all virtual host configuration files can be placed in the vhost directory)
Create vhost, edit configu ...
Posted by phpBever on Wed, 15 May 2019 22:49:45 +0200
Network Settings of Enterprise Servers--Network Settings under linux
Network configuration under linux
1. What is IP ADDRESS
internet protocol ADDRESS ##Network process address
ipv4 internet protocol version 4
ip It consists of 32 0,1.
11111110.11111110.11111110.11111110=254.254.254.254
2. Subnet mask
Used to divide the network area
The digital bits on the ip corresponding to the non-ze ...
Posted by kucing on Sun, 12 May 2019 06:13:21 +0200
Master-slave synchronization of mysql database to achieve read-write separation
In order to understand a large number of concurrent visits in large websites, it is far from enough to achieve distributed load balancing in websites. To the data business layer and data access layer, if the traditional data structure is still used, or only one server is used to handle so many database connection operations, th ...
Posted by Mr. Tech on Sun, 12 May 2019 04:31:44 +0200
Operation and Application Instance in shell Based on linux
Operation modes and symbols:
Operational Symbolic Meaning (*Common for Marking)
+, -addition, subtraction
*, /,%Multiplication, Division, Remaining
**Power operation
++, --self-increasing, self-decreasing
<,<=,>,>=Comparison Symbol
=, +=, -=, *=, /=,%=assignment
For example, a+=1 equals a=a+1
Common operatio ...
Posted by superdan_35 on Sat, 11 May 2019 20:20:51 +0200