NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

Unable to remove the cluster from OCUM 7.1

PBRam
6,177 Views

Hi,

 

I have a stale cluster which is not polling any data but when I try to remove it says "Cluster cannot be deleted when discovery is in progress."

 

Is there anyway to remove it from DB itself

 

Thanks

2 REPLIES 2

PBRam
6,158 Views

James_Castro
6,035 Views

There are 3 attachents in the KB article located at the bottom.

 

https://kb.netapp.com/support/s/article/ka11A0000001XlGQAU/An-incomplete-removal-of-a-cluster-via-the-UM-dashboard-prevents-further-collection-when-th...

 

follow the instructions for Windows.

 

This is how I fixed the issue.

 

  1. Log into OCUM server.
  2. Open CMD window and cd to C:\Program Files\MySQL\MySQL Server 5.6\bin
  3. run "mysql -p root -u"
  4. enter password for root
  5. run this query     select datasourceId, name, managementIp from netapp_model.cluster where datasourceId = -1;
  6. You should see something like this
  7. example2.png
  8. type exit;    to exit mysql
  9. place the Windows batch file from the KB article in the same direct (C:\Program Files\MySQL\MySQL Server 5.6\bin)
  10. run this command     mysql -u root -p < BURT1053008_um_70_Windows.bat
  11. once it is complete verify this query returns an empty set     select datasourceId, name, managementIp from netapp_model.cluster where datasourceId = -1;
  12. reboot the server
Public