Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

Reset OCUM DB

marcusgross

Hi,

 

our OCUM 7.1 database is corrupt. If I remove a cluster, the cluster nodes still remain in the database. 

 

How can I reset the database without removing and reinstalling the application?

 

Marcus

2 REPLIES 2

mbeattie

Hi Marcus,

 

Which version of OCUM 7.1 are you using? Is it a windows or linux installer or the vSphere vApp?

I'll see if i can find any information on reseting the OCUM database schema to the default install.

Do you have a database backup you can restore from that is in a known stable state?

 

Please note the following KB article as AV scanning software can result in DB corruption so it's important to create scanning exclusions.

 

https://kb.netapp.com/support/s/article/ka11A0000001XD7QAM/Antivirus-Scanning-Software-can-cause-Database-corruption-within-OnCommand-Unified-Manager-...

 

Additionally if you are using WFA with OCUM then you might want to reset your WFA datasource afterwards.

 

  1. Login to your WFA portal using an account that has the admin role assigned to it
  2. Click the "Execution" tab
  3. Select "Data sources" from the navigation menu
  4. Select the OCUM datasource, right click on it and select "Reset Scheme"
  5. Once reset, right click on the datasource and select "Acquire Now"

Hope that helps

 

/Matt

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

marcusgross

Hi,

 

It's OCUM on RHEL.

 

You can reset it:

 

/etc/init.d/ocie stop
/opt/netapp/ocum/bin/db r umadmin

 

and recreate the maintenance user:

  

/opt/netapp/ocum/scripts/add-maintenance-user.sh

 

But the script doesn't work. It wants to use following parameters that are not supported by the adduser command:

 

--quiet 
--disabled-login

 

Fix the script:

 

cp add-maintenance-user.sh add-maintenance-user_mod.sh
chmod 755 add-maintenance-user_mod.sh

 

removing the parameters.

 

Log in with the user you created.

 

Marcus 

 

 

 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public