<?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 Re: Different management port for forwarders and indexer cluster in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Different-management-port-for-forwarders-and-indexer-cluster/m-p/327249#M60789</link>
    <description>&lt;P&gt;tl;dr YES&lt;/P&gt;

&lt;P&gt;Any Splunk instance can use any management port that you like - they don't need to be all the same. However, if you want to connect to the cluster master node or the deployment server, etc., you will need to know what management port to use for that instance.&lt;/P&gt;

&lt;P&gt;DO NOT USE THE MGMT PORT FOR FORWARDING. Indexers must be set up with a receiving port.  The Splunk-to-Splunk forwarding of data uses that port, not the mgmt port.&lt;/P&gt;

&lt;P&gt;In outputs.conf, you &lt;EM&gt;can&lt;/EM&gt; give a fixed list of servers that includes the receiving port, eg.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;server=indexer1.myco.com:9997,10.2.15.201:9998
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR you can use &lt;STRONG&gt;indexer discovery&lt;/STRONG&gt; if you are using indexer clustering. When the forwarder talks to the cluster master node, it is not sending data. Instead it is querying the master node for the server list. So the forwarder must contact the master node on its management port. For example, if the cluster master node is 10.2.15.200 and its mgmt port is 8089, then outputs.conf on the forwarder should contain&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;master_uri = &lt;A href="https://10.2.15.200:8089" target="test_blank"&gt;https://10.2.15.200:8089&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;HTH&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2017 15:24:20 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2017-06-05T15:24:20Z</dc:date>
    <item>
      <title>Different management port for forwarders and indexer cluster</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-management-port-for-forwarders-and-indexer-cluster/m-p/327248#M60788</link>
      <description>&lt;P&gt;Can we use different management ports on Universal forwarders and Indexer cluster?&lt;BR /&gt;
Since we will also be using indexer discovery on the forwarders, is it possible that forwarders can continue using the default management port 8089 while the indexers can be setup to use 8090?&lt;BR /&gt;
If yes, what should be the management uri in the forwarder's outputs.conf? Should the port be 8089 (mgmt port of the forwarder) or 8090 (mgmt port of the cluster master) ? I think it's the latter but I want to get that confirmed.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 15:10:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-management-port-for-forwarders-and-indexer-cluster/m-p/327248#M60788</guid>
      <dc:creator>tusharsaran1</dc:creator>
      <dc:date>2017-06-05T15:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Different management port for forwarders and indexer cluster</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-management-port-for-forwarders-and-indexer-cluster/m-p/327249#M60789</link>
      <description>&lt;P&gt;tl;dr YES&lt;/P&gt;

&lt;P&gt;Any Splunk instance can use any management port that you like - they don't need to be all the same. However, if you want to connect to the cluster master node or the deployment server, etc., you will need to know what management port to use for that instance.&lt;/P&gt;

&lt;P&gt;DO NOT USE THE MGMT PORT FOR FORWARDING. Indexers must be set up with a receiving port.  The Splunk-to-Splunk forwarding of data uses that port, not the mgmt port.&lt;/P&gt;

&lt;P&gt;In outputs.conf, you &lt;EM&gt;can&lt;/EM&gt; give a fixed list of servers that includes the receiving port, eg.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;server=indexer1.myco.com:9997,10.2.15.201:9998
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR you can use &lt;STRONG&gt;indexer discovery&lt;/STRONG&gt; if you are using indexer clustering. When the forwarder talks to the cluster master node, it is not sending data. Instead it is querying the master node for the server list. So the forwarder must contact the master node on its management port. For example, if the cluster master node is 10.2.15.200 and its mgmt port is 8089, then outputs.conf on the forwarder should contain&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;master_uri = &lt;A href="https://10.2.15.200:8089" target="test_blank"&gt;https://10.2.15.200:8089&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 15:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-management-port-for-forwarders-and-indexer-cluster/m-p/327249#M60789</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-06-05T15:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Different management port for forwarders and indexer cluster</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-management-port-for-forwarders-and-indexer-cluster/m-p/327250#M60790</link>
      <description>&lt;P&gt;forwarders management uri will remain 8089 - it has to do with deployment server and not with the cluster master (indexers) which you name for indexers discovery&lt;BR /&gt;
the port 8090 will be open between your cluster master and indexers&lt;BR /&gt;
if i understand correctly the requirements&lt;BR /&gt;
check this stanza in outputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;indexerDiscovery = &amp;lt;name&amp;gt;
* Instructs the forwarder to fetch the list of indexers from the master node
  specified in the corresponding [indexer_discovery:&amp;lt;name&amp;gt;] stanza.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;it does not mention ports, only the name&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 15:26:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-management-port-for-forwarders-and-indexer-cluster/m-p/327250#M60790</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-06-05T15:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Different management port for forwarders and indexer cluster</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-management-port-for-forwarders-and-indexer-cluster/m-p/327251#M60791</link>
      <description>&lt;P&gt;On a related note, if we disable the management port on a UF, can it still connect to the cluster master for indexer discovery? Also, can it still connect to the deployment server to fetch config?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 09:05:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-management-port-for-forwarders-and-indexer-cluster/m-p/327251#M60791</guid>
      <dc:creator>tusharsaran1</dc:creator>
      <dc:date>2017-06-06T09:05:47Z</dc:date>
    </item>
  </channel>
</rss>

