# Cluster Node installation and the OneAgent user

**URL:** <https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470>\
**Category:** Dynatrace Managed\
**Tags:** installation, dynatrace-managed\
**Created:** [November 30, 2017, 11:33am UTC](https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470 "2017-11-30T11:33:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gautier\_begin](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gautier\_begin](https://community.dynatrace.com/u/gautier_begin)\
**Post date:** [November 30, 2017, 11:33am UTC](https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470/1 "2017-11-30T11:33:18Z")

</div>

Hello,

During the installation of the cluster node, an oneagent is also installed.

Because any user used by any software must be created by our UNIX team, I’m using the argument "

system-user" . That’s working for the server installation, but not for the oneagent installed with. The dtuser is still created and used by the oneagent. How to get by ?

Regards,

---

<div class="post-metadata">

**Author:** ![gautier\_begin](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gautier\_begin](https://community.dynatrace.com/u/gautier_begin)\
**Post date:** [November 30, 2017, 12:12pm UTC](https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470/2 "2017-11-30T12:12:39Z")

</div>

Can we install the server without the OneAgent, then install it with custom arguments using the installer script download from the

SELFMON\_AGENT\_DOWNLOAD\_URL

parameter in the server installer config file ?

---

<div class="post-metadata">

**Author:** ![kristof\_renders](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kristof_renders/32/19857_2.png) [@kristof\_renders](https://community.dynatrace.com/u/kristof_renders)\
**Post date:** [November 30, 2017, 12:17pm UTC](https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470/3 "2017-11-30T12:17:46Z")

</div>

Hi Gautier,

You can disable the agent installation by adding the following parameter to the installer:

```auto
--install-agent <on/off> enable/disable installation of self-monitoring
                             agent. Default is on

```

Not sure about being able to install it after the fact, maybe somebody else can answer that one.

KR,  
Kristof

---

<div class="post-metadata">

**Author:** ![gautier\_begin](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gautier\_begin](https://community.dynatrace.com/u/gautier_begin)\
**Post date:** [December 5, 2017, 8:36am UTC](https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470/4 "2017-12-05T08:36:17Z")

</div>

Hi Kris,

On already installed node, how to remove the agent ?

Regards,

---

<div class="post-metadata">

**Author:** ![gautier\_begin](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gautier\_begin](https://community.dynatrace.com/u/gautier_begin)\
**Post date:** [December 6, 2017, 12:28pm UTC](https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470/5 "2017-12-06T12:28:43Z")

</div>

Hello,

Reinstallation of the node on the same machine, same address IP drives to one issue with the cassandra DB which doesn’t want to start.

You get this error message:

ERROR [main] 2017-12-06 12:20:57,938 CassandraDaemon.java:583 - Exception encountered during startup  
java.lang.RuntimeException: A node with address /10.137.10.95 already exists, cancelling join. Use cassandra.replace\_address if you want to replace this node.  
at org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:544) ~[apache-cassandra-2.1.18.jar:2.1.18]  
at org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:794) ~[apache-cassandra-2.1.18.jar:2.1.18]  
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:726) ~[apache-cassandra-2.1.18.jar:2.1.18]  
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:617) ~[apache-cassandra-2.1.18.jar:2.1.18]  
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:391) [apache-cassandra-2.1.18.jar:2.1.18]  
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:566) [apache-cassandra-2.1.18.jar:2.1.18

It can be corrected using this workaround:

> **[Replace a dead node in Cassandra](https://blog.alteroot.org/articles/2014-03-12/replace-a-dead-node-in-cassandra.html)**
>
> Note (June 2020): this article is old and not really revelant anymore. If you use a modern version of cassandra, look at -Dcassandra.replace\_address\_first\_boot option !

Add in the

cassandra-env.sh

file these lines:

LOCAL\_IP=$( nslookup  
$(hostname) | awk -F’: ’ ‘{if ( $1 == “Address”){print $2}}’ )

JVM\_OPTS=“$JVM\_OPTS  
-Dcassandra.replace\_address=$LOCAL\_IP”

Stop/start Cassandra

Remove the lines in  
./server/bin/cassandra/conf/cassandra-env.sh

Stop/start Cassandra

Stop/start the server

- Resinstallation  
finished

Regards,

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [September 24, 2020, 1:13pm UTC](https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470/6 "2020-09-24T13:13:54Z")

</div>

Unfortunately the (re)install after question has not been answered.  
I started a new topic on this [Install OneAgent on Managed Cluster node](https://community.dynatrace.com/post/117123)

But am in contact with support now over this,

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 5, 2020, 9:42am UTC](https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470/7 "2020-10-05T09:42:10Z")

</div>

just run the uninstaller of OneAgent from /opt/dynatrace/oneagent

or run ./reconfigure with

```auto
--install-agent off

```

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 5, 2020, 9:43am UTC](https://community.dynatrace.com/t/cluster-node-installation-and-the-oneagent-user/9470/8 "2020-10-05T09:43:34Z")

</div>

To run OneAgent with a different user, run installer with:

--agent-system-user user:group
