How to make each Active-Sync run on its own Physical Server
Hi Everybody!!
I have an interesting request, not sure if it can be done.
We currently have IDM v5 running on four physical servers each running application server v7.
We have two identical Active Sync resource adapters which run at the same time for load balancing.
I was wondering if it is possible to force each adapter to run on its own server and use another server if the first one fails?
Thanking you all in advanced.
# 1
There is a way to do this, but you'll have to test to be sure it works for you because the activeSync handling changed between 5.x and 6.x.
In the Waveset.properties file there is a setting where you can define this.
The default value is
sources.hosts=localhost
If you had two resources (ActiveSyncA and ActiveSyncB) that you want to run on servers 1 and 2 (respectively) you could do this:
sources.ActiveSyncA.hosts=server1
sources.ActiveSyncB.hosts=server2
If you wanted to utilize all gour servers you could do it like so:
sources.ActiveSyncA.hosts=server1,server3
sources.ActiveSyncB.hosts=server2,server4
You could specify Startup Type as Automatic in the resource definition and it should start on either of the defined servers when the domain is bounced. Automatic with Failover would (presumably) start it on the other server if one of them went down.
If this is important functionality to you, then I'd highly recommend migrating to 6.x or 7.x because the ActiveSync stability and failover was much improved (IMO).
Jason