Linux uses ipvsadm to achieve web load balancing

  
 

One, Operating system
, bad environment

When accessing the WEB server from the external network, first access the 192.168.0.44 machine, and build the ipvsadm service through the 192.168.0.44 machine. When accessing port 80 of the 192.168.0.44 machine, the visitor will be forwarded to the other two machines on the intranet. The 0.44 server is used as a router and has two network cards installed.

Red Hat AS5 linux

Second, start building

1, download the software and install ipvsadm-1.24-12.el5.i386.rpm

2 , View version information


[root@station44 Desktop]# rpm -qa

Copyright © Windows knowledge All Rights Reserved