Forum Discussion

Bjoern_111017's avatar
Bjoern_111017
Icon for Nimbostratus rankNimbostratus
Apr 30, 2009

Rule to select second node when 1st node timeout

We have a virtual server configuration with a corresponding pool consisting of two members.

 

This pool has priority group activation activated so that connections are directed to pool member 1, if that pool member is available. Otherwise the connections are directed to pool member 2.

 

Is it possible to create an rule which additionally redirects a connection to pool member 2 when member 1 doesn't answer within i.e. 5 seconds?
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Which LTM version are you running?

     

     

    You could do this with a monitor. Set the monitor timeout to the longest time you want to give the higher priority pool member to answer. Set the interval to (timeout -1 second) / 3. Generally, the default of 5 second interval and 16 second timeout is a good balance between checking the pool members often enough to prevent a long failure period and not overwhelming them with too much traffic. You can also set the pool property for action on service down to reselect to achieve something similar on a single request basis.

     

     

    In 10.x you have the option for inband monitors. Or if you wanted to get fancy, you could use the after (Click here) command to reselect a new pool member.

     

     

    Aaron

     

     

    Aaron