MySQL MHA for high availability architecture
catalogue
1, Introduction
2, MHA services
working principle
Actual operation
Initialize environment
Modify the hostname of Master, Slave1 and Slave2 nodes
Master slave synchronization
Install MHA
1, Introduction
MHA (Master HA) is an open source MySQL high availability program. It provides the automatic master failover function for M ...
Posted by shiranwas on Wed, 08 Dec 2021 04:21:06 +0100
FTP service in Linux
FTP service in Linux
1, Introduction to FTP
(1)FTP service - the protocol used to transfer files
FTP is the English abbreviation of File Transfer Protocol. It is one of the protocols in TCP/IP protocol group. Used for two-way transfer of control files on the Internet. At the same time, it is also an Application. There are different FTP a ...
Posted by progwihz@yahoo.com on Wed, 08 Dec 2021 02:17:16 +0100
Configuration of docker network
Configuration of docker network
The creation of namespace in Linux kernel
ip netns command
You can complete various operations on the Network Namespace with the help of the ip netns command. The ip netns command comes from the iproute installation package. Generally, the system will install it by default. If not, please install it yourself. ...
Posted by jeffkee on Wed, 08 Dec 2021 00:08:52 +0100
coredns status is pending and calico is deployed, and an error Init:0/3 or Init:RunContainerError is reported
explain
It's a record of a pit, tm. It's been torturing me for a long time. All kinds of check systems, such as RI Zhi and Baidu, are finally compared with the previous environment. The RI Zhi error report is strange and outrageous.By the way, if there is a problem with k8s, we can look at the k8s log first. The way is as follows First use ...
Posted by Fastback_68 on Tue, 07 Dec 2021 22:57:51 +0100
Linux multithread synchronization ----- condition variable
Let's first look at the description of condition variables in Linux high performance server programming:
The above words can be summarized as follows:
Condition variables can be used when a thread in a multithread depends on the change of shared data by another thread!
It's easy to understand conditional variabl ...
Posted by AdamDowning on Tue, 07 Dec 2021 21:08:57 +0100
mysql master-slave replication and read-write separation
catalogue
1, Master slave replication architecture and principle
1. Principle of mysql master-slave replication
2. Principle of read-write separation
2, Configure master-slave replication and read-write separation
1. Environment configuration
2. Initial environmental preparation
3. Set up mysql master-slave replication
3. Build Amoeba t ...
Posted by raymie on Tue, 07 Dec 2021 19:45:52 +0100
MySQL - mycat Middleware
catalogue
1, Mycat application scenario
2, Mycat summary
3, Specific operation
1.master server: 192.168.68.200
2.slave server: 192.168.68.30
3.mycat server: 192.168.68.40
4. Client: 192.168.68.195
five mycat server: 192.168.68.40
6.master server: 192.168.68.200
7. Client: 192.168.68.195
8. Verification
On the master-slave ser ...
Posted by gazever on Tue, 07 Dec 2021 13:49:06 +0100
zookeeper command line operation
1. Command line syntax
Basic command syntaxFunction descriptionhelpDisplay all operation commandsls pathUse the ls command to view the child nodes of the current znode - w: listen for child node changes - s additional secondary informationcreateNormal creation - s contains sequence - e: temporary (restart or timeout disappears)get pathGet the ...
Posted by douga on Mon, 06 Dec 2021 05:50:28 +0100
Linux gossip: introduction to Select
1. Introduction to select
Under linux, we can use select for I/O reuse, monitor multiple file descriptors and judge whether there are qualified events. When using the select function, we can see whether there are readable, writable or error events.
2 function explanation
2.1 function prototype
#include <sys/select.h>
int select(i ...
Posted by juancarlosc on Sun, 05 Dec 2021 18:42:32 +0100
rancher's construction experiment
1, Introduction to Rancher
Rancher is a container management platform that helps organizations deploy and manage containers easily and quickly in a production environment. Rancher can easily manage kubernetes in various environments, meet IT needs and support DevOps teams. Kubernetes has not only become the standard for container orchestratio ...
Posted by 9AF on Sun, 05 Dec 2021 13:17:01 +0100