<?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 Reset OCUM DB in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Reset-OCUM-DB/m-p/131039#M23728</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;our OCUM 7.1 database is corrupt. If I remove a cluster, the cluster nodes still remain in the database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I reset the database without removing and reinstalling the application?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2017 10:54:47 GMT</pubDate>
    <dc:creator>marcusgross</dc:creator>
    <dc:date>2017-05-15T10:54:47Z</dc:date>
    <item>
      <title>Reset OCUM DB</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Reset-OCUM-DB/m-p/131039#M23728</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;our OCUM 7.1 database is corrupt. If I remove a cluster, the cluster nodes still remain in the database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I reset the database without removing and reinstalling the application?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 10:54:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Reset-OCUM-DB/m-p/131039#M23728</guid>
      <dc:creator>marcusgross</dc:creator>
      <dc:date>2017-05-15T10:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reset OCUM DB</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Reset-OCUM-DB/m-p/131074#M23738</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which version of OCUM 7.1 are you using? Is it a windows or linux installer or the vSphere vApp?&lt;/P&gt;&lt;P&gt;I'll see if i can find any information on reseting the OCUM database schema to the default install.&lt;/P&gt;&lt;P&gt;Do you have a database backup you can restore from that is in a known stable state?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note the following KB article as AV scanning software can result in DB corruption so it's important to create scanning exclusions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="https://kb.netapp.com/support/s/article/ka11A0000001XD7QAM/Antivirus-Scanning-Software-can-cause-Database-corruption-within-OnCommand-Unified-Manager-or-OnCommand-Performance-Manager?language=en_US" href="https://kb.netapp.com/support/s/article/ka11A0000001XD7QAM/Antivirus-Scanning-Software-can-cause-Database-corruption-within-OnCommand-Unified-Manager-or-OnCommand-Performance-Manager?language=en_US" target="_blank"&gt;https://kb.netapp.com/support/s/article/ka11A0000001XD7QAM/Antivirus-Scanning-Software-can-cause-Database-corruption-within-OnCommand-Unified-Manager-or-OnCommand-Performance-Manager?language=en_US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally if you are using WFA with OCUM then you might want to reset your WFA datasource afterwards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Login to your WFA portal using an account that has the admin role assigned to it&lt;/LI&gt;&lt;LI&gt;Click the "Execution" tab&lt;/LI&gt;&lt;LI&gt;Select "Data sources" from the navigation menu&lt;/LI&gt;&lt;LI&gt;Select the OCUM datasource, right click on it and select "Reset Scheme"&lt;/LI&gt;&lt;LI&gt;Once reset, right click on the datasource and select "Acquire Now"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 06:00:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Reset-OCUM-DB/m-p/131074#M23738</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2017-05-16T06:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reset OCUM DB</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Reset-OCUM-DB/m-p/131076#M23740</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's OCUM on RHEL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can reset it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/etc/init.d/ocie stop
/opt/netapp/ocum/bin/db r umadmin&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and recreate the maintenance user:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/opt/netapp/ocum/scripts/add-maintenance-user.sh&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the script doesn't work. It wants to use following parameters&amp;nbsp;that are not supported by the adduser command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;--quiet 
--disabled-login&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fix the script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cp add-maintenance-user.sh add-maintenance-user_mod.sh
chmod 755 add-maintenance-user_mod.sh&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;removing the parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log in with the user you created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcus&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 08:01:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Reset-OCUM-DB/m-p/131076#M23740</guid>
      <dc:creator>marcusgross</dc:creator>
      <dc:date>2017-05-16T08:01:49Z</dc:date>
    </item>
  </channel>
</rss>

