Centos 7 Builds LVS+Keepalived High Available Web Services Cluster

1. LVS+Keepalived Highly Available Clusters Keepalived is designed to build highly available LVS load balancing clusters that can call ipvsadm tools to create virtual servers and manage server pools rather than just as a two-machine hot standby.Building LVS clusters with Keepalived is easier and easier to use. The main advantages are: hot stan ...

Posted by lighton on Wed, 11 Dec 2019 18:34:52 -0800

Building a load balancing cluster based on direct routing mode (DR)

For the working principle and overview of LVS load balancing, please visit: LVS load balancing cluster of Centos 7 For detailed configuration of load balancing cluster in address translation (NAT) mode, please visit: Building load balancing cluster based on address translation (LVS-NAT) mode I. start to configure DR mode LVS preparation:Four C ...

Posted by thomasgrant on Mon, 09 Dec 2019 10:17:07 -0800

node.js learning notes arrangement

(1) automatic construction of front-end projects 1. Create myProject project files and corresponding folders var projectData ={ 'name':'myProject', 'fileData':[ { 'name':'css', 'type':'dir' },{ 'name':'js', 'type':'dir' },{ 'name':'images', ' ...

Posted by Spitfire on Sun, 08 Dec 2019 22:35:07 -0800

Building a Load Balancing Cluster Based on Address Translation (LVS-NAT) Mode

This post is a case post. For an overview of the principles and related overviews of LVS Load Balancing Clusters, please refer to the post: LVS Load Balancing Cluster for Centos 7 1. Introduction to Cases 1. Case Environment 2. Experimental results Using NAT-mode clustering technology, the LVS load dispatcher is a gateway server where all ...

Posted by scottreid1974 on Sat, 07 Dec 2019 03:02:18 -0800

DR mode of LVS load balancing cluster deployment

I. working principle of DR mode          As shown in the figure, the working principle of LVS-DR has been explained in the figure. Let's list the characteristics of LVS-DR mode: 1. RIP can use private address or public network address. If public network address is used, RIP can be accessed directly. 2. All requested packets must pass through ...

Posted by KC_Geek on Fri, 06 Dec 2019 16:53:46 -0800

Zephir for PHP extension development

If you often pay attention to the PHP framework falcon, you should know that the team of Falcon has developed a high-level language for better development of falcon—— Zephir. Zephir, an open source high-level language, aims to simplify the creation and maintainability of PHP extensions, focusing on type and memory secu ...

Posted by nvidia on Fri, 06 Dec 2019 12:24:58 -0800

CentOS MySQL create database - encoding settings

Create database mysqladmin -h '192.168.2.233' -u root -p create namc; View newly created database encoding mysql> SHOW VARIABLES LIKE 'character%' -> ; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_s ...

Posted by disconne on Fri, 06 Dec 2019 10:59:26 -0800

Summary of HttpServletRequest object

The HttpServletRequest object represents the client's request. When the client accesses the server through the HTTP protocol, all the information in the HTTP request header is encapsulated in a web container. By the method provided by this object, all the information requested by the client can be obtained. Request Common Methods for Getting Cl ...

Posted by lindm on Fri, 06 Dec 2019 10:34:15 -0800

13 strategies of Nginx - (VeryNginx)

What is VeryNginx VeryNginx is developed based on Lua ﹣ Nginx ﹣ module (openretry), which implements advanced firewall, access statistics and other functions. The integration runs in Nginx, extends the function of Nginx itself, and provides a friendly Web interface. How to install VeryNginx Nginx compilation environment yum -y install gcc gcc ...

Posted by FrankA on Fri, 06 Dec 2019 03:42:27 -0800

01Gin source code interpretation

brief introduction Gin source code interpretation, based on v1.5.0 Edition. Process Overview On the official document, an example of getting started is as follows: package main import "github.com/gin-gonic/gin" func main() { r := gin.Default() r.GET("/ping", func(c *gin.Context) { c.JSON(200, gin.H{ "message": "po ...

Posted by brandone on Thu, 05 Dec 2019 04:09:38 -0800