# OneAgent in Servers with DB2, but only running as cloud-infra (instead of full-stack)

**URL:** <https://community.dynatrace.com/t/oneagent-in-servers-with-db2-but-only-running-as-cloud-infra-instead-of-full-stack/20609>\
**Category:** Open Q&A\
**Tags:** databases\
**Created:** [October 21, 2020, 2:51am UTC](https://community.dynatrace.com/t/oneagent-in-servers-with-db2-but-only-running-as-cloud-infra-instead-of-full-stack/20609 "2020-10-21T02:51:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![waikeat\_chan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/waikeat_chan/32/33405_2.png) [@waikeat\_chan](https://community.dynatrace.com/u/waikeat_chan)\
**Post date:** [October 21, 2020, 2:51am UTC](https://community.dynatrace.com/t/oneagent-in-servers-with-db2-but-only-running-as-cloud-infra-instead-of-full-stack/20609/1 "2020-10-21T02:51:08Z")

</div>

As mentioned in here ([Troubleshooting OneAgent installation — Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/troubleshooting/troubleshoot-oneagent-installation/#expand-873what-can-i-do-when-oneagent-blocks-a-port-i-need)) and here ([https://community.dynatrace.com/spaces/482/dynatrace-open-qa/questions/190238/oneagent-vs-db2.html](https://community.dynatrace.com/spaces/482/dynatrace-open-qa/questions/190238/oneagent-vs-db2.html)),

it is good to edit the watchdog port-range for the servers that are running DB2 to avoid port-conflict.

While this definitely is a concern if the OneAgent inside it is running as full-stack, I am wondering how about OneAgent in full-stack? do I still need to do it? Is this still a concern if OneAgent is running only in cloud-infra mode?

Best Regards,  
Wai Keat

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [October 21, 2020, 3:44am UTC](https://community.dynatrace.com/t/oneagent-in-servers-with-db2-but-only-running-as-cloud-infra-instead-of-full-stack/20609/2 "2020-10-21T03:44:34Z")

</div>

Hi Wai,

In this scenario you described, you do need to modify the port range for the watchdog in both cloud-infrastructure and full-stack modes of OneAgent.

Andrew

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 21, 2020, 6:07am UTC](https://community.dynatrace.com/t/oneagent-in-servers-with-db2-but-only-running-as-cloud-infra-instead-of-full-stack/20609/3 "2020-10-21T06:07:16Z")

</div>

Just check if your DB2 listener is running on 50000 - that’s just the default port, but I’ve seen in many environments listener configured on a different port. In that case you don’t need to reconfigure the watchdog.
