Forum Discussion
Question about using two health monitors on BIG-IP 11.5.2 Build 1.0.169 Hotfix HF1
Hello. I'm hoping to find some answers here. I have a pool with only a single member so far but this one member relies on a database server to accurately determine health. The web site is using angularJS so I can't use my previous solution to this which was a simple aspx page that queries the database and the correct response would tell the health monitor if it is healthy or not.
Let's say we have a web server host IP address for example 10.10.10.2 and it has a page that queries the database (couchbase) and a correct response to that request indicates that the database is good. The destination IP address of the pool member is say 10.10.10.1. Is it possible to use 2 separate monitors, one that will look for a response from the pool member and the second monitor asks for a response from GET http://10.10.10.2/healthcheck.aspx where response should be equal to GOOD? I hope this makes sense!
5 Replies
- Cheryl_18206
Nimbostratus
I should add that I've tried this and I can't get it to work. "read times out" for the monitor.
- nathe
Cirrocumulus
Cheryl, if I understand your requirement then absolutely you can do this.
Create a new monitor with the GET request above and then in the Alias Address add the IP address of the webserver 10.10.10.2.
Then add this monitor to your pool, and you may want to configure it so both monitors need to pass too. Then the one monitor will health check the pool member but the other one will health check the webserver.
Hope this helps,
N
- Cheryl_18206
Nimbostratus
Thank you Nathan. I haven't worked with aliases so I'll look into that. What you are stating is exactly what I need it to do! :) If this works, I'll report back. Sorry for the late response, I set it up so I'd get emailed if there was an answer but no email.
- nathe
Cirrocumulus
No probs. Please feedback if this helps.
- Arie
Altostratus
You're not using iApps, are you? The F5-supplied iApp for HTTP is limited to a single health monitor, as is the updated community version.
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