dnivelad | 2017-02-14 12:58:35 UTC | #1
Hi
We have a setup where we will use two bridge servers for fault tolerance. We will use a custom webservice-datadip connector. The endpointaddress is a required field. What options are there to configure this to follow the redundancy such that if the active server fails the endpoint of the passive server is reached automatically?
anon43424206 | 2017-02-14 16:30:42 UTC | #2
Interesting question! There isn't a provision in the connector itself to switch endpoints on failover, but there are a couple options.
First you could use an address relative to the Bridge Server host itself: either a "localhost" address (assuming the custom service is running locally) or a remote hostname that resolves via the Window's host file to a different address. That way the active Bridge connector will always resolve to the local service instance. However it won't be able to detect a failed/unreachable service endpoint unless the Bridge Server/Connector machine or process itself fails.
Option 2 would be configuring your custom service with a DNS or other load balancer in front. A combination of both options would be to run two instances of the custom service with relative addresses and add code to the custom service to proxy/route to multiple destination endpoints and possibly inspect the health of a back end service.
system | 2017-08-28 19:32:06 UTC | #3
This post was migrated from the old Developer Forum.
ref: 919