Forum Discussion
Phil_53695
Nimbostratus
Sep 01, 2011irule to send requests for another port to another pool in vip
Hi,
If I have a pool that uses port 8080 in it and want to also process 8081 to the same nodes (IIS servers) would it be possible to use an irule to do so?
Thanks for any input
- Phil_53695
Nimbostratus
I forgot to mention that I believe I would simply create another pool in the VIP and setup the nodes for 8081. So for instance if they come in on port 80 it automatically sends to the port 8080 currently. With adding another pool in and if they use the url with the :8081 then I would want the irule to send it to the 8081 pool. - hoolio
Cirrostratus
Hi Phil, - Phil_53695
Nimbostratus
when HTTP_REQUEST { - hoolio
Cirrostratus
The URI will never be exactly http://www.domain.com:8081. You could have a hostname of exactly www.domain.com:8081. Or you could have a URI with an absolute URI like http://www.domain.com:8081/. - Phil_53695
Nimbostratus
Thanks for the reply. OK what I am trying to accomplish. - nitass
Employee
why won't u create 2 virtual servers?[root@edelweiss:Active] config b virtual bar80 list bvirtual bar80 { pool foo8080 destination 172.28.17.77:http ip protocol tcp } [root@edelweiss:Active] config b pool foo8080 list pool foo8080 { members 10.10.70.110:webcache {} } b[root@edelweiss:Active] config b virtual bar8081 list bvirtual bar8081 { pool foo8081 destination 172.28.17.77:tproxy ip protocol tcp } [root@edelweiss:Active] config b pool foo8081 list pool foo8081 { members 10.10.70.110:tproxy {} }
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects