<?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: Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617724#M14265</link>
    <description>Is th name of service splunkd (or was it Splunkd) instead of splunk?</description>
    <pubDate>Wed, 19 Oct 2022 16:12:01 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2022-10-19T16:12:01Z</dc:date>
    <item>
      <title>Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617264#M14215</link>
      <description>&lt;P&gt;I am trying to UPGRADE using Ansible, I kick off the playbook via the bastion host. Here are the tasks.&lt;/P&gt;
&lt;P&gt;1. copy the install file to remote&lt;/P&gt;
&lt;P&gt;2. stop the Splunk service&lt;/P&gt;
&lt;P&gt;3. install&amp;nbsp;Splunk Forwarder 9.1&lt;/P&gt;
&lt;P&gt;4. reboot&lt;/P&gt;
&lt;P&gt;5. start the Splunk service&lt;/P&gt;
&lt;P&gt;All are fine until step 4. I ssh to the specific host and checked the status. It was not running.&amp;nbsp;I scratched my head and tried something like below.&lt;/P&gt;
&lt;P&gt;sudo to root&lt;/P&gt;
&lt;P&gt;/opt/splunkforwarder/bin/splunk version&lt;/P&gt;
&lt;P&gt;it prompted for the license &amp;amp; perform upgrade message. I typed Y for both options.&lt;/P&gt;
&lt;P&gt;after a few minutes (it showed a message to disable boot start), returned to prompt.&lt;/P&gt;
&lt;P&gt;disabled boot start&lt;/P&gt;
&lt;P&gt;reboot&lt;/P&gt;
&lt;P&gt;sudo systemctl start splunk&lt;/P&gt;
&lt;P&gt;Finally, it's up &amp;amp; running.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I fix step 5. I have 100s of ec2 instances to upgrade.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 14:35:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617264#M14215</guid>
      <dc:creator>skpdevops</dc:creator>
      <dc:date>2022-10-17T14:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617376#M14232</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;1st you should go throug 8.1 from 7.x to 9.0.1, you shouldn't go directly from 7.x to 9.x as it's not a supported upgrade step!&lt;/P&gt;&lt;P&gt;My own order to do it with ansible:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Check version if this is needed or not&lt;/LI&gt;&lt;LI&gt;Copy uf RPM/tar package to node if needed&lt;/LI&gt;&lt;LI&gt;Stop UF (as splunk UF user)&lt;/LI&gt;&lt;LI&gt;Disable boot start (as root)&lt;/LI&gt;&lt;LI&gt;Update to supported version&lt;/LI&gt;&lt;LI&gt;Start UF as splunk user with --accept-license --answer-yes&lt;/LI&gt;&lt;LI&gt;Stop UF as splunk user&lt;/LI&gt;&lt;LI&gt;Enable boot start as root with systemd + splunk user&lt;/LI&gt;&lt;LI&gt;Start UF with systemctl as a service&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;There is no need for reboot then node. And if you are rebooting it be sure that you enable boot-start before it. I cannot recall in which version there was some changes on systemd boot start option and for that reason (and some other too) it's good to re-enable it when you upgrade UF.&lt;/P&gt;&lt;P&gt;If you have some older versions like 7.x or even 6.x you must do this update in several steps. Just check that update path and do it from one supported versions at time like 7.x -&amp;gt; 8.0 or 8.1 (if source was 7.3). You must check those versions from Splunk's documentation.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 15:21:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617376#M14232</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-10-17T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617387#M14233</link>
      <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;Regarding step 8, the Splunk user is the root. Is it sufficient to issue the below command?&lt;/P&gt;&lt;P&gt;8. Enable boot start as root with systemd + splunk user&lt;/P&gt;&lt;P&gt;/opt/splunkforwarder/bin/splunk enable boot-start&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 16:35:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617387#M14233</guid>
      <dc:creator>skpdevops</dc:creator>
      <dc:date>2022-10-17T16:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617400#M14235</link>
      <description>&lt;P&gt;I tried all the steps. Now, something went wrong in step 9.&lt;/P&gt;&lt;P&gt;9. Start UF with systemctl as a service&lt;/P&gt;&lt;P&gt;It threw, failed to start splunk.service: Unit not found.&lt;/P&gt;&lt;P&gt;I ssh to the node and checked the status. It shows, Active: active (exited).&lt;/P&gt;&lt;P&gt;I tried to start, sudo systemctl start splunk&lt;/P&gt;&lt;P&gt;failed to start splunk.service: Unit not found.&lt;/P&gt;&lt;P&gt;I tried on another node. Splunk.service disappears after upgrade.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 20:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617400#M14235</guid>
      <dc:creator>skpdevops</dc:creator>
      <dc:date>2022-10-17T20:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617472#M14238</link>
      <description>&lt;P&gt;In your example you are using old init way not systemd. You should use&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sudo] $SPLUNK_HOME/bin/splunk enable boot-start -user bob -systemd-managed 1&lt;/LI-CODE&gt;&lt;P&gt;I strongly recommended you to run UF as separate “splunk” -user not as a root which is security risk! With UF 9 there are some new features to do it. See&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Forwarder/9.0.1/Forwarder/Installleastprivileged" target="_blank"&gt;https://docs.splunk.com/Documentation/Forwarder/9.0.1/Forwarder/Installleastprivileged&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/ConfigureSplunktostartatboottime" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/ConfigureSplunktostartatboottime&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 05:19:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617472#M14238</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-10-18T05:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617516#M14242</link>
      <description>&lt;P&gt;Thank you. I already tried with&amp;nbsp;-systemd-managed 1&lt;/P&gt;&lt;P&gt;It still says unit not found. It's not able to find splunk.service.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 12:11:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617516#M14242</guid>
      <dc:creator>skpdevops</dc:creator>
      <dc:date>2022-10-18T12:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617567#M14248</link>
      <description>&lt;P&gt;Finally, the below tasks seem to be working.&lt;BR /&gt;Copy the software&lt;BR /&gt;Stop Splunk&lt;BR /&gt;Upgrade UF&lt;BR /&gt;Disable boot-start&lt;BR /&gt;Start Splunk&lt;BR /&gt;Stop Splunk&lt;BR /&gt;Reboot&lt;BR /&gt;Check uptime&lt;BR /&gt;Start as service&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp;&lt;SPAN&gt;enable boot-start before re-boot was not needed as it was already enabled!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 14:03:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617567#M14248</guid>
      <dc:creator>skpdevops</dc:creator>
      <dc:date>2022-10-19T14:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617724#M14265</link>
      <description>Is th name of service splunkd (or was it Splunkd) instead of splunk?</description>
      <pubDate>Wed, 19 Oct 2022 16:12:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617724#M14265</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-10-19T16:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Agent from 7.x to 9.1 on RHEL 7.9- How do I fix step 5?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617730#M14267</link>
      <description>&lt;P&gt;sudo systemctl | grep splunk&lt;/P&gt;&lt;P&gt;splunk.service&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 17:21:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Forwarder-Agent-from-7-x-to-9-1-on-RHEL-7-9-How-do-I-fix/m-p/617730#M14267</guid>
      <dc:creator>skpdevops</dc:creator>
      <dc:date>2022-10-19T17:21:15Z</dc:date>
    </item>
  </channel>
</rss>

