Software Development Kit (SDK) and API Discussions

Unable to get node name using volume-get-iter in Ontap 8.2

rohancmr

How do I get the node name for a volume using "volume-get-iter" ?

 

For Netapp Ontap 8.3, 'volume-get-iter' has a field for "node" which is not available in Ontap 8.2 . I am using api version 1.21.

 

Thanks,

Rohan

1 ACCEPTED SOLUTION

richard_payne

Hello,

 

volume-get-iter wil return to you the aggregate name (containing-aggregate-name). You can use that in a query to aggr_get_iter which will get you the node name.

 

OK, not optimal since it's two calls but that's the first thing that comes to mind.

 

--rdp

View solution in original post

2 REPLIES 2

rohancmr
That worked. Thanks a lot.

richard_payne

Hello,

 

volume-get-iter wil return to you the aggregate name (containing-aggregate-name). You can use that in a query to aggr_get_iter which will get you the node name.

 

OK, not optimal since it's two calls but that's the first thing that comes to mind.

 

--rdp

View solution in original post

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.

Public