In this example, the Web Server (AppNet) and Application Server (AppServer) are on the same machine. The load balancer, ecmWebServer, balances only traffic between the clients and AppNet. On both ecmWeb1 and ecmWeb2, AppNet communicates directly with the local AppServer. Traffic between the AppNet and AppServer directories is not load-balanced.
Web.config settings for each AppNet directory are provided in the following table. Because AppNet is on the same machine as AppServer, AppNet can specify localhost in the ApplicationServer Url. Refer to the diagram above for more hostname information.
Machine |
AppNet Web.config Setting |
Value |
---|---|---|
ecmWeb1 |
ApplicationServer Url |
http://localhost/AppServer/service.rem1 |
dmsVirtualRoot |
http://ecmWebServer/AppNet |
|
ecmWeb2 |
ApplicationServer Url |
http://localhost/AppServer/service.rem |
dmsVirtualRoot |
http://ecmWebServer/AppNet |