Forum Discussion
GaryZ_31658
Jan 19, 2005Historic F5 Account
Can we identify Server "UP" / "Down" Status in an iRule
I want to "Reap" connections to a server when another becomes "Active"
Scenario:
2 Servers in the Pool - Server1 Priority 10 Server2 Priority5 with Minimum Active Members set to 1.
If Server1 fails the health monitor, Server2 is sent all new connections.
The twist here is that when Server1 comes back online, BIG-IP should disconnect all existing connections to Server2 and force them to reconnect back to Server1.
This custom application uses a protocol that is "Telnet Like" so BIG-IP must force the TCP::close.
I know I can do this with an iRule but I'm not exactly certain how this could be written...
I was thinking something simple like a timer that watched for connections to Server2 and killed all connections after a specified time but it seems rather dirty.
I would rather have BIG-IP identify that the Priority 10 Server is back to "UP" Status before I send a TCP::close to the Priority 5 Server connections.
Can this be done in an iRule?
Thanks,
- unRuleY_95363Historic F5 AccountGary,
- GaryZ_31658Historic F5 AccountThanks for the reply... We should be OK waiting until something official is released.
- The_Bhattman
Nimbostratus
Coming back to this now. Do you have an example you can show us?
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