# Load balancer behavior across multiple DCs

**URL:** <https://forums.suse.com/t/load-balancer-behavior-across-multiple-dcs/1157>\
**Category:** Rancher 1.x\
**Created:** [December 3, 2015, 10:02am UTC](https://forums.suse.com/t/load-balancer-behavior-across-multiple-dcs/1157 "2015-12-03T10:02:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rendle](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/rendle/32/488_2.png) [@rendle](https://forums.suse.com/u/rendle)\
**Post date:** [December 3, 2015, 10:02am UTC](https://forums.suse.com/t/load-balancer-behavior-across-multiple-dcs/1157/1 "2015-12-03T10:02:31Z")

</div>

I’m hoping to set up a Rancher environment spanning ~20 Microsoft Azure datacenters, all managed from a single Rancher Server.

Requests may be routed to a specific datacenter using a DNS prefix, e.g. `northeu-analytics.cloudlens.io` would route specifically to the North Europe datacenter (using Azure Traffic Manager).

So my question is, does the `rancher/load-balancer-service` on a particular Host always route requests internally to services running on that host, or could it randomly route to any `analytics` container across the entire multi-DC cluster?

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [December 3, 2015, 3:41pm UTC](https://forums.suse.com/t/load-balancer-behavior-across-multiple-dcs/1157/2 "2015-12-03T15:41:11Z")

</div>

The balancer send traffic round-robin to all the containers of the target service(s). There is no preference for the same host or datacenter today.

---

<div class="post-metadata">

**Author:** ![rendle](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/rendle/32/488_2.png) [@rendle](https://forums.suse.com/u/rendle)\
**Post date:** [December 4, 2015, 11:09am UTC](https://forums.suse.com/t/load-balancer-behavior-across-multiple-dcs/1157/3 "2015-12-04T11:09:50Z")

</div>

Ah, that’s a shame. I’ll raise an issue on GitHub… [https://github.com/rancher/rancher/issues/2914](https://github.com/rancher/rancher/issues/2914)
