Forum Discussion

lantuin_53437's avatar
lantuin_53437
Icon for Nimbostratus rankNimbostratus
Jul 29, 2009

howto 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

4 Replies

  • 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.

     

     

    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.

     

     

    Aaron
  • 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.

     

     

     

     

    Yes, this is my case. How can I create the iRule?
  • 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.

     

     

    Aaron