Quantcast
Channel: Web Farms
Viewing all 292 articles
Browse latest View live

Best Log Files location

$
0
0

I have two load balanced web servers.

The content and the log files are located in a shared folder (UNC) and the shared configuration is enabled.

Initially I have defined  a unique LogFile Directory for each site, so every server has to write into the same log file.

My question is: Is it better to have two log files, one log file for each server?

In another post I have seen that it can be used the environment variable "%COMPTUTERNAME%" to create a subfolder for each web server.

I have tested it and it Works.

So my question is: what is better to have one only log file for each site for two web servers or to have a log file separated for each site and each web server?

Thanks

Eva Janakieff


Standalone IIS 8 in Clustered Sever

$
0
0

We would deploy a web site on a pair of Windows 2012 (active/passive) cluster for local resilience. As it is not required to load balancing the traffic, so we do not plan to use NLB or hardware load balancer.

We understand that clustered IIS is not fully supported by Microsoft (https://support.microsoft.com/en-us/kb/970759).

To simply the design, we plan to install standalone IIS on both W2012 server. Then user will leverage clustered VIP to access the website.

Do our design is a supported configuration/setup by Microsoft?

Thanks ain advance.

machine keys

$
0
0

hello

are machine keys necessary on W2012 servers?

F5 LB doing the work.

I was told they are automatic? if so can I query them using PS and then add to my webconfig file?

thanks

What is Request buffer size for each user request coming from client to IIS

$
0
0

Hi
i deployed asp.net application In IIS and this applicaton can be accessed by many users from Internet , and we are usign F5 network load balancer between client and Web server. 
from IIS how can i know below points

Request buffer size for each user request to IIS
long request buffer size
max concurrent request size 
number of requests per second

Here we are facing issue when users access asp.net pages from internet
this asp.net page has many dropdowns and fields to fill the form by the user ,
some times users fill the form and change any drop down value page post backs and user session disconnected

Compatibility IIS 7.5 and 8 Express in Windows 7

$
0
0

Hello All,

In windows 7, after installing Visual Studio 2012, I have verified the IIS version installed and I have found the version 8 Express. Since I need to develop and deploy ASP.NET applications, I need to know if I can't find problems.

In a different way, can I uninstall the v.8 Express and install the 7.5 full version? In this case where can I download this full version?

Thanks in advance for your kind support.

Regards,

    Giovanni

Support for Proxy Protocol (HA Proxy) for IIS instances behind load balancer

$
0
0

Does IIS support Proxy Protocol which is used to pass client address to a web server running behind a load balancer? We are using AWS elastic load balancer. SSL termination is done on IIS instances. All is okay except the client IP. The client IP address that IIS server sends to our application is IP address of load balancer and not from the remote client. 

Per AWS documentation, enabling Proxy Protocol on ELB sends Proxy Protocol header and web servers implementing proxy protocol can read this address. 

Per AWS instructions, we enabled proxy protocol on load balancer to get the client IP, but HTTP requests fail with Bad Request error after enabling proxy protocol.

Looking on Internet suggests that Apache supports this feature through mod_proxy module. I have not tried though. 

Does IIS support Proxy Protocol? More information at http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt 

Proxy protocol adds header information to TCP packet, not sure if there are any extensibility features that gets us to parse on our own if there is no support. Please clarify.

Thanks

Anil Lingamallu

web server and web service

$
0
0

Hi Guys;

I have 5 servers who contains many web sites and many web services, we talking about(150 web site and 90 web services) and all of them working under IIS 7.5. I project to migrate them under IIS 8.5, we chose to make an IIS farm with ARR and load balancing.

My question is in the architecture, i don't know if i migrate all of them (Site and services) in one  server and cinfigure load balancing or i should seperate web services and web Site???? 

What is the advantage or disadvantage of the both solution???

Thanks for the help

Date format in IIS 8.5

$
0
0

Hi,

I have an application running successfully on my PC and displays date format as m/dd/yyyy in edit mode, however when i am publishing same application on server 2012 R2 IIS 8.5, it displays date format as dd-mm-yy.

i wanna change date format in server same as my local PC, i have tried using system Locale as United States and date format as  en-US, also in IIS i have changed globalization as EN-US but still it is not changing.

Kindly help.

Thanks


Problem with Connection String

$
0
0

Hi to all.

I have a web page. In IIS I have configured the web.config e and the connection string is with a domain user but when i start the project into the web page I have this message:

Login failed for user LAB\TestUser

The connection string is  name="Test"  connectionString="Server=10.10.60.27;Database=TestAG;User ID=LAB\TestUser;Password=●●●●●●●●●●●●●●●●●●●●"

The user can connect in SQL. 

The server il the listener of the Always On Aviability Group

Where is it wrong?
Thanks

Giorgio B.

IIS8.5 ARR3.0 webfarm2.2 unavailable

$
0
0

Hello, everyone, I installed the windows2012r2 under the iis8.5:
RequestRouter_x64_3.0
Rewrite_amd64_2.0
WebDeploy_2_10_amd64
WebFarm2_x64_2.2
WebPlatformInstaller_3_10_amd64_zh-CN
After installation, the default configuration test function is running normally, but after a period of time, the server health state in farms web will automatically be set to web leading to the failure of farms unavailable forwarding request. Do I need to do any other configuration?

Import Configuration to IIS 2016 Server

$
0
0

I tried to import the configuration to a new 2016 Server and it messed IIS up.  Now when I start IIS Manager there is nothing in the list. 

I wish I could upload a photo but apparently I can't here.  SUCK!

IIS 8.5 Disallow New Connections resets itself.

$
0
0

Hello,

I have a web farm which consists of a controller, file server, and 6 web servers.  The application being hosted requires the use of server affinity.

I am in need of performing maintenance on the web servers and trying to use the "Disallow New Connections" feature for setting one of the web servers into a Drain mode.

I can successfully set a server in Drain mode, but sometime overnight the status resets itself to Available.

Is there a time limit on how long a server is allowed to be in Drain mode?  Can that time limit be extended?

Thanks,

Todd

Tricky trans-atlantic set up issue

$
0
0

Hi there

I have been researching a solution to this issue for some time and have yet to find a workable solution to what I'm guessing is a very common problem. I am posting here in the hope that someone else may have solved this!

I have a website that is hosted in the UK. We have various servers, including 2 load balanced web servers and a SQL server all hosted together. While this is great for our European traffic, it means a big hop for our US and Canada traffic, which actually accounts for over half of our visitors.

We also use a redis store for caching page content in the UK. However, if a user is logged in then it's vital they do not see cached pages as all pages are unique to a logged in user.

Here is what I am looking to achieve:

  • Have a web server set up in the US that serves cached versions of pages for logged out users
  • Have local US and Canada traffic routed to this server instead of the UK web servers
  • If the US user is logged in, or the page is not a page that we cache, request the page from the UK server and serve it 

We need to achieve this without using a separate subdomain for logged in users. So the US web server will need to know what to do with the request based on something other than the URL (cookie?).

We also need to seamlessly maintain session state for the user.

The servers are all Windows 2012 R2.

Any advice greatly appreciated!

How to duplicate sites , under different names in same IIS Server

$
0
0

Looking for best practice 

Have several sites under Default Site , need to have same sites under different name .

Thanks in advance !

What's happen if ARR fail

$
0
0

Hi everyone, 

I'm brand new on IIS world and I work in a place that has a little web farm with 2 web servers and just one ARR machine.

Is there any way to manage downtime if ARR fails ?

Thanks in advance.


ARR gives 404

$
0
0

On my laptop I have Windows 10 and I have installed the modules URL Rewrite and ARR.

In my hosts file I have added the hostname 'alwaysup'. When I enter this address in my browser (without setting up a farm or any rules), I see the expecting page (the start page of IIS).

Next I create my Farm with the name 'Farm1'. I add two servers: 'google.com' and 'learn.iis.net'.

I create one rewrite url rule:

- Pattern: *
- Condition: {HTTP_HOST} match pattern alwaysup
- Action: Route to server farm: Farm1, Path: \{R:0}
- Checked Stop processing of subsequent rules

When I enter alwaysup in the address bar, I see a 404 page. I do see alternating 404 pages. First I see the Google's 404 page and when I refresh the page again I see the 404 page of learn.iis.net.

My guess is that load balancing is working, but I don't see the expected pages.

What do I need to do to fix this?

Web deploy over farm Controller

$
0
0

I am trying to set up web deploy through an IIS WEB Farm. I have a Farm controller set up with 3 server farms (Prod, test, and Deploy). The URL rewrite rules are in place and working for all 3 farms. But I am unable connect via web deploy with Visual Studio to the Deploy farm ( or any of the farms. I can however connect to the individual IIS boxes in the deploy farm. I am able to telnet on port 8172( web deploy port) from the control box to the individual IIS boxes in the farm. Is there a URL write rule configuration I am missing?

web farm with load balancer(third party)

$
0
0
We have a couple of web servers(IIS on Windows 2012) hosting Restful wcf services whose load is balanced with the help of third party load balancer. These web servers communicate with another Load balancer which balances the load between a number of app servers(wcf, IIS, Windows 2012). Now the questions are:

-Can we use IIS Web farm here to improve the performance/availability/scalability..? -If yes, is there anything to be taken care in the implementation of WCF restful and WCF standard service to support IIS farm model..? Like session or any other configuration..?
-Is it common practise to go for web farm with third party Load balancer..? What are the benefits..?

PS: There is a single instance of SQL server with fail over. The app servers communicates with this SQlL Server

Affinity not working properly with web farms.

$
0
0

Good day.

I have an environment where I have 2 web front ends, and 2 ARR load balancers using NLB to load balance the connections. 

The problem we are seeing is that the affinity to the web front ends is not working correctly.  We have a web app that keeps throwing errors when accessed, or is loading incorrectly. 

There are several failed request logs, some of them containing the following error information:

[InvalidOperationException: Could not find a registered http resource set with the name 0bdfae8ae548cb1de818a5afafde99e9

Some of the failed request logs contain only a 401 and no other information.

The logs are present on both WFEs for the same created date, when they should only be present on one (if affinity was working correctly, only one server should be contacted).  When I bypass the load balancers, the sites work correctly.  When I use another load balancing farm we have, the sites work correctly.

So I believe the affinity is not working.  The load balancing/ARR servers are setup the same way as other ones we have here so technically they should work the same way.  I compared applicationhost, and machine.config files between the two load balancing farms and they are the same (apart from the number of web farms and url rewrite rules).  I am running out of ideas of what to verify to make sure that affinity is kept between the two WFEs.

I am running Windows 2008 R2 servers for th WFE and NLB/ARRs servers with IIS 7.5

Thank you for any help.

Shared configuration with IIS 10 (Windows 2016) and IISCngProvider + IISWASOnlyCngProvider

$
0
0

Hello, my dear friends ^__^

In my shared configuration:

<add name="IISCngProvider" type="Microsoft.ApplicationHost.CngProtectedConfigurationProvider" description="Uses Win32 Crypto CNG to encrypt and decrypt" keyContainerName="iisCngConfigurationKey" useMachineContainer="true" />

<add name="IISWASOnlyCngProvider" type="Microsoft.ApplicationHost.CngProtectedConfigurationProvider" description="(WAS Only) Uses Win32 Crypto CNG to encrypt and decrypt" keyContainerName="iisCngWasKey" useMachineContainer="true" />

So, after set domain user and password, i can see for pool:

<processModel identityType="SpecificUser" userName="domain\mydomainame" password="[enc:IISWASOnlyCngProvider:XXXXXXXXX]"....

Oh, my password encrypt with CNG, and keys iisCngWasKey or iisCngConfigurationKey can't export/import. 

And i can start one pool, where i set user and password, but other pool can't because they can't decrypt password.
Why? What is doing?

Viewing all 292 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>