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