Forum Discussion
Ed_Ferrageau_67
Nimbostratus
Oct 01, 2007monitor for dynamic content (application)
Hi,
This is the "problem".
On each of the webservers there is an apache instance and this oracle OC4J app. If the apache is still running it'll respond to the GET HTTP request, however if t...
Simon_Wright_85
Nimbostratus
Oct 01, 2007Hi Ed
The easiest way we have found to do this is to create a page in Apache that checks the status of the OC4J application. It can do this by requesting a known piece of content. If it gets the content back as expected then the page just responds to a GET request with something like OC4JOK in the body. If not it doesnt return anything or gives an error message it will not return OC4JOK. You can then setup a HTTP monitor on the loadbalancer that looks at the page and in the Recieve String of the monitor put OC4JOK. If it finds this then everythign is ok if not then it will fail and take it out of the pool.
Hope this is what you were looking for.
cheers
Simon
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
