Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1248

June 5th, 2017 17:00

What the REST API call for discover unmananged volumes ? VIPR 3.5

  I am trying to figure out whats the REST API call for performing the catalog action "Discover Unmanaged Volumes".

I found this in the REST API guide : POST /vdc/storage-systems/discover

but it doesn't seem to be updating unmanaged volumes information on VIPR controller. It just performs a quick discover that lasts about 2 minutes per VMAX.

I've tried to test above API call and tried to ingest volumes. But the unmanaged volumes are not getting updated. However when i use catalog item "Discover Unmanaged Volumes", i was able to perform ingest successfully.


I'm on VIPR controller version 3.5


Following document doesn't have API method to perform this task.

https://support.emc.com/docu79620_ViPR-Controller-3.5-Ingest-Services-for-Existing-Environments.pdf?language=en_US


Appreciate your help.

38 Posts

June 6th, 2017 02:00

I just give a try to run the service in GUI, then had a look at the apisvc logs:

Request: POST - https://localhost:4443/vdc/storage-systems/urn:storageos:StorageSystem:cc84938a-9208-498b-8d34-9723a0af4679:vdc1/discover - namespace=UNMANAGED_VOLUMES from 127.0.0.1

So it seems you're almost on track. You just need to enter the URN of the StorageSystem you want to discover the Unmanaged Volumes.

June 6th, 2017 05:00

just to second what Julien said...I found this info from an email exchange that I happened to be copied on:

****

The below command worked successfully for how to Discover Unmanaged Volumes by REST API Commands

 

POST /vdc/storage-systems/{id}/discover?namespace=UNMANAGED_VOLUMES

****

June 6th, 2017 08:00

Yes, syntax you specified is correct and it worked.

June 6th, 2017 08:00

Thank you, i never knew about apisvc logs. This is really helpful and makes my work much easier figuring out what calls are made.

No Events found!

Top