Forum Discussion

ChrisJackel_103's avatar
ChrisJackel_103
Icon for Nimbostratus rankNimbostratus
Apr 25, 2007

Clone pool not receiving traffic

I am trying to use a basic clone pool iRule (v.9.1.0) and it doesn't appear to be functioning.

 

 

The rule:

 

 

when HTTP_REQUEST {

 

if { [HTTP::uri] contains "test" } {

 

pool test.domain.com_http

 

clone pool test.domain.com_clone_http

 

} else {

 

pool test.domain.com_http

 

}

 

}

 

 

This is straight for the iRule wiki. The VS uses a standard http profile. No traffic is going to the second pool, and yet I can see in the stats that the iRule is being evaluated each time the VS is hit.

 

 

I have tried a bunch of variations on this, simpler and more complicated, and still nothing hits the second pool. I have tried switching the pools just to make sure, and if I send to the _clone_http pool directly it works, so I don't think anything is actually broken.

 

 

They are not directly connected, so I don't think I can use the clone functionality of the VS, although if there are other ways to take advantage of that I'd be interested.

 

 

Any help is appreciated. I'm also not sure if I should expect to see sessions on the clone pool if it IS working (if it doesn't consider it a true 'session'), but I can tell from the database that the app is not being hit.

 

 

Thanks.
  • Update:

     

     

    After talking with the nice folks at support they clued me in that this won't do what I had hoped. The clone pool will pass traffic straight through to an IDS, but won't duplicate a session. This is a common misconception, apparently a lot of people try to do what I did.

     

     

    What I am trying to do is loadtest a server with traffic from the live VS, without affecting the live pool. Ideally, a request from the client would go to both A and B, but the response from B should never return to the client. Is there a way to do this?