# Dynatrace Managed deployment for multiple DC

**URL:** <https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed\
**Created:** [September 8, 2017, 7:45am UTC](https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729 "2017-09-08T07:45:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![meenakshi\_p](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@meenakshi\_p](https://community.dynatrace.com/u/meenakshi_p)\
**Post date:** [September 8, 2017, 7:45am UTC](https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729/1 "2017-09-08T07:45:27Z")

</div>

Hi,

We have multiple DCs and we need to deploy Dynatrace Managed. I would like to understand the deployment scenario and H/W, SW requirement for the same. Say for example if I have 2 DC , it will require 2 Security GWs and 1 Managed Server (if we have connectivity between two DCs). Please validate my understanding.

---

<div class="post-metadata">

**Author:** ![Radu](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radu/32/23351_2.png) [@Radu](https://community.dynatrace.com/u/Radu)\
**Post date:** [September 8, 2017, 8:40am UTC](https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729/2 "2017-09-08T08:40:42Z")

</div>

Hi Meenakshi,

For agents running on-premise (same datacenter as your Dynatrace Managed server) you don’t need a security gateway. However, you will need a security gateway for each external datacenter to point those agents to it. Here’s a diagram which might help:

 ![15954-13895-sgw.jpg](https://global.discourse-cdn.com/dynatrace/original/2X/6/661027bee0b558f46fb949dec6135c971fd3906f.jpeg)

Regards,

Radu

---

<div class="post-metadata">

**Author:** ![meenakshi\_p](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@meenakshi\_p](https://community.dynatrace.com/u/meenakshi_p)\
**Post date:** [September 8, 2017, 12:58pm UTC](https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729/3 "2017-09-08T12:58:05Z")

</div>

Perfect!!! Got it , Thanks a lot

Regards,

Meenakshi Panwar

---

<div class="post-metadata">

**Author:** ![CharlesWu](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@CharlesWu](https://community.dynatrace.com/u/CharlesWu)\
**Post date:** [February 19, 2018, 7:16pm UTC](https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729/4 "2018-02-19T19:16:11Z")

</div>

In your diagram, if I build a DR Dynatrace Managed in Australian DC, and fail over Dynatrace Managed to Australian DC, all of agent in German will point to Australian one individually? So based on this, my understanding is for DR architecture, we better have a Security Gateway in each DC. Correct?

---

<div class="post-metadata">

**Author:** ![Radu](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radu/32/23351_2.png) [@Radu](https://community.dynatrace.com/u/Radu)\
**Post date:** [February 20, 2018, 10:59am UTC](https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729/5 "2018-02-20T10:59:36Z")

</div>

Hi Charles. You are correct, a gateway will be required to ensure optimal connectivity when failover happens.

---

<div class="post-metadata">

**Author:** ![gilgi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gilgi/32/11747_2.png) [@gilgi](https://community.dynatrace.com/u/gilgi)\
**Post date:** [February 26, 2018, 6:37am UTC](https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729/6 "2018-02-26T06:37:04Z")

</div>

[@Charles W.](https://answers.dynatrace.com/users/21396/view.html)

please note that documentation says you cannot have a Dynatrace cluster span across multiple timezones:

For Dynatrace Managed installations with more than one node, all nodes must:

- Use the same Linux distribution
- Have the same hardware configuration
- Be synchronized with NTP
- Be in the same timezone

So I’m not sure how this would actually work out for you if you are facing this situation 😞

Gil.

---

<div class="post-metadata">

**Author:** ![CharlesWu](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@CharlesWu](https://community.dynatrace.com/u/CharlesWu)\
**Post date:** [February 26, 2018, 1:27pm UTC](https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729/7 "2018-02-26T13:27:03Z")

</div>

@ Radu - Thanks Radu for your confirmation in DR architecture to have optimal connectivity by using a SG in both DCs. I was thinking to have a Global URL resolved by DNS which will be pointed by both SGs, so when a failover happens, we just need to manually change the DNS record, so SG will automatically re-point to the active one.

@ Gil - A Dynatrace cluster with multiple nodes act in a HA model, and these nodes are in same DC in a same timezone, so it should not be conflict with what are required in documentation.

I would think moving from Managed to SaaS would simply things. All we need are just 2 SGs. The only concern is the heavy traffic between SGs and SaaS.

---

<div class="post-metadata">

**Author:** ![CharlesWu](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@CharlesWu](https://community.dynatrace.com/u/CharlesWu)\
**Post date:** [August 9, 2018, 2:59pm UTC](https://community.dynatrace.com/t/dynatrace-managed-deployment-for-multiple-dc/7729/8 "2018-08-09T14:59:20Z")

</div>

Actually as I experimented, it doesn’t really work the way as expected in the diagram. OneAgent in a DC may not report to its local SGW in same DC, instead it reports to the cluster or SGW in a different DC, which seems that we have no control over it. OneAgent has all of clusters and SGWs in its configuration file automatically, and OneAgent will try to connect each of them. It would be good that if we can tell OneAgent to try the local SGW or cluster first, then remote cluster. I had to shut down all of SGWs to avoid confusion by OneAgents in multiple DCs. Hope Dynatrace Vendor can improve it.
