Forum Discussion

raunak_337416's avatar
raunak_337416
Icon for Nimbostratus rankNimbostratus
Nov 03, 2017

NEED ASSISTANCE TO UNDERSTAND HOW TO CREATE VS FOR 3 POOL

Hi I need assistance in understanding how to create the virtual server for below scenario:

 

VIP: https://10.10.28.63:30300

 

Members for pool::

 

10.10.19.22:40025 10.10.19.23:40025 10.10.19.24:40025

 

10.10.19.22:40125 10.10.19.23:40125 10.10.19.24:40125

 

10.10.19.22:40225 10.10.19.23:40225 10.10.19.24:40225

 

VIP is same and need to send traffic to same back-end box but on different ports.

 

17 Replies

  • P_K's avatar
    P_K
    Icon for Altostratus rankAltostratus

    What is the condition to send to different pools ?? Are you checking something on the request and redirecting them to diff pools?

     

  • Raunak, it appears that load balancing needs to be done at three stages in this case.Initial traffic would hit the VIP that you have as - https://10.10.28.63:30300. henceforth, you can create two more VIPs, for the rest of the pools. Traffic flow from one pool of servers to the other pool need to be configured on the servers.

     

    • raunak_337416's avatar
      raunak_337416
      Icon for Nimbostratus rankNimbostratus

      Hi Amy Thanks for your answer but can you please suggest how can I associate other VIP’s to one vip

       

  • Raunak, it appears that load balancing needs to be done at three stages in this case.Initial traffic would hit the VIP that you have as - https://10.10.28.63:30300. henceforth, you can create two more VIPs, for the rest of the pools. Traffic flow from one pool of servers to the other pool need to be configured on the servers.

     

    • raunak_337416's avatar
      raunak_337416
      Icon for Nimbostratus rankNimbostratus

      Hi Amy Thanks for your answer but can you please suggest how can I associate other VIP’s to one vip

       

  • Raunak, it appears that load balancing needs to be done at three stages in this case.Initial traffic would hit the VIP that you have as - https://10.10.28.63:30300. henceforth, you can create two more VIPs, for the rest of the pools. Traffic flow from one pool of servers to the other pool need to be configured on the servers.

     

    • raunak_337416's avatar
      raunak_337416
      Icon for Nimbostratus rankNimbostratus

      Hi Amy Thanks for your answer but can you please suggest how can I associate other VIP’s to one vip

       

  • Hi Pk Thanks for your response. I have checked with the application owners for this there is no condition like no URI’s, specific keywords. It’s basically one application calling other application VIP and the service on backend are listing on those 3 ports only. Thats why i was confused how the traffic will be load balanced and sent to 3 pools.

     

  • Maybe I am mis-understanding your requirements.

     

    You can make a pool with members that have the same IP address and different ports.

     

    my_pool

     

    10.10.19.22:40025

     

    10.10.19.23:40025

     

    10.10.19.24:40025

     

    10.10.19.22:40125

     

    10.10.19.23:40125

     

    10.10.19.24:40125

     

    10.10.19.22:40225

     

    10.10.19.23:40225

     

    10.10.19.24:40225

     

    Is this what you require?

     

  • @ Blakely, why would you create a pool with services running on multiple ports ? User traffic could get load balanced to members, thus getting the traffic flow for the application failed!

     

  • It depends - sometimes a service only supports a limited number of connections, and you can run multiple copies of the service on different ports on a single member. If each service is identical, then it does not matter which one services the request.

     

    In this case, I suspect that the different ports are different services and the services need to be in different pools, with some irule/Policy logic to direct traffic to the correct pool.