Forum Discussion

Krittikarn_Yomp's avatar
Krittikarn_Yomp
Icon for Nimbostratus rankNimbostratus
May 11, 2006

What is parameter to check handling connection server group?

What is parameter to check handling connection server group?

 

 

This system has 7 servers to handling traffic. I seperate all server to 2 group, G1 and G2. G1 is priority2 and G2 is priority1. I will create rule on F5 V4.x to share traffic following this condition. If G1 handling service connection over threshold, F5 would send traffic to G2.

 

 

--------------------------------------

 

if ( xxxxxxxx > threshold(num) ) {

 

use pool G1

 

} else {

 

use pool G2

 

}

 

--------------------------------------

 

 

xxxxxxxx is parameter to check handling connection server gruop.

 

 

Who is know answer help me please?

 

 

If you don't understand problem please ask more detail.
  • Martin_Machacek's avatar
    Martin_Machacek
    Historic F5 Account
    Unfortunately v4.x iRules do not allow to do what you want (which makes further discussion inappropriate for this forum). However, you may be able to achieve the desired behavior by combining pool member priority and per node connection limits. A sample configuration:

    
    pool priority_groups {
       min_active_members 1
       member 1.1.1.1:80 priority 10
       member 1.1.1.2:80 priority 10
       member 2.2.2.1:80
       member 2.2.2.2:80
    }
    node 1.1.1.1:80 limit 100
    node 1.1.1.2:80 limit 100

    In the above configuration, there must be at least 200 simultaneous connections to servers 1.1.1.1 and 1.1.1.2 before any connection is loadbalanced to server 2.2.2.1 and 2.2.2.2. Note that connection limits are global, which means that if servers 1.1.1.1 and 1.1.1.2 appear in other pools, connections received via those pools will be counted against the limit.