<?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: Upgrade Multiple Splunk Instances on the Same VM in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645215#M109784</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;this worked perfectly!&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 07:25:44 GMT</pubDate>
    <dc:creator>daniaabujuma</dc:creator>
    <dc:date>2023-05-31T07:25:44Z</dc:date>
    <item>
      <title>Upgrade Multiple Splunk Instances on the Same VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645205#M109780</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am running multiple Splunk instances on the same machine, located in /opt as follows:&lt;/P&gt;&lt;P&gt;/opt/splunk1&lt;/P&gt;&lt;P&gt;/opt/splunk2&lt;/P&gt;&lt;P&gt;/opt/splunk3 ... etc&lt;/P&gt;&lt;P&gt;I need to upgrade Splunk Enterprise to a newer version, I tried using the following RPM command:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;sudo rpm -Uvh --relocate=/opt/splunk=/opt/splunk1 splunk.rpm&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;But I received the following error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;path /opt/splunk in package splunk is not relocatable&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;I tried using a .tgz file instead, but it's also not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;sudo tar -xzf splunk.tgz -C /opt/splunk1&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone recommend a way to upgrade Splunk on all my instances?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 06:26:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645205#M109780</guid>
      <dc:creator>daniaabujuma</dc:creator>
      <dc:date>2023-05-31T06:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Multiple Splunk Instances on the Same VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645208#M109781</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;as you probably know you shouldn't run several instances on same node! You could do this only on your lab environment in all other cases you should use separate VMs for those .&lt;/P&gt;&lt;P&gt;When you have several installation on same node you cannot install those via package manger like rpm. Basically you could have one instance like /opt/splunk which have installed and updated by rpm.&lt;/P&gt;&lt;P&gt;Probably easiest way is to install a new version into /opt/splunk and then just use e.g. rsync to copy a new versions to other directories one by one. Another option (if you have gnu tar) is try&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cd /opt/splunk1 &amp;amp;&amp;amp; tar --strip-components 1 -xvf &amp;lt;path&amp;gt;/splunk-xyx.tgz&lt;/LI-CODE&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 06:37:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645208#M109781</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-05-31T06:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Multiple Splunk Instances on the Same VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645212#M109782</link>
      <description>&lt;P&gt;Hi&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;Thank you for your reply!&lt;/P&gt;&lt;P&gt;I tried your recommendation but unfortunately it didn't work. Do you have any other recommendation that might work?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 06:54:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645212#M109782</guid>
      <dc:creator>daniaabujuma</dc:creator>
      <dc:date>2023-05-31T06:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Multiple Splunk Instances on the Same VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645213#M109783</link>
      <description>&lt;P&gt;One hack could be&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;mkdir -p /tmp/splunk&lt;/LI&gt;&lt;LI&gt;cd /tmp/splunk&lt;/LI&gt;&lt;LI&gt;tar xvzf &amp;lt;path to downloaded&amp;gt;/splunk-xyx.tgz&lt;/LI&gt;&lt;LI&gt;cd splunk&lt;/LI&gt;&lt;LI&gt;tar cvzf ../splunk-relocated.tgz ./*&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;That will repackage splunk version without splunk/ directory prefix.&lt;/P&gt;&lt;P&gt;Now just go to /opt/splunk1 etc. one by one and use /tmp/splunk/splunk-relocated.tgz package as source. Note you must be in /opt/splunk1 not in /opt directory when you are extracting that package!&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 06:59:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645213#M109783</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-05-31T06:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Multiple Splunk Instances on the Same VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645215#M109784</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;this worked perfectly!&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 07:25:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Upgrade-Multiple-Splunk-Instances-on-the-Same-VM/m-p/645215#M109784</guid>
      <dc:creator>daniaabujuma</dc:creator>
      <dc:date>2023-05-31T07:25:44Z</dc:date>
    </item>
  </channel>
</rss>

