Forum Discussion

sudarshan_cheru's avatar
sudarshan_cheru
Icon for Altostratus rankAltostratus
Nov 24, 2015

irule for selecting the same pool for multiple vips

I have two virtual servers ans both are pointing to same single server (pool member) with same port like 10.10.10.10:8888. so i need a irule to select the these pool member. please suggest. thank you

 

12 Replies

    • sudarshan_cheru's avatar
      sudarshan_cheru
      Icon for Altostratus rankAltostratus
      yes i am having source persistence. i can use "Match Across Pools" but i dont want to differentiate with URI like { [HTTP::uri] starts_with "/a". i need if the connection hitting vip it should point to the irule pool and same to another vip should point the same irule pool
    • sudarshan_cheru's avatar
      sudarshan_cheru
      Icon for Altostratus rankAltostratus
      yes i am having source persistence. i can use "Match Across Pools" but i dont want to differentiate with URI like { [HTTP::uri] starts_with "/a". i need if the connection hitting vip it should point to the irule pool and same to another vip should point the same irule pool
  • but i dont want to differentiate with URI

     

    you mean example in sol5837, don't you? it is just an example (you do not need it).

     

    • sudarshan_cheru's avatar
      sudarshan_cheru
      Icon for Altostratus rankAltostratus
      ok.. can i have some thing like this when CLIENT_ACCEPTED { set DEFAULT_POOL [LB::server pool] }
    • nitass's avatar
      nitass
      Icon for Employee rankEmployee
      i think you do not need irule at all. just persistence profile with match across option could be enough.
    • sudarshan_cheru's avatar
      sudarshan_cheru
      Icon for Altostratus rankAltostratus
      yes nitass its good. we no need to go for irule. suggested as create pool for individual vip and mention the pool member. its like below vip name : atm.aaa.com-80-vip vip IP : 20.20.20.20:80 pool : atm_pool member : 10.10.10.10:8888 vip name : atm.aaa.com-8888-vip vip IP : 20.20.20.20:8888 pool : atm_pool member : 10.10.10.10:8888
  • but i dont want to differentiate with URI

     

    you mean example in sol5837, don't you? it is just an example (you do not need it).

     

    • sudarshan_cheru's avatar
      sudarshan_cheru
      Icon for Altostratus rankAltostratus
      ok.. can i have some thing like this when CLIENT_ACCEPTED { set DEFAULT_POOL [LB::server pool] }
    • nitass_89166's avatar
      nitass_89166
      Icon for Noctilucent rankNoctilucent
      i think you do not need irule at all. just persistence profile with match across option could be enough.
    • sudarshan_cheru's avatar
      sudarshan_cheru
      Icon for Altostratus rankAltostratus
      yes nitass its good. we no need to go for irule. suggested as create pool for individual vip and mention the pool member. its like below vip name : atm.aaa.com-80-vip vip IP : 20.20.20.20:80 pool : atm_pool member : 10.10.10.10:8888 vip name : atm.aaa.com-8888-vip vip IP : 20.20.20.20:8888 pool : atm_pool member : 10.10.10.10:8888