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 the OC4J has fallen over no content will be served. The question is whether we can configure the BIG IP to look at Dynamically created content from the OC4J \ Database rather than merely hoping port 80 is up.
Is it possible to check if the application process is running? Or should this be done via an iRule?
It is running version 9.4.0 Build 529.4.
Thanks.
Ed
1 Reply
- Simon_Wright_85
Nimbostratus
Hi 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
