<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Dynatrace Managed - How to fix inconsistent service user and group identifiers among cluster nodes? in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Managed-How-to-fix-inconsistent-service-user-and-group/m-p/203244#M729</link>
    <description>&lt;P&gt;&lt;SPAN&gt;How to change the system user on a specific cluster node?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; When this node was deployed a while back, it was deployed with a completely different user than the other two nodes (3-node cluster). First, if I want to change the user, can I just run the reconfigure command with the --system-user-id&amp;nbsp; parameter? I want to change this node from userA to userB, so I am wondering if I can run this command with userB's UID and GID would that accomplish this?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;If that is the case, do I need to manually update any files (chown command) for the new user, or does the reconfigure command do this automatically?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 18:04:17 GMT</pubDate>
    <dc:creator>Radoslaw_Szulgo</dc:creator>
    <dc:date>2023-01-23T18:04:17Z</dc:date>
    <item>
      <title>Dynatrace Managed - How to fix inconsistent service user and group identifiers among cluster nodes?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Managed-How-to-fix-inconsistent-service-user-and-group/m-p/203244#M729</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How to change the system user on a specific cluster node?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; When this node was deployed a while back, it was deployed with a completely different user than the other two nodes (3-node cluster). First, if I want to change the user, can I just run the reconfigure command with the --system-user-id&amp;nbsp; parameter? I want to change this node from userA to userB, so I am wondering if I can run this command with userB's UID and GID would that accomplish this?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;If that is the case, do I need to manually update any files (chown command) for the new user, or does the reconfigure command do this automatically?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 18:04:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Managed-How-to-fix-inconsistent-service-user-and-group/m-p/203244#M729</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2023-01-23T18:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed - How to fix inconsistent service user and group identifiers among cluster nodes?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Managed-How-to-fix-inconsistent-service-user-and-group/m-p/203245#M730</link>
      <description>&lt;P&gt;&lt;SPAN&gt;1. Stop Dynatrace Managed on a node:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo /opt/dynatrace-managed/launcher/dynatrace.sh stop&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;2. Change uid:gid in the OS&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;usermod -u 2005 dynatraceuser
groupmod -g 3000 dynatraceuser&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;more help: &lt;A href="https://www.cyberciti.biz/faq/linux-change-user-group-uid-gid-for-all-owned-files/" target="_blank"&gt;https://www.cyberciti.biz/faq/linux-change-user-group-uid-gid-for-all-owned-files/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Execute reconfigure with the system-user-id param&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/opt/dynatrace-managed/installer/reconfigure.sh --system-user-id &amp;lt;UID:GID&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Start dynatrace service:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo /opt/dynatrace-managed/launcher/dynatrace.sh start&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Are there any risks with permissions for files breaking?&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;oes this mean we also need to execute a recursive chown+chgrp to fix file permissions manually?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;No. Reconfigure script will change permissions automatically.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 18:09:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Managed-How-to-fix-inconsistent-service-user-and-group/m-p/203245#M730</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2023-01-23T18:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed - How to fix inconsistent service user and group identifiers among cluster nodes?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Managed-How-to-fix-inconsistent-service-user-and-group/m-p/206295#M771</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/25371"&gt;@Radoslaw_Szulgo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for this tip! I'll be having to do this next week in a client installation. I had checked in the documentation, and while it says all nodes should have the same uid:gid pair, it really doesn't say how to change that, if the Managed installation is unable to guarantee that in the first place. I would say that this tip of information should make it to the documentation.&lt;/P&gt;&lt;P&gt;I'll also join some notes that might be important for anyone reading this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The main need for maintaining consistent uid:gid is mainly due to the backup process. Not sure if other shareable needs also require this...&lt;/LI&gt;&lt;LI&gt;There might be a case where we need to change all uid/gid in all cluster nodes (eg. where none of the uid/gid being used is available in all nodes). Is there a preferred way of changing them all?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 05 Mar 2023 10:52:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Managed-How-to-fix-inconsistent-service-user-and-group/m-p/206295#M771</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2023-03-05T10:52:02Z</dc:date>
    </item>
  </channel>
</rss>

