Active IQ Unified Manager Discussions

OCI REST Get volumes assigned to host

INGO_REPINZ

Hello,

 

I have a little project going on, where I would like to get the volumes that are masked and zonened to a host.

 

Has anyone an idea or blueprint that I can reuse?

 

At the moment I don't see any way that would indicate a possible solution, how to connect a hoat to its volumes.

 

In addition I would like to do the same with the NFS/CIFS-Shares

 

 

Thanks

Ingo

cheers Ingo
1 REPLY 1

hoffman

Hi there,

 

You should be able to use this:

 

https://<server_ip>/rest/v1/assets/hosts/<id>?expand=storageResources

 

That will give you all volumes that a particular host can access (ie the appropriate masking and zoning are in place).

 

Regards,

Bryan

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