We used root right to install the Dynatrace cluster, So, we would like to change root rights on the Dynatrace cluster after installation, We can change it?
However, we tried to restart the Dynatrace service by non-root right but isn't cannot restart the Dynatrace service.
Solved! Go to Solution.
If, we would like to change the root right specifically the directory of Dynatrace to non-root right.
Can we change it? And after changed root right to non-root right, is it affecting Dynatrace? such as when Dynatrace has new versions update and restart service of Dynatrace cluster.
And, could you please provide the Dynatrace directory path to ours? because we saw the Dynatrace directory path as below.
Installation path (binaries): /opt/dynatrace-managed
Dynatrace Server data files: /var/opt/dynatrace-managed
We don't know another directory path of the Dynatrace cluster.
You have the default paths correct unless you installed Dynatrace Managed in different directories. There is also OneAgent installed (defaults to /opt/dynatrace/oneagent ). This OA reports to Dynatrace, not to your cluster.
Normally the ownership of these directories is the Dynatrace user:
[root@dynatrace-managed ~]# ls -ld /opt/dynatrace-managed /var/opt/dynatrace-managed/ drwxr-xr-x. 17 dynatrace dynatrace 4096 Sep 8 02:06 /opt/dynatrace-managed drwxr-xr-x. 12 dynatrace dynatrace 4096 Sep 8 02:04 /var/opt/dynatrace-managed/
Do you have any other ownership for the directories? In that case, these problems will be likely fixed by running reconfigure.sh script. I'd not recommend changing the ownership manually.
There is also /etc/dynatrace.conf file which contains installation settings and which is used in upgrade procedures. This file is owned by root.
Maybe @Radoslaw_Szulgo has a better answer.