RIA Services and F5 Load Balancing
-
Wednesday, March 23, 2011 3:30 PM
We currently have a Silverlight application that connects to RIA services. The website hosting the Silverlight application and the RIA services are in separate virtual application directories (www.somedomain.com/Website, www.somedomain.com/Services) hosted on IIS7. Everything works fine until we migrate this setup to a load balanced environment and then any call to a RIA service fails. If we turn all of the web servers off except for one in the load balanced environment than everything works. Has anyone else run into this or have any ideas how to solve it?
All Replies
-
Wednesday, March 23, 2011 5:30 PM
what's the error message? have you added a clientaccesspolicy.xml to all your boxes. SL app can't access service on another box without existance of clientaccesspolicy.xml
-
Tuesday, March 29, 2011 3:57 PM
Hi,
Need some additional information. First thought goes toward encryption issues if there is information being passed between the processes. But, before speculating,
we need some details on how the call to the RIA Service fails. Do you have more details and the stack trace of any error message that you see.
-
Saturday, October 27, 2012 7:29 PM
Hi there,
recently have worked on silverlight 5 app. deployed on load balaned f5s (LTM3400) with a VS with pool of 4 iis 7.5 server. Had similar problems you mentioned.
the ssl is pass-thru to iis hosts hosting the digital certs. After setting up sticky session (Dst_Addr affinity) on the virtual server on F5, the session issue went away. you can do this inder resoruces section by setting Default Persistance Profile to dest_addr.
still, we dont see the pool distribuing connections evenly to all hosts/nodes in the pool but thats something we are still working on :-)
hope this helps.

