<?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: For a dev system: How to deploy multiple instances of Splunk to a single *nix machine ? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/For-a-dev-system-How-to-deploy-multiple-instances-of-Splunk-to-a/m-p/520025#M3457</link>
    <description>Hi&lt;BR /&gt;If you want to star those with systemd then you must change SPLUNK_SERVER_NAME on splunk-launch.conf file from Splunkd e.g. splunk-sh, splunk-IDX before you are enabling boot start. Otherwise all are using the same systemd init file.&lt;BR /&gt;r. Ismo&lt;BR /&gt;</description>
    <pubDate>Wed, 16 Sep 2020 22:53:14 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2020-09-16T22:53:14Z</dc:date>
    <item>
      <title>For a dev system: How to deploy multiple instances of Splunk to a single *nix machine ?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/For-a-dev-system-How-to-deploy-multiple-instances-of-Splunk-to-a/m-p/520017#M3456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm building a simple dev CentOS VM on my PC to try out clustering configuration and other stuff.&lt;BR /&gt;I've used tar -C to install the splunk tgz into different directories, set the web,mgmt,kv and appserver to different ports but when doing ./splunk start/stop/restart it will only apply to the original splunk install.&lt;/P&gt;&lt;P&gt;I've found this old &lt;A href="https://wiki.splunk.com/Community:Run_multiple_Splunks_on_one_machine" target="_self"&gt;link&lt;/A&gt;&amp;nbsp; but it reflects init.d changes and not the new systemd.&lt;/P&gt;&lt;P&gt;appreciate any help configuring this to work.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 21:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/For-a-dev-system-How-to-deploy-multiple-instances-of-Splunk-to-a/m-p/520017#M3456</guid>
      <dc:creator>efika</dc:creator>
      <dc:date>2020-09-16T21:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: For a dev system: How to deploy multiple instances of Splunk to a single *nix machine ?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/For-a-dev-system-How-to-deploy-multiple-instances-of-Splunk-to-a/m-p/520025#M3457</link>
      <description>Hi&lt;BR /&gt;If you want to star those with systemd then you must change SPLUNK_SERVER_NAME on splunk-launch.conf file from Splunkd e.g. splunk-sh, splunk-IDX before you are enabling boot start. Otherwise all are using the same systemd init file.&lt;BR /&gt;r. Ismo&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Sep 2020 22:53:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/For-a-dev-system-How-to-deploy-multiple-instances-of-Splunk-to-a/m-p/520025#M3457</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-16T22:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: For a dev system: How to deploy multiple instances of Splunk to a single *nix machine ?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/For-a-dev-system-How-to-deploy-multiple-instances-of-Splunk-to-a/m-p/520079#M3462</link>
      <description>&lt;P&gt;Many thanks for the guidance&amp;nbsp;&amp;nbsp;Ismo&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp; !&lt;/P&gt;&lt;P&gt;For reference here is what I did to make it work. for example if I want to install a second instance called "SH":&lt;/P&gt;&lt;P&gt;1. Under /opt create a directory called SH&lt;/P&gt;&lt;P&gt;2. Install the 2nd (or n-th) instance in a different location using :&lt;BR /&gt;&amp;nbsp; tar -zxvf &amp;lt;splunk install tgz file&amp;gt; -C /opt/sh&lt;/P&gt;&lt;P&gt;3. In /opt/sh/splunk/etc duplicate the file&amp;nbsp;splunk-launch.conf.default to&amp;nbsp;splunk-launch.conf&lt;/P&gt;&lt;P&gt;4. edit the file&amp;nbsp;splunk-launch.conf in&amp;nbsp;/opt/sh/splunk/etc to reflect chnages to the SPLUNK_HOME and Splunkd daemon name like so:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;# Version 8.0.6&lt;/P&gt;&lt;P&gt;# Modify the following line to suit the location of your Splunk install.&lt;BR /&gt;# If unset, Splunk will use the parent of the directory containing the splunk&lt;BR /&gt;# CLI executable.&lt;BR /&gt;#&lt;BR /&gt;# SPLUNK_HOME=/opt/splunk-home&lt;BR /&gt;&lt;STRONG&gt;SPLUNK_HOME=/opt/sh/splunk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# By default, Splunk stores its indexes under SPLUNK_HOME in the&lt;BR /&gt;# var/lib/splunk subdirectory. This can be overridden&lt;BR /&gt;# here:&lt;BR /&gt;#&lt;BR /&gt;# SPLUNK_DB=/opt/splunk-home/var/lib/splunk&lt;BR /&gt;# Splunkd daemon name&lt;BR /&gt;#SPLUNK_SERVER_NAME=Splunkd&lt;BR /&gt;&lt;STRONG&gt;SPLUNK_SERVER_NAME=Splunkdsh&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. switch to the directory /opt/sh/splunk/bin/ and run&lt;BR /&gt;./splunk enable boot-start -systemd-managed 1 (see docs &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/RunSplunkassystemdservice" target="_self"&gt;here&lt;/A&gt;&amp;nbsp; )&lt;BR /&gt;&lt;BR /&gt;You will see that a splunkdsh.service file was added to /etc/systemd/system&lt;BR /&gt;&lt;BR /&gt;6.&amp;nbsp; Accept the LUA, set admin user and password&lt;/P&gt;&lt;P&gt;7 ./splunk start&lt;BR /&gt;change http port, mgmt port, appserver port, kvstore port to different ports since you are on the same IP &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Enjoy !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 08:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/For-a-dev-system-How-to-deploy-multiple-instances-of-Splunk-to-a/m-p/520079#M3462</guid>
      <dc:creator>efika</dc:creator>
      <dc:date>2020-09-17T08:35:48Z</dc:date>
    </item>
  </channel>
</rss>

