Forum Discussion

Ram_T_S's avatar
Ram_T_S
Icon for Altostratus rankAltostratus
Sep 24, 2017

Can single VIP serve multiple application running on the same server and same port

Hi Team,

 

I'm having a three Sharepoint servers running with 5 applications running on 80 port. Ex:- sharepoint.com:80 , sharpoint2010.com:80, home.xyz.com:80, servicenow.com:80, pdev.com:80 In F5 only single VIP is configured for all 5 pools and in DNS server only this IP is mapped to all 5 applications. I'm not sure how the application server is correctly providing the page which the user requesting when all applications are resolving with the same VIP. Can somebody explain please.

 

2 Replies

  • Hi Guy,

    There wont be any problem. Beacuse F5 can balance and direct all requests to the defined pool by using the hostname header of the request. Firstly create pools with appropriate names like
    pool_sharepoint.name, pool_sharpoint2010.com, pool_home.xyz.com, pool_servicenow.com, pool_pdev.com
    Then Use this iRule :
    when HTTP_REQUEST {
    switch -glog [string tolower [HTTP::host]] {
    "sharepoint.com"
    {
    pool pool_sharepoint.com
    }
    "sharpoint2010.com"
    {
    pool pool_sharpoint2010.com
    }
    "home.xyz.com"
    {
    pool pool_home.xyz.com
    }
    "servicenow.com"
    {
    pool pool_servicenow.com
    }
    "pdev.com"
    {
    pool pool_pdev.com
    }
    }
    }
    
  • Are your applications all running on the same pool of IIS servers?

     

    If so, then the request "Host" header is being passed through the F5 to the IIS server, and IIS is selecting the appropriate application service.

     

    This is called "Virtual Hosting"