Forum Discussion
Pool member health monitor with multiple conditions
Hi,
We got an application called Windchill in our production environment. I am trying to configure load balancing between Windchill application cluster with 2 nodes. I need LTM to mark node up only when both of the following conditions are met
- Node is listening on port 80
- Node is listening on 8010 or 8011 or 8012
If written in pseudo code format, it would look like following;
if ((listen on 80) and ((listen on 8010) or (listen on 8011) or (listen on 8013))) {
mark node up
} else {
mark node down
}
How can I do this?
Thanks
- Simon_Blakely
Employee
There is no standard monitor configuration that supports this.
The best you can do is to have an http monitor (for port 80) and three custom TCP monitors (for 8010, 8011, and 8012), apply these to the node and set the Availability Requirement to At Least ... 2
However, this is not exactly what you require as this does not require Port 80 to be listening.
The alternative is to write an External monitor - a bash script that implements your relevant tests for the node and allows the LTM to mark it up or down.
A good template to start from is Template For External Monitors
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