<?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 How will the universal forwarder behave while tailing Active-DR cluster shared NFS logs? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-will-the-universal-forwarder-behave-while-tailing-Active-DR/m-p/246023#M47548</link>
    <description>&lt;P&gt;Client is has a clustered Active-DR setup for their PROD application. At a given time, only one server (node) is active and mounted with common NFS share. &lt;BR /&gt;
When application switches over to the other node, NFS share (File system mount point) is unmounted from active one and same is mounted on another node.&lt;/P&gt;

&lt;P&gt;We have a requirement to configure the Splunk universal forwarder on both the nodes. We can ask the support team to manually stop/start the Splunk forwarder during migration (switch over).&lt;BR /&gt;
However, not sure how Splunk universal forwarder will behave while reading (tailing) same log file from a different forwarder and indexing in the same index. &lt;/P&gt;

&lt;P&gt;Please share your comments.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2016 15:57:59 GMT</pubDate>
    <dc:creator>anantdeshpande</dc:creator>
    <dc:date>2016-10-13T15:57:59Z</dc:date>
    <item>
      <title>How will the universal forwarder behave while tailing Active-DR cluster shared NFS logs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-will-the-universal-forwarder-behave-while-tailing-Active-DR/m-p/246023#M47548</link>
      <description>&lt;P&gt;Client is has a clustered Active-DR setup for their PROD application. At a given time, only one server (node) is active and mounted with common NFS share. &lt;BR /&gt;
When application switches over to the other node, NFS share (File system mount point) is unmounted from active one and same is mounted on another node.&lt;/P&gt;

&lt;P&gt;We have a requirement to configure the Splunk universal forwarder on both the nodes. We can ask the support team to manually stop/start the Splunk forwarder during migration (switch over).&lt;BR /&gt;
However, not sure how Splunk universal forwarder will behave while reading (tailing) same log file from a different forwarder and indexing in the same index. &lt;/P&gt;

&lt;P&gt;Please share your comments.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 15:57:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-will-the-universal-forwarder-behave-while-tailing-Active-DR/m-p/246023#M47548</guid>
      <dc:creator>anantdeshpande</dc:creator>
      <dc:date>2016-10-13T15:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: How will the universal forwarder behave while tailing Active-DR cluster shared NFS logs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-will-the-universal-forwarder-behave-while-tailing-Active-DR/m-p/246024#M47549</link>
      <description>&lt;P&gt;The Splunk (Universal) forwarder on the failed-over node will re-read whole file data after switch over. This is the default behavior (all data would be monitored) as that node has never monitored the file before. This is controlled by a property called &lt;CODE&gt;followTail&lt;/CODE&gt; on the inputs.conf file on forwarder. This is 0 (false) by default means monitoring starts at the beginning of the file. See this (search for &lt;CODE&gt;followTail&lt;/CODE&gt;) for more details.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/inputsconf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;One option would be to manually set the followTail in inputs.conf to &lt;CODE&gt;1 / true&lt;/CODE&gt; so that monitoring starts at the end of the file (like tail -f). Please note that this is an advanced setting and should be used for temporary purpose only.&lt;/P&gt;

&lt;P&gt;Excerpt From inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* WARNING: Use of followTail should be considered an advanced administrative
  action.
* Treat this setting as an 'action':
  * Enable this setting and start the Splunk software.
  * Wait enough time for the input to identify the related files.
  * Disable the setting and restart.
* DO NOT leave followTail enabled in an ongoing fashion.
* Do not use followTail for rolling log files (log files that get renamed as
  they age), or files whose names or paths vary.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Oct 2016 18:44:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-will-the-universal-forwarder-behave-while-tailing-Active-DR/m-p/246024#M47549</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-13T18:44:10Z</dc:date>
    </item>
  </channel>
</rss>

