Here is the thing.
We have 400 servers to install agents.
So we would automate this process by doing silent installation of those agents.
And using as a parameter the Address (hostname/IP) of the collectors.
Which parameter should we use?
I have reffered to this page on community, but could not find this info.
Answer by Renato P. ·
Using System Center, every Windows server managed by it Got Dynatrace Host Agent during software update/install.
To that to become possible we had created the following script and placed in a bat file. That bat file is loaded by system Center.
msiexec /passive /i dynatrace-agent-18.104.22.1685.msi ADDLOCAL="HostAgent" /quiet /norestart net stop "dynaTrace Host Agent 6.3" SET dthomeconfig=\dynaTrace\Dynatrace Agent 6.3\agent\conf\dthostagent.ini SET ProgramFiles=ProgramFiles if exist ProgramFiles%"(x86)"%dthomeconfig( ProgramFiles=ProgramFiles%"(x86)"%dthomeconfig ) ELSE( ProgramFiles=ProgramFiles%dthomeconfig ) del ProgramFiles%dthomeconfig echo Name %computername% >> ProgramFiles echo Server HostAgentCollector.corp:9998 >> ProgramFiles net start "dynaTrace Host Agent 6.3"
Where HostAgentCollector.corp:9998 is a DNS entry where is configured 2 IPs of Collectors from same Collector Group.
So we always points to one address and at the end we have 2 collectors.
Dynatrace server load balancing? 1 Answer