<?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 to deal with unattended universal forwarder upgrade ? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-deal-with-unattended-universal-forwarder-upgrade/m-p/656274#M17250</link>
    <description>&lt;P&gt;Hi, I'm in the middle of testing deployment of the UF for a new setup and I started with 9.0.1, deploying it with ansible from a local yum repository as the initial push. (that' s the gist of it, bit more complex infrastructure behind it but not really relevant)&lt;/P&gt;&lt;P&gt;But now 9.1.1 came out which was pointed out to me due to a security alert so I updated the package on our repository, hit 'yum update'&amp;nbsp; on one of my test servers, and this broke the UF.&lt;/P&gt;&lt;P&gt;Apparently it needs to be started manually once with '&lt;SPAN&gt;--accept-license --answer-yes --no-prompt&lt;/SPAN&gt;'&amp;nbsp; to complete the upgrade and accept the license .. again .. ?&lt;/P&gt;&lt;P&gt;Is there a clever way of dealing with this so it just works after upgrading the rpm ? Short of modifying the rpm's spec file so it does some starting and stopping while the rpm is being upgraded.&lt;/P&gt;&lt;P&gt;Manually doing this in case there happens to be an update is just not an option due to the number of hosts, our regular updates run unattended with basically just a 'yum/dnf update -y'&lt;/P&gt;&lt;P&gt;Modifying the systemd file so it just starts with the required parameters does not appear be working with the '&lt;SPAN&gt;_internal_launch_under_systemd' , replacing that with the old 'start etc' makes the UF not work with systemd anymore.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;RHEL9 is going to forego the init.d folder I think so using older more flexible sysV scripts is not an option either.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any sort of manual intervention when there happens to be a new version is highly undesirable.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 14:01:26 GMT</pubDate>
    <dc:creator>Arjan1</dc:creator>
    <dc:date>2023-08-31T14:01:26Z</dc:date>
    <item>
      <title>How to deal with unattended universal forwarder upgrade ?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-deal-with-unattended-universal-forwarder-upgrade/m-p/656274#M17250</link>
      <description>&lt;P&gt;Hi, I'm in the middle of testing deployment of the UF for a new setup and I started with 9.0.1, deploying it with ansible from a local yum repository as the initial push. (that' s the gist of it, bit more complex infrastructure behind it but not really relevant)&lt;/P&gt;&lt;P&gt;But now 9.1.1 came out which was pointed out to me due to a security alert so I updated the package on our repository, hit 'yum update'&amp;nbsp; on one of my test servers, and this broke the UF.&lt;/P&gt;&lt;P&gt;Apparently it needs to be started manually once with '&lt;SPAN&gt;--accept-license --answer-yes --no-prompt&lt;/SPAN&gt;'&amp;nbsp; to complete the upgrade and accept the license .. again .. ?&lt;/P&gt;&lt;P&gt;Is there a clever way of dealing with this so it just works after upgrading the rpm ? Short of modifying the rpm's spec file so it does some starting and stopping while the rpm is being upgraded.&lt;/P&gt;&lt;P&gt;Manually doing this in case there happens to be an update is just not an option due to the number of hosts, our regular updates run unattended with basically just a 'yum/dnf update -y'&lt;/P&gt;&lt;P&gt;Modifying the systemd file so it just starts with the required parameters does not appear be working with the '&lt;SPAN&gt;_internal_launch_under_systemd' , replacing that with the old 'start etc' makes the UF not work with systemd anymore.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;RHEL9 is going to forego the init.d folder I think so using older more flexible sysV scripts is not an option either.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any sort of manual intervention when there happens to be a new version is highly undesirable.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:01:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-deal-with-unattended-universal-forwarder-upgrade/m-p/656274#M17250</guid>
      <dc:creator>Arjan1</dc:creator>
      <dc:date>2023-08-31T14:01:26Z</dc:date>
    </item>
  </channel>
</rss>

