corosync v1 + pacemaker
Corosync: an open cluster engine project derived from the development of OpenAIS to Wilson, which provides heartbeat message detection and member management.
Pacemaker: cluster explorer. It uses the message and member management capabilities provided by the cluster infrastructure (OpenAIS, heartbeat or corosync) to dete ...
Posted by ryanpaul on Tue, 26 May 2020 22:53:30 -0700
Use Grafana and Prometheus to monitor the performance of Linux server, mainly through node_ The exporter monitors, such as CPU, memory, disk, etc. Prometheus collects data from remote machines through HTTP protocol and stores Prometheus local timing database.
Install startup node_exporterNode needs to be installed on the monitored server_ exp ...
Posted by duankr on Tue, 26 May 2020 19:20:35 -0700
Recently, I was doing monitoring related supporting facilities, and found that many scripts are based on python. I heard a long time ago that its name is short of life. I learned python, which is not a joke. With the rise of artificial intelligence, machine learning and deep learning, most of the AI code on the market is written in Pyt ...
Posted by miasma on Tue, 26 May 2020 00:19:00 -0700
1. Briefly describe the four cluster characteristics and usage scenarios of lvs
LVS has three load balancing modes, VS/NAT (nat mode), VS/DR (routing mode), VS/TUN (tunnel mode), VS/FULLNAT
1. NAT mode (VS-NAT)
Principle: The destination address of the IP header of a packet sent by a client is replaced by the IP address of one of the RSs on t ...
Posted by mdemetri2 on Mon, 25 May 2020 13:17:36 -0700
1. MySQL installation (install using yum)
yum install mysql* –y
Linux MySQL data is stored in / var/lib/mysql by default/
[root@study ~]# cd /var/lib/mysql/
[root@study mysql]# ll
//Total consumption 20488
-rw-rw----. 1 mysql mysql 10485760 5 23 23:55 ibdata1
-rw-rw----. 1 mysql mysql 5242880 5 23 23:55 ib_logfile0
-rw-rw----. 1 mysql mysql 5 ...
Posted by Exemption on Sun, 24 May 2020 22:31:29 -0700
preparation in advance
Execute yum update openssh to upgrade first.
The official upgrade is okay anyway.If you have previously manually compiled an upgrade of openssh, test yourself for changes to the default profile path.)
(Unified openssh version 7.4p1 is prepared here before Unified Compile Installation is upgraded to openssh 8.2p1)
Posted by CleoK on Fri, 22 May 2020 21:10:07 -0700
We have learned the basic usage of LXC and the simple use of LXC WEB Panel, which can be referred to by interested friends https://www.cnblogs.com/qiuhom-1874/p/12904188.html Today's essay is mainly about the basic knowledge of docker;
I. docker and LXC
First let's talk about the difference between docker and traditional LXC containers. The tra ...
Posted by drag0n on Fri, 22 May 2020 06:47:21 -0700
Last time, I introduced the installation of RabbitMQ under windows and the addition of AMQP extension of PHP. Here, the code of local test is put into the service, so that is to install it again on Linux. But there is no need to use it directly. It is mainly about the use of control console after RabbitMQ is installed and how to call ...
Posted by angershallreign on Fri, 22 May 2020 01:41:35 -0700
I. Cluster Structure
RabbitMQ always records the following four types of internal metadata:
Queue metadata: name and properties of the queue (persistent, can be deleted automatically);
Exchange metadata: Exchange name, type and properties (persistent, etc.);
Binding metadata: A table that records how messages are routed to a queue;
Vhost metad ...
Posted by alabonte on Thu, 21 May 2020 19:13:47 -0700
Fedora's kernel is frequently upgraded.But I found that restarting doesn't use the new kernel.I need to check the GRUB configuration file.
ydx@ydx-mf:~ $ cat /etc/default/grub
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
Posted by Shp0ngl3 on Thu, 21 May 2020 16:15:46 -0700