2015-11-23 02:07 AM
I am running OnCommand Unified manager 6.1R1.
A storage service has a reference to a volume which has been removed.
The storage service was created with CommVault version 10.
It did/does not do a storage service unsubscribe for that volume.
I read in the API that I need to do a unsubscribe.
My question is: Does anyone have an example to do this?
Sources I have used: https://library.netapp.com/ecm/ecm_download_file/ECMP1416663
Solved! SEE THE SOLUTION
2015-12-02 05:36 AM - edited 2015-12-02 05:36 AM
Best is to use zexplore Developpement Interface Utility to have more details.
This is an example in Python for retrieve subscriptions items and from there, you can unubcribe the member you need with api NaElement("storage-service-unsubscribe")
** Iterations subscriptions from storage service key
from NaServer import *
s = NaServer("ocum", 1 , 0)
api = NaElement("storage-service-subscription-iter")
xo = s.invoke_elem(api)
if (xo.results_status() == "failed") :
2015-12-02 08:02 AM
I was able to unsubcribe my volumes using the ZExplore interface.
As it was only one volume, I used the XML interface.
I used three standaard api calls: