Forum Discussion

trx's avatar
Jul 11, 2011

Direct user to a pool member using IRules

Hello All,

Is there way to direct a user to a pool member?

 

 

 

ex)

 

 

 

VS --> Pool --> (memberA port 80, memberB port 8080).

 

 

 

In the request event I can point to a pool but never done a pool member before.

 

 

 

Any thoughts?

 

 

 

Thanks.

 

 

 

TRX

 

 

 

 

 

3 Replies

  • Please have a look at http://devcentral.f5.com/wiki/default.aspx/iRules/pool.html, using the syntax "pool [member []]"

     

     

    Please let us know if that is what you are looking for.

     

     

    Thanks,

     

    Ryan
  • The forums strip anything between angle brackets, but you can put spaces around the text to avoid this:

     

     

    pool [member < addr > [< port >]]

     

     

    Aaron
  • Thanks Aaron.

     

     

    This worked for me.

     

     

    pool <"member" port >

     

     

    Regards,

     

    TRX