Forum Discussion
aalvino_578
Nimbostratus
Jul 09, 2008Failover, but not fail back
I am trying to do something that I thought would be fairly straight forward, but I cannot figure out how to do it.
I have a pool of 2 nodes which serve out an application. They cannot run in active/active mode, so they run primary/backup. Using the priority within the pool, I have things setup so that when the primary goes down, things properly start to go to the backup. The problem is that when the primary comes backup, it again starts to receive the reqeusts. I need the newly assigned (used to be backup) server to remain as the active one. I thought there would be a way using LB_STATUS within an iRule to change the priory of the members of the pool, but I cannot seem to find a way to do that. Does anyone know if there is a way within an iRule to change the priority of pool members?
2 Replies
- hoolio
Cirrostratus
I think this fits the bill nicely:
Single Node Persistence
http://devcentral.f5.com/wiki/default.aspx/iRules/SingleNodePersistence.html
Aaron - aalvino_578
Nimbostratus
Hello All,
I am back.. sorry this sat so long, but I am having an issue with this. For some reason, the tcp connection goes down occasionally between the F5 and my application. This triggers the other node to now recieve the requests. I know the connection should stay up, but it is going down, and really causing a problem. Is there anyway to get this to failover only if one of the monitors for the node triggers the node being marked down?
The other problem that I am facing with this solution is that if for some reason a switchover does occur because the tcpconnection goes down, I don't get any notifications. I.e. there is no snmp event, or even anything in the ltm log to indicate that the switchover has occurred...
Any other thoughts on this would be greatly appreciated!
Thanks
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
