cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hosts file modification on Dynatrace Managed cluster host

Julius_Loman
DynaMight Guru
DynaMight Guru

Hi all,

during the installation of Dynatrace Managed cluster node, the /etc/hosts is modified (added hostname for the loopback IP address). This, albeit mentioned in the documentation, might break other services on the host. In this case, we need to have the hostname in /etc/hosts in the record for the primary IP address, not for the loopback address.

I see there is an option to disable that behaviour in /etc/dynatrace.conf:

HOSTS_ALTERING_ENABLED = true
  • Is this safe to disable?
  • What might be affected by turning this option to false?


TEMPEST a.s., Slovakia, Dynatrace Master Partner
3 REPLIES 3

ChadTurner
DynaMight Guru
DynaMight Guru

Hey @Dave M. do you have any insights into this? or know anyone who might be able to answer this question?

Personally prior to messing around with the Clustered nodes, I always check with support by opening a ticket up or reaching out to Chat.

-Chad

Julius_Loman
DynaMight Guru
DynaMight Guru

I got an answer from Dynatrace. This change was introduced because Cassandra could not start up properly on some Linux distributions when host entry was missing in /etc/hosts.

TEMPEST a.s., Slovakia, Dynatrace Master Partner

Ahh thanks for sharing your findings with us 🙂

-Chad