Centos 7 Builds LVS+Keepalived High Available Web Services Cluster
1. LVS+Keepalived Highly Available Clusters
Keepalived is designed to build highly available LVS load balancing clusters that can call ipvsadm tools to create virtual servers and manage server pools rather than just as a two-machine hot standby.Building LVS clusters with Keepalived is easier and easier to use. The main advantages are: hot stan ...
Posted by lighton on Wed, 11 Dec 2019 18:34:52 -0800
Install the specified version of docker service
Reference blog: Docker CE image source
Reference blog: docker start exception driver not supported
1. description
Before you deploy docker service, you install the latest version of docker and use docker swarm to deploy big data components.
However, in a recent deployment, docker 18.06.1 was found. When using docker swarm to deploy big data ...
Posted by Traduim on Wed, 11 Dec 2019 09:32:37 -0800
Configuring Alibaba mysql under centos7
After the open-source cross platform development framework Weex, Alibaba once again announced another major open-source project AliSQL.
The performance of this version is about 70% better than that of community mysql
Alibaba mysql git address git address: https://github.com/alibaba/AliSQL.git0. Check whether there is mysql resid ...
Posted by flit on Wed, 11 Dec 2019 09:23:28 -0800
Build a simple high available load balancing cluster
I. build lvs cluster of DR mode
Environment: DS: 192.168.4.53 VIP: 192.168.4.100
RS: 192.168.4.51 192.168.4.52
1. Establish three experimental machines and configure ip and yum warehouses
2. Configure VIP on DR
[root@53 ~]#cp /etc/sysconfig/network-scripts/ifcfg-eth0 {,:0}
[root@53 ~]#vim /etc/sysconfig/network-scripts/ifcfg-e ...
Posted by ericorx on Wed, 11 Dec 2019 07:00:58 -0800
Talking about Keepalived Double-machine Hot-up
1. Basic knowledge of Keepalived dual-machine warm-up
Official keepalived website: www.keepalived.org/ Ke keepalived can also be used as a hot standby software in non-LVS environments.
1. Keepalived role
Kekeepalived was originally designed as a powerful assistive tool for LVS, primarily to provide failover and health check functions - to dete ...
Posted by 2levelsabove on Tue, 10 Dec 2019 22:17:26 -0800
How to build a Web cluster using Haproxy
Common Web Cluster Schedulers
At present, the common Web cluster scheduler is divided into software and hardware. Software usually uses open source LVS, Haproxy, Nginx. Hardware usually uses F5 more. Many people also use some domestic products, such as pike, green league, and so on.
Haproxy application analysis
LVS has a strong anti-load capab ...
Posted by Niel Roos on Tue, 10 Dec 2019 09:25:56 -0800
MySQL compile free installation and login (5.6.36)
1. Download MySQL 5.6.36 compile free installation package and upload it to / usr/local/src directory (you can also use wget command to download it directly to this directory)
Download address https://yunpan.360.cn/surl_ymCGfFYt2Ya
2. Decompression
[root@JSH-01 src]# tar zxvf mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz
3. Move the extracted file ...
Posted by MannX on Tue, 10 Dec 2019 05:32:20 -0800
Django development environment preparation
Environmental installation
Foreplay
Basic knowledge needed:
Network configuration: Reference resources
Share path: Reference resources
Required software & Image
VirtualBox: the best free virtual machine software
The download address is as follows (install the software suitable for your own operating system):
https://www.virtualbox.org/w ...
Posted by omanush on Mon, 09 Dec 2019 15:55:55 -0800
Firewalld sharing Internet and building local yum warehouse
1.firewalld sharing Internet
1. Server operation (server with external network)
1. Turn on the firewall and join the startup
[root@zeq ~]# systemctl start firewalld
[root@zeq ~]# systemctl enable firewalld
2. Remove the rule that the default owner can access ssh
[root@zeq ~]# firewall-cmd --remove-service=ssh --permanent
3. Add only allow 10.0. ...
Posted by Jaehoon on Mon, 09 Dec 2019 14:22:34 -0800
Building a load balancing cluster based on direct routing mode (DR)
For the working principle and overview of LVS load balancing, please visit: LVS load balancing cluster of Centos 7
For detailed configuration of load balancing cluster in address translation (NAT) mode, please visit: Building load balancing cluster based on address translation (LVS-NAT) mode
I. start to configure DR mode LVS
preparation:Four C ...
Posted by thomasgrant on Mon, 09 Dec 2019 10:17:07 -0800