LVSis aLinux Virtual Serverthe short, meaning thatLinux Virtual Server, is a virtual server cluster system. Founded in May 1998 by Dr. Zhangwensong, this project is the first free software project in ChinaA. Projects that host WCF services for IIS implement high-availability load balancing in a way that LVS + keepalived + WINDOWS SERVER R2.
1. Setting up Windows Loopback Adapter
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/1B/wKioL1T_3KnQTV5YAADrlDVO0YI926.jpg "style=" float: none; "title=" 1.jpg "alt=" Wkiol1t_3knqtv5yaadrldvo0yi926.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/21/wKiom1T_24qiYmd2AAG--Np3jWw368.jpg "style=" float: none; "title=" 2.jpg "alt=" Wkiom1t_24qiymd2aag--np3jww368.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/1B/wKioL1T_3KmQ5ya5AAFlFpxUoWA794.jpg "style=" float: none; "title=" 3.jpg "alt=" Wkiol1t_3kmq5ya5aaflfpxuowa794.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/21/wKiom1T_24vwRghcAAFmgO_wB2g992.jpg "style=" float: none; "title=" 4.jpg "alt=" Wkiom1t_24vwrghcaafmgo_wb2g992.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/1B/wKioL1T_3Kmz_eKhAAH_bzGlPAQ068.jpg "style=" float: none; "title=" 5.png "alt=" Wkiol1t_3kmz_ekhaah_bzglpaq068.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/21/wKiom1T_24uCs8NdAAFKJ-I4I4A291.jpg "style=" float: none; "title=" 6.jpg "alt=" Wkiom1t_24ucs8ndaafkj-i4i4a291.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/1B/wKioL1T_3KniKvYnAADbqNWbiFA902.jpg "style=" float: none; "title=" 7.jpg "alt=" Wkiol1t_3knikvynaadbqnwbifa902.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5B/21/wKiom1T_3CPCjCmiAAHWogqj79Q015.jpg "title=" Arw3df6lx3mn%~okm6{pyes.png "alt=" Wkiom1t_3cpcjcmiaahwogqj79q015.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/1B/wKioL1T_3KqwtMSMAALuDSr3ivs208.jpg "style=" float: none; "title=" 9.png "alt=" Wkiol1t_3kqwtmsmaaludsr3ivs208.jpg "/>
The above is the configuration of our LVS network card.
2, modify the client NIC interface, loopback interface connection mode
Run command Prompt (CMD) as an administrator and execute the following command:
netsh interface IPv4 set interface "Real node NIC name" Weakhostreceive=enablednetsh interface IPv4 set interface "Real node nic name" Weakhosts End=enablednetsh interface IPv4 set interface "Real node loopback network card name" Weakhostreceive=enablednetsh interface IPv4 set interface "Real node ring Back Card name "weakhostsend=enabled
Note : The subnet mask 255.255.255.255 but in Ms Nt/2k/xp is considered invalid. The following workaround is available: in MS Nt/2k/xp, the network Interface (interfaces)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
Locate the appropriate network connection IP address, modify the SubnetMask subnet mask, (note the modification) without restarting, just reactivate the network connection.
LVS configuration See Windows IIS configuration LVs Load Balancer II
This article is from the "Stan" blog, so be sure to keep this source http://ywfun.blog.51cto.com/9980564/1619332
Windows IIS configures LVS load balancer one