Forum Discussion
Load Balence is not happening on pool members with two differnt service ports
Hi Team, Pleas help me and even i tried with many f5 tac support there is no fix.
- The Vip is port 80 and backed services are 15201 and 15203 with 2 servers totally 4 Pool members.
- We have 2 irule one is redirect with additional uri /jde/owhtml and other irule is header replace and compression and if i remove this irule its thowing this below error
- Even i tried editing the JDEPROD irule as below mentioned but its not working as expected.
when HTTP_REQUEST { Disable STREAM processing for request (ingress) traffic STREAM::disable
Remove the Accept-Encoding header to disable server side compression
HTTP::header remove Accept-Encoding
Replace the incoming Host header to match what the server expects
HTTP::header replace Host "jdeprod1.corp.abc.com:15201"
HTTP::header replace Host "jdeprod1.corp.abc.com:15203"
} when HTTP_RESPONSE { if { [HTTP::header exists Location] } { If this is a redirect response, replace with HTTP::header replace Location [string map {"jdeprod1.corp.abc.com:15201" "jdeprod1.corp.abc.com"} [HTTP::header Location]] HTTP::header replace Location [string map {"jdeprod1.corp.abc.com:15203" "jdeprod1.corp.abc.com"} [HTTP::header Location]]
}
Use a STREAM expression to remap all object references in the payload (HTML body) with the external host name
STREAM::expression {@jdeprod1.corp.abc.com:15201@jdeprod1.corp.abc.com@}
STREAM::expression {@jdeprod1.corp.abc.com:15203@jdeprod1.corp.abc.com@}
STREAM::enable
}
error screen shot:1 Connection is going to properly on 15201 is working the second connection when it goes to 15203 its throwing this error.
You realy need to insert port in Host header?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com