13 Jun 2018 04:05 PM - last edited on 29 Sep 2022 12:56 PM by MaciejNeumann
hi All,
Am trying to understand the differences between installing OneAgents on the Docker Host and OneAgent as a Docker Container.
https://www.dynatrace.com/support/help/infrastruct...
But it's not clear about what are the advantages and disadvatages with both the approaches.
Thanks,
Sree
Solved! Go to Solution.
13 Jun 2018 06:02 PM
Hi Sree,
At the bottom of that page you will see the Limitations with deploying the agent as a Docker container rather than on the host. I am not too familiar with the advantages/if any of deploying the agent as a container vs on the host except for maybe
Hope This Helps
NJ
13 Jun 2018 08:42 PM
Thanks NJ!
We are in Analysis phase of migrating from Appmon in on-Premise to Cloud and moving to Dynatrace Managed solution
1. Auto scaling up and scaling down of one agents with increase/decrease in number Containers with Application servers during peak days.
Which one is ideally best suited/suggested by dynatrace for Cloud Environments for a Managed Dynatrace Solution.
Thanks,
Sree
13 Jun 2018 10:12 PM
Hi Sree,
I think both will work fine for your use case. I prefer running the OneAgent on the host because of the ability to monitor non-containerized processes and there is no startup dependency for the Oneagent container and application containers. Also, I will consider which one is more convenient for you from an agent deployment/maintenance/upgrade perspective. That should be one of the primary factors for your decision
Hope This Helps
NJ
16 Jun 2018 06:33 AM
Adding to NJ's answer, one should always choose, if possible, regular installation using full-stack installer on a Docker host as this deployment model offers broader set of functionalities.
Convenience of (initial) deployment may be also achieved by leveraging a deployment automation tool like Ansible, Chef or Puppet. After the OneAgent is installed on a host it will update automatically. So I'd say deployment as a Docker container is rather disadvantageous and mostly targeted at dynamic environments where an orchestration platform like Kubernetes or OSCP is already in place and used to manage all software deployments (including OneAgent).
One further thing needs to be clarified, the permissions of OneAgent deployed as a Docker container are essentially the same as if the agent was installed directly on the host. Container with OneAgent needs to be started with privileged option, which is equivalent to granting it root access to underlying OS. For details, see https://www.dynatrace.com/support/help/shortlink/oneagent-docker#security-implications
Regards,
Tomasz