Forum Discussion

Vishal_96707's avatar
Vishal_96707
Icon for Nimbostratus rankNimbostratus
Aug 08, 2009

Different Profile selection for specific host via iRule

 

App Server -> Behind LTM

 

Database Server -> Production LAN

 

 

We want to have indefinte connection (no timeout) from few servers behind LTM to the Database servers which are on the production LAN. We have created Outbound route virtual server (Forwarding IP with fastL4 profile) which is allowing outbound traffic for the servers behind LTM. I can see an option of using "Indefinite" in the profile which will not Idle Timeout the connection after 300 sec. Is there any way I can use a different profile (with no timeout) for specific host? I dont want to have no timeout for all the host as the connections will never terminate on LTM and might have performance degradation or any other issues. I can think of using classmatch to take care of selective host however I am not sure of attaching specific profile. I found Profile command in the wiki however there are very few examples. This is affecting our production deployment and I would really appreciate if some one help me ASAP.

 

 

Thanks in advance,

 

Vishal
  • Thanks Matt,

     

     

    Can you please explain it. I am not expert in LTM or iRules. Currently we have outbound VIP (forwarding) which is listening for 0.0.0.0/0. Should i use the same classmatch in the iRule? How do i match the upstream/destination host? Where can i find info about VIP targetting? Also is there any way i can clear out the connections since the connection will never idle timout and might end up eating all the connections?
  • Can someone please explain VIP targeting mentioned by Matt?

     

     

    I have tried with a Database specific VIP :1521 and no timeout. I was not comfortable with this approach since the connection would never expire.

     

     

    -Vishal