<?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: DB inputs only running on Search Head Cluster Captain in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/672339#M27777</link>
    <description>&lt;P&gt;I opened a case with Splunk and they reviewed and replied that all of the DB Inputs running on the SHC Captain is expected behavior.&amp;nbsp; Here's an excerpt from their findings:&lt;/P&gt;&lt;P&gt;"In review and consultation with other colleagues I believe I may have found an answer. It is located in the documentation:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;A href="https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Distributeddeployment#:~:text=by%20executing%20input/output%20on%20the%20captain" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Distributeddeployment#:~:text=by%20executing%20input/output%20on%20the%20captain&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Specifically, the&amp;nbsp;&lt;H2&gt;&lt;SPAN class=""&gt;Deploy DB Connect on search head clusters&lt;/SPAN&gt;&lt;/H2&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;section.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class=""&gt;DB Connect provides high availability on Splunk Enterprise with a Search Head Cluster, by executing input/output on the captain.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;Essentially, this is saying that in Splunk this is normal "expected behavior" and can be treated as such.&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;To me this means that DB Inputs and DB Outputs on the Search Head Cluster &lt;SPAN&gt;will be limited by the hardware (CPU / Memory) of the captain, so you have to be careful with this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;The benefit of DB Connect on an SHC is the replication of identity and connection configs across the cluster members.&amp;nbsp; Rather than using DB Connect to configure and run the Input/output jobs, I recommend creating scheduled searches that run the dbxquery command.&amp;nbsp; This way, the query jobs are distributed by the captain to all of the members of the cluster.&amp;nbsp; I am testing this on my SHC with positive results!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 19 Dec 2023 20:09:42 GMT</pubDate>
    <dc:creator>aaronbarry73</dc:creator>
    <dc:date>2023-12-19T20:09:42Z</dc:date>
    <item>
      <title>DB inputs only running on Search Head Cluster Captain</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/671501#M27766</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I built a dedicated Search Head Cluster with 3 members and a deployer to load and test how DB Connect works in a shcluster.&amp;nbsp; Splunk Enterprise 9.1.2 and DB Connect 3.15.1.&amp;nbsp; The configs replicate fine across the members and I am running several inputs.&amp;nbsp; It appears that all of the inputs so far are running on the captain only.&amp;nbsp; I am wondering if this is normal behavior, and if the captain will start distributing input jobs to other members once it is maxed out?&lt;/P&gt;&lt;P&gt;I am running this search to see the input jobs:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;index=_internal sourcetype=dbx_job_metrics connection=* host IN (abclx1001,abclx1002,abclx1003)&lt;BR /&gt;| table _time host connection input_name db_read_time status start_time end_time duration read_count write_count error_count&lt;BR /&gt;| sort - _time&lt;/P&gt;&lt;P&gt;All inputs are successful, and the host field is always the same - it is the captain.&lt;/P&gt;&lt;P&gt;The other members give me messages like this:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2023-12-11T17:40:00-0600 [INFO] [dbx_db_input.py], line 74 : Run DB Input name=test_db_input took 0.045278310775756836 s&lt;BR /&gt;2023-12-11T17:40:00-0600 [INFO] [dbx_db_input.py], line 66 : Input was run on other node status=303 content=b'Ignoring input request as other node is the captain'&lt;BR /&gt;2023-12-11T17:40:00-0600 [INFO] [dbx_db_input.py], line 51 : Run DB Input name=test_db_input&lt;BR /&gt;127.0.0.1 - - [11/Dec/2023:23:40:00 +0000] "POST /api/inputs/test_db_input/run HTTP/1.1" 303 51 "-" "python-requests/2.25.0" 41&lt;BR /&gt;2023-12-11T17:40:00-0600 [INFO] [dbx_db_input.py], line 45 : action=send_run_input_request&lt;BR /&gt;2023-12-11T17:40:00-0600 [INFO] [dbx_db_input.py], line 74 : Run DB Input name=test_db_input took 0.04212641716003418 s&lt;BR /&gt;2023-12-11T17:40:00-0600 [INFO] [dbx_db_input.py], line 66 : Input was run on other node status=303 content=b'Ignoring input request as other node is the captain'&lt;BR /&gt;127.0.0.1 - - [11/Dec/2023:23:40:00 +0000] "POST /api/inputs/test_db_input/run HTTP/1.1" 303 51 "-" "python-requests/2.25.0" 38&lt;BR /&gt;2023-12-11T17:40:00-0600 [INFO] [dbx_db_input.py], line 51 : Run DB Input name=test_db_input&lt;BR /&gt;2023-12-11T17:40:00-0600 [INFO] [dbx_db_input.py], line 45 : action=send_run_input_request&lt;/P&gt;&lt;P&gt;Thoughts?&amp;nbsp; Is the shc supposed to distributed these inputs the way it would distribute scheduled searches?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 00:02:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/671501#M27766</guid>
      <dc:creator>aaronbarry73</dc:creator>
      <dc:date>2023-12-12T00:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: DB inputs only running on Search Head Cluster Captain</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/671512#M27767</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/113403"&gt;@aaronbarry73&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In general, I don't like to run an input on a Search Head, I prefer to use a dedicated Heavy Forwarder.&lt;/P&gt;&lt;P&gt;Anyway, open a case to Splunk Support to better understand this behavior.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 07:15:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/671512#M27767</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-12-12T07:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: DB inputs only running on Search Head Cluster Captain</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/671931#M27770</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;, it looks like this might be the intended behavior, but seems odd that the captain would run all dbx jobs (unless the jobs are being delegated but the captain is doing all of the logging?) so I think I will open a case to get confirmation on expected behavior.&lt;/P&gt;&lt;P&gt;We have always used dedicated Heavy Forwarders, but I figured it would be nice to maintain all identities, connections and inputs in one place!&amp;nbsp; We'll see what Splunk says and I'll keep digging!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 16:26:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/671931#M27770</guid>
      <dc:creator>aaronbarry73</dc:creator>
      <dc:date>2023-12-14T16:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: DB inputs only running on Search Head Cluster Captain</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/671932#M27771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/113403"&gt;@aaronbarry73&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;let me know if I can help you more, or, please, accept one answer for the other people of Community.&lt;/P&gt;&lt;P&gt;Please, when you'll have the answer from Splunk Support, please share it for the other people of Community.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 16:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/671932#M27771</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-12-14T16:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: DB inputs only running on Search Head Cluster Captain</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/672339#M27777</link>
      <description>&lt;P&gt;I opened a case with Splunk and they reviewed and replied that all of the DB Inputs running on the SHC Captain is expected behavior.&amp;nbsp; Here's an excerpt from their findings:&lt;/P&gt;&lt;P&gt;"In review and consultation with other colleagues I believe I may have found an answer. It is located in the documentation:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;A href="https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Distributeddeployment#:~:text=by%20executing%20input/output%20on%20the%20captain" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Distributeddeployment#:~:text=by%20executing%20input/output%20on%20the%20captain&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Specifically, the&amp;nbsp;&lt;H2&gt;&lt;SPAN class=""&gt;Deploy DB Connect on search head clusters&lt;/SPAN&gt;&lt;/H2&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;section.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class=""&gt;DB Connect provides high availability on Splunk Enterprise with a Search Head Cluster, by executing input/output on the captain.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;Essentially, this is saying that in Splunk this is normal "expected behavior" and can be treated as such.&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;To me this means that DB Inputs and DB Outputs on the Search Head Cluster &lt;SPAN&gt;will be limited by the hardware (CPU / Memory) of the captain, so you have to be careful with this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;The benefit of DB Connect on an SHC is the replication of identity and connection configs across the cluster members.&amp;nbsp; Rather than using DB Connect to configure and run the Input/output jobs, I recommend creating scheduled searches that run the dbxquery command.&amp;nbsp; This way, the query jobs are distributed by the captain to all of the members of the cluster.&amp;nbsp; I am testing this on my SHC with positive results!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Dec 2023 20:09:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/672339#M27777</guid>
      <dc:creator>aaronbarry73</dc:creator>
      <dc:date>2023-12-19T20:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: DB inputs only running on Search Head Cluster Captain</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/672365#M27779</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/113403"&gt;@aaronbarry73&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 07:21:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/DB-inputs-only-running-on-Search-Head-Cluster-Captain/m-p/672365#M27779</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-12-20T07:21:17Z</dc:date>
    </item>
  </channel>
</rss>

