Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you have more than one ASP.NET State Server Service in a cluster?

We have a 4 server cluster running ASP.NET web application using ASP.NET State Server Service for session. On one of the 4 servers ASP.NET State Server Service is running and other servers are configured to look at this. Very often we have to patch the servers, and applying patch on the State Server requires few minutes of downtime.

Is there a way to configure more than two ASP.NET State Server Services in a cluster, so if one goes down, the other takes over?

like image 974
Ashesh Avatar asked Dec 28 '25 05:12

Ashesh


2 Answers

I'd look into Session State Partitioning. Good info here: http://blog.maartenballiauw.be/post/2008/01/ASPNET-Session-State-Partitioning-using-State-Server-Load-Balancing.aspx

like image 97
Jon Galloway Avatar answered Dec 30 '25 22:12

Jon Galloway


ASP Stateserver does not replicate session from the 1st node.

But at least keeping your Web up and running on the next retry.

Thought of implementing the ASP State Service on a MSCS Clustered Environment

like image 20
Raffy Arnaez Avatar answered Dec 30 '25 23:12

Raffy Arnaez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!