Forum Discussion

François_Bégin_'s avatar
François_Bégin_
Icon for Nimbostratus rankNimbostratus
May 09, 2006

Use F5 to direct traffic to single node at any given time

Hi

 

 

I have a requirement to use the F5 to direct traffic to a single node in a pool of two.

 

 

Initially, traffic will always go to node A. If Node A fails, then traffic will go to Node B. When Node A comes back online though, the user does *not* want traffic to go to it. Traffic should continue to go to Node B unless that one fails.

 

 

In other words, we are implementing something similar to an active-passive clustered service with no automatically fail back.

 

 

The user does *not* want persistence. Sessions will be left to die when the active node goes down.

 

 

I found this in the forums but I am not sure if this will do the trick:

 

----

 

Apply to the VS a universal persistence profile using an iRule like this:

 

 

rule PriorityFailover {

 

when CLIENT_ACCEPTED { persist uie 1 } }

 

----

 

 

Any help would be appreciated

 

 

Francois

 

 

 

 

 

 

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    I believe that was the code that was recommend to achieve just what you're looking for. Give it a try and see if it achieves the desired goal.

     

     

    Colin