keepalived builds master-slave architecture and master-slave architecture instance

Example topology: DR1 and DR2 deploy keepalived and lvs as the master-slave or master architecture, and RS1 and RS2 deploy nginx to build web sites. Note: the time of each node needs to be synchronized (ntpdate ntp1.aliyun.com); turn off firewalld (systemctl stop firewalld.service, systemctl disable firewalld.service), and set selinux to allow ...

Added by redRemedy on Tue, 31 Dec 2019 23:35:09 +0200

REDHAT 7 local source and yum network source configuration

Local yum source configuration In our newly installed REDHAT 7 system, there is no configuration source. In order to save space and improve the operation efficiency, many packages are not installed. When we find that there are missing packages, we need to install them by ourselves. The installation needs to use the yum source. ...

Added by sledge4 on Tue, 31 Dec 2019 17:35:47 +0200

Squid Advancement - Use of acl + Log Analysis + Reverse Proxy

Main points: 1. Use of ACL in Squid II. Log Analysis 3. Reverse Proxy 1. Use of ACL in Squid (1) ACL access control methods: 1. List of definitions based on source address, destination URL, file type, etc. acl List Name List Type List Content... 2. Restrict the list of defined ACLS http_access allow or deny list name... (2) ACL rule priority ...

Added by saltedm8 on Tue, 24 Dec 2019 22:47:44 +0200

Oracle12c Linux x86-64 version installation

1. Add a new hard disk and format it [root@localhost ~]# cd /dev [root@localhost dev]# ls [root@localhost dev]# fdisk /dev/sdb [root@localhost dev]# mkfs -t xfs /dev/sdb1 2. Create orc directory [root@localhost dev]# mkdir /orc 3. Modify the host name [root@localhost ~]# vim /etc/hostname #Add the following to the last line HOSTNAME=oracle 4. ...

Added by spiritssight on Mon, 23 Dec 2019 16:31:59 +0200

Set up GFS Distributed File System--Practice

1. Introduction to GlusterFS: GFS is an extensible distributed file system for large, distributed applications that access a large amount of data.It runs on inexpensive common hardware and provides fault tolerance.It can provide high overall performance services to a large number of users. Open source distributed file system;It consists of a s ...

Added by Dennis Madsen on Sat, 21 Dec 2019 09:26:28 +0200

MySQL - MHA High Availability

Content Essentials 1. Introduction to MHA: 2. Deploy MHA: Step 1: Install mysql on three master-slave servers Step 2: Modify mysql's main configuration file: /etc/my.cnf, note that the server-id s of the three servers cannot be the same Step 3: Start the mysql service with three servers Step 4: Configure Mysql master-slave synchronization (one ...

Added by TNIDBMNG on Fri, 20 Dec 2019 23:08:01 +0200

GitLab installation and use

GitLab is an open source application developed by Ruby on Rails. It implements a self managed Git project warehouse, which can access public or private projects through Web interface. GitLab has similar functions to Github, which can browse source code, manage defects and comments. You can manage team access to the repository, which is very eas ...

Added by Jaehoon on Thu, 19 Dec 2019 23:06:39 +0200

Prometheus application monitoring

This paper describes how to realize the application monitoring of Prometheus Monitoring Nginx nginx: 1.16.1,nginx-vts-exporter: 0.10.3,nginx-module-vts: 1.6.3 Monitoring Nginx mainly uses the following three modules: Nginx module VTS: monitoring module of nginx, which can provide data output in JSON format. Nginx VTS exporter: it is mainly us ...

Added by TempleDMDKrazd on Wed, 18 Dec 2019 11:29:39 +0200

rsync remote synchronization - (actual combat!)

About rsync A fast incremental backup tool Remote Sync Support local replication or synchronization with other SSH and Rsync hosts Configure rsync source server rsync sync source Refers to the remote server of the backup operation, also known as the backup source Configure rsync source Basic thinking Set up rsync.conf configuration file and ...

Added by xeirus on Mon, 16 Dec 2019 07:21:35 +0200

rsync remote synchronization (instance!!!)

Overview of rsync synchronization: Remote Sync --- Remote synchronization, local replication support, or synchronization with other SSH, rsync hosts, similar to SCP but richer than scp. Official website: http://rsync.samba.org rsync synchronization features: 1. You can mirror the entire catalog tree and file system. 2. It is very easy to main ...

Added by clodagh2000 on Mon, 16 Dec 2019 01:14:10 +0200