Forum Discussion
How to mark nodes up in a pool based on the health of multiple nodes
- Oct 06, 2015
Are SH1 and SH2 pointed directly to APP1/APP2 respectively or are they pointed to a virtual server address? If they are pointed directly to their corresponding app server then you can place 2 monitors on each web server member (SH1/2). First monitor will be the monitor currently on the web service pool, so if the nodes web services become unavailable the member is marked down (just as you have now). Second monitor is different for each web service member and is a monitor that checks the application service (whatever that might be). The key is to enter the corresponding app service ip address in the Alias Address field of the monitor (create a monitor for each app server). This way, even though the monitor is tied to the web service node, the ip address entered is being monitored. The last step is to set the Availability Requirement setting on each member to All. Doing so will mark each member down when web service or corresponding app server service is down.
If SH1 and SH2 are pointed to a virtual server then you need to deal with persistence but I suspect this is not the case.
Thanks very much Greg Crosby. +Kudos to you (as I don't have the rep to award any points yet)
For anyone else that needs to do this: First of all I created two new Health Monitors, one for each of the back end servers, and entered their IP address as the alias, and changed the port as required:
Then edited my iapp:
Selected the first of my two nodes, to enter the node screen:
Changed the Health Monitor from "Node Default" to "Node specific" and selected one of the two back end checks along with the general front end check
Checking the iApp it now showed two health checks under each node
I then logged onto all 4 servers via RDP and tested by stopping the Tomcat service - dropping the service on either APP1 or SHA1 correctly marked that stream as down, and forced traffic to the 2nd server, and vice versa.
Nice and simple, once you know how. Thanks again Greg!
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