<?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 Define a single remote server for OneAgent through oneagentctl command in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115894#M1358</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my servers, when I use the command ./oneagentctl --get-server it returns multiple servers and --set-server="" does not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I define a single remote server for my One Agent ?&lt;/P&gt;
&lt;PRE&gt;#./oneagentctl --get-server&lt;BR /&gt;https://dynatraceactivegate:9999/communication;https://dynatracecluster1:9999/communication;https://dynatracecluster2:9999/communication&lt;BR /&gt;&lt;BR /&gt;#./oneagentctl --set-server="" --restart-service&lt;BR /&gt;Stopping OneAgent service&lt;BR /&gt;Server address changed to ""&lt;BR /&gt;Starting OneAgent service&lt;BR /&gt;&lt;BR /&gt;#./oneagentctl --get-server&lt;BR /&gt;https://dynatraceactivegate:9999/communication;https://dynatracecluster1:9999/communication;https://dynatracecluster2:9999/communication&lt;BR /&gt;&lt;BR /&gt;#./oneagentctl --set-server="https://dynatraceactivegate.preprod:9999" --restart-service&lt;BR /&gt;Stopping OneAgent service&lt;BR /&gt;Server address changed to "https://dynatraceactivegate.preprod:9999"&lt;BR /&gt;Starting OneAgent service&lt;BR /&gt;&lt;BR /&gt;#./oneagentctl --get-server&lt;BR /&gt;https://dynatraceactivegate:9999/communication;https://dynatracecluster1:9999/communication;https://dynatracecluster2:9999/communication;https://dynatraceactivegate.preprod:9999&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2023 09:18:39 GMT</pubDate>
    <dc:creator>mikael_le-bras</dc:creator>
    <dc:date>2023-05-25T09:18:39Z</dc:date>
    <item>
      <title>Define a single remote server for OneAgent through oneagentctl command</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115894#M1358</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my servers, when I use the command ./oneagentctl --get-server it returns multiple servers and --set-server="" does not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I define a single remote server for my One Agent ?&lt;/P&gt;
&lt;PRE&gt;#./oneagentctl --get-server&lt;BR /&gt;https://dynatraceactivegate:9999/communication;https://dynatracecluster1:9999/communication;https://dynatracecluster2:9999/communication&lt;BR /&gt;&lt;BR /&gt;#./oneagentctl --set-server="" --restart-service&lt;BR /&gt;Stopping OneAgent service&lt;BR /&gt;Server address changed to ""&lt;BR /&gt;Starting OneAgent service&lt;BR /&gt;&lt;BR /&gt;#./oneagentctl --get-server&lt;BR /&gt;https://dynatraceactivegate:9999/communication;https://dynatracecluster1:9999/communication;https://dynatracecluster2:9999/communication&lt;BR /&gt;&lt;BR /&gt;#./oneagentctl --set-server="https://dynatraceactivegate.preprod:9999" --restart-service&lt;BR /&gt;Stopping OneAgent service&lt;BR /&gt;Server address changed to "https://dynatraceactivegate.preprod:9999"&lt;BR /&gt;Starting OneAgent service&lt;BR /&gt;&lt;BR /&gt;#./oneagentctl --get-server&lt;BR /&gt;https://dynatraceactivegate:9999/communication;https://dynatracecluster1:9999/communication;https://dynatracecluster2:9999/communication;https://dynatraceactivegate.preprod:9999&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 09:18:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115894#M1358</guid>
      <dc:creator>mikael_le-bras</dc:creator>
      <dc:date>2023-05-25T09:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: oneagentctl set server</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115895#M1359</link>
      <description>&lt;P&gt;From what I have gathered as we see the --set-server adds it to the endpoints but the cluster is still going to be keeping the agent up to date with the available endpoints in order to improve availability. There doesn't appear to be a supported way to manually configure a single endpoint like what you're looking for.&lt;/P&gt;&lt;P&gt;What would be the recommended/supported way to approach this now would be to make use of network zones, then you can add the preprod activegate to one zone and set the network zone on these agents to the same one. Then they'll use that endpoint to communicate.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 15:18:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115895#M1359</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2020-08-14T15:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: oneagentctl set server</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115896#M1360</link>
      <description>&lt;P&gt;Hello James,&lt;BR /&gt;&lt;BR /&gt;Thank you for your attention.&lt;BR /&gt;&lt;BR /&gt;I would like to clean up the endpoints using the --set-server because the One Agent has no access to the other endpoints.&lt;BR /&gt;&lt;BR /&gt;I already activate the network zones, it works like a charm.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 06:18:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115896#M1360</guid>
      <dc:creator>mikael_le-bras</dc:creator>
      <dc:date>2020-08-17T06:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: oneagentctl set server</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115897#M1361</link>
      <description>&lt;P&gt;Hi Mikael,&lt;/P&gt;&lt;P&gt;oneagentctl --set-server overrides the endpoint stored in the configuration file, allowing you to specify where the agent should connect to upon next connection attempt.&lt;/P&gt;&lt;P&gt;However, once the agent establishes a connection it will fetch the list of endpoints from the cluster and override the entry in config file. It's not possible to permanently override / extend the list of endpoints agent-side.&lt;/P&gt;&lt;P&gt;Considering your use-case, the network zones are the way to go.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 05:02:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115897#M1361</guid>
      <dc:creator>Tomasz_Gajger</dc:creator>
      <dc:date>2020-08-19T05:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: oneagentctl set server</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115898#M1362</link>
      <description>Hi Tomasz,&lt;BR /&gt;&lt;BR /&gt;Do you know where the file modified by oneagentctl --set-server is located?&lt;BR /&gt;&lt;BR /&gt;Agent cannot establish connection to cluster members, only one ActiveGate is available for this agent.&lt;BR /&gt;&lt;BR /&gt;I am already using network zones, but the agent sends DNS queries to members every second.</description>
      <pubDate>Wed, 19 Aug 2020 15:32:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115898#M1362</guid>
      <dc:creator>mikael_le-bras</dc:creator>
      <dc:date>2020-08-19T15:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: oneagentctl set server</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115899#M1363</link>
      <description>&lt;P&gt;The file location, and the file contents, are an implementation detail.&lt;/P&gt;&lt;P&gt;You can query the list of stored endpoints using --get-server parameter.&lt;/P&gt;&lt;P&gt;I'm not sure if the agent continuously attempting connection to non-working endpoints is an expected behavior. I'd suggest that you open a support ticket or use in-product chat to ask for clarification.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 16:08:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Define-a-single-remote-server-for-OneAgent-through-oneagentctl/m-p/115899#M1363</guid>
      <dc:creator>Tomasz_Gajger</dc:creator>
      <dc:date>2020-08-19T16:08:19Z</dc:date>
    </item>
  </channel>
</rss>

