Forum Discussion
FAZ_79699
Feb 13, 2012Nimbostratus
Using App server as monitor for Web Server
Hello iRulers,
We have a web pool with two members. Having a requirement to put a web node down in pool when corresponding app server goes down (put web1 down when app1 goes down and vice versa) and to to implement the logic, I am thinking of the following iRule,
Rule1
if { [active_members pool-having-only-one-app-server-node1] == 0 } {
use node ip-of-the-other-web-server2
}
}
Rule2
if { [active_members pool-having-only-one-app-server-node2] == 0 } {
use node ip-of-the-other-web-server1
}
}
These rules would instruct the VS to use the other node (web2 if app1 is down)
Is there a simple logic anyone can think of to implement this?
Is there a posibility to use health of "app node" as a health monitor for web node?
Thanks.
- FAZ_79699NimbostratusHi all, can some one look my request above please...
- FAZ_79699NimbostratusHi all, can some one look at my request above please...
- FAZ_79699NimbostratusHi all, can some one look at my request above please...
- FAZ_79699NimbostratusI think instead of use node ip-of-the-other-web-server1
- FAZ_79699NimbostratusMade it work via creating a monitor out of the app server and associated it to the web node.
- nitassEmployeeHaving a requirement to put a web node down in pool when corresponding app server goes down (put web1 down when app1 goes down and vice versa) have you tried to specify Alias Address and Service Port in health monitor? monitor does not always have to check pool member which the monitor is assigned to.
- FAZ_79699NimbostratusExactly. Thats how I made it deliver required logic.
- nitassEmployeeyou are welcome. :D
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