Forum Discussion
emily_74156
Nimbostratus
Oct 13, 2009select different monitor based on context root
How do I create an irule so that different context root uses different monitor. Such as
http://www.myhost.com/app1 uses mon1
http://www.myhost.com/app2 uses mon2
etc.
- The_Bhattman
Nimbostratus
You cannot assign "monitors" within an irule based on content. - hoolio
Cirrostratus
If you simply want to monitor app1 with a different monitor than app2, you can define two pools: app1_http_pool and app2_http_pool and assign a relevant monitor for each pool. - emily_74156
Nimbostratus
1. I can't define 2 pools based on the requirements we have. - hoolio
Cirrostratus
Why couldn't you create two different pools if it's two different web apps? The IP:port for both pools would still be identical. This would just allow you to monitor, load balance and persist requests separately depending on which app the request was being made to. - emily_74156
Nimbostratus
To answer your question - there is an webserver between the app server and the LTM. So, LTM is loadbalancing the webservers, and webservers send requests to app servers. That's why we only need 1 pool, which as 2 webservers in the back. And the 2 webservers talk to the app servers respectively. - The_Bhattman
Nimbostratus
Here is a thought. What if you let the LTM load balance the APP Servers for the webservers. - emily_74156
Nimbostratus
CB, - The_Bhattman
Nimbostratus
Correct, there appears to be no way to select a different monitor via irule. However, what was the app limitation? Are they using the same port? - emily_74156
Nimbostratus
CB, - The_Bhattman
Nimbostratus
Let us know if you need more help with anything.
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