cancel
Showing results for 
Search instead for 
Did you mean: 

clone pool using irule

F5SJ_
Altocumulus
Altocumulus

All,

 

We have one vip which is redirecting traffic to multiple pools via irule.

 

rule:

 

when CLIENT_ACCEPTED {

    if { [class match [IP::client_addr] equals xxxx] } {

        pool xxxx

    } elseif { [class match [IP::client_addr] equals zzzz] } {

        pool zzzz

    } elseif { [class match [IP::client_addr] equals yyyy] } {

        pool yyyy

    } else {

        #log local0. "Default pool (drop): [IP::client_addr]-->[LB::server]" 

        drop

    }

 

}

 

In all the pools, pool member is common, now we are adding one more pool not redistribute the traffic to another server but to clone the connections on first server to the new server.

 

If we have one pool then we can achieve it via clone pool but I don't have that option here, can someone pls tell me what addition I can do to the existing irule to complete this request.

0 REPLIES 0