Piranha+lvs+iis--windows as a back-end real host setting method

Source: Internet
Author: User

background : Piranha is a web tool for configuring LVS, the main difficulty in the LVS (DR Mode) +iis architecture is the installation and configuration of Windows as the back-end server loopback interface, which is mainly described here, and the LVS installation can refer to the article I wrote earlier.


Environmental Architecture Description :

Environment:

Operating system Centos 6.6 _x64 +lvs

WEB windows2008r2+ IIS

Structure:

lvs-active:10.6.1.167
lvs-backup:10.6.1.168
lvs-vip:10.6.1.16
realsever:10.6.1.58,10.6.1.59



Here's how:


    1. Install the virtual network card.

      Enter "Hdwwiz.exe" in the run and manually add the new hardware from the list: Windows Loopback Adapter.


2. Set the Windows lookback Adapter IP address as the virtual IP address. Set subnet mask:255.255.255.255, and rename the virtual NIC to Realserver. A real network card is usually a local connection.


3. Modify network card information

Run the following batch script as an administrator with the script as follows:

++++++++++++++++++++++++++++++++++++++++++++++++

@echo off
netsh interface IPv4 set interface "Realserver" weakhostreceive=enabled
netsh interface IPv4 set interface "Realserver" weakhostsend=enabled
netsh interface IPv4 set interface "Local Area Connection" weakhostreceive=enabled
netsh interface IPv4 set interface "Local Area Connection" weakhostsend=enabled
Pause

++++++++++++++++++++++++++++++++++++++++++++++++

Complete.



Verify

Find a machine to access the http://10.6.1.16, shown below:


650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/83/C9/wKioL1d8i_WwR068AAD2-bwMgZ4138.jpg-wh_500x0-wm_3 -wmp_4-s_708246572.jpg "style=" Float:none; "title=" 0adc3880-ac1c-4dce-ac68-83db15402519.jpg "alt=" WKioL1d8i_ Wwr068aad2-bwmgz4138.jpg-wh_50 "/>


Another access to the same address, shown below:


650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/83/C9/wKioL1d8i_XCNAgmAAEMrlD6usc332.jpg-wh_500x0-wm_3 -wmp_4-s_2426872902.jpg "style=" Float:none; "title=" ce4a690f-43dd-4bb9-bb35-e7cb45999237.jpg "alt=" WKioL1d8i_ Xcnagmaaemrld6usc332.jpg-wh_50 "/>



This article is from the "Technical Achievement Dream" blog, please be sure to keep this source http://pizibaidu.blog.51cto.com/1361909/1799645

Piranha+lvs+iis--windows as a back-end real host setting method

Related Article

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.