LVS-DR mode + ldirectord + preserved + Tun tunnel mode + wrr weight

What is LVS? LVS (Linux Virtual Server), or Linux virtual server, is an open source load balancing project led by DR. Zhang wensong. At present, LVS has been integrated into Linux kernel module. This project implements the load balancing scheduling scheme of data request based on IP in Linux kernel. I ...

Posted by ifuschini on Wed, 05 Feb 2020 02:59:10 -0800

The way of operation and maintenance: DNS service construction and master-slave configuration

Preface Communication on the Internet needs to be accessed with the help of IP address, but people's memory of numbers is far less than that of words, so it's a good way to convert IP address into easily memorized words, but computers can only recognize 0 and 1 codes. At this time, a mechanism is need ...

Posted by Nathaniel on Tue, 04 Feb 2020 22:53:49 -0800

Ansible Role Management-Roles (Example Demo!!!)

An overview of Roles Roles can automatically load variable files, task s, handlers, and so on, depending on the hierarchy. Simply put, Roles is about including variables, files, tasks, modules, and processors in separate directories and easily. Roles is typically used in scenarios where services are built on hosts, but it can also be used in s ...

Posted by hemoglobina on Tue, 04 Feb 2020 15:13:50 -0800

Ansible script management (example explanation!!!)

inventory host list The default host list of ansible is the / etc/ansible/hosts file. The host list can be set manually or generated dynamically through Dynamic Inventory. Generally, the host name uses FQDN vim /etc/ansible/hosts [webserver] #Square bracket set group name www1.example.org #Define the monit ...

Posted by Arez on Mon, 03 Feb 2020 09:08:23 -0800

centos7 hadoop+hive installation

Prepare four virtual machines Virtual Machine Installation 1.Create a new virtual machine 2.Click on Typical Installation(Recommend) 3.Select Chinese and click on your own partition # Partition Configuration (JD Usage) /boot 200M swap 512M # Not enough native memory, swap / # root directory 4.Configu ...

Posted by Derek on Fri, 31 Jan 2020 20:33:17 -0800

lvs cluster implements lvs Dr model and lvs NAT model

ipvsadm The ipvsadm command is the management tool of lvs Cluster in the application layer. We can use this ipvsadm to manage the configuration of lvs. In fact, it implements the cluster service management: add, delete, change, RS management of cluster service: add, delete, change and view the cluster status. Management cluster service: add, ch ...

Posted by frao_0 on Fri, 31 Jan 2020 02:54:13 -0800

The construction of varnish proxy server

Varnish is a high-performance open source HTTP Accelerator, Open source reverse proxy and cache servers, Norway Verdens Gang, the largest online newspaper, replaced 12 squids with three varnishs, with better performance than before Basic access to the website firefox - > hosts/dns - > varnish - > server - > varn ...

Posted by purpendicular on Fri, 31 Jan 2020 01:40:49 -0800

Nginx web services (basic theory, operation, access control, nginx virtual host)

Article directory Preface: 1, Nginx service foundation 1.1 overview of nginx 1.2 manual compilation and installation of Nginx 1.3 operation control 2, Nginx access control 2.1 profile introduction 2.2 access status statistics 3, Access control 3.1 install and configure DNS Service 3.2 test DNS r ...

Posted by sols on Thu, 30 Jan 2020 22:33:45 -0800

nginx problem list

nginx problem list Installation and Startup of nginx Configure nginx startup self-start: Open log for nginx nginx configuration syntax nginx configuration: role of server_name nginx log level access_log logs/access.log main; log_format main Resolve restart issues How to view compilation options wh ...

Posted by POG1 on Thu, 30 Jan 2020 17:06:05 -0800

Squid Proxy Server - Traditional Proxy, Transparent Proxy (Practice!)

Overview of Cache Agents How web proxies work: Cache Web page objects to reduce duplicate requests Basic types of agents Traditional Proxy: For Internet use, specify the server explicitly Transparent proxy: Clients do not need to specify the proxy server's address and port. The firewall redirects ...

Posted by quimkaos on Wed, 22 Jan 2020 23:44:27 -0800