LVS-DR + ipvsadm implementation service cluster under RHEL6.0

Source: Internet
Author: User
The LVS-RT type of Web Service Cluster is as follows: Note: This experiment is in the virtual machine environment cluster configuration, is the web Service Load Balancing cluster. In actual work, the webpage data of the web Services of reserver1 and realserver2 are exactly the same. In this article, we intentionally set them to different webpages to highlight the experiment results. Please note that in actual work, make sure that the webpage data of realserver1 and realserver2 is consistent. Three VMS are required. LVS-RT Type Web Service Cluster

As follows:

650) this. width = 650; "border = 0>

650) this. width = 650; "border = 0>

Note:

This experiment is a cluster configuration in the virtual machine environment.WebServer Load balancer cluster.

In actual work,Reserver1AndRealserver2OfWebThe webpage data of the service is exactly the same. In this article, we intentionally set different webpages to highlight the experiment results. Please note that in actual work, make sure thatRealserver1AndRealserver2.

Three VMS are required.LinuxHost, respectively namedDirector,RS1,RS2

Three virtualLinuxThe NIC mode of the host is bridging.

Director:

DIP: eth0 172.16.22.1

VIP: eth0: 1 172.16.22.2

RS1:

RIP: eth0 172.16.22.10Gateway:172.16.0.1

VIP: lo: 0 172.16.22.2 255.255.255.255

RS2:

RIP: eth0 172.16.22.11Gateway:172.16.0.1

VIP: lo: 0 172.16.22.2 255.255.255.255

EnsureWindowsFirewall andLinuxFirewall is completely disabled

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: info-contact@alibabacloud.com 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.