mysql highly available MHA + semi synchronous replication

1. Overview of MHA At present, MHA is a relatively mature solution in mysql high availability. It is developed by Japanese DeNA company youshimaton (now working in Facebook company), and it is an excellent high availability software for failover and master-slave improvement in mysql high availability environment. In the process of mysql failov ...

Posted by dbakker on Sun, 22 Mar 2020 16:49:22 +0100

Add module to kernel (failed log record). md

step Adding modules to the kernel Write Driver Add drivers to the linux source directory, typically inside / Drivers Add the project compilation option corresponding to the driver in the Kconfig file where the directory is located Add compilation statements for new drivers to the Makefile file file ...

Posted by jonnyw6969 on Mon, 16 Mar 2020 02:26:13 +0100

Install EPICS in CentOS 6 [detailed operation]

Install EPICS in CentOS 6 [detailed operation] 1, Install EPICS Base 1. Installation tools 2. Install Base 2, Create IOC 1. Create startup file 2. Start IOC Three, expand 4, Install Extensions 1. Download the installation package 2. Environment settings 3. Install software tools 4. Installation ...

Posted by skyxmen on Thu, 06 Feb 2020 08:38:56 +0100

The use of boost log Library

There is a log library for developers to use in boost, but the efficiency is not the highest: Add the header file "include < boost / log / trial. HPP > to import the log Library The log Library in boost has the following six levels: BOOST_LOG_TRIVIAL(trace) << "A trace severity message" ...

Posted by phpyoungdeveloper on Mon, 27 Jan 2020 15:23:30 +0100

linux view file tree structure

tree installation: Using the tree command under linux can easily view the file tree structure under the specified directory, but some systems do not install the command, so you need to install it manually. Take the installation of Ubuntu as an example, and other linux systems are similar. To install under ubuntu: With the net ...

Posted by bedted on Tue, 31 Dec 2019 06:39:21 +0100

python high performance extension tool - python tutorial 2 Basic

The main contents of this chapter are as follows: Link model Python Keyword - cdef Typedef and function pointer public keyword Keyword cpdef C / C + + log to Python C / C + + calls Python ConfigParser Python to C / C + + callback Cython PXD Integration with build systems Link model Embedding python in C/C + + image.png cyth ...

Posted by _rhod on Sat, 28 Dec 2019 16:21:24 +0100

Two methods of adding system call under Linux(Ubuntu) (kernel compilation method module addition)

It is really too pit, really want to Tucao about this operation system practice, each time is compile the kernel. The textbook was written in 2009, all the code before kernel 3.3. I record the system call experiment, hope you can avoid stepping on the pit. Method 1: kernel compilation Here I give you a link. This blog is wel ...

Posted by derrick1123 on Sat, 30 Nov 2019 12:19:12 +0100

014_Driver Module Transfer Parameters

I. Driver Module Transfer Parameters 1. Pass a single parameter (1) Location: in include/linux/moduleparam.h under the source directory (2) Function prototype /** * module_param - typesafe helper for a module/cmdline parameter * @value: the variable to alter, and exposed parameter name. * @type: th ...

Posted by trevorturtle on Wed, 02 Oct 2019 13:55:16 +0200

"Kernel kernel: per-cpu variable module writing"

Demand: 1. Create a per-cpu variable, initialize and modify it 2.per-cpu variable is a synchronization mechanism in Linux kernel. When all CPUs in the system access and share a variable V, CPU0 modifies the value of variable V. CPU1 also modif ...

Posted by PhpMachine on Mon, 02 Sep 2019 08:23:18 +0200

# linux Kernel Learning 10 - Start with the first kernel module

linux Kernel Learning 10 - Start with the first kernel module 1. Preparations c File #include <linux/init.h> #include <linux/module.h> // The kernel module initialization function can load a kernel module through the insmod comman ...

Posted by iFlex on Sat, 31 Aug 2019 14:37:37 +0200