Forum Discussion

Adnankhan's avatar
Adnankhan
Icon for Nimbostratus rankNimbostratus
Jan 30, 2018

Access specific node with irule

Hi Everyone,

 

Client needs to access a specific pool member. there are 4 pool members sitting behind a VS. i Have implemented a irule,

 

when HTTP_REQUEST { set member_param "server" set base_pool [LB::server pool] set member_role "" set uri [HTTP::uri] set data_group [HTTP::host] }

 

so that the client can add the server name/ip to the url and access the specific pool member. But it does not work.

 

i am not sure if i am doing something incorrect in this.

 

please give your valuable answers and suggestions.

 

  • You need to use node command to select a particular backend server based on your condition.

     

    https://devcentral.f5.com/wiki/iRules.node.ashx

     

    Causes the specified server node (IP address and port number) to be used directly, thus bypassing any load-balancing.

     

    Accessing specific server may be OK for test VIP but not for public VIPs.