Server Load balancer-application Request Routing module (ARR) (8) [Use of multiple arr servers]

Source: Internet
Author: User
Multiple Arr Server usage

 

 

Overview

This article introducesArrUsed in server and host name affinity scenariosMicrosoft external cache.

 

External cacheThe module is required only in the following situations:

1.Enabled host name affinity

2.There are multipleArrServer

 

External cacheIs a disk-based Cache module.

 

 

Target

InArrConfiguration and useMicrosoft external cache:

 

 

Prerequisites

The following conditions are required for this demonstration:

LAt least2InstallationIis7OfWindows2008,Or later

LMicrosoft arrAnd associated modules

LAt least2Workstations and ApplicationsProgramApplication Server

LAArrFile Sharing

 

 

Procedure1-EnableExternal cache

1.OpenIISManager

2.SelectServer farm(^-^)

3.Shown as follows:

A)

4.Double-clickServer affinity (Server affinity)

5.As described above,External cacheOnly when the host name affinity is used and multiple hosts are involvedArrServer. Make sure thatUse Host NameCheck box is selected:

A)

6.InServer affinityAt the bottom of the page, selectUse external cacheCheck box to enableExternal cache.File Share pathThe text box is mandatory and you must specify allArrShared path that can be accessed by the server:

A)

7.Repeat the preceding stepsArrMake the same settings on the server

8.To determine whether this feature works, you need to send a request toArrServer (by entering a host name ). Write down which application server the request is compatible. Send the same request to anotherArrServer. No matter which serverArrThe server will route requests that process the host name to the same application server.

9.You can also confirm whether the data has been written in the sharing.

 

 

 

Use command line to enableExternal cache:

1.ToAdministratorIdentity to open the command line

2.Navigate% Windir % \ system32 \ inetsrv

3.To enable host name affinity, enter:

A)Appcmd.exe set config-Section: webfarms/[name = 'myserverarm']. applicationrequestrouting. affinity. UseHostName: "true"/commit: apphost

4.Enable and configureExternal cache, Enter:

) appcmd.exe set config-Section: system. webserver/externalcache/diskcache/[name = 'arcache']. path: "\ wonyoo-w2k8-3 \ iisshared"/[name = 'arcache']. username: "Redmond \ wonyoo"/[name = 'arcache']. password: "*********"/commit: apphost

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.