If you take the iRule off and disable all but one pool member do you see the error? This would eliminate persistence and iRule issues as the cause of the error. Also, do you have any idea what the application layer error indicates in terms of the load balancing?
Does the error occur when you have the iRule removed and all but one pool member disabled? Do you have any idea what the application layer error indicates in terms of the load balancing?
Also, this portion of your iRule doesn’t look correct:
[concat [LB::server]]
The concat command (Click here) is normally used to concatenate strings or TCL lists. Running concat with a single argument will just return the value of that argument.
I don’t think this has anything to do with the issue you’re describing, but it would still make sense to correct this.
Thanks for the advice. The Irule has been taken out, but I still use two nodes in the pool. Except one dotnet app, all the other web app works fine so far. I have been doing some research about session maintenance and machine key in web farm senario.
It is very interesting that some of my web apps do not have machine key specified in web.config file, but they works fine with BigIP load balancer. I guess the cookie persistence profile makes sure the http requests are always directed to the server where it initially hits. Do you have advice about the web servers artitechture if we need to bring up State Server or SQL session server for DotNet app with BigIP load balancer?
I think I find out something. we have two web servers A and B. I can see that the http request from the user was directed to A first, say 08:10:15am. After 2 seconds, 08:10:17am, the user was directed to server B and finish the job on server B. The error with the application came out at 08:10:15am. I have round robin policy assigned to the pool that contains A and B. Server A and B have the same priority. I thought the cookie persistence profile is supposed to have sticky connection. Once the http request hits the server, it always stays on the same server until session expires. Have anyone seen this problem before?
I want to write an Irule and hard code the http host to a node to see if that can get rid of the error message in event viewer. Any suggestions?