In this example, the Mobile Applications Broker Server(MobileBroker) and Application Server (AppServer) reside on separate machines. The load balancer, MobileBalancer, balances only traffic between the clients and the MobileBroker virtual directory. On MobileBroker1, MobileBroker communicates directly with the AppServer virtual directory on AppServer1. On MobileBroker2, MobileBroker communicates directly with the AppServer virtual directory on AppServer2.
The Web.config settings for each MobileBroker directory are provided in the following table. Refer to the diagram above for hostname information.
Mobile Applications Broker Server |
MobileBroker Web.config Setting |
Value |
---|---|---|
MobileBroker1 |
ApplicationServer Url |
http:// AppServer1 /AppServer/service.asmx |
MobileBroker2 |
ApplicationServer Url |
http:// AppServer2 /AppServer/service.asmx |
Each load-balanced Mobile Applications Broker Server must have the same Virtual Directory name. For example:
-
http://server1.net/ MobileBroker
-
http://server2.net/ MobileBroker
In the above example, the resulting Mobile Applications Broker Server URL would be:
http://MobileBalancer/MobileBroker