Forum Discussion
Chris_125062
Nimbostratus
May 03, 2013Dynamic Active/Active/Standby Load Balancing
Our F5 is an 8900 LTM running 10.2.4 HF6. I installed these devices 2 years ago, and have administered them since.
And today is the day that I try to create my first custom iRule... but I...
nitass
Employee
May 04, 2013Is it possible to monitor multiple nodes using a reverse monitor?e.g.
i assume 200.200.200.101, .102 and .111 are server1, 3 and 6 respectively. anyway, the problem i found is this does not work when server is shutted down (i.e. port 80 is not listening). i am not sure if it is expected (actually, i think it is not).
[root@ve10:Active] config b pool foo list
pool foo {
monitor all myhttp
members {
200.200.200.101:80 {}
200.200.200.102:80 {}
200.200.200.111:80 {
monitor monitor101 and monitor102
}
}
}
[root@ve10:Active] config b monitor myhttp list
monitor myhttp {
defaults from http
interval 1
timeout 4
recv "UP"
send "GET /status.html HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
[root@ve10:Active] config b monitor monitor101 list
monitor monitor101 {
defaults from http
interval 1
timeout 4
dest 200.200.200.101:80
reverse
recv "UP"
send "GET /status.html HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
[root@ve10:Active] config b monitor monitor102 list
monitor monitor102 {
defaults from http
interval 1
timeout 4
dest 200.200.200.102:80
reverse
recv "UP"
send "GET /status.html HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
when .101 and .102 return "UP"
[root@ve10:Active] config curl http://200.200.200.101/status.html
UP
[root@ve10:Active] config curl http://200.200.200.102/status.html
UP
[root@ve10:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/200.200.200.101:80 active,up
+-> POOL MEMBER foo/200.200.200.102:80 active,up
+-> POOL MEMBER foo/200.200.200.111:80 inactive,down
when .101 and .102 do not return "UP" (i.e. they return "DOWN")
[root@ve10:Active] config curl http://200.200.200.101/status.html
DOWN
[root@ve10:Active] config curl http://200.200.200.102/status.html
DOWN
[root@ve10:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/200.200.200.101:80 inactive,down
+-> POOL MEMBER foo/200.200.200.102:80 inactive,down
+-> POOL MEMBER foo/200.200.200.111:80 active,up
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