I am hoping that someone can help me with this.
I need to scale up a web application that is only accessible internally on the intranet and have decided to use Application Routing to do the load balancing.
My current set up is a server load balancing server 2k12r2ARR with IIS and ARR 3.0 installed, this is to forward all requests on to either 2k12r2web1 or 2k12r2web2.
I have a webfarm set up on 2k12r2ARR called 2k12r2ARR (I have called it arrFarm but I read in a post that someone managed to solve the same problem I am having by renaming their farm to the same name as their server)
Bindings are set on the default website of this server to: 2k12r2ARR to all ip address on port 80.
Web1 bindings: 2k12r2web1 to all ip address on port 80
Web2 bindings: 2k12r2web2 to all ip address on port 80
When I set up a URL rule to rewrite directly to either web1 or web2 everyting works as expected. I can go to http://2k12r2ARR/Application and access the pages.
The problem is when I change the rule to route to the farm 2k12r2ARR I am getting a 404 error 'page not found'. Looking at the Monitoring and Management of the Farm it is counting the requests made to the servers and showing that there are zero failed requests.
When I check 2k12r2web1 and 2k12r2web2 logs they are not showing any requests made.
I have the failed requests log turned on for 2k12r2ARR and I can see that the URL rewrite tool is working but not routing the traffic:
ARR_SERVER_ROUTED RoutingReason="LoadBalancing", Server="2K12R2WEB2", State="Active", TotalRequests="45", FailedRequests="0", CurrentRequests="1", BytesSent="23616", BytesReceived="21648", ResponseTime="0"
18. GENERAL_SET_REQUEST_HEADER HeaderName="Max-Forwards", HeaderValue="10", Replace="true" 12:00:38.441
19. GENERAL_SET_REQUEST_HEADER HeaderName="X-Forwarded-For", HeaderValue="111.123.143.38:59775", Replace="true" 12:00:38.441
20. GENERAL_SET_REQUEST_HEADER HeaderName="X-ARR-SSL", HeaderValue="", Replace="true" 12:00:38.441
21. GENERAL_SET_REQUEST_HEADER HeaderName="X-ARR-ClientCert", HeaderValue="", Replace="true" 12:00:38.441
22. GENERAL_SET_REQUEST_HEADER HeaderName="X-ARR-LOG-ID", HeaderValue="c72BB340-edae-5ab6-b75f-8a1aa98f0ed9", Replace="true" 12:00:38.441
23. GENERAL_SET_REQUEST_HEADER HeaderName="Connection", HeaderValue="", Replace="true" 12:00:38.441
24. URL_CHANGED OldUrl="http://2k12r2ARR/", NewUrl="/"
37. GENERAL_RESPONSE_HEADERS Headers="Content-Length: 315
Content-Type: text/html; charset=us-ascii
Server: Microsoft-IIS/8.5
X-Powered-By: ARR/3.0
X-Powered-By: ASP.NET
" 12:00:38.441
38. GENERAL_RESPONSE_ENTITY_BUFFER Buffer="<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Not Found</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Not Found</h2>
<hr><p>HTTP Error 404. The requested resource is not found.</p>
</BODY></HTML>
" 12:00:38.441
39. GENERAL_FLUSH_RESPONSE_END BytesSent="515", ErrorCode="The operation completed successfully.
(0x0)" 12:00:38.441
40. GENERAL_REQUEST_END BytesSent="515", BytesReceived="451", HttpStatus="404", HttpSubStatus="0"
Any suggestions on why this isn't working? I have tried adjusting timeout settings, turning off the cache, binding the websites with different names, removing iis and arr form the loadbalancing server and reinstalling everything again.
Many thanks