In this example, there are two Mobile Applications Broker Server s (MobileBrokers) and one Application Server (AppServer). Each MobileBroker directory resides on a separate machine (MobileBroker1 and MobileBroker2), and the AppServer directory resides on another machine (AppServer1). Each MobileBroker directory communicates directly with the AppServer directory on AppServer1. The load balancer, MobileBalancer, balances only traffic between the clients and MobileBroker directories. Traffic between the MobileBroker and AppServer directories is not load-balanced.
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:// AppServer1 /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