Today, I learned about the use of redis cluster. Here, I will record the problems encountered in the process
1, Environment construction (docker needs to be installed first)
Here, docker will be used to deploy four redis instances (node1-3 as the primary node and node4 as the standby node of 1)
Here, four redis instances are deployed on th ...
Posted by drag0n on Sat, 05 Mar 2022 16:34:21 +0100
Why KubernetesContainers are a great way to package and run applications. In a production environment, we need to manage the containers that run our applications and ensure that they don't go down. If one container fails, you need to start another container. If the system handles this behavior, will it be more convenient? This is the value of K ...
Posted by phpnewbie25 on Fri, 11 Feb 2022 14:56:58 +0100
9.1 migrate the data of the original CM node to the new node
9.1.1 backup the original CM node data
It mainly backs up the monitoring data and management information of CM. The data directory includes:
Posted by cidesign on Wed, 02 Feb 2022 07:50:51 +0100
Cluster, also known as cluster It is composed of multiple hosts, which is external as a whole. It only provides one access entry (domain name or IP address), which is equivalent to a mainframe computer
There are three types of target differences
Load balancing clusterHigh availability clusterHi ...
Posted by Chappers on Sat, 29 Jan 2022 17:44:36 +0100
Build redis cluster based on docker container (3 master and 3 slave)
1, Container preparation
Pull the centos basic image from the image warehouse, then create the container, initialize the environment, install some common commands and environment dependencies such as gcc, tar, ssh and telnet, and then create the test01 user and set the passw ...
Posted by Addos on Sat, 29 Jan 2022 08:26:02 +0100
I Working principle of LVS-DR
1. Packet flow analysis
(1) The client sends a request to the Director Server, and the requested data message (the source IP is CIP and the target IP is VIP) reaches the kernel space. (2) The director server and Real Server are in the same network, and the data is transmitted through the two-layer data lin ...
Posted by b0ksah on Sat, 29 Jan 2022 02:47:58 +0100
1, Enterprise scheduler LVS (Linux Virtual Server)
Cluster conceptLVS modelLVS scheduling algorithmLVS implementation
1.1 cluster and distributed
System performance expansion mode:
Scale UP: vertical expansion, upward expansion, enhancement, computers with stronger performance run the same servicesScale Out: horizontal expansion, outward ex ...
Posted by rocram16 on Tue, 25 Jan 2022 17:34:02 +0100
Scene reproductionIntroduction to terms and functions
alive_tasksend_msgsender_task_send_msgconclusionresolventWrite at the end
Recently, the backup and restore function under different data volumes has been tested, so a large amount of data needs to be migrated to the MGR cluster. However, when the amount of migrated dat ...
Posted by wild_dog on Wed, 19 Jan 2022 05:05:09 +0100
Ah Chang summarized and recorded here how to build a cluster of redis hash slot partition solutions through docker [3 master and 3 slave]
redisdocker basic instructionlinuxHash slot partition
Before building, you need to know three partition algorithms built in the redis cluster: hash remai ...
Posted by trygve on Wed, 12 Jan 2022 11:23:03 +0100
Once the message middleware such as Rabbit MQ is used in the project, it means that the volume of the project has reached a certain level, and the stand-alone node is stretched. Therefore, a cluster is usually built. Let's try to build a cluster of three machines.Node informationNode 1: 192.168.0.116 centos1Node 2: 192.168.0.117 centos2Node 3: ...
Posted by raan79 on Tue, 30 Nov 2021 21:37:34 +0100