LVS na model

Source: Internet
Author: User

Detailed LVS Configuration

NAT model

Schematic diagram:

650) this.width=650; "src=" Http:// "title=" Nat.png "alt=" Wkiol1abbzrqcaxfaadtajwmcd8103.png "/>

IP Address Planning:








1 . First install the httpd on the backend real server and configure the index.html page. Two back-end servers can be accessed on the director.

650) this.width=650; "src=" Http:// "title=" Nat1.png "alt=" Wkiom1abcfpgipfqaabuzkmftks301.png "/>

2 . Configure VIP on Director

650) this.width=650; "src=" Http:// "title=" Nat2.png "alt=" Wkiol1abcumdymxhaabhlh-5ecs399.png "/>

3, configure Ip_forward on director, is to turn on the IP forwarding function

650) this.width=650; "src=" Http:// "title=" Nat3.png "alt=" Wkiom1abcxzctwikaaaulsk5n44372.png "/>

4. Configure Ipvs rules in director

650) this.width=650; "src=" Http:// "title=" Nat4.png "alt=" Wkiom1abchxzqx4kaacbt8lruog173.png "/>

Several issues to be aware of:

First: When configuring LVS, all hosts do not consider the rules of the firewall, so I am the direct service iptables stop.

Second: IPVSADM configuration Command This experiment is to use RR scheduling algorithm, more other algorithms can be studied by themselves.

Third: In the configuration of real server I was added port, if the backend is 8080, the port can be. This enables port forwarding.

This article technical information from this site, in this thank Marco Education.

This article is from the "Leslie" blog, make sure to keep this source

LVS na model

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.