question

Josep C. avatar image
Josep C. asked ·

Multiple DT servers in the same virtual machine

Hi all,

I want to know if it's possible and, if the answer is "yes", if it's recommendet to install two instances of Dynatrace Server on the same machine.

My customer is asking that to reuse the VM with a DT 6.5 Production Edition and install on thant VN another DT server but in this case Test Center Edition.

Thanks for your help!

Josep Maria

appmonconfiguration6.5productionlicense
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Mike L. avatar image
Mike L. answered ·

Running more than one server instance on the same OS is not supported, but you can run more than one collector instance per OS. See this link: https://community.dynatrace.com/community/display/...

Mike

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Dave M. avatar image
Dave M. answered ·

You can run multiple servers on one host, but it is definitely not recommended, and the documentation (if I remember correctly) in some places implies it is not supported, but I am not sure if that is strictly true. The trick is the "portoffset" setting. I have used 100 for this value for a customer on Windows with success. It should be pretty easy on *nix, but on Windows you have to edit the registry for the server service, as shown in my notes below for v6.3:

Find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dynaTrace Server 6.3.

In key "ImagePath" add "-portoffset 100".

I would open a case with support to insure they will support what you are doing and to get advice.

You can have them refer to SUPDT-21105, which may help.

If the portoffset works, you will see the affect ports in the server.config.xml file reflect the new values, so port 2021 will become 2121, for example.

EDIT: My comments above assume different versions of the DT server on the same host. Running the same version may actually be unsupported, so I would check with support on that. I believe in Windows it will be difficult or impossible to install the same version on the same host, but on *nix it may be not much of an issue.

HTH,

dave

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Thanks Dave! Mi customer has chosen the option to install the second server in other VM.

Regards!

0 Likes 0 · ·
Josep C. avatar image
Josep C. answered ·

Hi,

my cistomer want to know the same for collectors, it's possible and, if the answer is "yes", if it's recommendet to install two instances of Dynatrace Collector on the same machine.

Regards!

Josep Maria

2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Hello Josep,

It is perfectly possible to install two collectors on the same server.

However, I am not sure if it is a best practice to do that. A single collector can already have a lot of connected agents, also recent AppMon versions can handle more connected agents. We also noticed that a collector immediately takes a lot of memory whithout having one agent connected, so spreading the agents over two collectors on the same server while one collector could handle them, makes no sense. Also operations can be a bit more tricky (for example major AppMon updates)

I should always size one (virtual)server for a single collector.

If you somehow still want two collectors one a single server you can do it in this way:

1)

Install a first collector (by using one of the AppMon installers for example)

2) Go yo your AppMon home folder

...\dynaTrace 6.5>

3) Execute command

dtcollector -service install -instance CollectorName -listen Collectorhost:port -server AppMonServer:Port

Remark:

If you want to know / monitor the collector health you can use AppMon self monitoring measures (CPU, memory, garbage collection activations, bytes send/received, ...). You also can find extra info on AppMon sizing in below webinar:

https://www.youtube.com/watch?v=730V3qRD5W4

Regards

0 Likes 0 · ·

Thanks Steven, i will watch it!

0 Likes 0 · ·
Josep C. avatar image
Josep C. answered ·

Thanks Michael!

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Tarjei U. avatar image
Tarjei U. answered ·

What about if you dockerize the server instances? I guess that will be possible?

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Yup, then it would be possible. It is probably easier to put down a second vm server though if you don't have experience with Docker.

0 Likes 0 · ·