Forum Discussion
lantuin_53437
Nimbostratus
Jul 29, 2009howto Persistence irules
Hi all,
I need to configure persistence. I've got a pool of 8 proxies, I need that when clients use OCS (so I think using a sticky persistence, based on the destination ip of the Office Communcation Server), they connect only to one node of the 8 proxies.
How can I do that?
Thank you very much.
P.s.: I've a BigIp 3400 with software version BIG-IP 9.3.0 Build 194.1
- hoolio
Cirrostratus
If you want to persist a client based on the destination IP address, you can create a custom destination address affinity persistence profile with a /32 mask and add it to the virtual server. - lantuin_53437
Nimbostratus
Or do you want to hardcode the VIP to only use one specific pool member when it's a request for a specific destination IP address? If the latter, you'd probably need a specific virtual server or an iRule on the current virtual server.
- lantuin_53437
Nimbostratus
up - hoolio
Cirrostratus
If it's one specific destination IP address you want to handle differently, it might be most efficient to create a more specific virtual server with a destination of the destination IP. If you want to use the single, more general virtual server and an iRule, you could use IP::local_addr (Click here) in the CLIENT_ACCEPTED event to check the destination IP. You could then select the pool member using the pool command (Click here). The wiki pages for both commands have some relevant examples.
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