corosync + pacemaker + crmsh High Availability Cluster
Principle:
corosync provides the function of message layer of cluster, transfers heartbeat information and cluster transaction information, and monitors heartbeat by multicast between multiple machines.
pacemaker works in the resource allocation layer, provides the function of resource manager, and configures resources with crmsh, the comman ...
Added by trippyd on Thu, 27 Jun 2019 20:54:32 +0300
Install Tomcat JDK MySQL under Linux
Tomcat service setup steps
Initialization of an environment begins with the first graphical interface entered after installation
Configure the server to work in command line mode
Close iptables and selinux
Configure the local YUM source
Restart the server to display the demo effect
2. The environment needed to install tomcat
Install ...
Added by MaxD on Wed, 26 Jun 2019 01:58:12 +0300
pkg-related module of saltstack module
1. pkg.available_version modulepkg.available_version: Returns the latest version of the queried package that can be installed or updated. If multiple packages are specified, the returned results are output in the form of a dictionary.[root@salt-master ~]# salt '*' pkg.available_version httpd
salt-minion02.contoso.com:
& ...
Added by Aphp73 on Tue, 25 Jun 2019 21:09:18 +0300
The application log is pushed to the syslog server through rsyslog
CentOS 5 series system comes with syslog 1.4.1centos6 series with rsyslog version 5.8.10CentOS 7 series with rsyslog version 7.4.7At present, the latest version of rsyslog is 8.27.0. rsyslog reconstructs the imfile module from 8.5.0. The wildcard can be supported in the file name.rsyslog: http://www.rsyslog.com/To upgrade rsyslog, you need to c ...
Added by Orpheus13 on Sun, 23 Jun 2019 02:44:55 +0300
CentOS 7.3 Compile and Install php7.1
Explain
Installation of LNMP environments usually starts with mysql/mariadb installation, followed by nginx installation, followed by php installation.
Install dependency packages
[root@localhost ~]# yum -y install gcc
[root@localhost ~]# yum -y install gcc++
[root@localhost ~]# yum -y install gcc-c++
[root@localhost ~]# yu ...
Added by bennyboywonder on Thu, 20 Jun 2019 01:17:28 +0300
Redis Cluster Configuration and Installation
Introduction to Redis Cluster:
The Redis cluster is a distributed implementation with the following goals, sorted by design importance:
* High performance and linear scalability of up to 1000 nodes.There is no proxy, asynchronous replication is used, and there is no merge when assigning values.
*Acceptable write security: When a clien ...
Added by smilley654 on Sat, 15 Jun 2019 21:12:27 +0300
Nagios Plug-in Nagiosgraph Installation Deployment
Nagios is a commonly used open source monitoring software. Nagios is flexible and portable so that it can be used flexibly according to its actual situation. However, Nagios has a disadvantage that the drawing is not perfect enough, so Nagios has a short board when analyzing monitoring data. However, because of the flexibility of Nagios, ...
Added by sweatje on Tue, 04 Jun 2019 20:30:33 +0300
GCE Deployment ELK 7.1 Visual Analysis nginx
I. Preparation
I have a website on Google VM here, so I plan to install ELK on a server I purchase to process the access log for analyzing nginx.
Operating System Version: CentOS 7
ELK Version: 7.1
1.1. Server environment preparation
We still use the official yum source for installation here. It is easy and easy to configure the official yum ...
Added by jerastraub on Fri, 31 May 2019 19:30:06 +0300
Install Zabbix3.2 Handwriting based on entOS7.3
1. Install virtual machines
Don't repeat here
2. Configuring yum sources
Install epel source
[root@localhost ~]# yum -y install epel-release
Install webtatic source
[root@localhost ~]# rpm -Uvh http://mirror.webtatic.com/yum/el7/webtatic-release.rpm
Configure zabbix source
vim /etc/yum.repos.d/zabbix.repo
[zabbix]
name=zabbix
b ...
Added by fredted40x on Mon, 27 May 2019 20:16:11 +0300
nginx installation in RHEL 6.5 environment
1. Understanding Nginx
Nginx ("engine x") is a high performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP proxy server. Nginx was developed by Igor Sysoev for Rambler.ru, the second most visited site in Russia. The first public version, 0.1.0, was released on October 4, 2004. It distributes the source code in BSD-l ...
Added by THEMADGEEK on Sat, 25 May 2019 22:07:31 +0300