Currently I have been putting the -Duser.timezone=CST parameter in the dtserver.ini files (depending which timezone the server is in). Can someone tell me if it is best practice to also add this to any other configuration files such as dtfrontendserver.ini, dtcollector.ini or dtanalysisserver.ini?
Answer by Patrick R. ·
We have always had to overwrite it for the dtserver, but I was unsure if it was necessary for dtfrondenserver. I think we will keep it consistent and do it to both.
Thanks,
Patrick
Can you tell me WHY you had to overwrite it? Did Java pick up the wrong timezone?
Hi Patrick,
There is no need to change time zones for collectors. Correlation of PurePaths is completely independent from timezones.
Timezone is for example relevant for time frame filters which are used in REST calls or within dashboards. To ensure consistency, please always configure the same timezone in dtserver.ini and dtfrontendserver.ini.
Instead of adapting the INI files I suggest to change the timezone for the operating system (Dynatrace gets the default timezone from the operating system)
Roland
Answer by Andreas G. ·
Hi Patrick
I think the Best Practice is to not overwrite the parameter unless there is a good reason. The JVM figures out on its own in which time zone your servers run. If you have a good reason to put a different timezone on the server then I suggest you do it for both dtserver and dtfrontendserver.
Andi
JANUARY 15, 3:00 PM GMT / 10:00 AM ET