Hi All:
I would greatly appreciate any help or guidance from any of you regarding the following issue "AAR and client session affinity in Azure". I have been looking for more information in the web about this issue and asked in the IIS forums (http://forums.iis.net/t/1197442.aspx/1?Question+regarding+the+implementation+of+the+Client+Session+Affinity+in+AAR),
but I didn’t find a place where my doubts could be answered.
I have read some very interesting articles that has some relation with these issues, but I still have some doubts.
I have been playing around with Azure and AAR, in order to obtain client session affinity, but I still have just, one BIG doubt.
Usually in most of the reference materials (http://www.iis.net/learn/extensions/configuring-application-request-routing-(arr)/http-load-balancing-using-application-request-routing
), there is a single server configure with ARR, that load balances the requests to the different separate application servers belonging to the server farm, so that single ARR enabled server has all the information necessary (Rewrite rules, web farm server
group, cookies belonging to each server) to direct the requests.
But in Azure, we have:
1) The Azure Load Balancer
2) The different ARR enabled server (the web roles, or the IaaS VM in my case)
3) The different Application server belonging to the web farm server group (that in my case are the same web roles or IaaS VM, of step 2).
I have follow the code use on the WinAzureToolkitForEclipseWithJava (
https://github.com/MSOpenTech/WindowsAzureToolkitForEclipseWithJava/blob/master/Utils/ARRConfigurationAgent/ARRConfigurationAgent/ArrWorker.cs) or Benjamin post (http://blogs.msdn.com/b/benjguin/archive/2011/03/25/affinit-233-de-session-sur-azure-avec-arr-session-affinity-on-azure-with-arr.aspx),
in order to configure those ARR enabled servers with exactly the same configuration, in an Active/Active fashion.
But, here my doubt is, in the case that the ARR founds a client session affinity cookie in the request, how does that ARR module knows to which server of the web farm server group to send the request, if they don’t shared the same
table storing the associations between the cookies and the servers, because the configuration and decision making is distributed between the different ARR enabled servers.
If you consider my question interesting, I could provide you with more information that explains all these facts.
Thanks a lot in advance for your help.
Kind regards.
Ángel