Curtis White
Curtis White

Reputation: 6353

State server in webfarm scenario?

This is a fairly basic question about state server but assume there are 2 servers behind a load balancer. How do I configure the session state server?

So, I have machine1 and machine2. I would assume that I would need to install the state server on 1 machine only and then use the internal IP to refer to that machine. Is this correct? As oppose too, I would not install state server on both machines.

Upvotes: 0

Views: 258

Answers (2)

Simon Thompson
Simon Thompson

Reputation: 704

Single state server is mad as you have no fault tolerance, if it does down its game over. You need a distibuted state server stored on both servers.

Upvotes: 0

Oded
Oded

Reputation: 499092

In your scenario (and most webfarm scenarios), a single state server is right.

You could refer to it by the internal IP or setup a DNS entry for the IP on the internal network and refer to it using that.

Upvotes: 0

Related Questions