Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Difference LVS three scheduling modes     - Ubuntu 14.04, 13.10 install OpenCV 2.4.9 (Linux)

- fcntl file locking function add (Programming)

- Java how to achieve bubble sort the problem Arraylist (Programming)

- Linux device driver development small example --LED lights (Programming)

- Minimum period string problem (Programming)

- Ubuntu Server (Ubuntu 14.04 LTS 64-bit) installation libgdiplus 2.10.9 error solution (Linux)

- VMWare virtual machine without rebooting way to add virtual disk (Linux)

- Install the system cleaning software under Linux: BleachBit 1.4 (Linux)

- Vim useful plugin: EasyGrep (Linux)

- Vim useful plugin: vundle (Linux)

- Hands to teach you to solve Ubuntu error message (Linux)

- Python 2.7.9 Installation on Linux CentOS 6.6 (Linux)

- CentOS7 install NTFS-3G driver (Linux)

- Redis configuration file interpretation (Database)

- Linux System Getting Started Learning: Change the name of the network interface on CentOS7 (Linux)

- Gentoo: existing preserved libs problem solving (Linux)

- The user of fedora is not in the sudoers file method to solve (Linux)

- FastDFS installation and deployment (Server)

- Android gets the global process information and the memory used by the process (Programming)

- Ubuntu Tutorial: How to Upgrade a New Linux Kernel 3.12.7 on Ubuntu (Linux)

 
         
  Difference LVS three scheduling modes
     
  Add Date : 2018-11-21      
         
         
         
  NAT: NAT
DR: direct routing

TUN: Tunnel

NAT:
Cluster node with the director must be in the same IP network;
RIP is typically a private address only for communications between each cluster node;
Director is located between the client and the real server, and handles all incoming and outgoing communication;
real server must Gateway at DIP;
Support port mapping;
real Server can use any OS;
Large-scale application scenarios, director easily become a system bottleneck;

DR:
Cluster node with the director must agree to a physical network;
RIP can use public addresses, for convenient remote management and monitoring;
director responsible for handling inbound requests only, by the director in response to heat directly to the client;
You can not point to the real server gateway DIP;
It does not support port mapping;
It does not change the destination address (because real Server has been bound to the VIP)
Rewriting request mac address of the packet (the MAC address of the machine VIP rewrites the MAC address of the real server back-end)

TUN:

Cluster nodes across Internet;
RIP must be a public IP address;
dirctor only responsible for handling inbound requests, the corresponding message sent directly by the real server to the client;
real server gateway can not point to the director;
OS only supports tunnel function can be used for realserver;
It does not support port mapping;
     
         
         
         
  More:      
 
- View and modify Linux machine name (Linux)
- Asynchronous communication mechanism between the Android source code analysis thread (Programming)
- Nodejs mysql pool Example (Programming)
- Graphic Git (Linux)
- C ++ casts New Standard Comments (Programming)
- Use PDFBox processing PDF documents (Linux)
- Install mono offline on CentOS (Server)
- Ubuntu 15.04 installation MATE 1.10 (Linux)
- SVN common commands (Linux)
- Easily create RPM packages using the FPM (Linux)
- Advanced network security tips Linux backdoor Technology and Practice (Linux)
- Linux network monitoring tools ntopng installation (Linux)
- Linux system package manager -RPM (Linux)
- CentOS7 virtual machine starts appear Permission denied (Linux)
- RedHat yum configuration and the prompt (Linux)
- Ubuntu root user profiles (Programming)
- Ubuntu download install and configure Plank Dock (Linux)
- Ubuntu 14.04 compile RT288x_SDK / toolchain / squashfs3.2-r2 Error (Linux)
- ORA-12545: Connection failed because the target host or object does not exist (Database)
- Analysis of Java in the deep copy and shallow copy (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.