(10) Haproxy + preserved build Mycat cluster to achieve high availability

We can use haproxy + preserved with two Mycat to build a Mycat cluster to achieve high availability. HAProxy It realizes the cluster high availability and load balancing of MyCat, The high availability of HAProxy itself can be achieved through Keepalived.   Node description node ...

Posted on Sun, 07 Jun 2020 03:12:10 -0700 by Clarkeez

Introduction to docker

1. Core docker concepts 1.1 docker mirror Doker mirroring, also known as image, is similar to virtual machine mirroring in that it can be understood as a read-only template for a polygon docker engine and also includes a file system. Mirrors are the basis for creating containers. Through versioning ...

Posted on Fri, 05 Jun 2020 18:37:57 -0700 by Ofro04

Common modules and cases of CICDAnsible

Ansible common modules and cases Common modules File module: create a directory or file for the target host, and give permissions - name: create a file file: 'path=/root/aaa.txt state=touch mode=0755 owner=foo group=foo' copy module: file transfer from ansible to target - name: copy a file copy: 'remote_src=no src=roles/testbiox/foo.sh ...

Posted on Thu, 04 Jun 2020 09:22:46 -0700 by impulse()

Keeping alive to realize LVS load balancing high availability cluster

1. The preserved software is used to manage and monitor the status of each service node in LVS cluster system in the early stage; 2. In the later stage, VRRP is added to realize high availability. Therefore, it can provide high availability for lvs load balancing and other services.. Experiment image: Centos 8.1.1911 Sketch: (to be filled) 1. ...

Posted on Thu, 04 Jun 2020 09:01:04 -0700 by hailam

wc command of inux

With wc instruction, we can calculate the number of bytes, words, or columns of the file. If we do not specify the file name or the given file name is "-", wc instruction will read data from the standard input device. Syntax: wc [-clw][--help][--version][file...] Parameters: -c or -- B ...

Posted on Thu, 04 Jun 2020 08:46:21 -0700 by katuki

Nagios monitoring server of three swordsmen

Blog directory 1, Nagios 1. Nagios introduction 2. Main functions of Nagios 3. The role of Nagios 4. Nagios common monitoring status 5. The principle of Nagios 2, Install LAMP environment 3, Install Nagios 1. Install Nagios components 2. Configure Apache to support Nagios 3. Configure SendMail messages 4, Nagios monitoring Linux client 1. Ins ...

Posted on Wed, 03 Jun 2020 21:28:04 -0700 by hostseller

Virtual management of kvm network

1. Linux Bridge Bridge Management Multiple virtual machines are added to a bridge. Virtual machines can communicate with each other, and at the same time, all virtual machines can connect to the external network.   The bridge management of kvm can be done by brctl command [root@localhost ~]# brctl .... ...

Posted on Sun, 31 May 2020 19:05:17 -0700 by pointsplat

The modified character set code of MySQL 5.6 under Linux is UTF8 (to solve the problem of Chinese code scrambling, it can be used for personal test!)

The modified character set code of MySQL 5.6 under Linux is UTF8 (to solve the problem of Chinese scrambling) 1, Log in to MySQL to view SHOW VARIABLES LIKE 'character%'; the following character set is displayed as follows:+--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+---------- ...

Posted on Sat, 30 May 2020 22:14:46 -0700 by Bob Norris

Notes on C and C + + secure encoding: integer security

5.1 introduction to integer security: integers consist of natural numbers (0, 1, 2, 3,...) including 0 )And negative numbers of nonzero natural numbers (- 1, - 2, - 3 )Composition. 5.2 integer data type: integer type provides a model of a finite subset of integer mathematical sets. The value of an object of type integer is the mathematical val ...

Posted on Sat, 30 May 2020 19:10:07 -0700 by Stegs

nfs network file system

]>NFS (Network File System), which is one of the file systems supported by FreeBSD, allows computers in the network to share resources through the TCP/IP network. In the application of NFS, the client application of local NFS can read and write files on the remote NFS server transparently, just like accessing local f ...

Posted on Thu, 28 May 2020 08:41:51 -0700 by proxydude