Forum Discussion
ibehavior_37902
Nimbostratus
Jun 14, 2010Send requests to multiple backend nodes
Hello -
Relatively new to iRules so bear with me. I have 20 backend nodes and 4 production virtual servers. What I need to do is to mirror http requests sent to one of the nodes to anothe...
Ben_Nichols_107
Nimbostratus
Nov 10, 2006Hi,
Thanks for the interest. What you are proposing sounds exactly right.
Session state is not important since it is stored on a central server. All web servers will be identical.
The admin will want to disable a single vhost for maintenance, there will obviously also be times when it is necessary to take a server offline as well.
Thanks in advance,
Ben
- Lee_SutcliffeOct 25, 2017
Nacreous
If you just want to replace content in the HTTP response, then I would use a Stream profile and a basic iRule.
when HTTP_REQUEST { STREAM::disable } when HTTP_RESPONSE { set oldString "Next line in readAODResponseStatusCode - 0" set newString "Next line in readAODResponseStatusCode - 0000" STREAM::expression {@$oldString@$newString@} STREAM::enable } }