locked
SharePoint WebApplication publishing with NLB and 2 VIP's RRS feed

  • Question

  • Hi,

    we have 2 APP servers and 2 WFE servers and 1 Cluster DB server.

    in WFE1 and WFE2 I have installed the NLB and created the cluster with IP (10.0.2.1)

    in the above cluster I have created two VIP's

    VIP1:10.0.2.2--WFE1

    vip2: 10.0.2.3---WFE

    I have configured the 2 VIPS in 2WFE 's IIS bindings and configured the NLB and VIPS in AAM.

    when I am trying to open the site in browser it is throwing " Sorry Something Went Wrong" File Not Found

    I have created the Host Name under run->drivers->etc->Hosts

    " 10.0.2.1   sp.com"

    changed the iis bindings as ip:10.0.2.1 and given the host name sp.com in wfe's servers and in AAM:http://sp.com

    the site is opening in internet and intranet in servers only but not in users desk.

    how do I publish a sharepoint web application using NLB IP and 2 VIP's and it should be load balanced?

    Please suggest.

    Thanks And Regards

    Dileep Kumar

    Friday, March 28, 2014 8:44 PM

Answers

  • If you are using SharePoint, you should not have to configure IIS.  SharePoint will configure IIS to bind to a port or host headers depending on how you set up your web application (or extended it) in SharePoint.  You really shouldn't have to fiddle with IIS to get this running. 

    I'm also not understanding how you have two Virtual IPs for 1 web app.  You should have one virtual IP that is set up to send to both of your farm machines IPs.  Then you have 1 DNS record pointing sp.com to your VIP address, so when a person goes to http://sp.com they get directed to your VIP address, and then the NLB receives that request and directs the request to the least busy of the two IP addresses that are set up as part of that 1 VIP. 

    • Marked as answer by Lindali Friday, April 4, 2014 6:27 AM
    Tuesday, April 1, 2014 12:37 PM

All replies

  • Host files only apply to the servers, so you need to have a DNS record for your sharepoint url http://sp.com that points to the Load balanced IP address.  Otherwise from the client machines you will need to create host file entries for the NLB to your web app http://sp.com on each client the same way you did this on the servers

    <load balanced ip> <tab> sp.com

     
    Friday, March 28, 2014 8:55 PM
  • Thanks Alex,

    I have created the Host Entry under "run->drivers->etc->Hosts"

    ex: 10.0.2.1   sp.com

    and enter the http://Sp.com under the AAM in CA.

    Then also I am not able access to the Site.

    I am using 2 VIP'S these two IP's are Specified in NLB but do I need to use these 2 VIP's in IIS or should I use NLB?

    Please suggest.

    Tuesday, April 1, 2014 7:07 AM
  • If you are using SharePoint, you should not have to configure IIS.  SharePoint will configure IIS to bind to a port or host headers depending on how you set up your web application (or extended it) in SharePoint.  You really shouldn't have to fiddle with IIS to get this running. 

    I'm also not understanding how you have two Virtual IPs for 1 web app.  You should have one virtual IP that is set up to send to both of your farm machines IPs.  Then you have 1 DNS record pointing sp.com to your VIP address, so when a person goes to http://sp.com they get directed to your VIP address, and then the NLB receives that request and directs the request to the least busy of the two IP addresses that are set up as part of that 1 VIP. 

    • Marked as answer by Lindali Friday, April 4, 2014 6:27 AM
    Tuesday, April 1, 2014 12:37 PM