Forum Discussion
Peter__Chan_109
Nimbostratus
Sep 20, 2005Using iRule to persist outbound connection to the same node
Hi Folks,
I'm a newcomer on iRule and need some help on writing iRules. The question is the client initiates a connection to a VIP and then logon a server, the server will then make a outbound connection to the same VIP and then need to persist to the same server again. I think only iRules could do it but is there anybodies could help on it.
Many thx
4 Replies
- Brian_Gupta_115
Nimbostratus
One thing to keep in mind. There are issues involved with server initiated connections that connect to themselves.
When the server initiates a connection with the VIP, it will recieve this connection, bit it will look like it is coming from itself. Unfortunately, since the server initiated the connection to the VIP, it will not have an existing connection and will drop the packets.
Theoretically you could enable SNAT and it *should* work. (I haven't tested).
Why do you need this?
Cheers,
-Brian - Jansen_Li_40506
Nimbostratus
thanks guy, it is the behaviour of the app servers. However the servers are one of the pool member in Big/IP, I don't think SNAT should work because Big/IP will do the Load balance again and couldn't persist to the same server. Please help and correct me if I'm wrong
thanks a lot - Peter__Chan_109
Nimbostratus
Hi guys, thanks a lot and the problem has been solved by writing an iRules:D - Brian_Gupta_115
Nimbostratus
I am making the assumption that if an appserver ever initiates a connection to the VIP, it will always be loadbalanced back to itself, regardless of the trigger.
Is this an incorrect assumption?
-Brian
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
